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 model what is the sonnet?
<|assistant|>
SELECT "sonnet" FROM "table1_3002894_4" WHERE "model"='Included RAM (MiB)';<|endoftext|> |
<|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 apple?
<|assistant|>
SELECT "apple" FROM "table1_3002894_4" WHERE "sonnet"='4 MB';<|endoftext|> |
<|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 what is the sonnet?
<|assistant|>
SELECT "sonnet" FROM "table1_3002894_4" WHERE "n_upowr_117"='0,4, or 8 MB';<|endoftext|> |
<|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 nupowr 167?
<|assistant|>
SELECT "n_upowr_167" FROM "table1_3002894_4" WHERE "model"='Maker';<|endoftext|> |
<|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 what is the nupowr 183?
<|assistant|>
SELECT "n_upowr_183" FROM "table1_3002894_4" WHERE "n_upowr_117"='0,4, or 8 MB';<|endoftext|> |
<|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 name of the episode written by glen mazzara?
<|assistant|>
SELECT "title" FROM "table1_30030477_1" WHERE "written_by"='Glen Mazzara';<|endoftext|> |
<|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 are there with the original air date of august3,2010?
<|assistant|>
SELECT COUNT("title") FROM "table1_30030477_1" WHERE "original_air_date"='August3,2010';<|endoftext|> |
<|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 the episdoe veiwed by 3.24 million viewers?
<|assistant|>
SELECT "directed_by" FROM "table1_30030477_1" WHERE "viewers_million"='3.24';<|endoftext|> |
<|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 episode written by is adam e. fierro & glen mazzara air?
<|assistant|>
SELECT "original_air_date" FROM "table1_30030477_1" WHERE "written_by"='Adam E. Fierro & Glen Mazzara';<|endoftext|> |
<|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 date the strea was w 2
<|assistant|>
SELECT "date" FROM "game_log" WHERE "streak"='W 2';<|endoftext|> |
<|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 13 what was the streak
<|assistant|>
SELECT "streak" FROM "game_log" WHERE "date"='April 13';<|endoftext|> |
<|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 13 who made the high rebounds
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 13';<|endoftext|> |
<|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: Name the game for l 111β126
<|assistant|>
SELECT "game" FROM "game_log" WHERE "score"='L 111β126';<|endoftext|> |
<|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: Name the score for march 8
<|assistant|>
SELECT "score" FROM "game_log" WHERE "date"='March 8';<|endoftext|> |
<|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 the detroit team who made the high points
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "team"='Detroit';<|endoftext|> |
<|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: what is the score in the philadelphia team
<|assistant|>
SELECT COUNT("score") FROM "game_log" WHERE "team"='Philadelphia';<|endoftext|> |
<|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 december 7 who made the high points
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "date"='December 7';<|endoftext|> |
<|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 how many dates the game was 2
<|assistant|>
SELECT COUNT("date") FROM "game_log" WHERE "game"=2;<|endoftext|> |
<|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 the milwaukee team who made the high points
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "team"='Milwaukee';<|endoftext|> |
<|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: What was the location and it's corresponding attendance during the game against Los Angeles?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "team"='Los Angeles';<|endoftext|> |
<|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 the km from wellington where the metlink code is mast?
<|assistant|>
SELECT "km_from_wellington" FROM "current_stations" WHERE "metlink_code"='MAST';<|endoftext|> |
<|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 the name of the station where the metlink code is mata?
<|assistant|>
SELECT "station" FROM "current_stations" WHERE "metlink_code"='MATA';<|endoftext|> |
<|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 the metlink code that opened in 1908?
<|assistant|>
SELECT "metlink_code" FROM "current_stations" WHERE "opened"='1908';<|endoftext|> |
<|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: How many teams did inge β 6 have the high assists with?
<|assistant|>
SELECT COUNT("team") FROM "schedule" WHERE "high_assists"='Inge β 6';<|endoftext|> |
<|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: What is the record for december 3?
<|assistant|>
SELECT "record" FROM "schedule" WHERE "date"='December 3';<|endoftext|> |
<|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: How many entries are there for high rebounds when high points is inge β 19?
<|assistant|>
SELECT COUNT("high_rebounds") FROM "schedule" WHERE "high_points"='Inge β 19';<|endoftext|> |
<|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: How many games are shown when the is location attendance is phog allen fieldhouse , lawrence, ks (16,300)?
<|assistant|>
SELECT COUNT("game") FROM "schedule" WHERE "location_attendance"='Phog Allen Fieldhouse , Lawrence, KS (16,300)';<|endoftext|> |
<|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: how many high assits have a date of february 5?
<|assistant|>
SELECT "high_assists" FROM "schedule" WHERE "date"='February 5';<|endoftext|> |
<|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
);
Question: What is shown for fri 26 aug when mon 22 aug is ββ no time?
<|assistant|>
SELECT "fri_26_aug" FROM "2011_junior_manx_grand_prix_practice_tim" WHERE "mon_22_aug"='ββ No Time';<|endoftext|> |
<|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
);
Question: What shows for sat 20 aug when fri 26 aug is 19' 30.70 116.023mph?
<|assistant|>
SELECT "sat_20_aug" FROM "2011_junior_manx_grand_prix_practice_tim" WHERE "fri_26_aug"='19'' 30.70 116.023mph';<|endoftext|> |
<|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
);
Question: What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph?
<|assistant|>
SELECT "mon_22_aug" FROM "2011_junior_manx_grand_prix_practice_tim" WHERE "wed_24_aug"='19'' 56.16 113.553mph';<|endoftext|> |
<|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
);
Question: What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph?
<|assistant|>
SELECT "thurs_25_aug" FROM "2011_junior_manx_grand_prix_practice_tim" WHERE "wed_24_aug"='19'' 59.73 113.216mph';<|endoftext|> |
<|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
);
Question: What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?
<|assistant|>
SELECT "thurs_25_aug" FROM "2011_junior_manx_grand_prix_practice_tim" WHERE "fri_26_aug"='19'' 30.70 116.023mph';<|endoftext|> |
<|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
);
Question: What's the best rank possible?
<|assistant|>
SELECT MIN("rank") FROM "2011_supertwin_practice_times_and_leader";<|endoftext|> |
<|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 winners played on the Spa-Francorchamps Report.
<|assistant|>
SELECT "gt4_cup_winner" FROM "table1_30060356_3" WHERE "circuit"='Spa-Francorchamps Report';<|endoftext|> |
<|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 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4one?
<|assistant|>
SELECT "gt3_pro_am_cup_winner" FROM "table1_30060356_3" WHERE "gt3_pro_cup_winner"='No. 1 Vita4One';<|endoftext|> |
<|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 highest numbered event?
<|assistant|>
SELECT MAX("event") FROM "table1_30060356_3";<|endoftext|> |
<|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,
"sat_27_aug" text,
"mon_29_aug" text,
"wed_31_aug" text
);
Question: What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mph?
<|assistant|>
SELECT "tues_23_aug" FROM "2011_classic_superbike_practice_times_an" WHERE "wed_24_aug"='22'' 23.29 101.116mph';<|endoftext|> |
<|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,
"sat_27_aug" text,
"mon_29_aug" text,
"wed_31_aug" text
);
Question: What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph?
<|assistant|>
SELECT "sat_27_aug" FROM "2011_classic_superbike_practice_times_an" WHERE "thurs_25_aug"='23'' 56.90 94.528mph';<|endoftext|> |
<|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,
"sat_27_aug" text,
"mon_29_aug" text,
"wed_31_aug" text
);
Question: What is every entry for Friday August 26 when the entry for Wednesday August 24 is 23' 52.67 94.807mph?
<|assistant|>
SELECT "fri_26_aug" FROM "2011_classic_superbike_practice_times_an" WHERE "wed_24_aug"='23'' 52.67 94.807mph';<|endoftext|> |
<|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 gt3 winner and 1 is the round what is the length?
<|assistant|>
SELECT "length" FROM "calendar" WHERE "round"=1 AND "gt3_winner"='David Ashburn Richard Westbrook';<|endoftext|> |
<|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 winner and donington park is the circuit who is the gt4 winner?
<|assistant|>
SELECT "gt4_winner" FROM "calendar" WHERE "circuit"='Donington Park' AND "gt3_winner"='Charles Bateman Michael Lyons';<|endoftext|> |
<|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 winner and 9 is the round who is the gt4 winner?
<|assistant|>
SELECT "gt4_winner" FROM "calendar" WHERE "round"=9 AND "gt3_winner"='Charles Bateman Michael Lyons';<|endoftext|> |
<|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 position who is the gt3 winner?
<|assistant|>
SELECT "gt3_winner" FROM "calendar" WHERE "pole_position"='Tim Bridgman Gregor Fisken';<|endoftext|> |
<|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
);
Question: List the rider for the doncaster handicap compeition.
<|assistant|>
SELECT "jockey" FROM "2008_09_season_as_a_three_year_old" WHERE "race"='Doncaster Handicap';<|endoftext|> |
<|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 number of troops for troops per $1 billion being 2.45
<|assistant|>
SELECT COUNT("number_of_troops") FROM "table1_30108346_1" WHERE "troops_per_1_billion_usd_gdp"='2.45';<|endoftext|> |
<|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 total number of troops per one million being 2.76
<|assistant|>
SELECT COUNT("troops_per_one_million_population") FROM "table1_30108346_1" WHERE "troops_per_1_billion_usd_gdp"='2.76';<|endoftext|> |
<|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 country for troops per one million being 54.9
<|assistant|>
SELECT "country" FROM "table1_30108346_1" WHERE "troops_per_one_million_population"='54.9';<|endoftext|> |
<|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_five" WHERE "college"='Howard';<|endoftext|> |
<|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 "pick_num"=35;<|endoftext|> |
<|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 "pick_num"=34;<|endoftext|> |
<|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 "round_five" WHERE "player"='Tyrell Francisco';<|endoftext|> |
<|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 "barony" FROM "table1_30120547_1" WHERE "townland"='Gurraghy';<|endoftext|> |
<|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|>
SELECT "civil_parish" FROM "table1_30120547_1" WHERE "townland"='Cappanaboul';<|endoftext|> |
<|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 acres?
<|assistant|>
SELECT "civil_parish" FROM "table1_30120547_1" WHERE "area_acres"=119;<|endoftext|> |
<|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 126 acres?
<|assistant|>
SELECT "civil_parish" FROM "table1_30120556_1" WHERE "townland"='Ballynamona' AND "area_acres"=126;<|endoftext|> |
<|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 monadrishane?
<|assistant|>
SELECT "area_acres" FROM "table1_30120556_1" WHERE "civil_parish"='Kilworth' AND "townland"='Monadrishane';<|endoftext|> |
<|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.
<|assistant|>
SELECT COUNT("barony") FROM "table1_30120556_1" WHERE "townland"='Ballyvadona';<|endoftext|> |
<|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 townland?
<|assistant|>
SELECT COUNT("area_acres") FROM "table1_30120556_1" WHERE "townland"='Glasvaunta';<|endoftext|> |
<|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|>
SELECT MIN("area_acres") FROM "table1_30120556_1" WHERE "townland"='Derrynanool';<|endoftext|> |
<|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_union" FROM "table1_30120566_1" WHERE "townland"='Lisladeen';<|endoftext|> |
<|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 parish Matehy located?
<|assistant|>
SELECT "barony" FROM "table1_30120566_1" WHERE "townland"='Dawstown' AND "civil_parish"='Matehy';<|endoftext|> |
<|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" FROM "table1_30120566_1" WHERE "townland"='Ballycunningham';<|endoftext|> |
<|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?
<|assistant|>
SELECT COUNT("area_acres") FROM "table1_30120566_1" WHERE "townland"='Rathcoola East';<|endoftext|> |
<|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|>
SELECT COUNT("area_acres") FROM "table1_30120560_1" WHERE "townland"='Kilgilky North';<|endoftext|> |
<|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 "civil_parish" FROM "table1_30120560_1" WHERE "area_acres"=405;<|endoftext|> |
<|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 "barony" FROM "table1_30120560_1" WHERE "area_acres"=560;<|endoftext|> |
<|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?
<|assistant|>
SELECT COUNT("area_acres") FROM "table1_30120560_1" WHERE "townland"='Brittas';<|endoftext|> |
<|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 "poor_law_union" FROM "table1_30120633_1" WHERE "townland"='Coolkirky';<|endoftext|> |
<|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("area_acres") FROM "table1_30120633_1" WHERE "townland"='Clashroe';<|endoftext|> |
<|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 "townland" FROM "table1_30120633_1" WHERE "area_acres"=213;<|endoftext|> |
<|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 poor law union cover?
<|assistant|>
SELECT "area_acres" FROM "table1_30120633_1" WHERE "poor_law_union"='Bandon' AND "townland"='Lissagroom';<|endoftext|> |
<|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 "civil_parish" FROM "table1_30120633_1" WHERE "townland"='Ballymurphy North';<|endoftext|> |
<|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 COUNT("area_acres") FROM "table1_30120761_1" WHERE "townland"='Coomroe';<|endoftext|> |
<|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 law union and Macroom civil parish?
<|assistant|>
SELECT "area_acres" FROM "table1_30120761_1" WHERE "poor_law_union"='Macroom' AND "civil_parish"='Macroom';<|endoftext|> |
<|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 COUNT("barony") FROM "table1_30120761_1" WHERE "townland"='Maulnagrough';<|endoftext|> |
<|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.
<|assistant|>
SELECT "townland" FROM "table1_30120761_1" WHERE "area_acres"=131;<|endoftext|> |
<|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 Macroom?
<|assistant|>
SELECT COUNT("area_acres") FROM "table1_30120761_1" WHERE "civil_parish"='Macroom' AND "townland"='Maghereen';<|endoftext|> |
<|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?
<|assistant|>
SELECT "poor_law_union" FROM "table1_30121075_1" WHERE "townland"='Bohonagh';<|endoftext|> |
<|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?
<|assistant|>
SELECT COUNT("barony") FROM "table1_30121075_1" WHERE "townland"='Derrigra';<|endoftext|> |
<|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 dromidiclogh?
<|assistant|>
SELECT COUNT("poor_law_union") FROM "table1_30121075_1" WHERE "townland"='Dromidiclogh';<|endoftext|> |
<|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 townland is knockmore?
<|assistant|>
SELECT "area_acres" FROM "table1_30121075_1" WHERE "poor_law_union"='Skibbereen' AND "townland"='Knockmore';<|endoftext|> |
<|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" text
);
Question: What is the circuit located in baltimore , maryland?
<|assistant|>
SELECT "circuit" FROM "race_calendar_and_results" WHERE "location"='Baltimore , Maryland';<|endoftext|> |
<|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" text
);
Question: Which circuit was located in st. petersburg, florida?
<|assistant|>
SELECT "circuit" FROM "race_calendar_and_results" WHERE "location"='St. Petersburg, Florida';<|endoftext|> |
<|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" text
);
Question: Who had the fastest lap in bowmanville, ontario?
<|assistant|>
SELECT "fastest_lap" FROM "race_calendar_and_results" WHERE "location"='Bowmanville, Ontario';<|endoftext|> |
<|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" text
);
Question: Who had the fastest lap on september 4?
<|assistant|>
SELECT "fastest_lap" FROM "race_calendar_and_results" WHERE "date"='September 4';<|endoftext|> |
<|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,
"gap_from_thailand_as_of_2012_times" text,
"gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
"gdp_per_capita_as_of_2012_ppp" real
);
Question: What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?
<|assistant|>
SELECT "1985" FROM "per_capita_gdp" WHERE "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions"='369.38';<|endoftext|> |
<|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,
"gap_from_thailand_as_of_2012_times" text,
"gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
"gdp_per_capita_as_of_2012_ppp" real
);
Question: What was the gap from Thailand as of 2012 for China?
<|assistant|>
SELECT "gap_from_thailand_as_of_2012_times" FROM "per_capita_gdp" WHERE "economy"='China';<|endoftext|> |
<|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,
"gap_from_thailand_as_of_2012_times" text,
"gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
"gdp_per_capita_as_of_2012_ppp" real
);
Question: What is the maximum 2010 value for China?
<|assistant|>
SELECT MAX("2010") FROM "per_capita_gdp" WHERE "economy"='China';<|endoftext|> |
<|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,
"gap_from_thailand_as_of_2012_times" text,
"gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
"gdp_per_capita_as_of_2012_ppp" real
);
Question: What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?
<|assistant|>
SELECT "gap_from_thailand_as_of_2012_times" FROM "per_capita_gdp" WHERE "gap_from_thailand_as_of_1980_times"='0.29';<|endoftext|> |
<|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,
"gap_from_thailand_as_of_2012_times" text,
"gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
"gdp_per_capita_as_of_2012_ppp" real
);
Question: How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?
<|assistant|>
SELECT COUNT("gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions") FROM "per_capita_gdp" WHERE "2012"=23113;<|endoftext|> |
<|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,
"gap_from_thailand_as_of_2012_times" text,
"gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
"gdp_per_capita_as_of_2012_ppp" real
);
Question: What is the max 2010 value for a 1980 gap value is 2.43?
<|assistant|>
SELECT MAX("2010") FROM "per_capita_gdp" WHERE "gap_from_thailand_as_of_1980_times"='2.43';<|endoftext|> |
<|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?
<|assistant|>
SELECT "uk_total_viewers" FROM "series_1_2011" WHERE "episode_no"=50;<|endoftext|> |
<|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_w_l" text
);
Question: Tell me the doubles W-L for player of laurynas grigelis
<|assistant|>
SELECT "doubles_w_l" FROM "current_team" WHERE "player"='laurynas grigelis';<|endoftext|> |
<|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 which was done by Brian Turner?
<|assistant|>
SELECT "most_recent_cap" FROM "highest_goal_scorer" WHERE "goals">17 AND "name"='brian turner';<|endoftext|> |
<|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|>
SELECT "nationality" FROM "r" WHERE "school_club_team"='barton cc (ks)';<|endoftext|> |
<|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_club_team" FROM "r" WHERE "player"='shawn respert';<|endoftext|> |
<|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 "position" FROM "r" WHERE "years_in_toronto"='1996-97';<|endoftext|> |
<|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_club_team" FROM "r" WHERE "player"='roy rogers';<|endoftext|> |
<|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
<|assistant|>
SELECT "years_in_toronto" FROM "r" WHERE "nationality"='united states' AND "school_club_team"='arkansas';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.