Question Data
Question Data
1. Write an SQL query to find the second-highest salary from an employee table.
2. How do you remove duplicates from a table without using `DISTINCT`?
3. Write an SQL query to calculate the running total of sales per month.
4. Explain the difference between `INNER JOIN`, `LEFT JOIN`, `RIGHT JOIN`, and
`FULL JOIN`.
5. Given a transactions table, write a query to find the top 3 customers with the
highest spending.