GeekInterview.com
  I am new, Sign me up!
 

SQL Interview Questions


SQL Interview Questions

Questions: 171
Comments: 945
 SQL Tags
 Showing Questions 1-10 of 171 Questions
[1] 2 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 SQL Interview Questions
Sorting Options :  

Which one of the following is descriptive of the effect of an Intent Shared Lock on other transactions? CHOICE1: A Read Lock that prevents writes CHOICE2: A Read Lock that prevents other reads 
View Question | Asked by : karpagap

Does View occupy memory? If we delete the base table of existing view, What happens? 
Latest Answer: Actually view is a stored select statement and its code is stored in data dictionary. It doesn't occupy space in the memory. whenever view is called, the stored select statement executes and fetches the data from the base table.If base table is deleted, ...
Read Answers (7) | Asked by : manu4sql

Where clause restricts rows, what does having clause restricts ?1. only group results.2. rows results.3. both rows and groups result. 
Latest Answer: Having Clause: Restricts Aggregate or Group function result set.                        can be used with Group By CaluseWhere Clause: Restricts ...

Latest Answer: The columns which are used in SELECT clause should appear in GROUP BY clause except the column used in aggregate function. ...
Read Answers (10) | Asked by : radha11

There is a table having the following columns :-student id marks1 marks2 maxmarks1 10 20 202 25 30 303 30 10  
Latest Answer: This can simply be done by using below written update statementUPDATE studentSET max_marks=greatest(marks1,marks2); ...

Have 2 table Emp1 (Column Name: Ename), 2nd table Emp2 (Column Name: First and Column Name: LastTable Name :Emp1ENameHunt, MichaelGraham, SmithNelson, Ryan Table Name: Emp2First LastMichael HuntSmith GrahamRyan NelsonNeed 
Latest Answer: CREATE TABLE emp3 AS SELECT * FROM emp2;DROP TABLE emp2;RENAME emp1 TO emp2;RENAME emp3 TO emp2; ...
Read Answers (9) | Asked by : ssq1999

what is difference between nested query,sub query and nested query? explain clearly with an example? 
Latest Answer: query inside the query is nested query. it is also called as sub query. Correlated subquery runs once for each row selected by the outer query. It contains a reference to a value from the row selected by the outer query. Nested subquery runs only ...

How can I select column values from a table without knowing the column name ?Suppose , select employee_id from employees , now I don't know the column name and I want to select the column.Please let 
Latest Answer: If you do not know the column name you want to select from the table, I would simply suggest you that, follow this command: SELECT * FROM table_name here * let you choose all the column name from the respective table. ...

Latest Answer: You can perform any DML operations in dual table provided that you have been given the privilege to do so.However never try to perform any DML operations (delete/insert/update) in dual table because dual is basically used to work with scalar query. If ...
Read Answers (6) | Asked by : ashish88

WE using Last_value()analytical function but the result do not match according to me? 
View Question | Asked by : ashish88

View page [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