question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
How many poles does status grand prix have?
|
CREATE TABLE "champions" (
"season" text,
"team" text,
"racing_team" text,
"chassis" text,
"engine" text,
"tyres" text,
"drivers" text,
"wins" text,
"sprints_wins" text,
"main_wins" text,
"poles" text,
"fastest_laps" text,
"points" text
);
|
SELECT "poles" FROM "champions" WHERE "racing_team"='status grand prix';
|
2-12868148-2
|
Question does not make sense since there was no record of 88-74
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "record"='88-74';
|
2-12206234-7
|
What is the award type for all Lowe awards?
|
CREATE TABLE "individual" (
"date" text,
"country" text,
"name" text,
"award" text,
"notes" text
);
|
SELECT "award" FROM "individual" WHERE "name"='lowe';
|
2-12964478-4
|
Which engine(s) has a year of 1966, and a point of 42.
|
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
|
SELECT "engine_s" FROM "complete_world_championship_formula_one_" WHERE "year"=1966 AND "points"='42';
|
2-12723379-1
|
What was the score against hapoel tel aviv?
|
CREATE TABLE "pre_season" (
"match" real,
"date" text,
"competition_or_tour" text,
"ground" text,
"opponent" text,
"score1" text
);
|
SELECT "score1" FROM "pre_season" WHERE "opponent"='hapoel tel aviv';
|
2-12666456-12
|
What day did they play cambridge united?
|
CREATE TABLE "pre_season" (
"match" real,
"date" text,
"competition_or_tour" text,
"ground" text,
"opponent" text,
"score1" text
);
|
SELECT "date" FROM "pre_season" WHERE "opponent"='cambridge united';
|
2-12666456-12
|
Where was match 8 played?
|
CREATE TABLE "pre_season" (
"match" real,
"date" text,
"competition_or_tour" text,
"ground" text,
"opponent" text,
"score1" text
);
|
SELECT "ground" FROM "pre_season" WHERE "match"=8;
|
2-12666456-12
|
What is the name of the person with a PWin% of .696?
|
CREATE TABLE "coaches" (
"name_b" text,
"term_c" text,
"games" real,
"winpct" real,
"p_winpct" text
);
|
SELECT "name_b" FROM "coaches" WHERE "p_winpct"='.696';
|
2-1230465-2
|
What is the sum of the game with a PWin% of —, Term [c] of 1987–1988, and Win% less than 0.506?
|
CREATE TABLE "coaches" (
"name_b" text,
"term_c" text,
"games" real,
"winpct" real,
"p_winpct" text
);
|
SELECT SUM("games") FROM "coaches" WHERE "p_winpct"='—' AND "term_c"='1987–1988' AND "winpct"<0.506;
|
2-1230465-2
|
What is the win% for the game 80 and a PWin% of —, and a Term [c ] of 1987–1988?
|
CREATE TABLE "coaches" (
"name_b" text,
"term_c" text,
"games" real,
"winpct" real,
"p_winpct" text
);
|
SELECT "winpct" FROM "coaches" WHERE "games"=80 AND "p_winpct"='—' AND "term_c"='1987–1988';
|
2-1230465-2
|
What is the of games when for the term [c] of 1969 – 1973?
|
CREATE TABLE "coaches" (
"name_b" text,
"term_c" text,
"games" real,
"winpct" real,
"p_winpct" text
);
|
SELECT SUM("games") FROM "coaches" WHERE "term_c"='1969 – 1973';
|
2-1230465-2
|
What was the method of execution on September 24, 1830?
|
CREATE TABLE "under_u_s_jurisdiction_territorial" (
"name" text,
"date_of_execution" text,
"crime" text,
"method" text,
"race" text
);
|
SELECT "method" FROM "under_u_s_jurisdiction_territorial" WHERE "date_of_execution"='september 24, 1830';
|
2-12792829-2
|
How was the native american, Wau-Bau-Ne-Me-Mee, executed?
|
CREATE TABLE "under_u_s_jurisdiction_territorial" (
"name" text,
"date_of_execution" text,
"crime" text,
"method" text,
"race" text
);
|
SELECT "method" FROM "under_u_s_jurisdiction_territorial" WHERE "race"='native american' AND "name"='wau-bau-ne-me-mee';
|
2-12792829-2
|
What was the race of the person executed on December 27, 1827?
|
CREATE TABLE "under_u_s_jurisdiction_territorial" (
"name" text,
"date_of_execution" text,
"crime" text,
"method" text,
"race" text
);
|
SELECT "race" FROM "under_u_s_jurisdiction_territorial" WHERE "date_of_execution"='december 27, 1827';
|
2-12792829-2
|
In what way was Kewaubis executed on December 27, 1827?
|
CREATE TABLE "under_u_s_jurisdiction_territorial" (
"name" text,
"date_of_execution" text,
"crime" text,
"method" text,
"race" text
);
|
SELECT "method" FROM "under_u_s_jurisdiction_territorial" WHERE "date_of_execution"='december 27, 1827' AND "name"='kewaubis';
|
2-12792829-2
|
How was the native american executed in July 1836?
|
CREATE TABLE "under_u_s_jurisdiction_territorial" (
"name" text,
"date_of_execution" text,
"crime" text,
"method" text,
"race" text
);
|
SELECT "method" FROM "under_u_s_jurisdiction_territorial" WHERE "race"='native american' AND "date_of_execution"='july 1836';
|
2-12792829-2
|
How many draws have 1 win, 1 loss, and a Goal Differential of +1?
|
CREATE TABLE "head_to_head_records_against_other_count" (
"games" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_differential" text
);
|
SELECT SUM("draws") FROM "head_to_head_records_against_other_count" WHERE "wins"=1 AND "losses"=1 AND "goal_differential"='+1';
|
2-1238889-5
|
What genre is Led Zeppelin?
|
CREATE TABLE "250_million_or_more_records" (
"artist" text,
"country_of_origin" text,
"period_active" text,
"release_year_of_first_charted_record" real,
"genre" text,
"claimed_sales" text
);
|
SELECT "genre" FROM "250_million_or_more_records" WHERE "artist"='led zeppelin';
|
2-1291598-1
|
On what date was the Loss by Flanagan (6-7)?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "loss"='flanagan (6-7)';
|
2-12207158-5
|
During which loss was the record 48-50?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "loss" FROM "game_log" WHERE "record"='48-50';
|
2-12207158-5
|
What was the score that made the record 47-49?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "record"='47-49';
|
2-12207158-5
|
Who was the Opponent on July 29?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "date"='july 29';
|
2-12207158-5
|
What was the record during the loss by key (7-11)?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "loss"='key (7-11)';
|
2-12207158-5
|
What is the total diagram for builder york?
|
CREATE TABLE "list_of_preserved_rm_bs" (
"lot_no" real,
"diagram" real,
"built" text,
"builder" text,
"fleet_numbers" text
);
|
SELECT SUM("diagram") FROM "list_of_preserved_rm_bs" WHERE "builder"='york';
|
2-12444110-1
|
What fleet numbers have a diagram less than 99 and built in 1960?
|
CREATE TABLE "list_of_preserved_rm_bs" (
"lot_no" real,
"diagram" real,
"built" text,
"builder" text,
"fleet_numbers" text
);
|
SELECT "fleet_numbers" FROM "list_of_preserved_rm_bs" WHERE "diagram"<99 AND "built"='1960';
|
2-12444110-1
|
What diagram built in 1962 has a lot number smaller than 30702?
|
CREATE TABLE "list_of_preserved_rm_bs" (
"lot_no" real,
"diagram" real,
"built" text,
"builder" text,
"fleet_numbers" text
);
|
SELECT MIN("diagram") FROM "list_of_preserved_rm_bs" WHERE "built"='1962' AND "lot_no"<30702;
|
2-12444110-1
|
What builder has lot number 30702?
|
CREATE TABLE "list_of_preserved_rm_bs" (
"lot_no" real,
"diagram" real,
"built" text,
"builder" text,
"fleet_numbers" text
);
|
SELECT "builder" FROM "list_of_preserved_rm_bs" WHERE "lot_no"=30702;
|
2-12444110-1
|
Which Genre has a Year before 2013, and a Name of kikumana?
|
CREATE TABLE "works" (
"year" real,
"name" text,
"genre" text,
"status" text,
"post" text
);
|
SELECT "genre" FROM "works" WHERE "year"<2013 AND "name"='kikumana';
|
2-13077577-1
|
In what year has a Post of designer?
|
CREATE TABLE "works" (
"year" real,
"name" text,
"genre" text,
"status" text,
"post" text
);
|
SELECT SUM("year") FROM "works" WHERE "post"='designer';
|
2-13077577-1
|
Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?
|
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
|
SELECT "visitor" FROM "game_log" WHERE "home"='boston bruins' AND "date"='november 15';
|
2-12784353-2
|
Which Visitor is listed as having a Date of December 17?
|
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
|
SELECT "visitor" FROM "game_log" WHERE "date"='december 17';
|
2-12784353-2
|
What's the Score with the Visitor of Montreal Maroons and has a Date of December 28?
|
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "visitor"='montreal maroons' AND "date"='december 28';
|
2-12784353-2
|
What's the attendance of the san diego chargers game before week 6?
|
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT COUNT("attendance") FROM "season_schedule" WHERE "week"<6 AND "opponent"='san diego chargers';
|
2-12676700-1
|
How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events?
|
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
);
|
SELECT COUNT("wins") FROM "summary" WHERE "top_25"=1 AND "cuts_made"<2 AND "events"<5;
|
2-12775262-4
|
How many events have a Top-25 of 1 and made less than 1 cut?
|
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
);
|
SELECT MAX("events") FROM "summary" WHERE "top_25"=1 AND "cuts_made"<1;
|
2-12775262-4
|
During the PGA Championship, what's the lowest amount of events with wins greater than 0?
|
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
);
|
SELECT MIN("events") FROM "summary" WHERE "tournament"='pga championship' AND "wins">0;
|
2-12775262-4
|
What's the lowest number of cuts made while the win was less than 0?
|
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
);
|
SELECT MIN("cuts_made") FROM "summary" WHERE "wins"<0;
|
2-12775262-4
|
Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971?
|
CREATE TABLE "reactor_data" (
"unit" text,
"reactortype" text,
"net_capacity" text,
"gross_capacity" text,
"construction_started" text,
"electricity_grid" text,
"commercial_operation" text,
"shutdown" text
);
|
SELECT "reactortype" FROM "reactor_data" WHERE "gross_capacity"='417 mw' AND "electricity_grid"='27.12.1971';
|
2-12805568-1
|
Which Unit's Construction started on 01.07.1967?
|
CREATE TABLE "reactor_data" (
"unit" text,
"reactortype" text,
"net_capacity" text,
"gross_capacity" text,
"construction_started" text,
"electricity_grid" text,
"commercial_operation" text,
"shutdown" text
);
|
SELECT "unit" FROM "reactor_data" WHERE "construction_started"='01.07.1967';
|
2-12805568-1
|
Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?
|
CREATE TABLE "reactor_data" (
"unit" text,
"reactortype" text,
"net_capacity" text,
"gross_capacity" text,
"construction_started" text,
"electricity_grid" text,
"commercial_operation" text,
"shutdown" text
);
|
SELECT "commercial_operation" FROM "reactor_data" WHERE "gross_capacity"='417 mw' AND "electricity_grid"='27.12.1971';
|
2-12805568-1
|
When did the Electricity Grid 28.12.1972 officially shutdown?
|
CREATE TABLE "reactor_data" (
"unit" text,
"reactortype" text,
"net_capacity" text,
"gross_capacity" text,
"construction_started" text,
"electricity_grid" text,
"commercial_operation" text,
"shutdown" text
);
|
SELECT "shutdown" FROM "reactor_data" WHERE "electricity_grid"='28.12.1972';
|
2-12805568-1
|
Which Electricity Grid started its Commercial Operation of 24.03.1973?
|
CREATE TABLE "reactor_data" (
"unit" text,
"reactortype" text,
"net_capacity" text,
"gross_capacity" text,
"construction_started" text,
"electricity_grid" text,
"commercial_operation" text,
"shutdown" text
);
|
SELECT "electricity_grid" FROM "reactor_data" WHERE "commercial_operation"='24.03.1973';
|
2-12805568-1
|
Tell what has the App(GS/Sub) of 14 (8/6)
|
CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" real,
"app_gs_sub" text,
"goals" real,
"transfer_fee" text
);
|
SELECT "name" FROM "squad_information" WHERE "app_gs_sub"='14 (8/6)';
|
2-12264282-2
|
Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)
|
CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" real,
"app_gs_sub" text,
"goals" real,
"transfer_fee" text
);
|
SELECT "goals" FROM "squad_information" WHERE "since"<2007 AND "app_gs_sub"='97 (69/28)';
|
2-12264282-2
|
When is Cadott Rock Fest taken place?
|
CREATE TABLE "hit_n_run_shows" (
"date" text,
"city" text,
"country" text,
"venue" text,
"attendance" text
);
|
SELECT "date" FROM "hit_n_run_shows" WHERE "venue"='cadott rock fest';
|
2-12946465-1
|
Which City has mandalay bay resort
|
CREATE TABLE "hit_n_run_shows" (
"date" text,
"city" text,
"country" text,
"venue" text,
"attendance" text
);
|
SELECT "city" FROM "hit_n_run_shows" WHERE "venue"='mandalay bay resort';
|
2-12946465-1
|
Which City has a Date on october 26, 2007
|
CREATE TABLE "hit_n_run_shows" (
"date" text,
"city" text,
"country" text,
"venue" text,
"attendance" text
);
|
SELECT "city" FROM "hit_n_run_shows" WHERE "date"='october 26, 2007';
|
2-12946465-1
|
Which Attendance has Mandalay Bay Resort
|
CREATE TABLE "hit_n_run_shows" (
"date" text,
"city" text,
"country" text,
"venue" text,
"attendance" text
);
|
SELECT "attendance" FROM "hit_n_run_shows" WHERE "venue"='mandalay bay resort';
|
2-12946465-1
|
When is Country of united states, and a Venue of mandalay bay resort in?
|
CREATE TABLE "hit_n_run_shows" (
"date" text,
"city" text,
"country" text,
"venue" text,
"attendance" text
);
|
SELECT "date" FROM "hit_n_run_shows" WHERE "country"='united states' AND "venue"='mandalay bay resort';
|
2-12946465-1
|
When has a City of san jacinto, california?
|
CREATE TABLE "hit_n_run_shows" (
"date" text,
"city" text,
"country" text,
"venue" text,
"attendance" text
);
|
SELECT "date" FROM "hit_n_run_shows" WHERE "city"='san jacinto, california';
|
2-12946465-1
|
Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952?
|
CREATE TABLE "complete_world_championship_grand_prix_r" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT "chassis" FROM "complete_world_championship_grand_prix_r" WHERE "points">0 AND "entrant"='scuderia ferrari' AND "year">1952;
|
2-1235869-1
|
Which Entrant has a vanwall straight-4 engine?
|
CREATE TABLE "complete_world_championship_grand_prix_r" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT "entrant" FROM "complete_world_championship_grand_prix_r" WHERE "engine"='vanwall straight-4';
|
2-1235869-1
|
Which region has a date of 1970?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
);
|
SELECT "region" FROM "release_history" WHERE "date"='1970';
|
2-12779865-2
|
Which label has a date of 1987?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
);
|
SELECT "label" FROM "release_history" WHERE "date"='1987';
|
2-12779865-2
|
Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
);
|
SELECT "catalogue" FROM "release_history" WHERE "format"='cd remastered with 3 bonus tracks';
|
2-12779865-2
|
Which catalogue has a date of 1987?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
);
|
SELECT "catalogue" FROM "release_history" WHERE "date"='1987';
|
2-12779865-2
|
What is the latest season where Al Ahly is the runners-up?
|
CREATE TABLE "performances" (
"season" real,
"host" text,
"winners" text,
"score" text,
"runners_up" text,
"third_place" text
);
|
SELECT MAX("season") FROM "performances" WHERE "runners_up"='al ahly';
|
2-1248592-2
|
What is the season where Vasco da gama is the score?
|
CREATE TABLE "performances" (
"season" real,
"host" text,
"winners" text,
"score" text,
"runners_up" text,
"third_place" text
);
|
SELECT "season" FROM "performances" WHERE "score"='vasco da gama';
|
2-1248592-2
|
Who is the winner in 2010?
|
CREATE TABLE "performances" (
"season" real,
"host" text,
"winners" text,
"score" text,
"runners_up" text,
"third_place" text
);
|
SELECT "winners" FROM "performances" WHERE "season"=2010;
|
2-1248592-2
|
Who is the winner in 2011?
|
CREATE TABLE "performances" (
"season" real,
"host" text,
"winners" text,
"score" text,
"runners_up" text,
"third_place" text
);
|
SELECT "winners" FROM "performances" WHERE "season"=2011;
|
2-1248592-2
|
What was the third place of the performance in 2006 with the host Japan?
|
CREATE TABLE "performances" (
"season" real,
"host" text,
"winners" text,
"score" text,
"runners_up" text,
"third_place" text
);
|
SELECT "third_place" FROM "performances" WHERE "host"='japan' AND "season"<2006;
|
2-1248592-2
|
Which round did Dundee United end in?
|
CREATE TABLE "uefa_cup_winners_cup" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
);
|
SELECT "round" FROM "uefa_cup_winners_cup" WHERE "club"='dundee united';
|
2-1312112-3
|
Name the event with pursuit of 18th and sprint of 20th
|
CREATE TABLE "olympic_games" (
"event" text,
"individual" text,
"sprint" text,
"pursuit" text,
"mass_start" text,
"relay" text
);
|
SELECT "event" FROM "olympic_games" WHERE "pursuit"='18th' AND "sprint"='20th';
|
2-1269400-1
|
Name the pursuit for 1994 lillehammer
|
CREATE TABLE "olympic_games" (
"event" text,
"individual" text,
"sprint" text,
"pursuit" text,
"mass_start" text,
"relay" text
);
|
SELECT "pursuit" FROM "olympic_games" WHERE "event"='1994 lillehammer';
|
2-1269400-1
|
Name the sprint with mass start of 2nd
|
CREATE TABLE "olympic_games" (
"event" text,
"individual" text,
"sprint" text,
"pursuit" text,
"mass_start" text,
"relay" text
);
|
SELECT "sprint" FROM "olympic_games" WHERE "mass_start"='2nd';
|
2-1269400-1
|
What country had a film in 1993?
|
CREATE TABLE "1990s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
);
|
SELECT "country" FROM "1990s" WHERE "year"=1993;
|
2-12788276-4
|
Where was Extreme Challenge 63 with a time of 2:00 held?
|
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
|
SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='extreme challenge 63' AND "time"='2:00';
|
2-13041983-2
|
How many total rounds were there at UFC 114?
|
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
|
SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "event"='ufc 114';
|
2-13041983-2
|
In the round that lasted 0:20, what was the Res?
|
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
|
SELECT "res" FROM "mixed_martial_arts_record" WHERE "time"='0:20';
|
2-13041983-2
|
In what City was the Ept Baden Classic?
|
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
|
SELECT "city" FROM "european_poker_tour" WHERE "event"='ept baden classic';
|
2-1296513-4
|
What Event has a Prize of €869,000?
|
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
|
SELECT "event" FROM "european_poker_tour" WHERE "prize"='€869,000';
|
2-1296513-4
|
What Winner had a Prize of zł2,153,999?
|
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
|
SELECT "winner" FROM "european_poker_tour" WHERE "prize"='zł2,153,999';
|
2-1296513-4
|
How many decile has a roll less than 20?
|
CREATE TABLE "queenstown_lakes_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT AVG("decile") FROM "queenstown_lakes_district" WHERE "roll"<20;
|
2-12303251-3
|
Which gender had a roll of 627?
|
CREATE TABLE "queenstown_lakes_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT "gender" FROM "queenstown_lakes_district" WHERE "roll"=627;
|
2-12303251-3
|
Glenorchy school has a decile less than 10 and is in what area?
|
CREATE TABLE "queenstown_lakes_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT "area" FROM "queenstown_lakes_district" WHERE "decile"<10 AND "name"='glenorchy school';
|
2-12303251-3
|
Makarora primary school has a roll less than 141 and what gender?
|
CREATE TABLE "queenstown_lakes_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT "gender" FROM "queenstown_lakes_district" WHERE "roll"<141 AND "name"='makarora primary school';
|
2-12303251-3
|
In what season did the Sporting CP Club have a 1. round?
|
CREATE TABLE "uefa_champions_league" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
);
|
SELECT "season" FROM "uefa_champions_league" WHERE "round"='1. round' AND "club"='sporting cp';
|
2-1312112-6
|
The Club of Ekranas was an away with a score of what?
|
CREATE TABLE "uefa_champions_league" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
);
|
SELECT "away" FROM "uefa_champions_league" WHERE "club"='ekranas';
|
2-1312112-6
|
What is Rhiannon Leier's lane?
|
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "lane" FROM "semifinal_1" WHERE "name"='rhiannon leier';
|
2-12382578-3
|
What pennant does Narbada have?
|
CREATE TABLE "class" (
"name" text,
"pennant" text,
"builder" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "pennant" FROM "class" WHERE "name"='narbada';
|
2-1220125-2
|
What date was the U21 pennant laid down?
|
CREATE TABLE "class" (
"name" text,
"pennant" text,
"builder" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "laid_down" FROM "class" WHERE "pennant"='u21';
|
2-1220125-2
|
What position went lower than 106 from the College of Virginia?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "overall"<106 AND "college"='virginia';
|
2-13312898-6
|
What is the lowest round a fullback went in?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT MIN("round") FROM "indianapolis_colts_draft_history" WHERE "position"='fullback';
|
2-13312898-6
|
Name the province with rank more than 49
|
CREATE TABLE "the_50_most_topographically_isolated_mou" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "province" FROM "the_50_most_topographically_isolated_mou" WHERE "rank">49;
|
2-12679495-3
|
Name the mountain peak with location of 46.7000°n 60.5992°w
|
CREATE TABLE "the_50_most_topographically_isolated_mou" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "location"='46.7000°n 60.5992°w';
|
2-12679495-3
|
Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w
|
CREATE TABLE "the_50_most_topographically_isolated_mou" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "rank"<6 AND "location"='81.9083°n 75.0250°w';
|
2-12679495-3
|
Name the mountain range for nunavut with location of 73.2294°n 78.6233°w
|
CREATE TABLE "the_50_most_topographically_isolated_mou" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "mountain_range" FROM "the_50_most_topographically_isolated_mou" WHERE "province"='nunavut' AND "location"='73.2294°n 78.6233°w';
|
2-12679495-3
|
Name the mountain peak of 49 rank
|
CREATE TABLE "the_50_most_topographically_isolated_mou" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "rank"=49;
|
2-12679495-3
|
What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR?
|
CREATE TABLE "references" (
"county" text,
"live_births_2006" real,
"gfr_2006" real,
"tfr_2006" real,
"whites_as_pct_of_pop" text
);
|
SELECT SUM("live_births_2006") FROM "references" WHERE "whites_as_pct_of_pop"='98.40%' AND "tfr_2006">2;
|
2-12251936-1
|
What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?
|
CREATE TABLE "references" (
"county" text,
"live_births_2006" real,
"gfr_2006" real,
"tfr_2006" real,
"whites_as_pct_of_pop" text
);
|
SELECT MIN("gfr_2006") FROM "references" WHERE "whites_as_pct_of_pop"='95.80%' AND "tfr_2006">2.14;
|
2-12251936-1
|
In 2006, what is the highest number for Live births in the County of Cumbria that has a TFR larger than 1.76?
|
CREATE TABLE "references" (
"county" text,
"live_births_2006" real,
"gfr_2006" real,
"tfr_2006" real,
"whites_as_pct_of_pop" text
);
|
SELECT MAX("live_births_2006") FROM "references" WHERE "county"='cumbria' AND "tfr_2006">1.76;
|
2-12251936-1
|
Question doesn't make sense since there is no team of pramac d'antin ducati
|
CREATE TABLE "grand_prix_career_statistics" (
"year" real,
"class" text,
"team" text,
"machine" text,
"points" real,
"rank" text,
"wins" real
);
|
SELECT MIN("year") FROM "grand_prix_career_statistics" WHERE "team"='pramac d''antin ducati';
|
2-12185077-3
|
Which player from the Ironi Nahariya club was born in 1980?
|
CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
);
|
SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='ironi nahariya' AND "year_born"=1980;
|
2-12962773-2
|
Which position from the Cherkassy Monkeys' club was born after 1978?
|
CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
);
|
SELECT "position" FROM "fiba_euro_basket_2007_squads" WHERE "year_born">1978 AND "current_club"='cherkassy monkeys';
|
2-12962773-2
|
What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?
|
CREATE TABLE "north_america" (
"rank" real,
"circuit" text,
"headquarters" text,
"screens" real,
"sites" real
);
|
SELECT AVG("rank") FROM "north_america" WHERE "headquarters"='toronto, on' AND "screens"<'1,438';
|
2-13274048-1
|
what is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment?
|
CREATE TABLE "north_america" (
"rank" real,
"circuit" text,
"headquarters" text,
"screens" real,
"sites" real
);
|
SELECT SUM("rank") FROM "north_america" WHERE "sites">62 AND "circuit"='cineplex entertainment';
|
2-13274048-1
|
what is the number of sites when the number of screens is 687 and rank is more than 7?
|
CREATE TABLE "north_america" (
"rank" real,
"circuit" text,
"headquarters" text,
"screens" real,
"sites" real
);
|
SELECT AVG("sites") FROM "north_america" WHERE "screens"=687 AND "rank">7;
|
2-13274048-1
|
what is the lowest number of sites when the headquarters are in columbus, ga and the rank is smaller than 4?
|
CREATE TABLE "north_america" (
"rank" real,
"circuit" text,
"headquarters" text,
"screens" real,
"sites" real
);
|
SELECT MIN("sites") FROM "north_america" WHERE "headquarters"='columbus, ga' AND "rank"<4;
|
2-13274048-1
|
What is the Other transliteration for value 1 000?
|
CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"other" text,
"notes" text
);
|
SELECT "other" FROM "numbers_from_100_10_000_000" WHERE "value"='1 000';
|
2-1270572-6
|
What is the word form for the ALA-LC transliteration of muay s″ain?
|
CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"other" text,
"notes" text
);
|
SELECT "word_form" FROM "numbers_from_100_10_000_000" WHERE "ala_lc"='muay s″ain';
|
2-1270572-6
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.