question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the release price for the GPU frequency of standard power, embedded? | CREATE TABLE "sandy_bridge_quad_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequency" text,
"socket" text,
"i_o_bus" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "release_price_usd" FROM "sandy_bridge_quad_core_32_nm" WHERE "gpu_frequency"='standard power, embedded'; | 2-18823880-13 |
What is the socked when the turbo is 8/8/10/11? | CREATE TABLE "sandy_bridge_quad_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequency" text,
"socket" text,
"i_o_bus" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "socket" FROM "sandy_bridge_quad_core_32_nm" WHERE "turbo"='8/8/10/11'; | 2-18823880-13 |
Which round did the bout that led to a 1-0 record end in? | 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 "record"='1-0'; | 2-18916132-2 |
Which Time has a Lane smaller than 2, and a Nationality of spain? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "time" FROM "heats" WHERE "lane"<2 AND "nationality"='spain'; | 2-18624885-3 |
How many Heats have a Name of miguel molina? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT COUNT("heat") FROM "heats" WHERE "name"='miguel molina'; | 2-18624885-3 |
what is the league when the fa cup is qr4 and the fa trophy is qf? | CREATE TABLE "league_standings" (
"year" text,
"league" text,
"position" text,
"leading_scorer" text,
"fa_cup" text,
"fa_trophy" text
); | SELECT "league" FROM "league_standings" WHERE "fa_cup"='qr4' AND "fa_trophy"='qf'; | 2-18443295-5 |
what is the fa trophy when the leading scorer is lee gregory (8)? | CREATE TABLE "league_standings" (
"year" text,
"league" text,
"position" text,
"leading_scorer" text,
"fa_cup" text,
"fa_trophy" text
); | SELECT "fa_trophy" FROM "league_standings" WHERE "leading_scorer"='lee gregory (8)'; | 2-18443295-5 |
what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)? | CREATE TABLE "league_standings" (
"year" text,
"league" text,
"position" text,
"leading_scorer" text,
"fa_cup" text,
"fa_trophy" text
); | SELECT "year" FROM "league_standings" WHERE "position"='1/22 promoted' AND "leading_scorer"='james dean (27)'; | 2-18443295-5 |
When the Altrincham was the home team what was the tie no? | CREATE TABLE "third_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "third_round" WHERE "home_team"='altrincham'; | 2-18569929-6 |
Crawley Town as the home team has what as the tie no? | CREATE TABLE "third_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "third_round" WHERE "home_team"='crawley town'; | 2-18569929-6 |
What is the nationality of the swimmer with a rank over 2 with a time of 55.77? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "nationality" FROM "heats" WHERE "rank">2 AND "time"='55.77'; | 2-18624696-3 |
What is the earliest heat with a finisher from the Czech Republic and a rank over 41? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MIN("heat") FROM "heats" WHERE "nationality"='czech republic' AND "rank">41; | 2-18624696-3 |
What is the total number of heats with a finisher named Gregor Tait in lanes over 6? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT COUNT("heat") FROM "heats" WHERE "name"='gregor tait' AND "lane">6; | 2-18624696-3 |
What is the time of the swimmer in rank 40? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "time" FROM "heats" WHERE "rank"=40; | 2-18624696-3 |
From what series was Tokio Jokio, directed by Norm McCabe? | CREATE TABLE "1943" (
"title" text,
"series" text,
"director" text,
"release_date" text,
"reissue" text
); | SELECT "series" FROM "1943" WHERE "director"='norm mccabe' AND "title"='tokio jokio'; | 2-18792945-4 |
When was Inki and the Minah Bird released? | CREATE TABLE "1943" (
"title" text,
"series" text,
"director" text,
"release_date" text,
"reissue" text
); | SELECT "release_date" FROM "1943" WHERE "title"='inki and the minah bird'; | 2-18792945-4 |
From what series is Peck Up Your Troubles? | CREATE TABLE "1945" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text,
"reissue" text
); | SELECT "series" FROM "1945" WHERE "title"='peck up your troubles'; | 2-18792945-6 |
When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, what was the total of civil liberties? | CREATE TABLE "historical_rankings" (
"year" real,
"political_rights" real,
"civil_liberties" real,
"status" text,
"president" text
); | SELECT SUM("civil_liberties") FROM "historical_rankings" WHERE "political_rights"=6 AND "president"='yoweri museveni' AND "year"=1993; | 2-1840141-1 |
What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights? | CREATE TABLE "historical_rankings" (
"year" real,
"political_rights" real,
"civil_liberties" real,
"status" text,
"president" text
); | SELECT AVG("year") FROM "historical_rankings" WHERE "status"='not free' AND "civil_liberties"<7 AND "political_rights"<6; | 2-1840141-1 |
What is the least political rights rank in 1976? | CREATE TABLE "historical_rankings" (
"year" real,
"political_rights" real,
"civil_liberties" real,
"status" text,
"president" text
); | SELECT MIN("political_rights") FROM "historical_rankings" WHERE "year"=1976; | 2-1840141-1 |
What is average ratings for Japanese title of ホタルノヒカリ, with episodes larger than 9? | CREATE TABLE "2007_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "average_ratings" FROM "2007_summer_season" WHERE "episodes">9 AND "japanese_title"='ホタルノヒカリ'; | 2-18539861-3 |
Which episodes has the lowest average ratings of 8.7%? | CREATE TABLE "2007_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT MIN("episodes") FROM "2007_summer_season" WHERE "average_ratings"='8.7%'; | 2-18539861-3 |
Which romaji title, has Japanese title of 菊次郎とさき 3? | CREATE TABLE "2007_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "romaji_title" FROM "2007_summer_season" WHERE "japanese_title"='菊次郎とさき 3'; | 2-18539861-3 |
Which TV station, has romaji title of tantei gakuen q and episodes larger than 10? | CREATE TABLE "2007_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "tv_station" FROM "2007_summer_season" WHERE "episodes">10 AND "romaji_title"='tantei gakuen q'; | 2-18539861-3 |
What is the snatch for the person holding the Olympic record, and 173kg of 172kg? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"sergey_filimonov_kaz" text,
"173kg" text,
"almaty_kazakhstan" text
); | SELECT "snatch" FROM "records" WHERE "world_record"='olympic record' AND "173kg"='172kg'; | 2-18519178-2 |
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"sergey_filimonov_kaz" text,
"173kg" text,
"almaty_kazakhstan" text
); | SELECT "almaty_kazakhstan" FROM "records" WHERE "sergey_filimonov_kaz"='210kg'; | 2-18519178-2 |
What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"sergey_filimonov_kaz" text,
"173kg" text,
"almaty_kazakhstan" text
); | SELECT "sergey_filimonov_kaz" FROM "records" WHERE "snatch"='snatch'; | 2-18519178-2 |
What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"sergey_filimonov_kaz" text,
"173kg" text,
"almaty_kazakhstan" text
); | SELECT "almaty_kazakhstan" FROM "records" WHERE "sergey_filimonov_kaz"='210kg'; | 2-18519178-2 |
What is the total weeks with more 56,134 attendees against the minnesota vikings? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "attendance">'56,134' AND "opponent"='minnesota vikings'; | 2-18654522-1 |
What year was the main role a character named Guan Yu (關羽)? | CREATE TABLE "television_series" (
"year" real,
"chinese_title" text,
"english" text,
"role" text,
"character" text
); | SELECT MIN("year") FROM "television_series" WHERE "role"='main' AND "character"='guan yu (關羽)'; | 2-18932977-1 |
What is the English character for Lin Ming Kuan (林明寬)? | CREATE TABLE "television_series" (
"year" real,
"chinese_title" text,
"english" text,
"role" text,
"character" text
); | SELECT "english" FROM "television_series" WHERE "character"='lin ming kuan (林明寬)'; | 2-18932977-1 |
What character has a Year larger than 2010 with a lead role, and Chinese Title of 戀夏38℃? | CREATE TABLE "television_series" (
"year" real,
"chinese_title" text,
"english" text,
"role" text,
"character" text
); | SELECT "character" FROM "television_series" WHERE "year">2010 AND "role"='lead role' AND "chinese_title"='戀夏38℃'; | 2-18932977-1 |
What is the year that has a character named Wu Ji Wei (無極威)? | CREATE TABLE "television_series" (
"year" real,
"chinese_title" text,
"english" text,
"role" text,
"character" text
); | SELECT AVG("year") FROM "television_series" WHERE "character"='wu ji wei (無極威)'; | 2-18932977-1 |
Which Round has an Opponent of aleksandr pitchkounov? | CREATE TABLE "kickboxing_record" (
"result" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT MIN("round") FROM "kickboxing_record" WHERE "opponent"='aleksandr pitchkounov'; | 2-18722380-1 |
Which Result has a Round of 5, and an Event of mt one? | CREATE TABLE "kickboxing_record" (
"result" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "result" FROM "kickboxing_record" WHERE "round"=5 AND "event"='mt one'; | 2-18722380-1 |
Mortlake club has more than 924 against, less than 14 losses, and how many total draws? | CREATE TABLE "1948_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("draws") FROM "1948_ladder" WHERE "against">924 AND "club"='mortlake' AND "losses"<14; | 2-18628904-17 |
What is the total number of wins for Cobden club when there are more than 2 draws? | CREATE TABLE "1948_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("wins") FROM "1948_ladder" WHERE "club"='cobden' AND "draws">2; | 2-18628904-17 |
When against is 797 and wins is more than 10, what is the sum of draws? | CREATE TABLE "1948_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("draws") FROM "1948_ladder" WHERE "against"=797 AND "wins">10; | 2-18628904-17 |
Club warrnambool has less than 9 wins and what average of draws? | CREATE TABLE "1948_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("draws") FROM "1948_ladder" WHERE "wins"<9 AND "club"='warrnambool'; | 2-18628904-17 |
What is the average number of draws for Mortlake club when they have less than 0 wins? | CREATE TABLE "1948_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("draws") FROM "1948_ladder" WHERE "club"='mortlake' AND "wins"<0; | 2-18628904-17 |
Which Foreign population has a Population (2004) larger than 234733? | CREATE TABLE "subdivisions" (
"name" text,
"geographic_code" text,
"type" text,
"households" real,
"population_2004" real,
"foreign_population" real,
"moroccan_population" real
); | SELECT AVG("foreign_population") FROM "subdivisions" WHERE "population_2004">234733; | 2-1889525-1 |
Which Population (2004) has a Moroccan population larger than 234506? | CREATE TABLE "subdivisions" (
"name" text,
"geographic_code" text,
"type" text,
"households" real,
"population_2004" real,
"foreign_population" real,
"moroccan_population" real
); | SELECT AVG("population_2004") FROM "subdivisions" WHERE "moroccan_population">234506; | 2-1889525-1 |
What date was the opponent VFL Sindelfingen? | CREATE TABLE "cup" (
"round" text,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" text,
"report" text
); | SELECT "date" FROM "cup" WHERE "opponent"='vfl sindelfingen'; | 2-18591990-4 |
What date was the attendance 1,804? | CREATE TABLE "cup" (
"round" text,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" text,
"report" text
); | SELECT "date" FROM "cup" WHERE "attendance"='1,804'; | 2-18591990-4 |
Who was the opponent with an attendance of 628? | CREATE TABLE "cup" (
"round" text,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" text,
"report" text
); | SELECT "opponent" FROM "cup" WHERE "attendance"='628'; | 2-18591990-4 |
What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "bike" FROM "superbike_race_1_classification" WHERE "grid">17 AND "laps"<8 AND "rider"='milos cihak'; | 2-18543211-1 |
What is the highest grid that has gregorio lavilla as the rider? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "superbike_race_1_classification" WHERE "rider"='gregorio lavilla'; | 2-18543211-1 |
What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "superbike_race_1_classification" WHERE "laps"<20 AND "bike"='ducati 1098 rs 08' AND "time"='accident' AND "grid"<14; | 2-18543211-1 |
How many overs when there are 5231 runs and fewer than 37 matches? | CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" real,
"maidens" real,
"runs" real,
"wickets" real,
"average" real,
"best" text
); | SELECT SUM("overs") FROM "references" WHERE "runs"=5231 AND "matches"<37; | 2-18914438-1 |
What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419? | CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" real,
"maidens" real,
"runs" real,
"wickets" real,
"average" real,
"best" text
); | SELECT MIN("wickets") FROM "references" WHERE "career"='1946-1960' AND "maidens">419; | 2-18914438-1 |
What is the largest number of wickets when there are more than 630 maidens and a best of 7/72? | CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" real,
"maidens" real,
"runs" real,
"wickets" real,
"average" real,
"best" text
); | SELECT MAX("wickets") FROM "references" WHERE "maidens">630 AND "best"='7/72'; | 2-18914438-1 |
Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02? | CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" real,
"maidens" real,
"runs" real,
"wickets" real,
"average" real,
"best" text
); | SELECT "name" FROM "references" WHERE "overs"<2047.3 AND "wickets">200 AND "average">29.02; | 2-18914438-1 |
How many people attended the Scottish Cup on 29.02.2000? | CREATE TABLE "matches_played" (
"season" text,
"date" text,
"venue" text,
"competition" text,
"score" text,
"attendance" real,
"report" text
); | SELECT "attendance" FROM "matches_played" WHERE "competition"='scottish cup' AND "date"='29.02.2000'; | 2-18702248-1 |
What was the score of the league cup in the 2007-08 season? | CREATE TABLE "matches_played" (
"season" text,
"date" text,
"venue" text,
"competition" text,
"score" text,
"attendance" real,
"report" text
); | SELECT "score" FROM "matches_played" WHERE "competition"='league cup' AND "season"='2007-08'; | 2-18702248-1 |
What is the attendance in the game in the 2010-11 season, when the score was 2–0? | CREATE TABLE "matches_played" (
"season" text,
"date" text,
"venue" text,
"competition" text,
"score" text,
"attendance" real,
"report" text
); | SELECT MIN("attendance") FROM "matches_played" WHERE "season"='2010-11' AND "score"='2–0'; | 2-18702248-1 |
What team was in 1st plate in a year later than 1956? | CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
); | SELECT "1st_place_team" FROM "international_softball_league_1951_to_19" WHERE "year">1956; | 2-18618672-2 |
What location hosted when the National Cash Register, Dayton, Oh was in 4th place in 1957? | CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
); | SELECT "host_location" FROM "international_softball_league_1951_to_19" WHERE "4th_place_team"='national cash register, dayton, oh' AND "year"=1957; | 2-18618672-2 |
What year were the Hoak Packers, Fresno, CA the 4th Place Team? | CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
); | SELECT MIN("year") FROM "international_softball_league_1951_to_19" WHERE "4th_place_team"='hoak packers, fresno, ca'; | 2-18618672-2 |
What location hosted when Wells Motors, Greeley, Co was the 4th place team? | CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
); | SELECT "host_location" FROM "international_softball_league_1951_to_19" WHERE "4th_place_team"='wells motors, greeley, co'; | 2-18618672-2 |
What year was the 1st Place Team the Hoak Packers, Fresno, CA, and 4th Place was Wells Motors, Greeley, Co? | CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
); | SELECT MAX("year") FROM "international_softball_league_1951_to_19" WHERE "1st_place_team"='hoak packers, fresno, ca' AND "4th_place_team"='wells motors, greeley, co'; | 2-18618672-2 |
What year was the 4th Place Team of the Wyoming Angus, Johnstown, Co? | CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
); | SELECT COUNT("year") FROM "international_softball_league_1951_to_19" WHERE "4th_place_team"='wyoming angus, johnstown, co'; | 2-18618672-2 |
Which base has a company of Theatro Technis Karolos Koun? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "base" FROM "references" WHERE "company"='theatro technis karolos koun'; | 2-18379129-5 |
Which company has an author of Aristophanes and play of Plutus? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "company" FROM "references" WHERE "author"='aristophanes' AND "play"='plutus'; | 2-18379129-5 |
Which author has a company of the Semeio Theatre? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "author" FROM "references" WHERE "company"='semeio theatre'; | 2-18379129-5 |
Which play was done by the Radu Stanca National Theatre company? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "play" FROM "references" WHERE "company"='radu stanca national theatre'; | 2-18379129-5 |
Which play had a base of Aosta? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "play" FROM "references" WHERE "base"='aosta'; | 2-18379129-5 |
What is the country of the play based in Athens at the Attis Theatre company? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "country" FROM "references" WHERE "base"='athens' AND "company"='attis theatre'; | 2-18379129-5 |
Which Class has a Quantity larger than 96? | CREATE TABLE "tank_locomotives" (
"class" text,
"railway_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"type" text
); | SELECT "class" FROM "tank_locomotives" WHERE "quantity">96; | 2-18934662-4 |
How much Quantity has a Type of 1′c1′ h2t? | CREATE TABLE "tank_locomotives" (
"class" text,
"railway_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"type" text
); | SELECT COUNT("quantity") FROM "tank_locomotives" WHERE "type"='1′c1′ h2t'; | 2-18934662-4 |
Which Class has a Type of 1′c n2t? | CREATE TABLE "tank_locomotives" (
"class" text,
"railway_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"type" text
); | SELECT "class" FROM "tank_locomotives" WHERE "type"='1′c n2t'; | 2-18934662-4 |
Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1′c1′ h2t? | CREATE TABLE "tank_locomotives" (
"class" text,
"railway_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"type" text
); | SELECT "year_s_of_manufacture" FROM "tank_locomotives" WHERE "quantity">39 AND "type"='1′c1′ h2t'; | 2-18934662-4 |
Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t? | CREATE TABLE "tank_locomotives" (
"class" text,
"railway_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"type" text
); | SELECT "year_s_of_manufacture" FROM "tank_locomotives" WHERE "quantity"=2 AND "type"='b n2t'; | 2-18934662-4 |
what is the highest place when lost is more than 4, points is less than 18 and team is Team of atlético veragüense? | CREATE TABLE "standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("place") FROM "standings" WHERE "lost">4 AND "points"<18 AND "team"='atlético veragüense'; | 2-18704095-5 |
what is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4? | CREATE TABLE "standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("lost") FROM "standings" WHERE "place">4 AND "goals_scored"=12 AND "points">4; | 2-18704095-5 |
how many times is the team tauro and played less than 18? | CREATE TABLE "standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("place") FROM "standings" WHERE "team"='tauro' AND "played"<18; | 2-18704095-5 |
what is the least played when points is 36 and place is more than 2? | CREATE TABLE "standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("played") FROM "standings" WHERE "points"=36 AND "place">2; | 2-18704095-5 |
what is the average points when goals conceded is 14 and goals scored is less than 32? | CREATE TABLE "standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT AVG("points") FROM "standings" WHERE "goals_conceded"=14 AND "goals_scored"<32; | 2-18704095-5 |
Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "week">1 AND "attendance"='69,149' AND "opponent"='seattle seahawks'; | 2-18721582-1 |
How many weeks in total has bye as the date? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='bye'; | 2-18721582-1 |
What country does Tiger Woods come from? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "player"='tiger woods'; | 2-18811891-7 |
What's the Ri Song-Hui when the olympic record is the world record and snatch was snatch? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"ri_song_hui_prk" text,
"102kg" text,
"busan_south_korea" text
); | SELECT "ri_song_hui_prk" FROM "records" WHERE "world_record"='olympic record' AND "snatch"='snatch'; | 2-18547439-2 |
What's the 102kg when the Ri Song-Hui was 226kg? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"ri_song_hui_prk" text,
"102kg" text,
"busan_south_korea" text
); | SELECT "102kg" FROM "records" WHERE "ri_song_hui_prk"='226kg'; | 2-18547439-2 |
What's the 102kg when the snatch was snatch and the olympic record was the world record? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"ri_song_hui_prk" text,
"102kg" text,
"busan_south_korea" text
); | SELECT "102kg" FROM "records" WHERE "world_record"='olympic record' AND "snatch"='snatch'; | 2-18547439-2 |
What was the average pick made by the Texas Rangers? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT AVG("pick") FROM "first_round_selections" WHERE "team"='texas rangers'; | 2-18705890-1 |
What was the home town of Bob Geren, picked by the San Diego Padres? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT "hometown_school" FROM "first_round_selections" WHERE "team"='san diego padres' AND "player"='bob geren'; | 2-18705890-1 |
What was the position of Jon Perlman? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT "position" FROM "first_round_selections" WHERE "player"='jon perlman'; | 2-18705890-1 |
What college has a pick smaller than 87 for the position of tackle? | CREATE TABLE "eleventh_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "eleventh_round" WHERE "position"='tackle' AND "pick"<87; | 2-18652198-11 |
What college had the pick of 85? | CREATE TABLE "eleventh_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "eleventh_round" WHERE "pick"=85; | 2-18652198-11 |
What are the least losses of Mortlake having less than 970 against? | CREATE TABLE "1934_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("losses") FROM "1934_ladder" WHERE "club"='mortlake' AND "against"<970; | 2-18628904-8 |
What's the total against when the draws are more than 0? | CREATE TABLE "1934_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("against") FROM "1934_ladder" WHERE "draws">0; | 2-18628904-8 |
What's the total wins when the draws are less than 0? | CREATE TABLE "1934_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("wins") FROM "1934_ladder" WHERE "draws"<0; | 2-18628904-8 |
What's the least against number for Cobden with draws more than 0? | CREATE TABLE "1934_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("against") FROM "1934_ladder" WHERE "club"='cobden' AND "draws">0; | 2-18628904-8 |
What's the most against when the draws are more than 0? | CREATE TABLE "1934_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("against") FROM "1934_ladder" WHERE "draws">0; | 2-18628904-8 |
What are the total wins when there are 1261 against? | CREATE TABLE "1934_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("wins") FROM "1934_ladder" WHERE "against"=1261; | 2-18628904-8 |
What is the notes entry for the row with a Time of 1:42.309? | CREATE TABLE "heat_1" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "notes" FROM "heat_1" WHERE "time"='1:42.309'; | 2-18646660-3 |
What is the rank for China? | CREATE TABLE "heat_1" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT SUM("rank") FROM "heat_1" WHERE "country"='china'; | 2-18646660-3 |
What is the time for Cuba, with a notes entry of QS? | CREATE TABLE "heat_1" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "time" FROM "heat_1" WHERE "notes"='qs' AND "country"='cuba'; | 2-18646660-3 |
What is the Week number on October 10, 1976? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='october 10, 1976'; | 2-18843099-2 |
What is the Date of the game with a Result of L 33–14? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "result"='l 33–14'; | 2-18843099-2 |
The Major third of D has what for the Augmented fifth? | CREATE TABLE "augmented_seventh_chord_table" (
"chord" text,
"root" text,
"major_third" text,
"augmented_fifth" text,
"minor_seventh" text
); | SELECT "augmented_fifth" FROM "augmented_seventh_chord_table" WHERE "major_third"='d'; | 2-18538586-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.