<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" gd:etag="W/&quot;CUEARH8_eip7ImA9WxNWFEo.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083</id><updated>2009-10-13T15:40:45.142-07:00</updated><title>Oracle SQL &amp; PL/SQL</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>73</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/OracleSqlplsql" type="application/atom+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">OracleSqlplsql</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;DEAEQ3s8eCp7ImA9WxVaE0U.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-9171531006812097264</id><published>2009-04-11T11:06:00.000-07:00</published><updated>2009-04-10T11:05:02.570-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-10T11:05:02.570-07:00</app:edited><title>SQL Introduction</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6lKuB-kQDLqNxLnEKJegt62iE_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6lKuB-kQDLqNxLnEKJegt62iE_k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6lKuB-kQDLqNxLnEKJegt62iE_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6lKuB-kQDLqNxLnEKJegt62iE_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL stands for Structured Query Language. and it is generally referred to as SEQUEL.  SQL is simple language to learn. SQL is a Nonprocedural language, as compared to the procedural or third...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/9171531006812097264/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=9171531006812097264" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/9171531006812097264?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/9171531006812097264?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/03/sql-introduction.html" title="SQL Introduction" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DUMAQHw5eCp7ImA9WxVaE0U.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-4593499383208785779</id><published>2009-04-10T11:14:00.000-07:00</published><updated>2009-04-10T11:17:21.220-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-10T11:17:21.220-07:00</app:edited><title>SQL Group By Examples</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ntZEolb3rmI1erYYUJjDtfKNSRw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ntZEolb3rmI1erYYUJjDtfKNSRw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ntZEolb3rmI1erYYUJjDtfKNSRw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ntZEolb3rmI1erYYUJjDtfKNSRw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Example 1 of SQL Group By

Let us say we have a table name Orders.

Orders (O_Id, OrderDate, OrderPrice, Customer)

we want to find the total sum (total order) of each customer.

SELECT...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/4593499383208785779/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=4593499383208785779" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/4593499383208785779?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/4593499383208785779?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/04/sql-group-by-examples.html" title="SQL Group By Examples" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DUUFRno_cCp7ImA9WxVaE0U.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-7126487990731636044</id><published>2009-04-07T21:48:00.000-07:00</published><updated>2009-04-10T11:13:37.448-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-10T11:13:37.448-07:00</app:edited><title>SQL Interview Questions</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VkoDx7HrwVqnl2h4zms2TiF6nwo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VkoDx7HrwVqnl2h4zms2TiF6nwo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VkoDx7HrwVqnl2h4zms2TiF6nwo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VkoDx7HrwVqnl2h4zms2TiF6nwo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;What Is SQL?

SQL (pronounced as the letters S-Q-L or as sequel) is an abbreviation for Structured Query Language. SQL is a language designed specifically for communicating with databases. SQL is...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/7126487990731636044/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=7126487990731636044" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/7126487990731636044?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/7126487990731636044?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/04/sql-interview-questions.html" title="SQL Interview Questions" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_fL-7fEoQMn0/Sb_9klGNIbI/AAAAAAAAAA0/JdNPcPS6gfA/s72-c/gr_ball.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0EHQHs7eip7ImA9WxVbF0g.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-8693887052761334416</id><published>2009-04-02T22:21:00.000-07:00</published><updated>2009-04-03T03:47:11.502-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-03T03:47:11.502-07:00</app:edited><title>PL/SQL Table Based Records</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mkc0OrNPjDvl8FMqtfJ4Tfuzstw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mkc0OrNPjDvl8FMqtfJ4Tfuzstw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mkc0OrNPjDvl8FMqtfJ4Tfuzstw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mkc0OrNPjDvl8FMqtfJ4Tfuzstw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;You define and declare records either in the declaration section of a PL/SQL block, or globally, via a package specification. A table-based record is one whose structure is drawn from the list of...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/8693887052761334416/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=8693887052761334416" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8693887052761334416?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8693887052761334416?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/04/plsql-table-based-records.html" title="PL/SQL Table Based Records" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CkQEQXo_fip7ImA9WxVbF08.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-5228394534673711885</id><published>2009-04-02T17:53:00.001-07:00</published><updated>2009-04-02T17:58:20.446-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-02T17:58:20.446-07:00</app:edited><title>PL/SQL Programmer Defined Records</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yjlALF7tmo6Z-hw5QDS1UwFYFyo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yjlALF7tmo6Z-hw5QDS1UwFYFyo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yjlALF7tmo6Z-hw5QDS1UwFYFyo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yjlALF7tmo6Z-hw5QDS1UwFYFyo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;These are records in which you, the programmer, define a record type.

