If you have ever given an SQL interview some of the questions would be definitely from below list :
1- How to find duplicates in a table
2- How to delete duplicates from a table
3- Difference between union and union all
4- Difference between rank,row_number and dense_rank
5- Find records in a table which are not present in another table
6- Find second highest salary employees in each department
7- Find employees with salary more than their manager's salary
8- Difference between inner and left join
9- update a table and swap gender values.
If not exact at least flavor of these questions are always asked in interviews irrespective of your experience level
Post #2081
4.58K
- ❤ 5
- 👍 2