﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / Oracle Interview Questions / Oracle PL/SQL and overall SQL Interview Questions  / Basic SQL Interview Questions / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Thu, 09 Feb 2012 11:09:20 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Basic SQL Interview Questions</title><link>http://www.franklinfaces.com/Topic28-81-1.aspx</link><description>HI,&lt;br&gt;These questions are good.&lt;br&gt;The set of questions can be increased depending on the topic so that it can cover total SQL.&lt;br&gt;&lt;br&gt;I found some more good [url=http://www.wiziq.com/online-tests/12589-oracle-sql-pl-sql-quiz]oracle sql interview questions[/url]  for those who are preparing for  SQL Interview.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Kolla Sanjeeva Rao&lt;br&gt;OCP,Oracle 9i.</description><pubDate>Tue, 31 Aug 2010 01:10:00 GMT</pubDate><dc:creator>ksrao</dc:creator></item><item><title>Basic SQL Interview Questions</title><link>http://www.franklinfaces.com/Topic28-81-1.aspx</link><description>&lt;B&gt;&lt;FONT color=#113311&gt;What's SQL&lt;/FONT&gt; &lt;/B&gt;&lt;P&gt;SQL is an English like language consisting of commands to store, retrieve, maintain &amp;amp; regulate access to your database. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's SQL*Plus&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;SQL*Plus is an application that recognizes &amp;amp; executes SQL commands &amp;amp; specialized SQL*Plus commands that can customize reports, provide help &amp;amp; edit facility &amp;amp; maintain system variables. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's NVL&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;NVL : Null value function converts a null value to a non-null value for the purpose of evaluating an expression. Numeric Functions accept numeric I/P &amp;amp; return numeric values. They are MOD, SQRT, ROUND, TRUNC &amp;amp; POWER. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's Date Functions&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Date Functions are ADD_MONTHS, LAST_DAY, NEXT_DAY, MONTHS_BETWEEN &amp;amp; SYSDATE. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's Character Functions&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Character Functions are INITCAP, UPPER, LOWER, SUBSTR &amp;amp; LENGTH. Additional functions are GREATEST &amp;amp; LEAST. Group Functions returns results based upon groups of rows rather than one result per row, use group functions. They are AVG, COUNT, MAX, MIN &amp;amp; SUM. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's TTITLE &amp;amp; BTITLE&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;TTITLE &amp;amp; BTITLE are commands to control report headings &amp;amp; footers. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's COLUMN&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;COLUMN command define column headings &amp;amp; format data values. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's BREAK&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;BREAK command clarify reports by suppressing repeated values, skipping lines &amp;amp; allowing for controlled break points. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's COMPUTE&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;command control computations on subsets created by the BREAK command.&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's SET&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;SET command changes the system variables affecting the report environment. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's SPOOL&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;SPOOL command creates a print file of the report. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's JOIN&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;JOIN is the form of SELECT command that combines info from two or more tables.&lt;BR&gt;Types of Joins are Simple (Equijoin &amp;amp; Non-Equijoin), Outer &amp;amp; Self join.&lt;BR&gt;Equijoin returns rows from two or more tables joined together based upon a equality condition in the WHERE clause.&lt;BR&gt;Non-Equijoin returns rows from two or more tables based upon a relationship other than the equality condition in the WHERE clause. Outer Join combines two or more tables returning those rows from one table that have no direct match in the other table. Self Join joins a table to itself as though it were two separate tables. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's Union&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Union is the product of two or more tables. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's Intersect&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Intersect is the product of two tables listing only the matching rows. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What's Minus&lt;/FONT&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Minus is the product of two tables listing only the non-matching rows. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What is a Correlated Subquery ?&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Correlated Subquery is a subquery that is evaluated once for each row processed by the parent statement. Parent statement can be Select, Update or Delete. Use CRSQ to answer multipart questions whose answer depends on the value in each row processed by parent statement. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What are Multiple columns ?&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Multiple columns can be returned from a Nested Subquery. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What are Sequences ?&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Sequences are used for generating sequence numbers without any overhead of locking. Drawback is that after generating a sequence number if the transaction is rolled back, then that sequence number is lost. &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;FONT color=#113311&gt;What are Synonyms ?&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Synonyms is the alias name for table, views, sequences &amp;amp; procedures and are created for reasons of Security and Convenience.  Two levels are Public - created by DBA &amp;amp; accessible to all the users. Private - Accessible to creator only. Advantages are referencing without specifying the owner and Flexibility to customize a more meaningful naming convention. &lt;/P&gt;</description><pubDate>Wed, 03 Dec 2008 15:29:39 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
