text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text ); Question: What Elimination number is listed againt Elimi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text ); Question: What time is listed against the Wrestler Jimmy...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text ); Question: Which Wrestler has an Elimination of 5? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text ); Question: What time is listed against Elimination number...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What score has 2 as the place? <|assistant|> SELECT "score" FROM "final_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the average money (£) that has +8 as the to par, with 73-72-72-71=28...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What place has money (£) greater than 17,333 with +8 as the to par, and seve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What country has t6 as the place, with seve ballesteros as the player? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_champions" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: What year weas John McEnroe the champion? <|assistant|> SELECT AVG("year") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_champions" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: Who was the runner-up, when the champion was Björn Borg after 1978? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_champions" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: Who was the champion earlier than 1978 when the runner-up was Jimmy Connors? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "code" real, "municipality" text, "county" text, "population" real, "total_area" text, "density_per_km_2_land" real ); Question: Which municipality has the code 2401? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "code" real, "municipality" text, "county" text, "population" real, "total_area" text, "density_per_km_2_land" real ); Question: What is the population of Danderyd municipality ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "code" real, "municipality" text, "county" text, "population" real, "total_area" text, "density_per_km_2_land" real ); Question: What is the total area for a code less than 1862...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text ); Question: what total was the lowest and had a to par of e? <|assistant|> SELECT MIN("total") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text ); Question: Which player played in the united states and scored a total of 144 points? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Who scored a 68? <|assistant|> SELECT "player" FROM "first_round" WHERE "score"=68;<|endofte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: How many Grid has a Rider of ryuichi kiyonari? <|assistant|> SELECT SUM("grid")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Name the lowest Grid which has a Bike of ducati 1098 rs 08 and a Rider of max bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Name the Rider which has a Time of +59.304? <|assistant|> SELECT "rider" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: What is the total for player karrie webb? <|assistant|> SELECT COUNT("total") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: What years did the player with a total larger than 157 have wins? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: What is the sum of the to par of player meg mallon, who had a total greater than 157...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: What is the highest total of the player with a 7 to par? <|assistant|> SELECT MAX("t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text ); Question: How many assists did Steve Walker have? <|assistant|> SELECT "assists"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text ); Question: How many goals did the player score who had 33 assists in 85 games? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text ); Question: How many points did Denis Pederson have? <|assistant|> SELECT "points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text ); Question: Which Xenon has a Helium of 5.1? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text ); Question: Which Neon has a Argon of −189.6? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text ); Question: Which Physical property has a Helium of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text ); Question: Name the Argon which has a Neon of 0.484...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text ); Question: Which Krypton has a Physical property of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text ); Question: which Helium has a Argon of −189.6? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Venue, when Opposing Teams is "South Africa", and when Date is "17/06/2000"? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Opposing Teams, when Status is "Test Match", and when Date is "25/11/2000"? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is the Statue, when Venue is "Stadio Flaminio , Rome"? <|assistant|> SELECT "status" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real ); Question: What is the H/A of the game on 24 january 2009? <|assistant|> SELECT "h_a"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_career_history" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" text ); Question: What year was the rank final of 6? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_career_history" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" text ); Question: What was the rank final before 2007? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "massachusetts" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is District, when Incumbent is "Richard Neal"? <|assistant|> SELECT "dis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "massachusetts" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the lowest First Elected, when District is "Massachusetts 10"? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "massachusetts" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the average First Elected, when District is "Massachusetts 3"? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_table" ( "team" text, "p_desc" real, "p_2007" real, "p_ap_2008" real, "p_cl_2008" real ); Question: What is the sum of P desc with a P 2007 of 0,00 and a P, Ap 2008 less than 30,00, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text ); Question: Which Fighting Spi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text ); Question: How much Technique...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text ); Question: How much Fighting ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text ); Question: What are asashio's...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text ); Question: Which County has a Precincts of 33/33? <|assistant|> SELECT "county" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text ); Question: Name the T. Wyka has a Precincts of 51/55? <|assistant|> SELECT "t_wyka"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text ); Question: Which Precincts has a G. Hager of 2,260 (15%)? <|assistant|> SELECT "pre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text ); Question: Name the G. Hager of E. Greenberg of 266 (14%)? <|assistant|> SELECT "g_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text ); Question: Which Precincts has a County of passaic? <|assistant|> SELECT "precincts...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text ); Question: Which E. Greenberg has a T. Wyka of 10,793 (70%)? <|assistant|> SELECT "...
<|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 player from England finished in T41? <|assistant|> SELECT "play...
<|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: From which country is the player that won in 1998? <|assistant|> SELE...
<|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: In 1997, what was the final total? <|assistant|> SELECT "total" 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: What was the To Par score for player Justin Leonard? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text ); Question: How many points were scored by the player who played 348 games? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text ); Question: How many points were scored by the player who played 363 games? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|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: For the match that lasted 3:5...
<|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: Where was the UFC 154 match h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs_12" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 1st leg that has a Rc Cannes Team 1? <|assistant|> SELECT "1st_leg" FROM "playof...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text ); Question: In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text ); Question: Who won the Bronze at Melbourne? <|assistant|> SELECT "bronze" FROM "world_champions...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text ); Question: In what Place was the Silver won by vladimir vesselov ( urs )? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winter_1997_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_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winter_1997_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_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winter_1997_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_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winter_1997_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_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winter_1997_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_...