solution first sql