0% found this document useful (0 votes)
27 views

DB Interview Questions

This document contains interview questions and answers related to SQL and databases. It includes questions about SQL statements like SELECT and INSERT, database concepts like joins, keys, triggers and cursors, and how to perform common operations like sorting, counting records, removing duplicates, and comparing partial strings.

Uploaded by

Priyanka Patil
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

DB Interview Questions

This document contains interview questions and answers related to SQL and databases. It includes questions about SQL statements like SELECT and INSERT, database concepts like joins, keys, triggers and cursors, and how to perform common operations like sorting, counting records, removing duplicates, and comparing partial strings.

Uploaded by

Priyanka Patil
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

DB Interview Questions

Question:What is SQL? Question:What is SELECT statement? Question:How can you compare a part of the name rather than the entire name? Question:What is the INSERT statement? Question:How do you delete a record from a database? Question:How could I get distinct entries from a table? Question:How to get the results of a Query sorted in any order? Question:How can I find the total number of records in a table? Question:What is GROUP BY? Question:What is the difference among "dropping a table", "truncating a table" and "deleting all records" from a table? Question:What are the Large object types suported by Oracle? Question:Difference between a "where" clause and a "having" clause ? Question:What's the difference between a primary key and a unique key? Question:What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors? Question:What are triggers? How to invoke a trigger on demand? Question:What is a join and explain different types of joins. Question:What is a self join? Q: What is SQL? A: SQL stands for 'Structured Query Language'.
TOP

Q: What is SELECT statement? A: The SELECT statement lets you select a set of values from a table in a database. The values selected from the database table would depend on the various conditions that are specified in the SQL query.

You might also like