question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
what type of game has the resuts of 1:0? | CREATE TABLE "1973" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "type_of_game" FROM "1973" WHERE "results"='1:0'; | 2-14305653-51 |
What is the average Games for 1965–1981, and a Ranking larger than 4? | CREATE TABLE "all_time_most_appearances" (
"ranking" real,
"nationality" text,
"name" text,
"games" real,
"years" text
); | SELECT AVG("games") FROM "all_time_most_appearances" WHERE "years"='1965–1981' AND "ranking">4; | 2-14707564-2 |
What is the Years when games shows 550? | CREATE TABLE "all_time_most_appearances" (
"ranking" real,
"nationality" text,
"name" text,
"games" real,
"years" text
); | SELECT "years" FROM "all_time_most_appearances" WHERE "games"=550; | 2-14707564-2 |
What is the Nationality that shows 4 as the ranking? | CREATE TABLE "all_time_most_appearances" (
"ranking" real,
"nationality" text,
"name" text,
"games" real,
"years" text
); | SELECT "nationality" FROM "all_time_most_appearances" WHERE "ranking"=4; | 2-14707564-2 |
Which location has a copies per particle of 0 and a protein of nsp3? | CREATE TABLE "rotavirus_genes_and_proteins" (
"rna_segment_gene" real,
"size_s_base_pair" real,
"protein" text,
"molecular_weight_k_da" text,
"location" text,
"copies_per_particle" text
); | SELECT "location" FROM "rotavirus_genes_and_proteins" WHERE "copies_per_particle"='0' AND "protein"='nsp3'; | 2-140968-1 |
How many copies per particle does the protein nsp2 have? | CREATE TABLE "rotavirus_genes_and_proteins" (
"rna_segment_gene" real,
"size_s_base_pair" real,
"protein" text,
"molecular_weight_k_da" text,
"location" text,
"copies_per_particle" text
); | SELECT "copies_per_particle" FROM "rotavirus_genes_and_proteins" WHERE "protein"='nsp2'; | 2-140968-1 |
What is the highest RNA segment having a protein of vp2 and a base pair size over 2690? | CREATE TABLE "rotavirus_genes_and_proteins" (
"rna_segment_gene" real,
"size_s_base_pair" real,
"protein" text,
"molecular_weight_k_da" text,
"location" text,
"copies_per_particle" text
); | SELECT MAX("rna_segment_gene") FROM "rotavirus_genes_and_proteins" WHERE "protein"='vp2' AND "size_s_base_pair">2690; | 2-140968-1 |
What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751? | CREATE TABLE "rotavirus_genes_and_proteins" (
"rna_segment_gene" real,
"size_s_base_pair" real,
"protein" text,
"molecular_weight_k_da" text,
"location" text,
"copies_per_particle" text
); | SELECT "copies_per_particle" FROM "rotavirus_genes_and_proteins" WHERE "location"='nonstructural' AND "rna_segment_gene">5 AND "size_s_base_pair"<751; | 2-140968-1 |
Who won the bronze medal in Hiroshima? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "bronze" FROM "individual" WHERE "location"='hiroshima'; | 2-14662246-2 |
Who won the silver medal in the games where Hong Chia-yuh took home bronze? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "silver" FROM "individual" WHERE "bronze"='hong chia-yuh'; | 2-14662246-2 |
Where did Michael Eric Bibat win bronze? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "location" FROM "individual" WHERE "bronze"='michael eric bibat'; | 2-14662246-2 |
Who won gold in the games where Pan Cheng-Tsung won silver? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "gold" FROM "individual" WHERE "silver"='pan cheng-tsung'; | 2-14662246-2 |
How many Bronzes that has a Silver of 0, and a Gold of 0, and a Nation of denmark, and a Total larger than 1? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "silver"=0 AND "gold"=0 AND "nation"='denmark' AND "total">1; | 2-14129554-2 |
How many Bronzes that has a Nation of italy? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "nation"='italy'; | 2-14129554-2 |
How many Silvers that has a Gold smaller than 1, and a Rank of 9, and a Total smaller than 1? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("silver") FROM "medal_table" WHERE "gold"<1 AND "rank"='9' AND "total"<1; | 2-14129554-2 |
Which Bronze has a Nation of spain? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "nation"='spain'; | 2-14129554-2 |
Who was the opponent at the competition held at Jeonju? | CREATE TABLE "members" (
"name" text,
"date" text,
"goals" real,
"assists" real,
"team" text,
"venue" text,
"opponent" text,
"competition" text,
"total_goals" real,
"total_assists" real
); | SELECT "opponent" FROM "members" WHERE "venue"='jeonju'; | 2-14904972-1 |
How many Januarys had records of 22-15-6? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT COUNT("january") FROM "schedule_and_results" WHERE "record"='22-15-6'; | 2-13912739-5 |
what is the date of barbagallo raceway? | CREATE TABLE "calendar" (
"event_circuit" text,
"city_state" text,
"date" text,
"format" text,
"winner" text,
"team" text
); | SELECT "date" FROM "calendar" WHERE "event_circuit"='barbagallo raceway'; | 2-14610433-2 |
What city is the hidden valley raceway in? | CREATE TABLE "calendar" (
"event_circuit" text,
"city_state" text,
"date" text,
"format" text,
"winner" text,
"team" text
); | SELECT "city_state" FROM "calendar" WHERE "event_circuit"='hidden valley raceway'; | 2-14610433-2 |
What was the score in game 81? | CREATE TABLE "april" (
"game_num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "score" FROM "april" WHERE "game_num"=81; | 2-13913477-9 |
What was the record after game 79? | CREATE TABLE "april" (
"game_num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "record" FROM "april" WHERE "game_num"=79; | 2-13913477-9 |
Who was the home team on April 15? | CREATE TABLE "april" (
"game_num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "home" FROM "april" WHERE "date"='april 15'; | 2-13913477-9 |
What is the Pinyin for 依兰县? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2010_11_01" text,
"area_km" text,
"density_km" text
); | SELECT "hanyu_pinyin" FROM "administrative_divisions" WHERE "hanzi"='依兰县'; | 2-143373-2 |
What is the Pinyin for the item that has a density of 77? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2010_11_01" text,
"area_km" text,
"density_km" text
); | SELECT "hanyu_pinyin" FROM "administrative_divisions" WHERE "density_km"='77'; | 2-143373-2 |
What is the population for the area that has a Hanzi of 延寿县? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2010_11_01" text,
"area_km" text,
"density_km" text
); | SELECT "population_2010_11_01" FROM "administrative_divisions" WHERE "hanzi"='延寿县'; | 2-143373-2 |
What is the population as of 11-01-2010 for Bayan County? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2010_11_01" text,
"area_km" text,
"density_km" text
); | SELECT "population_2010_11_01" FROM "administrative_divisions" WHERE "name"='bayan county'; | 2-143373-2 |
What is the Hanzi for píngfáng qū? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2010_11_01" text,
"area_km" text,
"density_km" text
); | SELECT "hanzi" FROM "administrative_divisions" WHERE "hanyu_pinyin"='píngfáng qū'; | 2-143373-2 |
Which Slalom has an overall of 25 in the 2009 season? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"giant_slalom" text,
"super_g" text,
"combined" text
); | SELECT "slalom" FROM "season_standings" WHERE "overall"='25' AND "season"=2009; | 2-14045679-1 |
What is the earliest season with a Giant Slalom of 5? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"giant_slalom" text,
"super_g" text,
"combined" text
); | SELECT MIN("season") FROM "season_standings" WHERE "giant_slalom"='5'; | 2-14045679-1 |
Which combined score has an overall of 8? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"giant_slalom" text,
"super_g" text,
"combined" text
); | SELECT "combined" FROM "season_standings" WHERE "overall"='8'; | 2-14045679-1 |
Which Super Ghas a missed season due to injury? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"giant_slalom" text,
"super_g" text,
"combined" text
); | SELECT "super_g" FROM "season_standings" WHERE "overall"='missed season due to injury'; | 2-14045679-1 |
Name the most events with cuts made more than 6 and top 25 more than 30 | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("events") FROM "summary" WHERE "cuts_made">6 AND "top_25">30; | 2-1510351-5 |
Name the top-10 with top-5 less than 1 | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT "top_10" FROM "summary" WHERE "top_5"<1; | 2-1510351-5 |
Name the averae top 25 with events less than 0 | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_25") FROM "summary" WHERE "events"<0; | 2-1510351-5 |
Name the total number of top 10 with top 25 less than 2 and top 5 more than 0 | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("top_10") FROM "summary" WHERE "top_25"<2 AND "top_5">0; | 2-1510351-5 |
In what Year is the Gauge 2 ft 6 in? | CREATE TABLE "0_6_0_0_6_0_garratt_production_list_all_" (
"gauge" text,
"railway" text,
"works_no" text,
"year" text,
"builder" text
); | SELECT "year" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "gauge"='2 ft 6 in'; | 2-15194650-1 |
In what Year is the Works No. 2040-2049? | CREATE TABLE "0_6_0_0_6_0_garratt_production_list_all_" (
"gauge" text,
"railway" text,
"works_no" text,
"year" text,
"builder" text
); | SELECT "year" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "works_no"='2040-2049'; | 2-15194650-1 |
In what Year is the Works no. 2040-2049? | CREATE TABLE "0_6_0_0_6_0_garratt_production_list_all_" (
"gauge" text,
"railway" text,
"works_no" text,
"year" text,
"builder" text
); | SELECT "year" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "works_no"='2040-2049'; | 2-15194650-1 |
What is the Gauge of Builder Beyer, Peacock? | CREATE TABLE "0_6_0_0_6_0_garratt_production_list_all_" (
"gauge" text,
"railway" text,
"works_no" text,
"year" text,
"builder" text
); | SELECT "gauge" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "builder"='beyer, peacock'; | 2-15194650-1 |
Which round has the record of 5-0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='5-0'; | 2-14879076-2 |
Which method has the record of 11-1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='11-1'; | 2-14879076-2 |
The UFC 44 event has what method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='ufc 44'; | 2-14879076-2 |
Which event has 12-1 as a record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "record"='12-1'; | 2-14879076-2 |
What round was a loss with a record of 12-3? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "record"='12-3'; | 2-14879076-2 |
The record of 11-1 used what method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='11-1'; | 2-14879076-2 |
What surface was the match on November 6, 1982 played on? | CREATE TABLE "doubles_11_5_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_11_5_6" WHERE "date"='november 6, 1982'; | 2-15096003-5 |
What place did russia finish in? | CREATE TABLE "teams_and_standings" (
"team" text,
"players" text,
"placing" real,
"round_robin_w_l" text,
"matches_w_l" text,
"sets_w_l" text
); | SELECT COUNT("placing") FROM "teams_and_standings" WHERE "team"='russia'; | 2-14209223-2 |
What's the WChmp of the race greater than 42 and pole greater than 11? | CREATE TABLE "by_class" (
"class" text,
"season" text,
"race" real,
"podiums" real,
"pole" real,
"f_lap" real,
"w_chmp" real
); | SELECT COUNT("w_chmp") FROM "by_class" WHERE "race">42 AND "pole">11; | 2-13985563-2 |
If podiums are 26, what's the lowest WChmp? | CREATE TABLE "by_class" (
"class" text,
"season" text,
"race" real,
"podiums" real,
"pole" real,
"f_lap" real,
"w_chmp" real
); | SELECT MIN("w_chmp") FROM "by_class" WHERE "podiums"=26; | 2-13985563-2 |
If the class is total, what is the total number of podiums? | CREATE TABLE "by_class" (
"class" text,
"season" text,
"race" real,
"podiums" real,
"pole" real,
"f_lap" real,
"w_chmp" real
); | SELECT COUNT("podiums") FROM "by_class" WHERE "class"='total'; | 2-13985563-2 |
During race 14, what's the podiums? | CREATE TABLE "by_class" (
"class" text,
"season" text,
"race" real,
"podiums" real,
"pole" real,
"f_lap" real,
"w_chmp" real
); | SELECT MAX("podiums") FROM "by_class" WHERE "race"=14; | 2-13985563-2 |
What Call sign has a City of license of higgston, ga? | CREATE TABLE "the_good_news_network_in_spanish" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "call_sign" FROM "the_good_news_network_in_spanish" WHERE "city_of_license"='higgston, ga'; | 2-14986573-3 |
What City of license has a ERP W of 2,000? | CREATE TABLE "the_good_news_network_in_spanish" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "the_good_news_network_in_spanish" WHERE "erp_w"='2,000'; | 2-14986573-3 |
What is the Class where City of license is lake oconee, ga? | CREATE TABLE "the_good_news_network_in_spanish" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "the_good_news_network_in_spanish" WHERE "city_of_license"='lake oconee, ga'; | 2-14986573-3 |
What chassis has 2012 as the year? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT "chassis" FROM "indianapolis_500" WHERE "year"=2012; | 2-1390721-8 |
What engine has a start less than 7, and 23 as a finish? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT "engine" FROM "indianapolis_500" WHERE "start"<7 AND "finish"=23; | 2-1390721-8 |
What is the average finish that has a start greater than 3, with honda as the engine, and 2011 as the year? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT AVG("finish") FROM "indianapolis_500" WHERE "start">3 AND "engine"='honda' AND "year"=2011; | 2-1390721-8 |
How many starts have a year prior to 2012, and team penske as the team, with a finish greater than 27? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT SUM("start") FROM "indianapolis_500" WHERE "year"<2012 AND "team"='team penske' AND "finish">27; | 2-1390721-8 |
What start has a year later than 2010, and chip ganassi racing as the team? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT "start" FROM "indianapolis_500" WHERE "year">2010 AND "team"='chip ganassi racing'; | 2-1390721-8 |
Who was the opponent at the Football League Trophy competition? | CREATE TABLE "penalty_shootouts" (
"date" text,
"competition" text,
"opponents" text,
"venue" text,
"score" text
); | SELECT "opponents" FROM "penalty_shootouts" WHERE "competition"='football league trophy'; | 2-14913233-13 |
What was the opponent at the League Play Offs at home? | CREATE TABLE "penalty_shootouts" (
"date" text,
"competition" text,
"opponents" text,
"venue" text,
"score" text
); | SELECT "opponents" FROM "penalty_shootouts" WHERE "venue"='home' AND "competition"='league play offs'; | 2-14913233-13 |
What venue held that game against the Queens Park Rangers? | CREATE TABLE "penalty_shootouts" (
"date" text,
"competition" text,
"opponents" text,
"venue" text,
"score" text
); | SELECT "venue" FROM "penalty_shootouts" WHERE "opponents"='queens park rangers'; | 2-14913233-13 |
Who was the opponent at the away game with a score of 5-4? | CREATE TABLE "penalty_shootouts" (
"date" text,
"competition" text,
"opponents" text,
"venue" text,
"score" text
); | SELECT "opponents" FROM "penalty_shootouts" WHERE "venue"='away' AND "score"='5-4'; | 2-14913233-13 |
Who was the opponent at the League Cup competition with a score of 3-1? | CREATE TABLE "penalty_shootouts" (
"date" text,
"competition" text,
"opponents" text,
"venue" text,
"score" text
); | SELECT "opponents" FROM "penalty_shootouts" WHERE "competition"='league cup' AND "score"='3-1'; | 2-14913233-13 |
Name the team classification for stage of 20 | CREATE TABLE "classification_leadership" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"team_classification" text,
"combativity_award" text
); | SELECT "team_classification" FROM "classification_leadership" WHERE "stage"='20'; | 2-14395920-2 |
Name the winner with mountains classification of franco pellizotti and combativity award of martijn maaskant | CREATE TABLE "classification_leadership" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"team_classification" text,
"combativity_award" text
); | SELECT "winner" FROM "classification_leadership" WHERE "mountains_classification"='franco pellizotti' AND "combativity_award"='martijn maaskant'; | 2-14395920-2 |
Name the general classification with roman kreuziger and points classification of fabian cancellara | CREATE TABLE "classification_leadership" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"team_classification" text,
"combativity_award" text
); | SELECT "general_classification" FROM "classification_leadership" WHERE "young_rider_classification"='roman kreuziger' AND "points_classification"='fabian cancellara'; | 2-14395920-2 |
Name the combativity award with winner of luis león sánchez | CREATE TABLE "classification_leadership" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"team_classification" text,
"combativity_award" text
); | SELECT "combativity_award" FROM "classification_leadership" WHERE "winner"='luis león sánchez'; | 2-14395920-2 |
What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29? | CREATE TABLE "season_two" (
"order" real,
"episode" text,
"air_date" text,
"u_s_timeslot_est" text,
"18_49" real,
"viewers" real
); | SELECT SUM("18_49") FROM "season_two" WHERE "air_date"='june 25, 2009' AND "order">29; | 2-13759786-5 |
What is the total 18-49 for the episode that aired on July 2, 2009 with more than 3.5 viewers? | CREATE TABLE "season_two" (
"order" real,
"episode" text,
"air_date" text,
"u_s_timeslot_est" text,
"18_49" real,
"viewers" real
); | SELECT COUNT("18_49") FROM "season_two" WHERE "air_date"='july 2, 2009' AND "viewers">3.5; | 2-13759786-5 |
What was the timeslot in the US for the episode, "the farm"? | CREATE TABLE "season_two" (
"order" real,
"episode" text,
"air_date" text,
"u_s_timeslot_est" text,
"18_49" real,
"viewers" real
); | SELECT "u_s_timeslot_est" FROM "season_two" WHERE "episode"='\"the farm\"'; | 2-13759786-5 |
What is the average 18-49 for the episode that had an order number higher than 35 and less than 3.5 viewers? | CREATE TABLE "season_two" (
"order" real,
"episode" text,
"air_date" text,
"u_s_timeslot_est" text,
"18_49" real,
"viewers" real
); | SELECT AVG("18_49") FROM "season_two" WHERE "viewers"<3.5 AND "order">35; | 2-13759786-5 |
What is the episode name that aired on July 23, 2009 with more than 3.31 viewers? | CREATE TABLE "season_two" (
"order" real,
"episode" text,
"air_date" text,
"u_s_timeslot_est" text,
"18_49" real,
"viewers" real
); | SELECT "episode" FROM "season_two" WHERE "air_date"='july 23, 2009' AND "viewers">3.31; | 2-13759786-5 |
What year sold 1,695,900+ copies with an Oricon position larger than 1? | CREATE TABLE "studio_albums" (
"year" real,
"album" text,
"oricon_position" real,
"1st_week_sales" text,
"copies_sold" text
); | SELECT AVG("year") FROM "studio_albums" WHERE "copies_sold"='1,695,900+' AND "oricon_position">1; | 2-13619558-1 |
How many copies were sold where the position is lager than 1 in 1988? | CREATE TABLE "studio_albums" (
"year" real,
"album" text,
"oricon_position" real,
"1st_week_sales" text,
"copies_sold" text
); | SELECT "copies_sold" FROM "studio_albums" WHERE "oricon_position">1 AND "year"=1988; | 2-13619558-1 |
How many copies were sold when the 1st week sales were 4,590+? | CREATE TABLE "studio_albums" (
"year" real,
"album" text,
"oricon_position" real,
"1st_week_sales" text,
"copies_sold" text
); | SELECT "copies_sold" FROM "studio_albums" WHERE "1st_week_sales"='4,590+'; | 2-13619558-1 |
What was the Winning Score on May 29, 1977? | CREATE TABLE "lpga_tour_wins_7" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "lpga_tour_wins_7" WHERE "date"='may 29, 1977'; | 2-15115638-2 |
On what Date was Patty Sheehan Runner(s)-up? | CREATE TABLE "lpga_tour_wins_7" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "lpga_tour_wins_7" WHERE "runner_s_up"='patty sheehan'; | 2-15115638-2 |
On what Date was Judy Rankin Runner(s)-up? | CREATE TABLE "lpga_tour_wins_7" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "lpga_tour_wins_7" WHERE "runner_s_up"='judy rankin'; | 2-15115638-2 |
On what Date was the Winning score –8 (69-72-70-69=280)? | CREATE TABLE "lpga_tour_wins_7" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "lpga_tour_wins_7" WHERE "winning_score"='–8 (69-72-70-69=280)'; | 2-15115638-2 |
On what Date was Carole Charbonnier a Runner(s)-up with a 1 stroke Margin of victory? | CREATE TABLE "lpga_tour_wins_7" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "lpga_tour_wins_7" WHERE "margin_of_victory"='1 stroke' AND "runner_s_up"='carole charbonnier'; | 2-15115638-2 |
What Tournament has a Winning score of +3 (71-72-70=213)? | CREATE TABLE "lpga_tour_wins_7" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "lpga_tour_wins_7" WHERE "winning_score"='+3 (71-72-70=213)'; | 2-15115638-2 |
What date did the team play home in Toronto? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "february" WHERE "home"='toronto'; | 2-13761074-10 |
How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "february" WHERE "visitor"='cleveland' AND "leading_scorer"='larry hughes(33)'; | 2-13761074-10 |
When did they play Utah at home? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "february" WHERE "home"='utah'; | 2-13761074-10 |
What opponent has balboa stadium as the opponent? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"stadium" text,
"record" text,
"attendance" real
); | SELECT "opponent" FROM "regular_season" WHERE "stadium"='balboa stadium'; | 2-14102379-4 |
What is the highest attendance that has oakland raiders as the opponent, with a week greater than 9? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"stadium" text,
"record" text,
"attendance" real
); | SELECT MAX("attendance") FROM "regular_season" WHERE "opponent"='oakland raiders' AND "week">9; | 2-14102379-4 |
Where is the headquarter of the conglomerate industry? | CREATE TABLE "1999" (
"rank" real,
"name" text,
"headquarters" text,
"primary_industry" text,
"market_value_usd_million" real
); | SELECT "headquarters" FROM "1999" WHERE "primary_industry"='conglomerate'; | 2-14094649-21 |
What date was the game played at the venue of Hrazdan Stadium, Yerevan, Armenia? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "venue"='hrazdan stadium, yerevan, armenia'; | 2-1462547-3 |
Who was the bronze medal when the Asian Games were held in Busan? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "bronze" FROM "individual" WHERE "location"='busan'; | 2-14769579-9 |
Who won the gold when Kim Hyang-Mi won the bronze? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "gold" FROM "individual" WHERE "bronze"='kim hyang-mi'; | 2-14769579-9 |
What was the earliest year that Park Jung-Ah won the gold? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT MIN("year") FROM "individual" WHERE "gold"='park jung-ah'; | 2-14769579-9 |
Who won the bronze when the Asian Games were in Doha? | CREATE TABLE "individual" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "bronze" FROM "individual" WHERE "location"='doha'; | 2-14769579-9 |
What was the Attendance on November 29, 1953? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "date"='november 29, 1953'; | 2-15123292-1 |
After Week 5, what was the Result of the game with Attendance greater than 22,057? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "attendance">'22,057' AND "week">5; | 2-15123292-1 |
Which NFL team picked Patrick Collins? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "player"='patrick collins'; | 2-14650373-1 |
Which NFL team picked a player for the Wide Receiver position? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "position"='wide receiver'; | 2-14650373-1 |
What result has a year after 2002? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "result" FROM "achievements" WHERE "year">2002; | 2-15186827-1 |
What tournament has a year prior to 2001? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "achievements" WHERE "year"<2001; | 2-15186827-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.