GeekInterview.com
  I am new, Sign me up!
 

SQL and SQL Plus Interview Questions


SQL and SQL Plus Interview Questions

Questions: 132
Comments: 539
 Showing Questions 41-50 of 132 Questions
<< Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>
 Sponsored Links

 
 SQL and SQL Plus Interview Questions
Sorting Options :  

Answer posted by Scott on 2005-05-25 18:32:51: UNION - the values of the first query are returned with the values of the second query eliminating duplicates. MINUS - the values of the first query 
Latest Answer: UNION: Take the common record once( No Duplicate)UNION ALL : Takes Duplicates alsoMinus:  Result of first query - result of second queryexamleselect * from emp where rownum

Latest Answer: A query nested within another SQL statement is called a subquery. ...

Latest Answer: There are 5 types of joins available in sql server1) inner join2) outer join( left outer join,Right outer join)3) Full Join4) Cross Join5) Self Join1) inner Join : Two tables having the common column values go with inner join.Example:select * from emp ...

Answer posted by Scott on 2005-05-25 18:30:04: TRUNCATE is a DDL command and cannot be rolled back. All of the memory space is released back to the server. DELETE is a DML command and can be rolled 
Latest Answer: DELETE is a logged operation on a per row basis.  This means that the deletion of each row gets logged and physically deleted. You can DELETE any row that will not violate a constraint, while leaving the foreign key or any other contraint in place. ...

Latest Answer: Nextval must be used to generate a sequence number in the current user's session before currval can be referenced. ...

Latest Answer: A transaction is a UNIT of work. It contains a set of tasks to be completed as a SINGULAR UNIT of work. ...

Transaction is logical unit between two commits and commit and rollback. 
Latest Answer: A  Transaction  is  a  logical  unit of work that comprises one or more SQL statements executed by a single user. ...

Latest Answer: Till Oracle 7.0, only 12 triggers could be defined per table. In later versions there is no such limitation. ...

Latest Answer: CREATE TABLE duptest ( Id varchar(5), nonid varchar(5)); INSERT INTO duptest VALUES('1','a'); INSERT INTO duptest VALUES('2','b'); SELECT * FROM duptest DELETE FROM duptest WHERE rowid NOT IN (SELECT max(rowid) FROM duptest ...

Latest Answer: If a view is based upon a single table then DML operations can be performed on it, while if a view is based upon more than two tables then it is a complex view and DML operations can be performed using instead of triggers. ...

View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape