-
View - Base Tables
Does View occupy memory? If we delete the base table of existing view, What happens?
-
-
Analytical Function
WE using Last_value()analytical function but the result do not match according to me?
-
Column Level Constraint
What are Column Level Constraint and Table Level Constraint? How do they differ from one another?
-
-
HAVING vs WHERE Clause
Where clause restricts rows, what does having clause restricts ?1. only group results.2. rows results.3. both rows and groups result.
-
-
-
Write a query to update third column such that
There is a table having the following columns :-student id marks1 marks2 maxmarks1 10 20 202 25 30 303 30 10 304 35 25 355 20 40 40write a query to update column maxmarks such that maxmarks column contains whatever be the greater value among marks1...
-
SQL Buffer
Which command displays the SQL command in the SQL buffer, and then executes it?
-
Change Default Display
How to change the default display? For deptno 10 show "Financial Department", for deptno 20 show "Account Department", for deptno 30 show "Management Information System", for deptno 40 show "Electronic Data Processing"
-
-
Display Time in SQL
How to display current system time in SQL.
-
Average Department Salary
How to Get the employee details whose salary is less than the average salary of the department.
-
Intent Shared Lock
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 CHOICE3: A Read Lock that prevents more restrictive Locks CHOICE4: A Read Lock that allows other reads CHOICE5: A Read Lock that allows writes (Dirty Reads)
-
SQL Database Name Length
What could be the maximum size of a database name in MSQL?
-
TOAD
What does Toad mean? How it's work?
-
There is a string 120000 12 0 .125 , how you will find the position of the decimal place?
INSTR('120000 12 0 .125',1,'.')output 13
-
Suppose a customer table is having different columns like customer no, payments.What will be the query to select top three max payments?
SELECT customer_no, payments from customer C1WHERE 3<=(SELECT COUNT(*) from customer C2WHERE C1.payment <= C2.payment)
-
What is a OUTER JOIN?
Outer Join--Its a join condition used where you can query all the rows of one of the tables in the join condition even though they don’t satisfy the join condition.
Oracle SQL Interview Questions
Ans