Sie sind auf Seite 1von 1

1)write a query to create a table with 3 column

Note : 1 column must containe unique & check constraint(name should start with A
)
2)write a query to add column to the existing table
3)write a query to delete all the records\
4)difference between primary key and composite key
5)write a query to display all the employees who don?t have manager
6)write a query to display ename & salary from emp table in below format
Employees earning salary
Hint: use alias & concat functions
7)write a query to update the existing value
8)write a query to drop the column
9)what is diffrenece between Round & trunk
10)create 3 tables with primary key & foreign key concepts(ER diagram)
11) Add column called as test to your emp table;
12) Give the command to add the constraint.
13) How to drop the existing constraints
14) How to alter the existing constraints
15) How to rename the existing constraints
16) What is composite key
17)Create one table by applying not null constraint on any one column & insert 2
rows with duplicate values against not null column
later apply the unique constraint & write the expected behaviour
18)How to view avialble constraints in the database
19)how to create new user
20)how to copy the table from one account to another account

Das könnte Ihnen auch gefallen