text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did a home team score 9.6 (60)? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What did the away team score at corio ova...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: Who did the cowboys play when 65,537 attended? <|assistant|> SELECT "opponent" FROM "schedul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the name of the tournament when ant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What date was georgie stoop emily webley-sm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the surface of the match when the o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the name of the opponent for the Su...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the name of the opponent when anast...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "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 when the aw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is south melbourne's home side score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: What rounds did Roy Salvadori drive for David ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text ); Question: What are the results for years after 2007? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text ); Question: Which characters after 2003 won? <|assistant|> SELECT "charac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text ); Question: For 2006 what category has the Show of kasautii zindagii kay?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text ); Question: What is the character for 2005? <|assistant|> SELECT "charact...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text ); Question: What is a category before 2012? <|assistant|> SELECT "categor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population" text, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population" text, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "industrial_diesel_shunters" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text ); Question: What owner or owners have an operational description? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "industrial_diesel_shunters" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text ); Question: What is the date for the Operational Livery? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "industrial_diesel_shunters" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text ); Question: What is the date listed for the item that has undergoing overhaul, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "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 that scored 12.14 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "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 that played at MCG?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "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 smallest crowd t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the score of the away team who p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "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 that played home te...
<|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: How many people attended the game where ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2901_3000" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: I want the NGC number for leo of irregular galaxy <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2901_3000" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: Tell me the highest NGC number for right ascension ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2901_3000" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: What is the constellation for open cluster? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: Which event was Tatyana Lebedeva in? <|assistant|> SELECT "event" FROM "women" WHERE "athlete"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: What event was Fatima Whitbread Trine Hattestad in? <|assistant|> SELECT "event" FROM "women" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: What is Milcah Chemos' record? <|assistant|> SELECT "record" FROM "women" WHERE "athlete"='mil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: What is the record for the 400 m event on 4 september 2009? <|assistant|> SELECT "record" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: What event was on 26 August 2005? <|assistant|> SELECT "event" FROM "women" WHERE "date"='26 a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: What was the date of the discus throw for Bulgaria? <|assistant|> SELECT "date" FROM "women" W...
<|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: Where was the game held when the away te...
<|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 away team's score when the ...
<|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 home team's score when the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendly" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What is the date ground A and Cartagena as an opponent? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendly" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What ground has a match smaller than 2? <|assistant|> SELECT "gro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendly" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What is the score of the competition of friendly, at match 7? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: What was the lowest Pick number of Player Brian Bradley from Canada, in a Draft year befor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "long" real ); Question: Name the total number of yards for avg of 9 and rec of 1 <|assistant|> SELECT COUNT("yards") FROM "rec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year_stats" ( "team" real, "games_played" real, "wins" real, "losses" real, "winning_percentage" real, "points_for" real, "points_against" real, "point_differential" real ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "delisted_players_who_did_not_play_a_seni" ( "player" text, "date_of_birth_age_when_delisted" text, "draft_details" text, "rookie_list" text, "senior_list" text ); Question: Which Player has a D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "delisted_players_who_did_not_play_a_seni" ( "player" text, "date_of_birth_age_when_delisted" text, "draft_details" text, "rookie_list" text, "senior_list" text ); Question: What is listed under...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brand_reorganization" ( "brand" text, "year_founded" real, "year_began_making_autos" real, "year_joined_gm" real, "markets_served_today" text ); Question: What is the average year to begin maki...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Name the date with a home team of melbour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Name the venue for collingwood home team ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "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 home team score for es...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text ); Question: Which year has a Gen.-Secretary of silvana jan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text ); Question: Which Gen.-Secretary that has a Vice President...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text ); Question: Which treasurer has a Gen.-Secretary of jonnek...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text ); Question: Which Vice President has a President of daniel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text ); Question: Who was president Year of 2002-2003, second se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text ); Question: Which treasurer has a President of sebastian i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_10_3_7" ( "outcome" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which opponent used a grass surface? <|assistant|> SELECT "opponent" FROM "single...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_10_3_7" ( "outcome" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which tournament had a score of 6–7 (0–7) , 6–2, 4–6? <|assistant|> SELECT "tour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_group_b_slovenia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: Tell me the total number of points for lost less than 4 <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_group_b_slovenia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: I want the sum of drawn for lost less than 0 <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_group_b_slovenia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: I want the points difference for points of 14 <|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 rank for when gold is more than 0 and silver less than 23 wi...
<|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 silver for liechtenstein and bronze more than 4 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: Which tournament had a score of 6–4, 4–6, 7–5? <|assistant|> SELECT "to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: Which tournament had a score of 7–5, 2–6, 7–6? <|assistant|> SELECT "to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: Who was the opponent in the final in which the court surface was hard a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What was the court surface when the score was 6–4, 6–1? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: On what date was the opponent in the final Gwinyai Tongoona? <|assistan...
<|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 was the record from the Golden State Warriors o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1923_1937" ( "class" text, "wheels" text, "date" text, "builder" text, "no_built" real ); Question: What class has 4-4-0 wheels and was less than number 40 built? <|assistant|> SELECT "class" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translations" ( "english" text, "space_crusade" text, "aliens" text, "chaos_marines" text, "genestealers" text, "imperial_fists" text, "ultramarines" text ); Question: Name the space crusad...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translations" ( "english" text, "space_crusade" text, "aliens" text, "chaos_marines" text, "genestealers" text, "imperial_fists" text, "ultramarines" text ); Question: Name the space crusad...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "winners" text, "score" text, "runners_up" text, "venue" text ); Question: What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "new_entries_this_round" text, "prize_money" text ); Question: How many matches were there in the round with £1,000,000 in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "new_entries_this_round" text, "prize_money" text ); Question: What was the date for a round that only had 1 match? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What date did Hawthorn play as the away t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); Question: What is the hometown for a college in Wisconsin? <|assistant|> SELECT "hometown" FROM "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); Question: Which college has a linebacker from Lessburg High School? <|assistant|> SELECT "college"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Which opponent has a week of 11? <|assistant|> SELECT "opponent" FROM "schedule" WHERE "week...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Which December 4, 1976 week has an attendance less than 57,366? <|assistant|> SELECT MIN("we...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipalities" ( "province" text, "comune" text, "population_inh" real, "area_km" real, "total_km" real ); Question: Who has a larger than 70.99 km2? <|assistant|> SELECT "comune" FROM "munici...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipalities" ( "province" text, "comune" text, "population_inh" real, "area_km" real, "total_km" real ); Question: What is the km2 area with more than 8,328 people with a total of 121.14 km2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipalities" ( "province" text, "comune" text, "population_inh" real, "area_km" real, "total_km" real ); Question: What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text ); Question: Which writer had a producer DKA, J...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text ); Question: Name the film that Lu directed. <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text ); Question: Who wrote Toy Story? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text ); Question: Which writer had voice characters ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text ); Question: Who was the sound producer that wo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "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 at mcg? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the name of the player from NGA? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: Where is Odjidja-Ofoe, with an undisclosed transfer fee, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What country is the player, with an undisclosed transfer ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is Odjidja-Ofoe's transfer fee? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the name of the player from Cod? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What country is the player moving to Hamburger SV from? <...
<|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: Which Driver has an Entrant of Arrows ...
<|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: Which Constructor has Rounds, All and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the winning score when Damien McGrane was runner...