-
-
-
-
How to retrieve the 2nd record from a table ?
How to retrieve the 2nd record from a table which has say 1000 records in it. Please answer this without using the row-id? I tried to say a query "select * from table where rowcount=1" which worked well and also "select * from table where rowcount=3" which gave me the result but not when I did the same query "select * from table where rowcount=2" ? why?
-
How to delete identical row from a table?
how to delete identical row from a table?
if we have 4 row and two of them having same data then how we delete identical row using delete query -
How many tables are needed to create and their relationships ?
Supplier Name
Supplier Site
Supplier Street
Supplier Contact Person
Supplier City
Supplier State
Supplier Phone number
Business requirement is : One Supplier can have multiple ( n number of
Sites ), One Supplier Site can have Multiple Contacts Persons ( n
number of Contact persons ), One Supplier Contact Person can have
multiple phone... -
Inner join and Outer join
What is the difference between inner join and outer join?
-
Employee Query question
Suppose im having employee table with fields, eno, ename, dept, address1, address2, address3. In address field employee can fill only address1 or address2 or address3... at a time he can fill three address fields. now i want all employee names who filled only one address field..
-
HAVING Clause
Given a SELECT statement that has a GROUP BY clause.The HAVING clause uses the same syntax as which other clause?A. WHEREB. UNIONC. SUBQUERYD. ORDER BY
-
INSERT Statement Optimization
A script is inserting data into one table, it was taking 15 min to complete before. Today it is taking more than 2 hours. What kind of action you will take?
-
Remove redundant rows
How to remove redundant rows without any distinct columns in the table itself ?
-
LOB Segment
What do you mean by LOB segment? Explain LOB segment
-
Size of parameter
what is the size of parameter that we passed in sql query
-
-
-
-
DROP command and VIEW
How does dropping a table affects its view?
-
-
What is Dual table?
What is dual table which is used as a table in sql...
-
Inserting the image
How can I insert an image into oracle database?
SQL Interview Questions
Ans