Oracle Interview Questions (How to ...)


Home Previous


How to remove duplicate records from Oracle table.

 

Check your answer

How to display rows of top two salary for each division. (The table contains id, name, div_id, sal fields)

Check your answer

How to find number of records in each table of the Oracle schema

Check your answer

There is bonuses table where some employees already have records.
A decision was made to encourage employees of department 20 as follows:
-If employees already have bonus record and salary less than 50000 - add additional 2% of their salary to existing bonus.
-All others should have 3% from their salary.
How to make these changes in one statement?

Check your answer

How to generate a random date from 1/1/2008 to 12/31/2008.

Check your answer

 

Home Previous