text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_3002894_4" ( "model" text, "sonnet" text, "apple" text, "n_upowr_117" text, "n_upowr_167" text, "n_upowr_183" text, "n_upowr_g3" text ); Question: When included ram (mib) is the mode...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_3002894_4" ( "model" text, "sonnet" text, "apple" text, "n_upowr_117" text, "n_upowr_167" text, "n_upowr_183" text, "n_upowr_g3" text ); Question: When 4 mb is the sonnet what is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_3002894_4" ( "model" text, "sonnet" text, "apple" text, "n_upowr_117" text, "n_upowr_167" text, "n_upowr_183" text, "n_upowr_g3" text ); Question: When 0,4, or 8 mb is the nupowr 117...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_3002894_4" ( "model" text, "sonnet" text, "apple" text, "n_upowr_117" text, "n_upowr_167" text, "n_upowr_183" text, "n_upowr_g3" text ); Question: When maker is the model what is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_3002894_4" ( "model" text, "sonnet" text, "apple" text, "n_upowr_117" text, "n_upowr_167" text, "n_upowr_183" text, "n_upowr_g3" text ); Question: When 0,4, or 8 mb is the nupowr 117...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30030477_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text ); Question: What is the nam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30030477_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text ); Question: How many titles...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30030477_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text ); Question: Who directed th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30030477_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text ); Question: What dated the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "series" text, "streak" text ); Question: in which...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "series" text, "streak" text ); Question: in april...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "series" text, "streak" text ); Question: in april...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_stations" ( "station" text, "metlink_code" text, "line_s" text, "service_s" text, "serves" text, "km_from_wellington" text, "fare_zone_s" text, "opened" text ); Question: what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_stations" ( "station" text, "metlink_code" text, "line_s" text, "service_s" text, "serves" text, "km_from_wellington" text, "fare_zone_s" text, "opened" text ); Question: what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_stations" ( "station" text, "metlink_code" text, "line_s" text, "service_s" text, "serves" text, "km_from_wellington" text, "fare_zone_s" text, "opened" text ); Question: what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_supertwin_practice_times_and_leader" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30060356_3" ( "event" real, "circuit" text, "gt3_pro_cup_winner" text, "gt3_pro_am_cup_winner" text, "gt3_citation_cup_winner" text, "gt4_cup_winner" text ); Question: List all GT4 Cup...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30060356_3" ( "event" real, "circuit" text, "gt3_pro_cup_winner" text, "gt3_pro_am_cup_winner" text, "gt3_citation_cup_winner" text, "gt4_cup_winner" text ); Question: Who are the gt3 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30060356_3" ( "event" real, "circuit" text, "gt3_pro_cup_winner" text, "gt3_pro_am_cup_winner" text, "gt3_citation_cup_winner" text, "gt4_cup_winner" text ); Question: What is the high...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_classic_superbike_practice_times_an" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_classic_superbike_practice_times_an" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_classic_superbike_practice_times_an" ( "rank" real, "rider" text, "sat_20_aug" text, "mon_22_aug" text, "tues_23_aug" text, "wed_24_aug" text, "thurs_25_aug" text, "fri_26_aug" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "length" text, "pole_position" text, "gt3_winner" text, "gt4_winner" text ); Question: When david ashburn richard westbrook is the gt...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "length" text, "pole_position" text, "gt3_winner" text, "gt4_winner" text ); Question: When charles bateman michael lyons is the gt3 w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "length" text, "pole_position" text, "gt3_winner" text, "gt4_winner" text ); Question: When charles bateman michael lyons is the gt3 w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "length" text, "pole_position" text, "gt3_winner" text, "gt4_winner" text ); Question: When tim bridgman gregor fisken is the pole po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30108346_1" ( "country" text, "number_of_troops" real, "pct_of_total_troops" text, "troops_per_one_million_population" text, "troops_per_1_billion_usd_gdp" text ); Question: Name the num...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30108346_1" ( "country" text, "number_of_troops" real, "pct_of_total_troops" text, "troops_per_one_million_population" text, "troops_per_1_billion_usd_gdp" text ); Question: Name the tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30108346_1" ( "country" text, "number_of_troops" real, "pct_of_total_troops" text, "troops_per_one_million_population" text, "troops_per_1_billion_usd_gdp" text ); Question: Name the cou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which player(s) played at Howard college? <|assistant|> SELECT "player" FROM "round_f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which CFL team was pick #35? <|assistant|> SELECT "cfl_team" FROM "round_five" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which CFL team got pick 34? <|assistant|> SELECT "cfl_team" FROM "round_five" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is Tyrell Francisco's player position? <|assistant|> SELECT "position" FROM "rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120547_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the barony of the Gurraghy townland? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120547_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the civil parish of the cappanaboul townland? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120547_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What are the civil parishes of the townlands with an area of 119 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120556_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What civil paris appears when Ballynamona is the townland with 12...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120556_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the area of the civil parish kilworth and townland monadr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120556_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many barony's appear when Ballyvadona is the townland. <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120556_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many items appear in the area column when Glasvaunta is the t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120556_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the fewest area in Derrynanool townland? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120566_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is Lisladeen poor law union? <|assistant|> SELECT "poor_law_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120566_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: In what barony are both the townland Dawstown and the civil paris...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120566_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What barony is Ballycunningham in? <|assistant|> SELECT "barony" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120566_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many different sizes (in acres) are noted for Rathcoola East?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120560_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: how many areas have townland as kilgilky north? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120560_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: which cilvil parishes have areas of 405? <|assistant|> SELECT "ci...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120560_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: what is the barony and an area of 560? <|assistant|> SELECT "baro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120560_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: what is the number of areas where the townland is brittas? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120633_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the Poor Law Union for Coolkirky? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120633_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How few acres is the area of Clashroe? <|assistant|> SELECT MIN("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120633_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: Which townland has a 213 acre area? <|assistant|> SELECT "townlan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120633_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many acres does the area of Lissagroom with Bandon as its poo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120633_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is Ballymurphy North's civil parish? <|assistant|> SELECT "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120761_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many acres in the townland of Coomroe? <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120761_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What are all the acreages of the townlands in the Macroom poor la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120761_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many baronies is Maulnagrough a part of? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120761_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What are all of the townlands that have exactly 131 acres. <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30120761_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the acreage of the Maghereen in the civil parish of Macro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30121075_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the poor law union when the townland is bohonagh? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30121075_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many entries are in barony when the townland is derrigra? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30121075_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: How many entries are listed in poor law union when townland is dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_30121075_1" ( "townland" text, "area_acres" real, "barony" text, "civil_parish" text, "poor_law_union" text ); Question: What is the area when the poor law union is skibbereen and the to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "rnd" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "supporting" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "rnd" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "supporting" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "rnd" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "supporting" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "rnd" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "supporting" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_capita_gdp" ( "economy" text, "1980" real, "gap_from_thailand_as_of_1980_times" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_capita_gdp" ( "economy" text, "1980" real, "gap_from_thailand_as_of_1980_times" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_capita_gdp" ( "economy" text, "1980" real, "gap_from_thailand_as_of_1980_times" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_capita_gdp" ( "economy" text, "1980" real, "gap_from_thailand_as_of_1980_times" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_capita_gdp" ( "economy" text, "1980" real, "gap_from_thailand_as_of_1980_times" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_capita_gdp" ( "economy" text, "1980" real, "gap_from_thailand_as_of_1980_times" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2011" ( "episode_no" real, "us_airdate" text, "us_total_viewers" text, "uk_airdate" text, "uk_total_viewers" text ); Question: How many viewers in the UK did episode 50 have? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_team" ( "player" text, "current_singles_ranking" text, "current_doubles_ranking" text, "first_year_played" real, "ties_played" real, "total_w_l" text, "singles_w_l" text, "doubles_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_goal_scorer" ( "name" text, "career" text, "goals" real, "caps" real, "first_cap" text, "most_recent_cap" text ); Question: What is the newest Cap with a Goals stat larger than 17 and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: What is the nationality of school/club team of barton cc (ks)? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: Shawn Respert play for what school/club team? <|assistant|> SELECT "school...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: Who has position in year 1996-97 in Toronto? <|assistant|> SELECT "positio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: Roy Rogers play for what school/club team? <|assistant|> SELECT "school_cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: What year is United States school/club team from Arkansas play in Toronto ...