-
-
-
-
-
-
-
-
-
View sysdate
How can we view sysdate for n number of times
-
Copy structure of a table
How can I copy the stucture of a table to a text file.
-
SET Operator
What is a SET operator? What are the types what is the difference between SET operators and JOINS?
-
Delete contents in two tables at a time
How to delete contents in two tables at a time? When you delete contents in one table then other table contents should also be deleted.
-
Column Level Constraint
What are Column Level Constraint and Table Level Constraint? How do they differ from one another?
-
Null Value
How to handle Null value in WHERE Condition?
-
Highest Average Salary
Construct a query which finds the job with the highest average salary
-
Pluks and Zinks
There is a table with pluks and zinks. Each pluk only resides on a single zink and each zink may contain multiple pluks. How do you find how many pluks are on each and every zink?
-
Get 10 and 11th records in the output using SQL in 5 ways ?
I have to tables A and B. My records in this table are in such a way that
Table A Table B
10 15
11 16
12 10
13 11
Question :- I want only the 10 and 11 records as my output.
Can anyone help me out ( 5 ways... -
What are various joins used while writing SUBQUERIES?
Self join-Its a join foreign key of a table references the same table. Outer Join--Its a join condition used where One can query all the rows of one of the tables in the join condition even though they don't satisfy the join condition.Equi-join--Its a join condition that retrieves rows from one or more tables in which one or more columns in one table are equal to one or more columns in the second table.
-
Display the records between two range?
select rownum, empno, ename from emp where rowid in (select rowid from emp where rownum <=&upto minus select rowid from emp where rownum<&Start);
-
Oracle SQL Interview Questions
Ans