question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What are the years employed shown for mathematics & prefect master?
|
CREATE TABLE "notable_masters" (
"name" text,
"employed" text,
"position_held" text,
"honour" text,
"citation" text
);
|
SELECT "employed" FROM "notable_masters" WHERE "position_held"='mathematics & prefect master';
|
2-1839872-3
|
What citation is shown for the employed years of 1970–1996?
|
CREATE TABLE "notable_masters" (
"name" text,
"employed" text,
"position_held" text,
"honour" text,
"citation" text
);
|
SELECT "citation" FROM "notable_masters" WHERE "employed"='1970–1996';
|
2-1839872-3
|
What is the name of the person employed 1970–2005?
|
CREATE TABLE "notable_masters" (
"name" text,
"employed" text,
"position_held" text,
"honour" text,
"citation" text
);
|
SELECT "name" FROM "notable_masters" WHERE "employed"='1970–2005';
|
2-1839872-3
|
What is the Time of the Rowers from Finland with a Rank of less than 4?
|
CREATE TABLE "repechage_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT "time" FROM "repechage_1" WHERE "rank"<4 AND "country"='finland';
|
2-18662704-6
|
What is the Rank of the Rowers with a Time of 7:30.92?
|
CREATE TABLE "repechage_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT SUM("rank") FROM "repechage_1" WHERE "time"='7:30.92';
|
2-18662704-6
|
What are the Notes of the Country of finland?
|
CREATE TABLE "repechage_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT "notes" FROM "repechage_1" WHERE "country"='finland';
|
2-18662704-6
|
Who were the opponents for week 12?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "week"=12;
|
2-18847749-2
|
Which polling institute showed a lead of 6%?
|
CREATE TABLE "opinion_polls" (
"date_s_released" text,
"polling_institute" text,
"nationalist" text,
"labour" text,
"democratic_alternative" text,
"undecided_no_answer" text,
"lead" text
);
|
SELECT "polling_institute" FROM "opinion_polls" WHERE "lead"='6%';
|
2-18801491-1
|
Which date released had a Democratic Alternative value of 1% and Labour of 34%?
|
CREATE TABLE "opinion_polls" (
"date_s_released" text,
"polling_institute" text,
"nationalist" text,
"labour" text,
"democratic_alternative" text,
"undecided_no_answer" text,
"lead" text
);
|
SELECT "date_s_released" FROM "opinion_polls" WHERE "democratic_alternative"='1%' AND "labour"='34%';
|
2-18801491-1
|
What is the Nationalist share of the poll for the response in which Undecided/No Answer received 29.2%?
|
CREATE TABLE "opinion_polls" (
"date_s_released" text,
"polling_institute" text,
"nationalist" text,
"labour" text,
"democratic_alternative" text,
"undecided_no_answer" text,
"lead" text
);
|
SELECT "nationalist" FROM "opinion_polls" WHERE "undecided_no_answer"='29.2%';
|
2-18801491-1
|
What is the value of the Democratic Alternative for the poll released by Malta Today?
|
CREATE TABLE "opinion_polls" (
"date_s_released" text,
"polling_institute" text,
"nationalist" text,
"labour" text,
"democratic_alternative" text,
"undecided_no_answer" text,
"lead" text
);
|
SELECT "democratic_alternative" FROM "opinion_polls" WHERE "polling_institute"='malta today';
|
2-18801491-1
|
Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%?
|
CREATE TABLE "opinion_polls" (
"date_s_released" text,
"polling_institute" text,
"nationalist" text,
"labour" text,
"democratic_alternative" text,
"undecided_no_answer" text,
"lead" text
);
|
SELECT "polling_institute" FROM "opinion_polls" WHERE "lead"='12%' AND "labour"='40.2%';
|
2-18801491-1
|
What is the lowest week that has Minnesota Vikings as the opponent?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT MIN("week") FROM "schedule" WHERE "opponent"='minnesota vikings';
|
2-18775095-2
|
What opponent has December 6, 1964 as the date?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "date"='december 6, 1964';
|
2-18775095-2
|
What was the attendance of the game on September 18, 1965 before week 3?
|
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
|
SELECT "attendance" FROM "season_schedule" WHERE "week"<3 AND "date"='september 18, 1965';
|
2-12535859-1
|
What was the result of the game before week 3 with an attendance of 53,658?
|
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
|
SELECT "result" FROM "season_schedule" WHERE "week"<3 AND "attendance"='53,658';
|
2-12535859-1
|
What was the earliest week on September 26, 1965?
|
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
|
SELECT MIN("week") FROM "season_schedule" WHERE "date"='september 26, 1965';
|
2-12535859-1
|
What is the total time for one south broad?
|
CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real,
"address" text
);
|
SELECT SUM("year") FROM "tallest_buildings" WHERE "name"='one south broad';
|
2-12587248-1
|
What is the 123 south broad street address name before 1973?
|
CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real,
"address" text
);
|
SELECT "name" FROM "tallest_buildings" WHERE "year"<1973 AND "address"='123 south broad street';
|
2-12587248-1
|
Which competition has goals less than 2?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "competition" FROM "international_goals" WHERE "goal"<2;
|
2-12690988-1
|
What's the result of a goal larger than 4?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "result" FROM "international_goals" WHERE "goal">4;
|
2-12690988-1
|
tell me the type that has the marostica to bibione course.
|
CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
);
|
SELECT "type" FROM "stage_results" WHERE "course"='marostica to bibione';
|
2-12261806-1
|
who won on 29 may?
|
CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
);
|
SELECT "winner" FROM "stage_results" WHERE "date"='29 may';
|
2-12261806-1
|
What is the term for hometown Ester Creek?
|
CREATE TABLE "territorial_house" (
"name" text,
"party" text,
"hometown" text,
"division" text,
"term" text,
"legislatures" text
);
|
SELECT "term" FROM "territorial_house" WHERE "hometown"='ester creek';
|
2-12401254-1
|
What is the number of Gold medals for the Nation with a Total of 5 and Rank larger than 1?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MIN("gold") FROM "medal_table" WHERE "total"=5 AND "rank">1;
|
2-12880955-1
|
What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT COUNT("silver") FROM "medal_table" WHERE "bronze">1 AND "rank"<5;
|
2-12880955-1
|
In what round was the loss at ufc 118?
|
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
|
SELECT "round" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "event"='ufc 118';
|
2-1328244-2
|
What is the smallest decile with an Area of otumoetai?
|
CREATE TABLE "tauranga_city" (
"name" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
|
SELECT MIN("decile") FROM "tauranga_city" WHERE "area"='otumoetai';
|
2-12174210-2
|
Which decile has an Area of welcome bay, and an Authority of state?
|
CREATE TABLE "tauranga_city" (
"name" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
|
SELECT "decile" FROM "tauranga_city" WHERE "area"='welcome bay' AND "authority"='state';
|
2-12174210-2
|
How many deciles have a Gender of coed, an Authority of state, and a Name of mount maunganui school?
|
CREATE TABLE "tauranga_city" (
"name" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
|
SELECT SUM("decile") FROM "tauranga_city" WHERE "gender"='coed' AND "authority"='state' AND "name"='mount maunganui school';
|
2-12174210-2
|
Which name has a Decile of 5, and an Area of tauranga?
|
CREATE TABLE "tauranga_city" (
"name" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
|
SELECT "name" FROM "tauranga_city" WHERE "decile"=5 AND "area"='tauranga';
|
2-12174210-2
|
Which Authority has a Gender of coed, a Decile smaller than 6, and an Area of merivale?
|
CREATE TABLE "tauranga_city" (
"name" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
|
SELECT "authority" FROM "tauranga_city" WHERE "gender"='coed' AND "decile"<6 AND "area"='merivale';
|
2-12174210-2
|
What is the smallest decile with a Name of st mary's catholic school?
|
CREATE TABLE "tauranga_city" (
"name" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
|
SELECT MIN("decile") FROM "tauranga_city" WHERE "name"='st mary''s catholic school';
|
2-12174210-2
|
What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?
|
CREATE TABLE "population_movement_of_jews_from_former_" (
"year" text,
"births_000s" real,
"deaths" real,
"natural_growth" real,
"total_fertility_rate" text
);
|
SELECT AVG("births_000s") FROM "population_movement_of_jews_from_former_" WHERE "total_fertility_rate"='na' AND "natural_growth"<2.5;
|
2-12885399-2
|
What was the amount of deaths that had a natural growth smaller than 3.4, and a total fertility rate of 1.63?
|
CREATE TABLE "population_movement_of_jews_from_former_" (
"year" text,
"births_000s" real,
"deaths" real,
"natural_growth" real,
"total_fertility_rate" text
);
|
SELECT "deaths" FROM "population_movement_of_jews_from_former_" WHERE "natural_growth"<3.4 AND "total_fertility_rate"='1.63';
|
2-12885399-2
|
What is the average births that had a death rate of 0.4
|
CREATE TABLE "population_movement_of_jews_from_former_" (
"year" text,
"births_000s" real,
"deaths" real,
"natural_growth" real,
"total_fertility_rate" text
);
|
SELECT AVG("births_000s") FROM "population_movement_of_jews_from_former_" WHERE "deaths"=0.4;
|
2-12885399-2
|
What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009?
|
CREATE TABLE "population_movement_of_jews_from_former_" (
"year" text,
"births_000s" real,
"deaths" real,
"natural_growth" real,
"total_fertility_rate" text
);
|
SELECT SUM("births_000s") FROM "population_movement_of_jews_from_former_" WHERE "deaths">7.6 AND "year"='1990-2009';
|
2-12885399-2
|
What was the total fertility rate that had a death rate larger than 7.8?
|
CREATE TABLE "population_movement_of_jews_from_former_" (
"year" text,
"births_000s" real,
"deaths" real,
"natural_growth" real,
"total_fertility_rate" text
);
|
SELECT "total_fertility_rate" FROM "population_movement_of_jews_from_former_" WHERE "deaths">7.8;
|
2-12885399-2
|
How many votes did the security guard get?
|
CREATE TABLE "28_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
);
|
SELECT "votes" FROM "28_seats" WHERE "occupation"='security guard';
|
2-12890254-1
|
What is John Marvin Wierenga's occupation?
|
CREATE TABLE "28_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
);
|
SELECT "occupation" FROM "28_seats" WHERE "candidate_s_name"='john marvin wierenga';
|
2-12890254-1
|
What is the average value for 2005, when the value for 2008 is greater than 0, when the value for 2007 is greater than 310, when the Average annual is 767, and when the Total is greater than 4,597?
|
CREATE TABLE "investment" (
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"total" real,
"average_annual" real
);
|
SELECT AVG("2005") FROM "investment" WHERE "2008">0 AND "2007">310 AND "average_annual"=767 AND "total">'4,597';
|
2-13042135-1
|
What is the average value for 2005, when the value for Average annual is 767?
|
CREATE TABLE "investment" (
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"total" real,
"average_annual" real
);
|
SELECT AVG("2005") FROM "investment" WHERE "average_annual"=767;
|
2-13042135-1
|
In what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas?
|
CREATE TABLE "achievements" (
"year" text,
"finish" text,
"team" text,
"tournament" text,
"role" text
);
|
SELECT "year" FROM "achievements" WHERE "tournament"='1st division el salvador' AND "finish"='champion' AND "team"='fas';
|
2-12825146-1
|
In what Year was the Finish Champions?
|
CREATE TABLE "achievements" (
"year" text,
"finish" text,
"team" text,
"tournament" text,
"role" text
);
|
SELECT "year" FROM "achievements" WHERE "finish"='champions';
|
2-12825146-1
|
During the Tournament of 1st Division El Salvador, what was the Finish for the Team of Platense Municipal Zacatecoluca?
|
CREATE TABLE "achievements" (
"year" text,
"finish" text,
"team" text,
"tournament" text,
"role" text
);
|
SELECT "finish" FROM "achievements" WHERE "team"='platense municipal zacatecoluca' AND "tournament"='1st division el salvador';
|
2-12825146-1
|
What is the Role in the 1st Division Honduras Tournament?
|
CREATE TABLE "achievements" (
"year" text,
"finish" text,
"team" text,
"tournament" text,
"role" text
);
|
SELECT "role" FROM "achievements" WHERE "tournament"='1st division honduras';
|
2-12825146-1
|
What is the Tournament in the Year of 1986?
|
CREATE TABLE "achievements" (
"year" text,
"finish" text,
"team" text,
"tournament" text,
"role" text
);
|
SELECT "tournament" FROM "achievements" WHERE "year"='1986';
|
2-12825146-1
|
During the Tournament of Torneo Fraternidad/UNCAF Club championship, what is the Role of the Platense Municipal Zacatecoluca Team?
|
CREATE TABLE "achievements" (
"year" text,
"finish" text,
"team" text,
"tournament" text,
"role" text
);
|
SELECT "role" FROM "achievements" WHERE "team"='platense municipal zacatecoluca' AND "tournament"='torneo fraternidad/uncaf club championship';
|
2-12825146-1
|
What is the record of teams that play the yankees, and lose at mulholland (5-6)
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "opponent"='yankees' AND "loss"='mulholland (5-6)';
|
2-12206356-3
|
Which total is highest with 0 gold and more than 0 silver, in Ukraine?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MAX("total") FROM "medal_table" WHERE "gold"=0 AND "silver">0 AND "nation"='ukraine';
|
2-12392804-3
|
What is the total rank with more than 2 silver and total larger than 10?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT SUM("rank") FROM "medal_table" WHERE "silver"=2 AND "total">10;
|
2-12392804-3
|
What is the total rank with a total larger than 2, and less than 0 gold
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT SUM("rank") FROM "medal_table" WHERE "total">2 AND "gold"<0;
|
2-12392804-3
|
Which is the highest bronze with gold less than 0?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MAX("bronze") FROM "medal_table" WHERE "gold"<0;
|
2-12392804-3
|
What is the total with a rank less than 5, gold larger than 5 and bronze larger than 8?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT SUM("total") FROM "medal_table" WHERE "rank"<5 AND "gold">5 AND "bronze">8;
|
2-12392804-3
|
Result of 1st, and an Extra of 4 x 400 m relay is in what lowest year?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
|
SELECT MIN("year") FROM "achievements" WHERE "result"='1st' AND "extra"='4 x 400 m relay';
|
2-13214149-1
|
a Year smaller than 2007, and a Result of 1st is in what venue?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
|
SELECT "venue" FROM "achievements" WHERE "year"<2007 AND "result"='1st';
|
2-13214149-1
|
Venue of melbourne , australia, and a Extra of 200 m has what results?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
|
SELECT "result" FROM "achievements" WHERE "venue"='melbourne , australia' AND "extra"='200 m';
|
2-13214149-1
|
Result of 1st, and a Venue of melbourne , australia, and a Extra of 100 m happened in which year?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
|
SELECT "year" FROM "achievements" WHERE "result"='1st' AND "venue"='melbourne , australia' AND "extra"='100 m';
|
2-13214149-1
|
Name the rectifier for Det/Pre-amp of x and # tubes of 4
|
CREATE TABLE "variations_on_the_theme" (
"num_tubes" text,
"converter" text,
"det_pre_amp" text,
"audio_amp" text,
"rectifier" text
);
|
SELECT "rectifier" FROM "variations_on_the_theme" WHERE "det_pre_amp"='x' AND "num_tubes"='4';
|
2-1211626-1
|
Name the # tubes with Det/Pre-amp of x and audio amp of x x (push-pull)
|
CREATE TABLE "variations_on_the_theme" (
"num_tubes" text,
"converter" text,
"det_pre_amp" text,
"audio_amp" text,
"rectifier" text
);
|
SELECT "num_tubes" FROM "variations_on_the_theme" WHERE "det_pre_amp"='x' AND "audio_amp"='x x (push-pull)';
|
2-1211626-1
|
Name the det/pre-amp with # of tubes of 8
|
CREATE TABLE "variations_on_the_theme" (
"num_tubes" text,
"converter" text,
"det_pre_amp" text,
"audio_amp" text,
"rectifier" text
);
|
SELECT "det_pre_amp" FROM "variations_on_the_theme" WHERE "num_tubes"='8';
|
2-1211626-1
|
Name the det/pre-amp with # tubes of 4 and rectifier of x
|
CREATE TABLE "variations_on_the_theme" (
"num_tubes" text,
"converter" text,
"det_pre_amp" text,
"audio_amp" text,
"rectifier" text
);
|
SELECT "det_pre_amp" FROM "variations_on_the_theme" WHERE "num_tubes"='4' AND "rectifier"='x';
|
2-1211626-1
|
Name the # tubes with audio amp of x
|
CREATE TABLE "variations_on_the_theme" (
"num_tubes" text,
"converter" text,
"det_pre_amp" text,
"audio_amp" text,
"rectifier" text
);
|
SELECT "num_tubes" FROM "variations_on_the_theme" WHERE "audio_amp"='x';
|
2-1211626-1
|
What type of Competition has a Goal of 3?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "competition" FROM "international_goals" WHERE "goal"=3;
|
2-1257251-1
|
Which Competition has the Date July 1, 2000?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "competition" FROM "international_goals" WHERE "date"='july 1, 2000';
|
2-1257251-1
|
Which years did James Robert Jones serve?
|
CREATE TABLE "external_links" (
"representative" text,
"years" text,
"state" text,
"party" text,
"lifespan" text
);
|
SELECT "years" FROM "external_links" WHERE "representative"='james robert jones';
|
2-12600941-1
|
James Hutchins Johnson, from New Hampshire, served during what years?
|
CREATE TABLE "external_links" (
"representative" text,
"years" text,
"state" text,
"party" text,
"lifespan" text
);
|
SELECT "years" FROM "external_links" WHERE "state"='new hampshire' AND "representative"='james hutchins johnson';
|
2-12600941-1
|
Who is the team that has played more than 18 games and has 6 losses?
|
CREATE TABLE "all_time_record" (
"season" text,
"team_name" text,
"games" real,
"losses" real,
"points" real
);
|
SELECT "team_name" FROM "all_time_record" WHERE "losses"=6 AND "games">18;
|
2-12312417-1
|
Which season did the Burnaby Lakers have less than 16 points and less than 18 losses?
|
CREATE TABLE "all_time_record" (
"season" text,
"team_name" text,
"games" real,
"losses" real,
"points" real
);
|
SELECT "season" FROM "all_time_record" WHERE "points"<16 AND "losses"=18;
|
2-12312417-1
|
Which team had more than 15 losses in 1988?
|
CREATE TABLE "all_time_record" (
"season" text,
"team_name" text,
"games" real,
"losses" real,
"points" real
);
|
SELECT "team_name" FROM "all_time_record" WHERE "losses">15 AND "season"='1988';
|
2-12312417-1
|
How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?
|
CREATE TABLE "all_time_record" (
"season" text,
"team_name" text,
"games" real,
"losses" real,
"points" real
);
|
SELECT SUM("losses") FROM "all_time_record" WHERE "team_name"='burnaby lakers' AND "points"=8 AND "season"='1998' AND "games"<25;
|
2-12312417-1
|
What was the school for the player who was a DL?
|
CREATE TABLE "cfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
);
|
SELECT "school_club_team" FROM "cfl_draft" WHERE "position"='dl';
|
2-12297537-1
|
Which pick was used on Ian Hazlett?
|
CREATE TABLE "cfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
);
|
SELECT MIN("pick") FROM "cfl_draft" WHERE "player"='ian hazlett';
|
2-12297537-1
|
Which Thumb stick has a Basic shape of curved, a Backlit of yes, and a Supplier of genius?
|
CREATE TABLE "available_keypads" (
"supplier" text,
"basic_shape" text,
"keys_x_modes" text,
"wrist_pad" text,
"thumb_stick" text,
"backlit" text
);
|
SELECT "thumb_stick" FROM "available_keypads" WHERE "basic_shape"='curved' AND "backlit"='yes' AND "supplier"='genius';
|
2-12320339-1
|
Which Thumb stick has a Wrist pad of no, and a Supplier of sharkoon?
|
CREATE TABLE "available_keypads" (
"supplier" text,
"basic_shape" text,
"keys_x_modes" text,
"wrist_pad" text,
"thumb_stick" text,
"backlit" text
);
|
SELECT "thumb_stick" FROM "available_keypads" WHERE "wrist_pad"='no' AND "supplier"='sharkoon';
|
2-12320339-1
|
Which keys (x modes) have a Supplier of wolfking?
|
CREATE TABLE "available_keypads" (
"supplier" text,
"basic_shape" text,
"keys_x_modes" text,
"wrist_pad" text,
"thumb_stick" text,
"backlit" text
);
|
SELECT "keys_x_modes" FROM "available_keypads" WHERE "supplier"='wolfking';
|
2-12320339-1
|
Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+?
|
CREATE TABLE "available_keypads" (
"supplier" text,
"basic_shape" text,
"keys_x_modes" text,
"wrist_pad" text,
"thumb_stick" text,
"backlit" text
);
|
SELECT "supplier" FROM "available_keypads" WHERE "basic_shape"='flat' AND "wrist_pad"='no' AND "keys_x_modes"='25+';
|
2-12320339-1
|
Who was the opponent with the time 3:59?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" real,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "time"='3:59';
|
2-12569321-6
|
Name the Israel Bowl for march 30, 2012
|
CREATE TABLE "ifl_champions" (
"season" text,
"champion" text,
"runner_up" text,
"israel_bowl" text,
"venue" text,
"date" text,
"finals_mvp" text
);
|
SELECT "israel_bowl" FROM "ifl_champions" WHERE "date"='march 30, 2012';
|
2-12589520-1
|
Name the venue for march 28, 2008
|
CREATE TABLE "ifl_champions" (
"season" text,
"champion" text,
"runner_up" text,
"israel_bowl" text,
"venue" text,
"date" text,
"finals_mvp" text
);
|
SELECT "venue" FROM "ifl_champions" WHERE "date"='march 28, 2008';
|
2-12589520-1
|
Name the champion for israel bowl of iv
|
CREATE TABLE "ifl_champions" (
"season" text,
"champion" text,
"runner_up" text,
"israel_bowl" text,
"venue" text,
"date" text,
"finals_mvp" text
);
|
SELECT "champion" FROM "ifl_champions" WHERE "israel_bowl"='iv';
|
2-12589520-1
|
Name the season for runner up of judean rebels
|
CREATE TABLE "ifl_champions" (
"season" text,
"champion" text,
"runner_up" text,
"israel_bowl" text,
"venue" text,
"date" text,
"finals_mvp" text
);
|
SELECT "season" FROM "ifl_champions" WHERE "runner_up"='judean rebels';
|
2-12589520-1
|
On what date did the event begin that had a steam traction type and used the system named HSM (1883–1910) GT (1915–1922)?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text
);
|
SELECT "date_from" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "name_of_system"='hsm (1883–1910) gt (1915–1922)' AND "traction_type"='steam';
|
2-12562214-1
|
On what date did the event at Zaltbommel begin?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text
);
|
SELECT "date_from" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "location"='zaltbommel';
|
2-12562214-1
|
At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text
);
|
SELECT "location" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "name_of_system"='atm (1880–1911) geta (1911–1944)' AND "traction_type"='electric';
|
2-12562214-1
|
What is the to par of the player from England with a t1 place?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "to_par" FROM "third_round" WHERE "country"='england' AND "place"='t1';
|
2-12475284-6
|
What is the country sergio garcía, who has a score of 69-70-67=206, is from?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "country" FROM "third_round" WHERE "score"='69-70-67=206' AND "player"='sergio garcía';
|
2-12475284-6
|
What is the to par of the player from the United States with a t5 place?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "to_par" FROM "third_round" WHERE "country"='united states' AND "place"='t5';
|
2-12475284-6
|
What is the to par of the player from the United States with a score of 69-68-65=202?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "to_par" FROM "third_round" WHERE "country"='united states' AND "score"='69-68-65=202';
|
2-12475284-6
|
How many lanes had a rank smaller than 4 and a time of 2:01.51?
|
CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT COUNT("lane") FROM "semifinal_2" WHERE "time"='2:01.51' AND "rank"<4;
|
2-12446479-5
|
What was the time of the person in lane 7?
|
CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "time" FROM "semifinal_2" WHERE "lane"=7;
|
2-12446479-5
|
How many employees at nokia, ranked under 3?
|
CREATE TABLE "largest_employers" (
"rank" real,
"company" text,
"headquarters" text,
"industry" text,
"employees" real,
"reference_date" real
);
|
SELECT MAX("employees") FROM "largest_employers" WHERE "company"='nokia' AND "rank"<3;
|
2-12794433-3
|
The person with a rank of 8 moving to Shakhtar Donetsk was moving from what Ukrainian Football Club as a transfer?
|
CREATE TABLE "incoming_transfers" (
"rank" real,
"year" real,
"name" text,
"moving_from" text,
"moving_to" text
);
|
SELECT "moving_from" FROM "incoming_transfers" WHERE "moving_to"='shakhtar donetsk' AND "rank"=8;
|
2-12601456-1
|
Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to what football club?
|
CREATE TABLE "incoming_transfers" (
"rank" real,
"year" real,
"name" text,
"moving_from" text,
"moving_to" text
);
|
SELECT "moving_to" FROM "incoming_transfers" WHERE "year">2005 AND "rank">5 AND "name"='ismaël bangoura';
|
2-12601456-1
|
The player with a rank of 9, made a move from what football club?
|
CREATE TABLE "incoming_transfers" (
"rank" real,
"year" real,
"name" text,
"moving_from" text,
"moving_to" text
);
|
SELECT "moving_from" FROM "incoming_transfers" WHERE "rank"=9;
|
2-12601456-1
|
Moving from Nancy after 2005, what is listed as the lowest rank?
|
CREATE TABLE "incoming_transfers" (
"rank" real,
"year" real,
"name" text,
"moving_from" text,
"moving_to" text
);
|
SELECT MIN("rank") FROM "incoming_transfers" WHERE "year">2005 AND "moving_from"='nancy';
|
2-12601456-1
|
What is the listed year that has a rank smaller than 8 and moving from Olympiacos?
|
CREATE TABLE "incoming_transfers" (
"rank" real,
"year" real,
"name" text,
"moving_from" text,
"moving_to" text
);
|
SELECT "year" FROM "incoming_transfers" WHERE "rank"<8 AND "moving_from"='olympiacos';
|
2-12601456-1
|
Which team plays in Goa, Salcette?
|
CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" real
);
|
SELECT "home_venue" FROM "clubs_stadiums_and_locations" WHERE "state"='goa' AND "city"='salcette';
|
2-12375992-2
|
Where is the home venue of Bengaluru FC?
|
CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" real
);
|
SELECT "home_venue" FROM "clubs_stadiums_and_locations" WHERE "team"='bengaluru fc';
|
2-12375992-2
|
What is the state of the team who plays in Mumbai?
|
CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" real
);
|
SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "team"='mumbai';
|
2-12375992-2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.