SQL queries for Testing interview

SQL is one of the most important part of testing. It doesn’t matter of you are manual tester or automation tester. You have to know sql to do some database testing.

If you are preparing for testing interview you cant ignore sql questions. Read further to brush up some Commonly used SQL queries  for testing interview or Most important sql queries for test automation.

Select 2nd Highest Salary

Retrieve 2 maximum salary

Retrieve 2 minimum Salary

Query to find 3rd highest salary

Query to retrieve the last 3 records

Query to find the Nth highest salary

Checkout the code repo