text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: what is the tie no when the away team is solihull moors? <|assistant|> SELECT SUM("tie_no...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: who is the away team when the tie no is more than 13 and the home team is team bath? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the Pick # of the player from Simon Fraser College? <|assistant|> SELECT AVG("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the margin of victory for the winning score of βˆ’10 (71...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Who is the runner(s)-up for a winning score of βˆ’3 (71-74-66-66...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "meeting" text, "venue" text, "result" text, "event" text, "extra" real ); Question: What venue had less than 7.4 extra and the result of 4th? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "meeting" text, "venue" text, "result" text, "event" text, "extra" real ); Question: What is the highest extra total before 2003 at the Meeting of all africa game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "meeting" text, "venue" text, "result" text, "event" text, "extra" real ); Question: What year has an extra of 8, and a result of 3rd? <|assistant|> SELECT "year"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "meeting" text, "venue" text, "result" text, "event" text, "extra" real ); Question: What year has a venue of algiers, algeria, extra smaller than 8.03, and a Mee...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the Date with a Set 3 with 15–6? <|assistant|> SELECT "date" FROM "pool_a" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–12? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the Set 2 with a Total with 45–12? <|assistant|> SELECT "set_2" FROM "pool_a" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the date of the footscray home g...
<|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, "round" real, "time" text, "location" text ); Question: Tell me the time for martin kampmann <|assist...
<|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, "round" real, "time" text, "location" text ); Question: Tell me the sum of round for record of 6-3 <|...
<|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, "round" real, "time" text, "location" text ); Question: Tell me the location for win with record of 8...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: In which of North Melbourne's away games...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "baldwin_locomotive_works" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "baldwin_locomotive_works" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "baldwin_locomotive_works" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "far_north" ( "name" text, "years" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the total number of roll for Te Hapua school? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "korean_expedition" ( "name" text, "service" text, "rank" text, "place_of_action" text, "unit" text ); Question: Name the place of action for the marine corps and corporal rank <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real ); Question: What is the p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real ); Question: What is the s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ireland_international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What competition was at the Daugava Stadium, Riga, Latvia? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ireland_international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: How many total goals were made at the game on 15 November 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_kits" ( "team" text, "manager" text, "captain" text, "kit_manufacturer" text, "shirt_sponsor" text ); Question: What is the captain's name of team Leeds United? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_kits" ( "team" text, "manager" text, "captain" text, "kit_manufacturer" text, "shirt_sponsor" text ); Question: Who is the shirt sponsor for Captain Geoff Thomas' team? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_kits" ( "team" text, "manager" text, "captain" text, "kit_manufacturer" text, "shirt_sponsor" text ); Question: What is the name of the team that Tulip Computers NV sponsors? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_kits" ( "team" text, "manager" text, "captain" text, "kit_manufacturer" text, "shirt_sponsor" text ); Question: What is the name of the captain for team Norwich City? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_kits" ( "team" text, "manager" text, "captain" text, "kit_manufacturer" text, "shirt_sponsor" text ); Question: What team does Graeme Souness manage? <|assistant|> SELECT "team" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the lowest laps when the grid is smaller than 5 and the driver is juan ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the grid when the time/retired is +9 laps and the laps is larger than 91?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the lowest grid when the time retired is clutch, the driver is peter coll...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_canyon_zoning_and_use_limits" ( "area" text, "name" text, "zone" text, "group_s" real, "parties" real, "max_people" real, "camp_type" text ); Question: What zone has camp type D/S in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_canyon_zoning_and_use_limits" ( "area" text, "name" text, "zone" text, "group_s" real, "parties" real, "max_people" real, "camp_type" text ); Question: Which name has group 0 in Bl4 a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_canyon_zoning_and_use_limits" ( "area" text, "name" text, "zone" text, "group_s" real, "parties" real, "max_people" real, "camp_type" text ); Question: Which zone has max capacity of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: I want to know the average crowd for awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" text, "points" real ); Question: Which driver had a time off course? <|assistant|> SELECT "driver" FROM "race" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" text, "points" real ); Question: What is the top lap that had 2 grids and more than 26 points? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" text, "points" real ); Question: What is the top lap that had 6 grids and more than 19 points? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" text, "points" real ); Question: What is the average point count for tristan gommendy? <|assistant|> SELECT AVG("p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" text, "points" real ); Question: What is the point low with 2 grids? <|assistant|> SELECT MIN("points") FROM "race...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_a_match" ( "dismissals" text, "player" text, "versus" text, "venue" text, "date" text ); Question: What is the Dismissals with a Venue with source: cricinfo.com? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_a_match" ( "dismissals" text, "player" text, "versus" text, "venue" text, "date" text ); Question: What is the Versus with a Player with ko otieno, with Venue with bloemfonte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_a_match" ( "dismissals" text, "player" text, "versus" text, "venue" text, "date" text ); Question: What is the Venue with a Date with 27-02-2003? <|assistant|> SELECT "venue"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_a_match" ( "dismissals" text, "player" text, "versus" text, "venue" text, "date" text ); Question: What is the Player with Versus with australia? <|assistant|> SELECT "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_a_match" ( "dismissals" text, "player" text, "versus" text, "venue" text, "date" text ); Question: What is the Player with a Date with 12-03-2003? <|assistant|> SELECT "playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_a_match" ( "dismissals" text, "player" text, "versus" text, "venue" text, "date" text ); Question: What is the Dismissals with a Player with source: cricinfo.com? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); Question: What is the sum number of attendance when the visiti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); Question: Which Visitor was there when the Home game was playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "school_club_team" text ); Question: What nationality is Demetris Nichols? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "school_club_team" text ); Question: What school or team has round of 2 with less than 42 picks? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "school_club_team" text ); Question: What position has round less than 2? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: In what venue is Essendon the home team?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the away team when the venue was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the score for Hawthorn when the...
<|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, "round" real, "time" text ); Question: What method was used that had a resulting win against opponent, ...
<|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, "round" real, "time" text ); Question: What was the highest number of rounds that had Hikaru Shinohara ...
<|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, "round" real, "time" text ); Question: Which method has a record of 11-10? <|assistant|> SELECT "method...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Who is the loser when the attendance is larger than 31,409 and the date is J...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democrats" ( "candidate" text, "contributions" real, "loans_received" real, "all_receipts" real, "operating_expenditures" real, "all_disbursements" real ); Question: How much in average Loans...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democrats" ( "candidate" text, "contributions" real, "loans_received" real, "all_receipts" real, "operating_expenditures" real, "all_disbursements" real ); Question: How much is the lowest Op...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democrats" ( "candidate" text, "contributions" real, "loans_received" real, "all_receipts" real, "operating_expenditures" real, "all_disbursements" real ); Question: How many Loans Received h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democrats" ( "candidate" text, "contributions" real, "loans_received" real, "all_receipts" real, "operating_expenditures" real, "all_disbursements" real ); Question: What is the most Receipts...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democrats" ( "candidate" text, "contributions" real, "loans_received" real, "all_receipts" real, "operating_expenditures" real, "all_disbursements" real ); Question: How many Operating Expend...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_valuable_player_award_winners" ( "season" text, "winner" text, "team" text, "position" text, "win_num" real ); Question: How many wins were there in 2004-05? <|assistant|> SELECT "win_num"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_valuable_player_award_winners" ( "season" text, "winner" text, "team" text, "position" text, "win_num" real ); Question: How many times did jim vivona win? <|assistant|> SELECT COUNT("win_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_valuable_player_award_winners" ( "season" text, "winner" text, "team" text, "position" text, "win_num" real ); Question: Which position was morristown minutemen in? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_valuable_player_award_winners" ( "season" text, "winner" text, "team" text, "position" text, "win_num" real ); Question: Which season was harrisburg lunatics in? <|assistant|> SELECT "seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: What is the smallest rank with less than 2 wings, more than 26 events, and less...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: What is the most wins with a rank of 5 and less than $1,537,571 in earnings? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What was the venue for Round f? <|assistant|> SELECT "venue" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: On what date was the Result 1-0? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What was the attendance on 10 november 2004? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the size of the crowd when the ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: How many laps did riccardo patrese do when he had a time/retird of + 1 lap? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wga" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: Name the episode for jenny bicks and cindy chupack nominees in 2004 <|assistant|> SELECT "episo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wga" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: Name the episode for year more than 1999 <|assistant|> SELECT "episode" FROM "wga" WHERE "year"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team's score at the ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team's score at the ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the away team at the game held a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the size of the crowd at the ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore_at_the_2007_southeast_asian_ga" ( "rank" text, "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Name the most bronze for silver more than 6 and tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore_at_the_2007_southeast_asian_ga" ( "rank" text, "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Name the highest silver for table tennis and bronze...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: Which kickoff had an attendance of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: What week number did November 19, 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: Which game site(s) had record of 2-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: Which game had a kickoff at 1:00 an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: Which game had an attendance of 56,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: Tell me the driver for ford cosworth d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: Tell me the constructor for alberto co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: Tell me the constructor for clay regaz...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: Tell me the chassis for team tissot en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: I want the tyres for hans binder <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: I want the constructor for divina gali...