text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Date, when Tie no is "3"? <|assistant|> SELECT "date" FROM "sixth_round_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Date, when Away Team is "Brentford"? <|assistant|> SELECT "date" FROM "si...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Date, when Home Team is "Everton"? <|assistant|> SELECT "date" FROM "sixt...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Away Team, when Home Team is "West Ham United"? <|assistant|> SELECT "awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text ); Question: What is Venue, when Balls is "148"? <|assistant|> SELECT "venue" FROM "list_of_centuries" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text ); Question: What is Name, when Score is "101"? <|assistant|> SELECT "name" FROM "list_of_centuries" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text ); Question: What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text ); Question: What is Balls, when Venue is "Bristol", and when Score is "104*"? <|assistant|> SELECT "ball...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the number of silver when bronze is less than 0? <|assistant|> SELECT COUNT("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the gold when silver is less than 1, rank is 12, and total is less than 3? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What shows for gold when the rank is less than 3, and silver less than 1? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total when gold is 1, and rank is more than 4, and bronze is 0? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, br...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What player is from France? <|assistant|> SELECT "player" FROM "second_round" WHERE "countr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What place is S.K. Ho in? <|assistant|> SELECT "place" FROM "second_round" WHERE "player"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What player is from Scotland and has a score of 74-70=144? <|assistant|> SELECT "player" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which player is from South Africa? <|assistant|> SELECT "player" FROM "second_round" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country is the player with a score of 72-72=144 from? <|assistant|> SELECT "country" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "geelong_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: Which Geelong DFL has 8 losses and more than 4 wins? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "academic_performance" ( "year" real, "number_of_examinees" real, "number_of_passed_students" real, "pass_percentage" text, "obtained_gpa_5" real ); Question: What number of examines after 2005 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text ); Question: Which venue was founded after 1967 and had the league North American Soccer League? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text ); Question: Which venue was fouded before 2000 for basketball? <|assistant|> SELECT "venue" FROM "sports" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text ); Question: Which club had football at Mitchel Athletic Field? <|assistant|> SELECT "club" FROM "sports" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text ); Question: Which club was founded in 1962? <|assistant|> SELECT "club" FROM "sports" WHERE "founded"=1962;<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What is the total sum of the player from the United States who won in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What year did the player with a total less than 300 and a to par of 9...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What is total number of the to par of player john mahaffey, who has a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What is the sum of the total of the player who won in 1979? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What is the country of the player who has a total larger than 300? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_performance" ( "season" text, "division" text, "tier" real, "points" real, "fa_cup" text, "fa_trophy" text, "shropshire_senior_cup" text ); Question: What is the Shropshire...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_performance" ( "season" text, "division" text, "tier" real, "points" real, "fa_cup" text, "fa_trophy" text, "shropshire_senior_cup" text ); Question: What season had 78 poi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text ); Question: For the match against Arema Malang that ended in a draw, what was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text ); Question: What was the final score for the match held on April 11, 2007? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text ); Question: What was the location for the match held on April 11, 2007, which ende...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text ); Question: What was the location for the match held on March 7, 2007, which ended...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: Amritpur has what constituency numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: With the number of electorates (200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: Kaimganj has what reserved for (SC ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: Which country is bob tway from? <|assistant|> SELECT "country" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: Which country won in 1986? <|assistant|> SELECT "country" FROM "made_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: What is Fiji's lowest total? <|assistant|> SELECT MIN("total") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_holidays" ( "date" text, "name" text, "local_name" text, "2012_date" text, "2013_date" text ); Question: What is the date with the local name, дан државности србије, dan državnosti srbij...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_holidays" ( "date" text, "name" text, "local_name" text, "2012_date" text, "2013_date" text ); Question: What is the local name for January 7, 2013? <|assistant|> SELECT "local_name" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_holidays" ( "date" text, "name" text, "local_name" text, "2012_date" text, "2013_date" text ); Question: What was on January 7, 2012? <|assistant|> SELECT "date" FROM "public_holidays" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What Country had a Player with a Score of 72-66-72=210? <|assistant|> SELECT "country" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Place of the Player with a To par of –6? <|assistant|> SELECT "place" FROM "thir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Place of the Player with a Score of 68-73-76=217? <|assistant|> SELECT "place" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Justin Leonard's To par? <|assistant|> SELECT "to_par" FROM "third_round" WHERE "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "godson_microprocessor_specifications" ( "name_generation" text, "model" text, "frequency_m_hz" text, "architecture_version" text, "cores" text, "process_nm" text ); Question: What is the arch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "godson_microprocessor_specifications" ( "name_generation" text, "model" text, "frequency_m_hz" text, "architecture_version" text, "cores" text, "process_nm" text ); Question: What is the name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is the event with a 2:08...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "road_number" text, "traction" text, "builder" text, "built" text, "service" text, "wheels" text, "weight" text ); Question: What type of wheels did the locomotive have that ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1973" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: Which Venue has Against of 25? <|assistant|> SELECT "venue" FROM "1973" WHERE "against"=25;<...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1973" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: Which Venue has Against smaller than 6? <|assistant|> SELECT "venue" FROM "1973" WHERE "agai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sunday_schedule" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: How often are there ads during American Top 40? <|assistant|> SELECT "ad_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sunday_schedule" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: When does Classic Hits air? <|assistant|> SELECT "time" FROM "sunday_sche...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supplemental_draft" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text ); Question: What is Pick #18's Role? <|assistant|> SELECT "role" FROM "supplem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "department_of_skills_development" ( "name_in_english" text, "name_in_malay" text, "acronym" text, "foundation" text, "location" text ); Question: What is the foundation for the institution whos...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "department_of_skills_development" ( "name_in_english" text, "name_in_malay" text, "acronym" text, "foundation" text, "location" text ); Question: What is the location of the institution whose n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What was the average money when the score was 68-69-68-72=277? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What was the highest money when the score was 69-68-67-69=273? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What did South Africa place? <|assistant|> SELECT "place" FROM "final_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What county placed t2 and scored 68-69-68-72=277? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monument_winners_since_1960" ( "year" real, "milan_san_remo" text, "tour_of_flanders" text, "paris_roubaix" text, "li_ge_bastogne_li_ge" text, "giro_di_lombardia" text ); Question: Name the M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monument_winners_since_1960" ( "year" real, "milan_san_remo" text, "tour_of_flanders" text, "paris_roubaix" text, "li_ge_bastogne_li_ge" text, "giro_di_lombardia" text ); Question: Which Giro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monument_winners_since_1960" ( "year" real, "milan_san_remo" text, "tour_of_flanders" text, "paris_roubaix" text, "li_ge_bastogne_li_ge" text, "giro_di_lombardia" text ); Question: what kind ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What round did the event UFC 86 take place? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What method was there in round 1 when the lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What location was the event ufc: fight for t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_49ers_3_2_1" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text ); Question: When was the game that had the St. Louis Rams as visiting team ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_49ers_3_2_1" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text ); Question: What date(s) was the game(s) at Candlestick Park? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_event_finals_8_4_titles_4_runner" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score" text ); Question: What year was the opponent in the final joh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text ); Question: Which church was built in 1600? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text ); Question: What is the Location of the Church ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text ); Question: Where is the Church that has a Sub-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text ); Question: Which Year Built has a Parish (Pres...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text ); Question: Who is the required actor when Robert Austin was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text ); Question: Who is the actor in the original production when Troy...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text ); Question: Who is the GamePlan when Jacqueline King is the actor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text ); Question: Who is the GamePlan when Arabella Lazenby is the Role...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text ); Question: Who is the actor required when Edna Stricken is the F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What shows for the 1st round when the team 1 was Lb Châteauroux (d2)? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What shows for 2nd round when the team 1 was Rc Strasbourg (d1)? <|assistant|> SELECT ...