Example 1 of Programmer Defined Records

Type my_first_record is record (

Name varchar2(20);
Age number;
Salary...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/5228394534673711885/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=5228394534673711885" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/5228394534673711885?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/5228394534673711885?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/04/plsql-programmer-defined-records.html" title="PL/SQL Programmer Defined Records" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CkYFQns_eSp7ImA9WxVbF08.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-1846768511316502276</id><published>2009-04-02T17:53:00.000-07:00</published><updated>2009-04-02T17:55:13.541-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-02T17:55:13.541-07:00</app:edited><title>PL/SQL Cursor Based Records</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JUXNdiNnxpNbG-ELnYDfCjJ38R0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUXNdiNnxpNbG-ELnYDfCjJ38R0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JUXNdiNnxpNbG-ELnYDfCjJ38R0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUXNdiNnxpNbG-ELnYDfCjJ38R0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Cursor-Based record has fields that match in name, datatype, and order to the final list of columns in the cursor’s SELECT statement.

Example 1 of Cursor Based Records

Cursor emp_cur is
Select...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/1846768511316502276/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=1846768511316502276" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/1846768511316502276?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/1846768511316502276?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/04/plsql-cursor-based-records.html" title="PL/SQL Cursor Based Records" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkMCRn4_cSp7ImA9WxVbE0w.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-7928778463674932168</id><published>2009-03-29T03:40:00.000-07:00</published><updated>2009-03-29T01:14:27.049-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-29T01:14:27.049-07:00</app:edited><title>SQL Subqueries</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SXlpFlcdfD2eNj4KSnsGpTHAbcU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SXlpFlcdfD2eNj4KSnsGpTHAbcU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SXlpFlcdfD2eNj4KSnsGpTHAbcU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SXlpFlcdfD2eNj4KSnsGpTHAbcU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL inline View subquery  SQL Correlated subquery SQL Scalar subquery

Subquery is a query inside a main query.

SQL subquery can be embedded:
As a column expression in the main SQL statement
As a...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/7928778463674932168/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=7928778463674932168" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/7928778463674932168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/7928778463674932168?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/04/sql-subqueries.html" title="SQL Subqueries" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkQBQX89eip7ImA9WxVbE0w.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-574726485820453504</id><published>2009-03-29T00:13:00.000-07:00</published><updated>2009-03-29T01:12:30.162-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-29T01:12:30.162-07:00</app:edited><title>SQL Scalar subquery</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E-PUJITN1gNVtaclAIosQ_XNp9U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E-PUJITN1gNVtaclAIosQ_XNp9U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E-PUJITN1gNVtaclAIosQ_XNp9U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E-PUJITN1gNVtaclAIosQ_XNp9U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL inline View subquery  SQL Correlated subquery SQL Subqueries

A scalar subquery returns a single row and a single column value.

Example 1 of Scalar subquery

SELECT last_name, job_id,...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/574726485820453504/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=574726485820453504" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/574726485820453504?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/574726485820453504?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-scalar-subquery.html" title="SQL Scalar subquery" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkcARnc5cCp7ImA9WxVbE0w.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-1029555043494979014</id><published>2009-03-29T00:09:00.000-07:00</published><updated>2009-03-29T01:07:27.928-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-29T01:07:27.928-07:00</app:edited><title>SQL Correlated Subquery</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/04Nd-kMGOqwswXnYLxnL-YAK66s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/04Nd-kMGOqwswXnYLxnL-YAK66s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/04Nd-kMGOqwswXnYLxnL-YAK66s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/04Nd-kMGOqwswXnYLxnL-YAK66s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL inline View subquery  SQL Subqueries SQL Scalar subquery

When you reference a column from the table in the parent query in the subquery, it is known as a correlated subquery. For each row...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/1029555043494979014/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=1029555043494979014" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/1029555043494979014?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/1029555043494979014?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-correlated-subquery.html" title="SQL Correlated Subquery" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CUEFQHw7eip7ImA9WxVbE0w.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-8889525995489915825</id><published>2009-03-29T00:03:00.000-07:00</published><updated>2009-03-29T01:00:11.202-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-29T01:00:11.202-07:00</app:edited><title>SQL Inline View Subquery</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_Q4nUH4fCXx2UdluY8T2LQX005c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Q4nUH4fCXx2UdluY8T2LQX005c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_Q4nUH4fCXx2UdluY8T2LQX005c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Q4nUH4fCXx2UdluY8T2LQX005c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Subqueries SQL Correlated subquery SQL Scalar subquery

When you use SQL Subquery in From clause of the select statement it is called inline view.

A common use for inline views in Oracle SQL is...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/8889525995489915825/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=8889525995489915825" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8889525995489915825?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8889525995489915825?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-inline-view-subquery.html" title="SQL Inline View Subquery" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CE4HRHg6fip7ImA9WxVUFEg.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-2958652574354557477</id><published>2009-03-18T11:03:00.000-07:00</published><updated>2009-03-19T01:55:35.616-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-19T01:55:35.616-07:00</app:edited><title>Modifying SQL Views (Insert, Update and Delete on SQL Views)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1RPcef-5DP09r9uCj3AXr4iEK_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1RPcef-5DP09r9uCj3AXr4iEK_k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1RPcef-5DP09r9uCj3AXr4iEK_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1RPcef-5DP09r9uCj3AXr4iEK_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Views  SQL Join View SQL Inline View

You can use the “OR Replace” option. If the view exists it will be replaced with the new definition or a new view will be created. We can use Create or...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/2958652574354557477/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=2958652574354557477" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/2958652574354557477?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/2958652574354557477?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/insert-update-delete-views.html" title="Modifying SQL Views (Insert, Update and Delete on SQL Views)" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CUcNQHs9eSp7ImA9WxVUFEg.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-5325348011876626854</id><published>2009-03-18T10:53:00.000-07:00</published><updated>2009-03-19T01:58:11.561-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-19T01:58:11.561-07:00</app:edited><title>SQL Join View</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/odyCKn-6Mn83hgQGrGpGN2estTI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/odyCKn-6Mn83hgQGrGpGN2estTI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/odyCKn-6Mn83hgQGrGpGN2estTI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/odyCKn-6Mn83hgQGrGpGN2estTI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Modifying View  SQL Views SQL Inline View

A join view is a view which is based on more than one base table. Any insert, update or delete statement on a view can update only one of the base...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/5325348011876626854/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=5325348011876626854" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/5325348011876626854?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/5325348011876626854?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-join-view.html" title="SQL Join View" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CUEFQnkzcSp7ImA9WxVUFEg.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-6948067253260776718</id><published>2009-03-18T10:40:00.000-07:00</published><updated>2009-03-19T02:06:53.789-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-19T02:06:53.789-07:00</app:edited><title>SQL Inline Views</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NKv8rzhAS_EPAM4AZ7f656crhxg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NKv8rzhAS_EPAM4AZ7f656crhxg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NKv8rzhAS_EPAM4AZ7f656crhxg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NKv8rzhAS_EPAM4AZ7f656crhxg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Modifying View  SQL Join View SQL Views

It is a subquery that appears in the From clause of the Select statement. The inline view is a construct in Oracle SQL where you can place a query in the...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/6948067253260776718/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=6948067253260776718" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/6948067253260776718?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/6948067253260776718?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-inline-views.html" title="SQL Inline Views" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_fL-7fEoQMn0/ScEz5ybDlKI/AAAAAAAAABE/Eqw6SnuYqAI/s72-c/sql_views.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CEENRno7fCp7ImA9WxVUFEg.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-7431031127126991788</id><published>2009-03-18T03:34:00.000-07:00</published><updated>2009-03-19T01:51:37.404-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-19T01:51:37.404-07:00</app:edited><title>SQL Views</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0pDZK8uGbiioNeBt2kYEEcmQk_w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0pDZK8uGbiioNeBt2kYEEcmQk_w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0pDZK8uGbiioNeBt2kYEEcmQk_w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0pDZK8uGbiioNeBt2kYEEcmQk_w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Modifying View  SQL Join View SQL Inline View

An SQL View is a specific representation of data from one or more tables. The tables referred in the views are known as Base tables. Creating a view...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/7431031127126991788/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=7431031127126991788" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/7431031127126991788?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/7431031127126991788?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/04/sql-views.html" title="SQL Views" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0MHQng_eSp7ImA9WxVUEUw.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-981224089596925153</id><published>2009-03-15T00:11:00.000-07:00</published><updated>2009-03-15T04:10:33.641-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T04:10:33.641-07:00</app:edited><title>Null Values in SQL Group By</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ox78wap7uP0yJmRHf-iQO_eZNU8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ox78wap7uP0yJmRHf-iQO_eZNU8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ox78wap7uP0yJmRHf-iQO_eZNU8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ox78wap7uP0yJmRHf-iQO_eZNU8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Having  SQL Group By Examples of SQL Group By and SQL Having

It is known that Null  Null. When two different NULL values are compared, the result is NULL (not TRUE), i.e. the two NULL values are...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/981224089596925153/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=981224089596925153" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/981224089596925153?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/981224089596925153?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-group-by-null.html" title="Null Values in SQL Group By" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0UAQX0zfyp7ImA9WxVUEUw.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-4014159763501112451</id><published>2009-03-15T00:08:00.000-07:00</published><updated>2009-03-15T04:07:20.387-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T04:07:20.387-07:00</app:edited><title>Examples of SQL Having &amp; SQL Group By</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L8iBfw4zTeRAfqJDVlY4XKf7skw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8iBfw4zTeRAfqJDVlY4XKf7skw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L8iBfw4zTeRAfqJDVlY4XKf7skw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8iBfw4zTeRAfqJDVlY4XKf7skw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Having  SQL Group By Null in SQL Group By

Some of the examples found on the Internet:

Find the average sales price for each beer.

Sells (bar, beer, price)

SELECT beer, AVG (price)
FROM...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/4014159763501112451/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=4014159763501112451" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/4014159763501112451?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/4014159763501112451?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/examples-sql-having-group-by.html" title="Examples of SQL Having &amp; SQL Group By" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0cNQ3o4cSp7ImA9WxVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-1332903749053068793</id><published>2009-03-11T11:07:00.000-07:00</published><updated>2009-03-11T11:11:32.439-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-11T11:11:32.439-07:00</app:edited><title>Example of Simple SQL Join</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-4jOZXWRMYgnT4bDMSN6rhW8gjA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-4jOZXWRMYgnT4bDMSN6rhW8gjA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-4jOZXWRMYgnT4bDMSN6rhW8gjA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-4jOZXWRMYgnT4bDMSN6rhW8gjA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Student (sno: integer, stname: string, major: string, level: string, age: integer)
Class (name: string, meets_at: string, room: string, fid: integer)
Enrolled (sno: integer, cname: string)
Faculty...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/1332903749053068793/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=1332903749053068793" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/1332903749053068793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/1332903749053068793?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-join-1.html" title="Example of Simple SQL Join" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkAFQ3Y6eSp7ImA9WxVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-4733953528675631940</id><published>2009-03-11T10:49:00.000-07:00</published><updated>2009-03-11T11:05:12.811-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-11T11:05:12.811-07:00</app:edited><title>Example of SQL Self Join</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RDs7mYx6B65FjVijxOyDx-3MZDE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RDs7mYx6B65FjVijxOyDx-3MZDE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RDs7mYx6B65FjVijxOyDx-3MZDE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RDs7mYx6B65FjVijxOyDx-3MZDE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Emp Table

NameNull?TypeEMPNONOT NULLNUMBER(4)ENAME
VARCHAR2(10)JOB
VARCHAR2(9)MGR
NUMBER(4)HIREDATE 
DATESAL
NUMBER(7,2)COMM
NUMBER(7,2)DEPTNO
NUMBER(2)

Use a join command to produce the following...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/4733953528675631940/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=4733953528675631940" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/4733953528675631940?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/4733953528675631940?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-self-join-1.html" title="Example of SQL Self Join" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CUICRHczeCp7ImA9WxVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-8434916032676620159</id><published>2009-03-11T10:41:00.000-07:00</published><updated>2009-03-11T10:46:05.980-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-11T10:46:05.980-07:00</app:edited><title>Example of SQL Inner Join</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/m3JGIa5qfQBGb7lwkjl90DZC8ZY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m3JGIa5qfQBGb7lwkjl90DZC8ZY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/m3JGIa5qfQBGb7lwkjl90DZC8ZY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m3JGIa5qfQBGb7lwkjl90DZC8ZY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Customers (ssNum, name, address)
Orders (ssNum, id)
Products (id, pprice, description)

a)
Select the names of all customers who have orders.

