Table: popular_names_by_state_2
Columns: region_year
no_1
no_2
no_3
no_4
no_5
no_6
no_7
no_8
no_9
no_10

Question: Who is number 7 when Sophia is number 3 and Abigail is number 10?
SQL: SELECT "no_7" FROM popular_names_by_state_2 WHERE "no_3" = 'sophia' AND "no_10" = 'abigail'

Question: Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5?
SQL: SELECT "region_year" FROM popular_names_by_state_2 WHERE "no_7" = 'abigail' AND "no_1" = 'sophia' AND "no_5" = 'aaliyah'

Question: Who is number 4 when Harper is number 10 and Abigail is number 5?
SQL: SELECT "no_4" FROM popular_names_by_state_2 WHERE "no_10" = 'harper' AND "no_5" = 'abigail'