1. What is the difference between inner join, left join, and right join?
2. Given a sorted array that has been rotated some number of times, and a target value, find the index of the target value in the array. If the target value is not in the array, return -1.
3. Write an SQL query to select duplicate names from a list.