Saturday, November 2, 2019

SQL Interview Question 2-4 years Experienced

1. Nth highest salary.
2. Duplicate records
3. Duplicate records delete
4. Row_number(),  Rank() and Dense_rank()
5. Lag() and Lead()
6. NVL() and NVL2()
7. Coalsce()
8.Correlated Query
9. Exists and Not exists()
10. Decode and Case.
11. Joins
12 Union and Union all
13. Instr() and substr()
14. Nullif(), ifnull() and isnull()

How do I find only strings that contain precisely "ABC" (upper case), but not those that contain "abc" or other upper/lower case combinations?

  How do I find only strings that contain precisely "ABC" (upper case), but not those that contain "abc" or other upper/...