Interview questions

Database interview questions – page 9

279 questions. Tap “Show answer” to check yourself.

  1. Differentiate between unique key and foreign key?

  2. How do you pass parameter in stored procedure?

  3. What are different types of clusters present?

  4. What is the difference between a stored procedure and a query?

  5. What are different types of blocks used in stored procedure?

  6. After normalization, what are the conditions which have to keep in mind to de-normalize it?

  7. Explain normalization in one line?

  8. Give the syntax of exception handling used in DBMS?

  9. A lowest level of security by most RDBMS is

  10. What is Data Modelling?

  11. What is lagging in DBMS ?

  12. What is the Lock Based Protocol used for?

  13. What is the difference between primary key, foreign key and candidate key?

  14. What is the Difference Primary key and Unique Key

  15. Display the employees whose salary is less than average salary.

  16. Two tables emp(empid,name,deptid,sal) and dept(deptid,deptname) are there.write a query which displays empname,corresponding deptname also display those employee names who donot belong to any dept.

  17. List various types of log-based recovery in DBMS.

  18. What do you mean by foreign key and primary key?

  19. What are the types of joins?

  20. Can you tell any two advantages of stored procedures?

  21. What is a database example?

  22. What is difference between data and database?

  23. Given a table Employee which has columns name and salary, write an SQL query to find the employee with the second highest salary.

  24. Given a table of Player which contains Sno and player name, write a query which finds all possible Table Tennis doubles pairings.

  25. What are the advantages of using database?

  26. WHAT IS THE PURPOSE OF TESTING INTEGRITY OF THE UNIVERSE?

  27. WHAT TYPE OF JOINS RETURNS INCORRECT RESULTS?

  28. What is Stored procedure ?

  29. WHAT IS CARDINALITIES OF JOIN?

  30. utility used to obtain inform regarding the optimizes choice of access strategy for SQL stmts A) LOAD B) REORG C) COPY D) EXPLAIN

Companies that ask Database questions