SELECT DISTINCT name
FROM Customers INNER JOIN Orders...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/8434916032676620159/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=8434916032676620159" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8434916032676620159?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8434916032676620159?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-inner-join-1.html" title="Example of SQL Inner Join" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CEQMRnc9fCp7ImA9WxVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-3387604819570412590</id><published>2009-03-11T10:21:00.000-07:00</published><updated>2009-03-11T10:26:27.964-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-11T10:26:27.964-07:00</app:edited><title>Example of SQL Outer Join</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-zZMuqDYdzJj6_Xo8wnX91Hutws/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-zZMuqDYdzJj6_Xo8wnX91Hutws/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-zZMuqDYdzJj6_Xo8wnX91Hutws/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-zZMuqDYdzJj6_Xo8wnX91Hutws/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Student (sno: integer, stname: string, major: string, level: string, age: integer)
Class (name: string, meets_at: string, room: string, fid: integer)
Enrolled (sno: integer, cname: string)
Faculty...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/3387604819570412590/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=3387604819570412590" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/3387604819570412590?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/3387604819570412590?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-outer-join-1.html" title="Example of SQL Outer Join" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkMDSXcyfCp7ImA9WxVUEUw.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-5073468265278022826</id><published>2009-03-02T09:21:00.000-08:00</published><updated>2009-03-15T03:54:38.994-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T03:54:38.994-07:00</app:edited><title>SQL Group By</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZbZh9xrosCAlZqY3nK1VOD_y-t8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZbZh9xrosCAlZqY3nK1VOD_y-t8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZbZh9xrosCAlZqY3nK1VOD_y-t8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZbZh9xrosCAlZqY3nK1VOD_y-t8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Having  Examples of SQL Group By and SQL Having Null in SQL Group By

