Professional Documents
Culture Documents
SQL Interview Questions
SQL Interview Questions
Ans. Structured Query Language which is used to create and access the database to
support software application.
20.How many row comparision operators are used while working with subquery?
Ans. IN,ANY(SOME),ALL.
32.Define commit?
Ans. Commit is to save the changes made in the transaction.
33.Define rollback?
Ans. The changes which we made in the commit will be back.
Undo the changes made in the transaction.
40.Is it possible for the table to have more than one primary key?
Ans. No.
41.Is it possible for the table to have more than one foreign key?
Ans. Yes.
45.What is DQL?
Ans. DQL(Data Query Language):Select is used to retrieve the data from table.
46.What is DCL?
Ans. DCL(Data Control Language):
51.What is the difference b/w unique constraints and primary key constraints?
Ans. Primary key is applicable for only one column where as unique constraints are
applicable for multiple columns.