text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: what is the average rank when the lane is more than 4 and the name is dominik meichtry? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_employers" ( "rank_2012" real, "rank_2010" real, "employer" text, "industry" text, "2012_employees_total" real, "2010_employees_total" real, "2007_employees_total" text, "head_offi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_employers" ( "rank_2012" real, "rank_2010" real, "employer" text, "industry" text, "2012_employees_total" real, "2010_employees_total" real, "2007_employees_total" text, "head_offi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_employers" ( "rank_2012" real, "rank_2010" real, "employer" text, "industry" text, "2012_employees_total" real, "2010_employees_total" real, "2007_employees_total" text, "head_offi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_employers" ( "rank_2012" real, "rank_2010" real, "employer" text, "industry" text, "2012_employees_total" real, "2010_employees_total" real, "2007_employees_total" text, "head_offi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_ft_m" text, "floors" real, "year" real ); Question: How many floors when the rank is 73.0 72=? <|assistant|> SELECT "floors" FROM "tallest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_ft_m" text, "floors" real, "year" real ); Question: What year was the 190 South Lasalle Street? <|assistant|> SELECT MAX("year") FROM "tal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What rank has a Time of 4:00.191? <|assistant|> SELECT "rank" FROM "heat_2" WHERE "time"='4:00.191...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What is the time for Brazil? <|assistant|> SELECT "time" FROM "heat_2" WHERE "country"='brazil';<|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalogue_no" text ); Question: what is the date when the format is cd (limited edition steel-box) from united king...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalogue_no" text ); Question: What is the country that has the format of cd, the label of sony music and the cata...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalogue_no" text ); Question: what is the format for the country united kingdom on 20 october 2008? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalogue_no" text ); Question: what is the catalogue no when the format is cd (limited edition steel-box) and the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Total has a Rank of 4, and a Silver larger than 2? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How much Total has a Rank of 5, and a Bronze larger than 3? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Silver has a Nation of total, and a Bronze smaller than 18? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How much Silver has a Nation of total, and a Total smaller than 54? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_achievements" ( "year" real, "organisation" text, "award" text, "nominated_work_title" text, "result" text ); Question: What was the result for the award for best current affairs present...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_achievements" ( "year" real, "organisation" text, "award" text, "nominated_work_title" text, "result" text ); Question: Which award was given to Lianhe Zaobao? <|assistant|> SELECT "awar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1966" ( "title" text, "series" text, "director" text, "release_date" text, "characters" text ); Question: What's the release date of Feather Finger with an MM Series? <|assistant|> SELECT "rele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Opponent has a Result of 1–1, and a Date of 28 november 1998? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What was the venue on 14 november 1998? <|assistant|> SELECT "venue" FROM "fa_prem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "festival_da_can_o_1996" ( "draw" real, "singer" text, "song" text, "points" real, "place" real ); Question: Which Place is the highest one that has a Draw larger than 1, and 49 Points? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "festival_da_can_o_1996" ( "draw" real, "singer" text, "song" text, "points" real, "place" real ); Question: Which Song has Points smaller than 54, and a Draw smaller than 4, and a Place smaller...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_total_medals" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the bronze number when the total is 54/ <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_total_medals" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the least bronze number when the silver is less th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_total_medals" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the least silver when the total is more than 2, br...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_total_medals" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the number of silver when the total is more than 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Which Time has a Lane smaller than 4, and a Rank larger than 6? <|assistant|> SELECT AVG("time...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Which Nationality has a Rank larger than 1, and a Time smaller than 22.12, and a Lane smaller ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance_at_home_games" ( "round" text, "date" text, "against" text, "score_aufc_away" text, "attendance" real, "weekday" text ); Question: When the date is 8 october 2008 what is the sum o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance_at_home_games" ( "round" text, "date" text, "against" text, "score_aufc_away" text, "attendance" real, "weekday" text ); Question: What date has an against of pohang steelers? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance_at_home_games" ( "round" text, "date" text, "against" text, "score_aufc_away" text, "attendance" real, "weekday" text ); Question: What weekday has an against of kashima antlers? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text ); Question: What was the final score of Game #4? <|assistant|> SELECT "score" FROM "game_log" WHERE "game"=4;...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_and_cup_history" ( "season" text, "league_contested" text, "level" real, "league_position" text, "avg_home_attendance_1" text, "fa_cup" text, "fa_trophy" text, "leading_scorer_1" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_and_cup_history" ( "season" text, "league_contested" text, "level" real, "league_position" text, "avg_home_attendance_1" text, "fa_cup" text, "fa_trophy" text, "leading_scorer_1" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_and_cup_history" ( "season" text, "league_contested" text, "level" real, "league_position" text, "avg_home_attendance_1" text, "fa_cup" text, "fa_trophy" text, "leading_scorer_1" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_and_cup_history" ( "season" text, "league_contested" text, "level" real, "league_position" text, "avg_home_attendance_1" text, "fa_cup" text, "fa_trophy" text, "leading_scorer_1" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "events" real, "cuts_made" real ); Question: What is the least Top-5 when 1 is the cuts made? <|assistant|> SELECT MIN("top_5") FROM "su...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "events" real, "cuts_made" real ); Question: With events less than 0, what is the fewest Top-5? <|assistant|> SELECT MIN("top_5") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "events" real, "cuts_made" real ); Question: How many wins of average has cuts made less than 0? <|assistant|> SELECT AVG("wins") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "events" real, "cuts_made" real ); Question: How many events total is the Top-5 2, and 4 is the cuts made, and less than 0 wins? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "events" real, "cuts_made" real ); Question: In the Open Championship with more than 3 cuts made, what is the average wins? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What lane did the barbados swimmer compete in before heat 3? <|assistant|> SELECT "la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane u...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_places" ( "place" text, "code" real, "area_km_2" real, "population" real, "most_spoken_language" text ); Question: What is the average population for an area less than 433.7km and a 23013 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_places" ( "place" text, "code" real, "area_km_2" real, "population" real, "most_spoken_language" text ); Question: What is the total code number for Amadiba? <|assistant|> SELECT COUNT("co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rugby_union" ( "club" text, "league" text, "city_town" text, "stadium" text, "capacity" real ); Question: What is the total capacity for the Leicester Tigers? <|assistant|> SELECT COUNT("capaci...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rugby_union" ( "club" text, "league" text, "city_town" text, "stadium" text, "capacity" real ); Question: What town has the Welford Road Stadium? <|assistant|> SELECT "city_town" FROM "rugby_un...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scotland" ( "player" text, "int_l_debut" text, "year" real, "cross_code_debut" text, "date" text, "position" text ); Question: What date was the Cross Code Debut of rl 1st test great britain ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scotland" ( "player" text, "int_l_debut" text, "year" real, "cross_code_debut" text, "date" text, "position" text ); Question: What year was the player David Rose? <|assistant|> SELECT SUM("y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tennessee_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tennessee_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tennessee_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tennessee_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stats" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text, "scorers" text ); Question: What is the score 1 for the major league soccer al...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stats" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text, "scorers" text ); Question: What is the score 1 with a h ground? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stats" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text, "scorers" text ); Question: Who are the scorers on 1 August 2008, where the gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stats" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What ground had Portsmouth reserves as an opponent? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stats" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What ground had a match smaller than 6 and Chelsea Reserves as the o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "faction" text, "elevated" text, "elevator" text ); Question: Who was the Prato Elector with a faction of Italian? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "faction" text, "elevated" text, "elevator" text ); Question: What's the elevator of Jacques D'euse? <|assistant|> SELECT "elevator" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "faction" text, "elevated" text, "elevator" text ); Question: What's the nationality for Nicholas III? <|assistant|> SELECT "nationality...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_set_editions" ( "year" real, "theme" text, "artist" text, "mintage" real, "issue_price" text ); Question: What is the fewest mintage from Dora de Pédery-Hunt, and the year was before 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_set_editions" ( "year" real, "theme" text, "artist" text, "mintage" real, "issue_price" text ); Question: What is the most mintage with common eider as the theme, and the year less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_set_editions" ( "year" real, "theme" text, "artist" text, "mintage" real, "issue_price" text ); Question: What is the earliest year when the 25th Anniversary Loonie was the theme, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_set_editions" ( "year" real, "theme" text, "artist" text, "mintage" real, "issue_price" text ); Question: Who was the artist that had $49.95 as the issue price for the 2010 year? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "time" text, "home_team" text, "score" text, "away_team" text, "venue" text ); Question: What is the score for the southern home team? <|assistant|> SELECT "score" FROM "first_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "time" text, "home_team" text, "score" text, "away_team" text, "venue" text ); Question: What time is it for the southern home team? <|assistant|> SELECT "time" FROM "first_round...
<|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, "score" text, "record" text ); Question: What is the Result of the game on November 24, 1946? <|assistant|> SELECT "resul...
<|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, "score" text, "record" text ); Question: What is the Week number on September 6, 1946? <|assistant|> SELECT SUM("week") F...
<|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, "score" text, "record" text ); Question: What is the Date of the game with a Record of 5-3? <|assistant|> SELECT "date" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What was the lowest ranking rower from Great Britain? <|assistant|> SELECT MIN("rank") FROM "heat_2"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What are the notes for the rower in ranks over 2 and having a time of 7:00:46? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: Which Programming has a Video of audio only? <|assistant|> SELECT "progr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: Which Video has a Channel of 25.3? <|assistant|> SELECT "video" FROM "di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: Which Video has an Aspect of 16:9? <|assistant|> SELECT "video" FROM "di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What is the Original Air date of the episode "Touch and Go"? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "source" text, "date" text, "jody_wagner" text, "pat_edmonson" text, "michael_signer" text, "rich_savage" text, "jon_bowerbank" text, "undecided" text ); Question: O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "source" text, "date" text, "jody_wagner" text, "pat_edmonson" text, "michael_signer" text, "rich_savage" text, "jon_bowerbank" text, "undecided" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "source" text, "date" text, "jody_wagner" text, "pat_edmonson" text, "michael_signer" text, "rich_savage" text, "jon_bowerbank" text, "undecided" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "source" text, "date" text, "jody_wagner" text, "pat_edmonson" text, "michael_signer" text, "rich_savage" text, "jon_bowerbank" text, "undecided" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "source" text, "date" text, "jody_wagner" text, "pat_edmonson" text, "michael_signer" text, "rich_savage" text, "jon_bowerbank" text, "undecided" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text ); Question: Who was the opponent when the record was 31-24? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text ); Question: What was the score of Game 48? <|assistant|> SELECT "score" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text ); Question: Who was the opponent at the game at Madison Square Garden? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text ); Question: What was the score of the game at Great Western Forum? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_winter_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: Which Romaji Title has a Japanese Title of 花より男子2(リターンズ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_winter_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: Which Romaji Title has a TV Station of fuji tv, and Ave...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_winter_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: Which Japanese Title has more than 9 Episodes, and a Ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_winter_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: Which Romaji Title has 11 Episodes, and a TV Station of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "artios_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: What was the result of nomination for Season 6 after 1995? <|assistant|> SELECT "resu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "artios_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: What was the category of the award that John Frank Levey was nominated for after 1995...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real ); Question: What is the English Translation for the French song...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real ); Question: What is the Song by Artist Robert Cogoi? <|assistan...