It is a clause in SQL, which specifies how to report the output of the query. Allows one to define a subset of the values of...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/5073468265278022826?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/5073468265278022826?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/03/sql-group-by.html" title="SQL Group By" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author></entry><entry gd:etag="W/&quot;Dk4HRXo4eCp7ImA9WxVUEUw.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-2806208462364070100</id><published>2009-03-02T00:03:00.000-08:00</published><updated>2009-03-15T04:02:14.430-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T04:02:14.430-07:00</app:edited><title>SQL Having</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MF4OK6OFXnNv-OqcC5Wf7_oGR34/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MF4OK6OFXnNv-OqcC5Wf7_oGR34/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MF4OK6OFXnNv-OqcC5Wf7_oGR34/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MF4OK6OFXnNv-OqcC5Wf7_oGR34/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SQL Group By  Examples of SQL Group By and SQL Having Null in SQL Group By

The SQL HAVING clause allows us to restrict the data that is sent to the GROUP BY clause.

Group functions cannot be used...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/2806208462364070100/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=2806208462364070100" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/2806208462364070100?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/2806208462364070100?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2009/03/sql-having.html" title="SQL Having" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DEQDQnk8cCp7ImA9WBFbE00.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-3067083858256106516</id><published>2007-05-04T11:38:00.000-07:00</published><updated>2007-05-04T12:19:33.778-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-05-04T12:19:33.778-07:00</app:edited><title>SQL Functions</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6RAhWLUKav93jzDoCLPcXfHi7i0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6RAhWLUKav93jzDoCLPcXfHi7i0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6RAhWLUKav93jzDoCLPcXfHi7i0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6RAhWLUKav93jzDoCLPcXfHi7i0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Please refer the below mentioned link for SQL FUNCTIONS. This is an excellent link for getting deep insight of all available SQL...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/3067083858256106516/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=3067083858256106516" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/3067083858256106516?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/3067083858256106516?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/05/sql-functions.html" title="SQL Functions" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;AkEFRX06eCp7ImA9WBFbEUg.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-8370231735079315354</id><published>2007-05-02T19:16:00.001-07:00</published><updated>2007-05-02T19:16:54.310-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-05-02T19:16:54.310-07:00</app:edited><title>SQL Left Outer Join</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gTkIEO_hWKwheDXofcIxIb0LN6Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gTkIEO_hWKwheDXofcIxIb0LN6Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gTkIEO_hWKwheDXofcIxIb0LN6Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gTkIEO_hWKwheDXofcIxIb0LN6Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;http://sql-plsql.blogspot.com/&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/8370231735079315354/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=8370231735079315354" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8370231735079315354?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/8370231735079315354?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/05/sql-left-outer-join.html" title="SQL Left Outer Join" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D08GQX88fip7ImA9WxVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-3375440236027371083.post-6395209275736530227</id><published>2007-05-02T19:11:00.000-07:00</published><updated>2009-03-11T11:23:40.176-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-11T11:23:40.176-07:00</app:edited><title>SQL Equi-join</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T6-ZFsX-Rpx7hCYasNev5k7yPhY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T6-ZFsX-Rpx7hCYasNev5k7yPhY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T6-ZFsX-Rpx7hCYasNev5k7yPhY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T6-ZFsX-Rpx7hCYasNev5k7yPhY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;The join condition determines whether the join is an equi-join or a non equi-join. when we relate two tables on a join condition by equating the columns from the tables, it is an equi-join. when we...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]</content><link rel="replies" type="application/atom+xml" href="http://sql-plsql.blogspot.com/feeds/6395209275736530227/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3375440236027371083&amp;postID=6395209275736530227" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/6395209275736530227?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3375440236027371083/posts/default/6395209275736530227?v=2" /><link rel="alternate" type="text/html" href="http://sql-plsql.blogspot.com/2007/05/sql-equijoin_02.html" title="SQL Equi-join" /><author><name>sachin dhall</name><uri>http://www.blogger.com/profile/17846526109913351942</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15799607334170770177" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry></feed>
