0% found this document useful (0 votes)
7 views2 pages

KL SQL Interview Questions

The document discusses database concepts like DBMS, RDBMS, SQL, tables, fields, primary keys, unique keys, foreign keys, joins, normalization, subqueries, constraints, aggregate functions and DML statements.

Uploaded by

Vipin Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

KL SQL Interview Questions

The document discusses database concepts like DBMS, RDBMS, SQL, tables, fields, primary keys, unique keys, foreign keys, joins, normalization, subqueries, constraints, aggregate functions and DML statements.

Uploaded by

Vipin Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. What is DBMS?

2. What is RDBMS?
3. What is SQL?
4. What are tables and Fields?
5. What is a primary key?
6. What is a unique key?
7. What is a foreign key?
8. What is a join?
9. What are the types of join and explain each?
10. What is normalization?
11. What are all the different normalizations?
12.What is subquery?
13. What are the types of subquery?
14. Difference between WHERE and HAVING clause
15. Difference between SRF and MRF
16. What is the difference between DELETE and TRUNCATE
commands?
17. What is a constraint ?
18. What is Self-Join?
19. What is Cross-Join?
20. What is an ALIAS command?
21. What is the difference between TRUNCATE and DROP
statements?
22. What are aggregate functions?
23 . How to select unique records from a table?
Select unique records from a table by using DISTINCT keyword.
Select DISTINCT StudentID, StudentName
from Student ;

24. What is the command used to fetch first 5 characters of the


string?
There are many ways to fetch first 5 characters of the string -.
One of the way is

Select SUBSTRING(StudentName,1,5) as studentname


from student ;
25. Which operator is used in query for pattern matching?
LIKE operator is used for pattern matching, and it can be used as -.
% - Matches zero or more characters. _(Underscore) Matching
exactly one character.
26 .What are DML statements

KRISHNA

You might also like