text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Tell me the number of bronze for silver of 0 and total less than 1 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Tell me the sum of total for rank of 1 <|assistant|> SELECT SUM("total") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Tell me the total number for costa rica and rank more than 8 <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ukraine_goalscorers" ( "player" text, "career" text, "goals" real, "caps" real, "average" real ); Question: What years did Tymerlan Huseynov, whose average is larger than 0.361, play? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ukraine_goalscorers" ( "player" text, "career" text, "goals" real, "caps" real, "average" real ); Question: Who scored more than 8 goals, had more than 75 caps, and averaged 0.432? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ukraine_goalscorers" ( "player" text, "career" text, "goals" real, "caps" real, "average" real ); Question: What is the sum of the averages when there are 68 caps and less than 9 goals? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_tournament_timeline" ( "tournament" text, "1966" text, "1967" text, "1968" text, "1969" text, "1970" text, "1971" text, "1972" text, "1973" text, "1974" text, "197...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "record_by_conference" ( "conference" text, "num_of_bids" real, "record" text, "win_pct" text, "round_of_32" text, "sweet_sixteen" text, "elite_eight" text, "final_four" text, "championsh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "record_by_conference" ( "conference" text, "num_of_bids" real, "record" text, "win_pct" text, "round_of_32" text, "sweet_sixteen" text, "elite_eight" text, "final_four" text, "championsh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lifts" ( "lift_name" text, "type" text, "length" real, "vertical" real, "cap_hour" real ); Question: Tell me the sum of cap/hor for double chair and vertical less than 479 <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1975_engines" ( "engine" text, "horsepower" text, "torque" text, "carburetor" text, "compression_ratio" text, "bore_stroke" text, "vin_code" text ); Question: What's the compression ratio w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text ); Question: Tell me the sum of year for extra of junior team competition <|assistant|> SELECT SUM("yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "style_series" ( "model" text, "sensor_res_size" text, "lens_35mmequiv_zoom_aperture" text, "screen_size_pixels" text, "dimensions_w_h_d_mm" text, "weight" text ); Question: Tell me the lens z...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "style_series" ( "model" text, "sensor_res_size" text, "lens_35mmequiv_zoom_aperture" text, "screen_size_pixels" text, "dimensions_w_h_d_mm" text, "weight" text ); Question: Tell me the screen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "style_series" ( "model" text, "sensor_res_size" text, "lens_35mmequiv_zoom_aperture" text, "screen_size_pixels" text, "dimensions_w_h_d_mm" text, "weight" text ); Question: Name the sensor re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Tell me the nation for bronze more than 0 and total more than 8 with gold of 4 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970_isle_of_man_production_250_cc_tt_fi" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text ); Question: Who is Team Suzuki's rider and ranks higher than 6? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "reg_season" text, "playoffs" text ); Question: Who was the lowest division in the 7th season? <|assistant|> SELECT MIN("division") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "reg_season" text, "playoffs" text ); Question: In 1924/25, who was in the playoffs? <|assistant|> SELECT "playoffs" FROM "year_by_y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "reg_season" text, "playoffs" text ); Question: Which division has no playoff but has a 12th game in their season? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: What was the venue of the competition that held the 1st position in 2011? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: What was the position of the Olympic Games in the year 2008? <|assistant|> SELECT "posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: Which competition held the 1st position in 2009? <|assistant|> SELECT "competition" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: Which venue did the African Championships have after 2006 with a position of 2nd and 30...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: Tell me the label for US region and catalog of 10008-2 <|assistant|> SELECT "label" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: Tell me the date for format of cd/dvd <|assistant|> SELECT "date" FROM "release_history" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: Tell me the format for european union <|assistant|> SELECT "format" FROM "release_history...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: Tell me the catalog for date larger than 2004 <|assistant|> SELECT "catalog" FROM "releas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: I want the lowest date for catalog of 6561910008-1 <|assistant|> SELECT MIN("date") FROM ...
<|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: What date was there a crowd larger than ...
<|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: Which venue was played in when the Away ...
<|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: What was the lowest Crowd total from a g...
<|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: Which Venue was played in when the Away ...
<|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: Which Venue was used when the Home team ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: What is the highest scored in the 2010 east asian football championship? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" text, "stadium" text, "capacity" real, "city" text, "country" text ); Question: Which country is Wellington located in? <|assistant|> SELECT "country" FROM "see_also" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: What label is in download format in the United States? <|assistant|> SELECT "label" FROM "relea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: What label is in download format in the United States? <|assistant|> SELECT "label" FROM "relea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: What label has RTRADLP 346 as catalogue? <|assistant|> SELECT "label" FROM "release" WHERE "cat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: What label has 22 January 2008 date? <|assistant|> SELECT "label" FROM "release" WHERE "date"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: What is the label for catalogue of RT-346-5? <|assistant|> SELECT "label" FROM "release" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What position is mentioned for Rice school? <|assistant|> SELECT "position" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What is the average round for Wisconsin when the overall is larger than 238 and t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What is the average round when there is a defensive back and an overall smaller t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: What was the date of game with a score of 42-6? <|assistant|> SELECT "date" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: What stadium was the game played at when the result was hunter mariners def. sheffi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: What city has a Result of brisbane broncos def. halifax blue sox? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: Which player was drafted after round 9 and number 464 overall? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What was James Reed's draft round number? <|assistant|> SELECT COUNT("round") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What was the overall draft number of Tom Fleming, a wide receiver? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: Which player is from Dartmouth? <|assistant|> SELECT "player" FROM "nfl_draft" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What position does the player from tulsa play? <|assistant|> SELECT "position" FROM "k" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "20th_century" ( "date" text, "epicenter" text, "magnitude" real, "fatalities" text, "name" text ); Question: What is the sum of Magnitude on february 12, 1953? <|assistant|> SELECT SUM("magnitu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_winners" ( "year" real, "date_contested" text, "sport" text, "winning_team" text, "losing_team" text, "final_score" text ); Question: What was the final score of a baseball game that ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What venue did Richmond play as the away...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the team of Essendon's score in ...
<|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 is the away side when st kilda is th...
<|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 is the away side score when footscr...
<|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 is the home team's score at kardini...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the lowest crowd seen at a game ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the highest crowd count seen in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: On what date did Brunswick Street Oval se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "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 of the Away team that ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: Which was the lowest overall that Wisconsin's team managed? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: Which team was Roy de Walt a player on? <|assistant|> SELECT "school_club_team" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: In which round did Paul McDonald have an overall greater than 109? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What is the total overall in round 1, in which Charles White was a player? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What is the name of a running back in a round before round 3? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_records" ( "year" real, "team_name" text, "wins" real, "losses" real, "w_l_pct" text, "manager" text ); Question: What is the win/loss percentage with wins of 63 and losses s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the away team score when the hom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weeks_at_number_one" ( "rank" real, "player" text, "country" text, "weeks" real, "order" real, "majors" real ); Question: What was the highest order amount in weeks prier to 15 and a major le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text ); Question: What is the position of the player from Temple? <|assistant|> SELECT "position" FROM "m"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text ); Question: What is the most recent year from Creighton? <|assistant|> SELECT MAX("from") FROM "m" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text ); Question: What is the most recent year with a United States nationality and the school Hamline? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: Which player is from 2012 and North Carolina? <|assistant|> SELECT "player" FROM "j" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: Which player is associated with Temple? <|assistant|> SELECT "player" FROM "j" WHERE "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: Which nationality is associated with Temple? <|assistant|> SELECT "nationality" FROM "j"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: Which player was a forward/center from 1960? <|assistant|> SELECT "player" FROM "j" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscoring" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "goals" real, "apps" real ); Question: How many goals were achieved when Chievo was th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscoring" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "goals" real, "apps" real ); Question: How many goals occurred with Diego Milito in a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscoring" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "goals" real, "apps" real ); Question: Which value for Apps is associated with the all...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who is the home team at the Punt Road Ova...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who is the away team at Windy Hill? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the date of the game that had a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was South Melbourne's score as the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "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 home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "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 game where the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the largest crowd of a game whe...
<|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's the lowest round with ...
<|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's the time for the match...
<|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 match with a me...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "united_kingdom" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What language is the moviein that is on UMP movies network through Sky...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "united_kingdom" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What language is the movie in that is on SAB network through Sky servi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What was the overall pick for the player who was a guard and had a round less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text ); Question: What was the lowest round number that had an overall pick up 92? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "published_films" ( "type" text, "released" text, "cc_license" text, "sources_available" text, "open_source_movie" text, "commercial_reuse" text ); Question: What open source movie has a CC Li...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which venue had the result 7-1? <|assistant|> SELECT "venue" FROM "international_g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What date was the Competition of rothmans cup? <|assistant|> SELECT "date" FROM "i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the result of the Competition of friendly? <|assistant|> SELECT "result" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which competition was played on 8 June 2005? <|assistant|> SELECT "competition" FR...