Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Courpedia.

com

SQL Interview Questions

List of SQL Interview Questions

1. What is SQL?
2. What are the advantages of SQL?
3. What are the Uses of SQL?
4. What is the disadvantage of SQL?
5. What are SQL data Types?
6. What is the difference between SQL and MySQL?
7. What is Database?
8. What are Constraints in SQL?
9. What is Query in SQL?
10. Difference between Candidate and Alternate Key in SQL?
11. What are Types of SQL statements?
12. What is the Primary key In SQL?
13. What do You mean By subquery In SQL?
14. What is RDBMS?
15. What are Various Types of Joins In SQL?
16. What is Set Operator in SQL?
17. What are the uses of SQL functions?
18. What is Use of the NVL function in SQL?
19. What is Different Type of Keys in SQL?
20. What are Triggers in SQL?
21. What is Clause In SQL?
22. What is the function of Limit Keyword In SQL?
23. What are Types of Database in SQL?
24. List some DDL commands in SQL
25. What is the difference between Delete and Truncate in SQL?
26. What is Data integrity in SQL?
27. What is SQL Buffer?
28. What is PL/SQL?
29. What is the difference between PL/SQL and SQL?
30. Write a Query To find a second highest element of a Column?
31. What is normalization in SQL?
32. What is the user-defined function in SQL?
33. List Different types of triggers in SQL
34. What is the character Manipulation Function?
35. What is de-normalisation in SQL
36. What are different DDL commands in SQL?
37. What are different TCL commands in SQL?
38. What is Index in SQL?
39. Explain Acid Property in SQL?
40. What is the difference between where and having a clause?
41. What is Collation in SQL?
42. What is schema in SQL?
43. What are the different types of tables in SQL?
44. What is the Unique Key in the SQL table?
Courpedia.com

45. Explain Window authentication mode in SQL server?


46. What are the Types of replications in SQL servers?
47. Write a command to Create a Table in SQL?
48. What is the DBCC command in the database?
49. What is the use of the BBCC command?
50. How to use IF statement inside a SELECT statement in SQL?
51. What is the difference between commit and Savepoint?
52. What is the difference between Union and UNION ALL?
53. what is the Scaler function in SQL?
54. What is View in SQL?
55. What is the difference between clustered and Non-Clustered indexes?
56. What `is the use of stuff() Function in SQL?
57. What are relationships in SQL?
58. What is Data Warehouse?
59. What is Online Transaction Processing (OLTP) in SQL?
60. What is the difference between SQL, Oracle, and SQL servers?
61. What is the Cartesian Product of two tables in SQL?
62. What is the condition for two tables to be UNION compatible in SQL?
63. What are Data Models in the database?
64. What is the Dis-Advantage of DBMS?
65. What is the use of COALESCE function in SQL?

1. What are the Rules to write SQL commands and statements?


Rules to write SQL commands are a follows:

• SQL statements are Case insensitive.


• The comma is used to separate arguments/parameters.
• SQL queries can be executed on more than one table at a time
• A semicolon is required at the end of Statements
• A statement can be written in multiple lines.

2. What is the Advantage of DBMS?

o Reduces data Redundancy which means eradicate data duplicacy


o Sharing of Data is very Easy
o High speed
o Protection of information
o Reduces programming costs
o You can easily backup data

3. What is the disadvantage of DBMS?

• It is costly
• Sometimes database failure can pause your work
• It requires a high-speed processor and high memory size.
• They are very complex
• Frequently updates and replacements cost very high.

You might also like