sql update and retrieve

17
S.No Experiment Signature 1. Delete duplicate row from the table 2. Display alternate row from table 3. Delete alternate row from table 4. Update a multiple row by using single update Statement 5. Find the third highest paid and third lowest paid salary 6. Display the 3 rd , 4 th and 9 th row from table 7. Display the employee-name(e_ name) ,which is start with j,k, 1 or m 8. Show all employees who were hired the first half of the month 9. Write a SQL statement for roll block, commit and save points 10. Write a SQL for select, insert, update and delete statements 11. Draw a E-R Diagram for Library Management 12. Draw a E-R Diagram for Hospital Management System INDEX

Upload: anmol-purohit

Post on 13-Jul-2015

59 views

Category:

Documents


0 download

TRANSCRIPT

S.No Experiment Signature

1. Delete duplicate row from the table

2. Display alternate row from table

3. Delete alternate row from table

4. Update a multiple row by using single update Statement

5. Find the third highest paid and third lowest paid salary

6. Display the 3rd , 4th and 9th row from table

7. Display the employee-name(e_ name) ,which is start with j,k, 1 or m

8. Show all employees who were hired the first half of the month

9. Write a SQL statement for roll block, commit and save points

10. Write a SQL for select, insert, update and delete statements

11.

Draw a E-R Diagram for Library Management

12.

Draw a E-R Diagram for Hospital Management System

INDEX

Experiment No. 1

(Delete duplicate row from table)

Experiment No. 2

(Display alternate row from table)

Experiment No. 3

(Delete alternate row from table)

Experiment No. 4

(Update multiple rows from table)

Experiment No. 5

(Find third highest and third lowest paid salary)

Experiment No. 6

(Display 3rd, 4th and 9th from table)

Experiment No. 7

(Display the name which is start with j, k, l, and m)

Experiment No. 8

(Show all employee s who ever hire the 1st half of month)

Experiment No. 9

(Write SQL statement for rollback, commit & save point)

Experiment No. 10

(Write SQL block for select, insert, update & delete statement)