Preview Content - log in or become a member

Basic SQL Interview Questions

This blog post has been created to cover basic SQL interview questions and answers and we will use questions related to SQL Server however most of them might be applicable to other database products.

For more information visit SQL Server Interview questions (collection of Q&A) or SQL Interview questions.

Tutorial: If you would like to learn more about SQL visit our SQL Tutorial

Certification: To get a quantification you can visit our exam guide for 98-364 Database Fundamentals and Exam guide for 70-461 Querying with SQL Server 2012 (this one requires more SQL skills and knowledge)

Basic SQL Interview Questions

Questions with * are related to SQL Server or when I am not sure if the same behavior is in different products.

First part is theory SQL questions.

Questions:

  1. What does SQL Stands for?
  2. Name all SQL Clauses in correct order and briefly describe them.
  3. What is the difference between WHERE and HAVING?
  4. How would you join multiple tables together in a query?
  5. Name all joins types you know and describe them.
  6. What is a subquery and a derived table?
  7. What is an aggregate function?
  8. Describe all types of aggregate functions you know. 
  9. What is the difference between deterministic and non-deterministic functions?
  10. Describe Logical Query Processing.

Answers:

1. What does SQL Stands for?

  • SQL stands for Structured Query Language. For more info visit What is SQL?

2. Name all SQL Clauses in correct order and briefly describe them.

Are you a member? Log In

Membership plans from just 6.00 USD*

* Currency: USD (US Dollar )
2500+ accounts so far

Plans:
Bronze
6.00 USD
Silver
9.00 USD
Gold
12.00 USD
6 Courses
T-SQL (3), SSRS (1), SSIS(1), Excel (1)
Watch Video
75 Mini Courses
T-SQL (34), SSRS (7), SSIS(16), + more
300+ videos and 300+ Articles
38
(part of
Courses)
Progress Tracking
21 Interview Q&As pages
T-SQL (8), SSRS (3), SSIS(4), Other (6)
Forum
11 Webinar Recordings
T-SQL (1), SSRS (9), Career(1)
1 DIY Project (beta)
70-461 Tests
Watch Video
60 days, 100% Money Back Guarantee
Instant Activation
Duration:
Bronze
Silver
Gold
Valid for: 1 month 6.00 USD
sign up
9.00 USD
sign up
12.00 USD
sign up
Valid for: 3 months
10% off
16.00 USD
sign up
24.00 USD
sign up
32.00 USD
sign up
Valid for: 6 months
20% off
28.00 USD
sign up
43.00 USD
sign up
57.00 USD
sign up
Valid for: 1 year
30% off
50.00 USD
sign up
75.00 USD
sign up
100.00 USD
sign up
Valid for: 2 years
40% off
86.00 USD
sign up
129.00 USD
sign up
172.00 USD
sign up
Valid for: lifetime
50% off
108.00 USD
sign up
162.00 USD
sign up
216.00 USD
sign up


Did you find this page useful?
+11  |  -0
(11 Votes)