question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What Championship has a Score in the final of 2–6, 6–2, 7–5? | CREATE TABLE "singles_5_3_2" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "championship" FROM "singles_5_3_2" WHERE "score_in_the_final"='2–6, 6–2, 7–5'; | 2-1828774-4 |
What was the lowest pick number with an overall 86? | CREATE TABLE "2004_nfl_draft" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "2004_nfl_draft" WHERE "overall"=86; | 2-17991902-1 |
What is the name of a pick more than 5 at Washington College? | CREATE TABLE "2004_nfl_draft" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "name" FROM "2004_nfl_draft" WHERE "pick_num">5 AND "college"='washington'; | 2-17991902-1 |
What is the sum of the Pick # Anthony Maddox? | CREATE TABLE "2004_nfl_draft" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("pick_num") FROM "2004_nfl_draft" WHERE "name"='anthony maddox'; | 2-17991902-1 |
Which number is 國殤? | CREATE TABLE "list_of_contents" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
); | SELECT "standard_order" FROM "list_of_contents" WHERE "traditional_chinese"='國殤'; | 2-1805911-1 |
What is the Traditional Chinese of 国殇 which is over 9? | CREATE TABLE "list_of_contents" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
); | SELECT "traditional_chinese" FROM "list_of_contents" WHERE "standard_order">9 AND "simplified_chinese"='国殇'; | 2-1805911-1 |
What is the English translation of 山鬼? | CREATE TABLE "list_of_contents" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
); | SELECT "english_translation" FROM "list_of_contents" WHERE "simplified_chinese"='山鬼'; | 2-1805911-1 |
What is the total where there are 4 MLS Cups and more US Open Cups than 1? | CREATE TABLE "most_assists" (
"name" text,
"years" text,
"mls_cup" real,
"u_s_open_cup" real,
"concacaf" real,
"other" real,
"total" real
); | SELECT COUNT("total") FROM "most_assists" WHERE "mls_cup"=4 AND "u_s_open_cup">1; | 2-17984330-3 |
Which race 3 has points greater than 36, and 2 as the race 1? | CREATE TABLE "winfield_triple_challenge" (
"driver" text,
"race_1" real,
"race_2" text,
"race_3" text,
"points" real
); | SELECT "race_3" FROM "winfield_triple_challenge" WHERE "points">36 AND "race_1"=2; | 2-17670122-2 |
How many race 1's have 5 as the race 3, with points less than 59? | CREATE TABLE "winfield_triple_challenge" (
"driver" text,
"race_1" real,
"race_2" text,
"race_3" text,
"points" real
); | SELECT SUM("race_1") FROM "winfield_triple_challenge" WHERE "race_3"='5' AND "points"<59; | 2-17670122-2 |
What driver has points less than 17? | CREATE TABLE "winfield_triple_challenge" (
"driver" text,
"race_1" real,
"race_2" text,
"race_3" text,
"points" real
); | SELECT "driver" FROM "winfield_triple_challenge" WHERE "points"<17; | 2-17670122-2 |
Who is from south africa and has a score of 76-75-73-71=295? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "player" FROM "final_round" WHERE "country"='south africa' AND "score"='76-75-73-71=295'; | 2-18044375-7 |
What is the lowest to par of a player from australia with a score of 76-70-75-72=293? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT MIN("to_par") FROM "final_round" WHERE "country"='australia' AND "score"='76-70-75-72=293'; | 2-18044375-7 |
What is the money with a Score of 76-70-75-72=293? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "money" FROM "final_round" WHERE "score"='76-70-75-72=293'; | 2-18044375-7 |
What is Title, when Developer is "2Play Mobile", and when Genre is "Action"? | CREATE TABLE "zune_hd_games" (
"title" text,
"developer" text,
"genre" text,
"release_date" text,
"version" real
); | SELECT "title" FROM "zune_hd_games" WHERE "developer"='2play mobile' AND "genre"='action'; | 2-18138132-1 |
What is the highest Version, when Release Date is "2011-04-01"? | CREATE TABLE "zune_hd_games" (
"title" text,
"developer" text,
"genre" text,
"release_date" text,
"version" real
); | SELECT MAX("version") FROM "zune_hd_games" WHERE "release_date"='2011-04-01'; | 2-18138132-1 |
What is Version, when Genre is "Action", and when Title is "Hairball"? | CREATE TABLE "zune_hd_games" (
"title" text,
"developer" text,
"genre" text,
"release_date" text,
"version" real
); | SELECT "version" FROM "zune_hd_games" WHERE "genre"='action' AND "title"='hairball'; | 2-18138132-1 |
What is the Set 1 of the 45:40 Total? | CREATE TABLE "round_of_16" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"total" text
); | SELECT "set_1" FROM "round_of_16" WHERE "total"='45:40'; | 2-18246956-16 |
What is the Total of the 24:26 Set 1? | CREATE TABLE "round_of_16" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"total" text
); | SELECT "total" FROM "round_of_16" WHERE "set_1"='24:26'; | 2-18246956-16 |
What is the Total of Set 2 of 21:12? | CREATE TABLE "round_of_16" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"total" text
); | SELECT "total" FROM "round_of_16" WHERE "set_2"='21:12'; | 2-18246956-16 |
What is the Total of Set 2 of 24:22? | CREATE TABLE "round_of_16" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"total" text
); | SELECT "total" FROM "round_of_16" WHERE "set_2"='24:22'; | 2-18246956-16 |
What is the date of the 21:12 Set 2? | CREATE TABLE "round_of_16" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"total" text
); | SELECT "date" FROM "round_of_16" WHERE "set_2"='21:12'; | 2-18246956-16 |
What is the torque of the 5.8l v12 engine? | CREATE TABLE "engines" (
"engine" text,
"power" text,
"torque" text,
"0_100km_h_62mph" text,
"top_speed" text
); | SELECT "torque" FROM "engines" WHERE "engine"='5.8l v12'; | 2-1775438-1 |
What is the torque of the 6.3l v12 engine? | CREATE TABLE "engines" (
"engine" text,
"power" text,
"torque" text,
"0_100km_h_62mph" text,
"top_speed" text
); | SELECT "torque" FROM "engines" WHERE "engine"='6.3l v12'; | 2-1775438-1 |
What is the 0-100km/h (62mph) of the supercharged 5.4l v8 engine? | CREATE TABLE "engines" (
"engine" text,
"power" text,
"torque" text,
"0_100km_h_62mph" text,
"top_speed" text
); | SELECT "0_100km_h_62mph" FROM "engines" WHERE "engine"='supercharged 5.4l v8'; | 2-1775438-1 |
What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485? | CREATE TABLE "mississippi_counties_ranked_by_per_capit" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"population" real,
"number_of_households" real
); | SELECT SUM("population") FROM "mississippi_counties_ranked_by_per_capit" WHERE "per_capita_income"='$18,884' AND "number_of_households"<'14,485'; | 2-1827992-1 |
What is Place, when Player is "Ben Crenshaw"? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "player"='ben crenshaw'; | 2-18171018-7 |
What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576? | CREATE TABLE "results" (
"shooter" text,
"prone" real,
"stand" real,
"kneel" real,
"qual" real
); | SELECT MAX("kneel") FROM "results" WHERE "stand"<187 AND "prone"=197 AND "qual">576; | 2-18191407-15 |
What is the sum of the stand with a qual more than 589? | CREATE TABLE "results" (
"shooter" text,
"prone" real,
"stand" real,
"kneel" real,
"qual" real
); | SELECT SUM("stand") FROM "results" WHERE "qual">589; | 2-18191407-15 |
What is the 1st leg in the match where Remo (PA) is team 1? | CREATE TABLE "round_of_sixteen" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "round_of_sixteen" WHERE "team_1"='remo (pa)'; | 2-18175353-1 |
Who is team 1 where team 2 is Fluminense (RJ)? | CREATE TABLE "round_of_sixteen" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "round_of_sixteen" WHERE "team_2"='fluminense (rj)'; | 2-18175353-1 |
What is the venue for the friendly competition at Dreisamstadion, Freiburg? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='friendly' AND "venue"='dreisamstadion, freiburg'; | 2-1834853-3 |
What is the result at Dreisamstadion, Freiburg? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "venue"='dreisamstadion, freiburg'; | 2-1834853-3 |
What is Team, when Position is "LHP", and when Pick is "23"? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT "team" FROM "first_round_selections" WHERE "position"='lhp' AND "pick"=23; | 2-18132662-1 |
What is the highest Pick, when Player is "Todd Van Poppel"? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT MAX("pick") FROM "first_round_selections" WHERE "player"='todd van poppel'; | 2-18132662-1 |
What is Player, when Pick is "26"? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT "player" FROM "first_round_selections" WHERE "pick"=26; | 2-18132662-1 |
What is Posititon, when Hometown/School is "Westlake, California"? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT "position" FROM "first_round_selections" WHERE "hometown_school"='westlake, california'; | 2-18132662-1 |
What is Player, when Position is "SS", and when Pick is "11"? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT "player" FROM "first_round_selections" WHERE "position"='ss' AND "pick"=11; | 2-18132662-1 |
What is the Population of Sargent County? | CREATE TABLE "north_dakota_counties_by_per_capita_inco" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT "population" FROM "north_dakota_counties_by_per_capita_inco" WHERE "county"='sargent'; | 2-1777707-1 |
What is the rank for the nation with 0 silver medals and a total larger than 2? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("rank") FROM "medals_table" WHERE "silver"=0 AND "total">2; | 2-1817534-5 |
What is the least silvers where there are 39 bronzes and the total is less than 120? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "medals_table" WHERE "bronze"=39 AND "total"<120; | 2-1817534-5 |
What's the general classification of stage 3 with David Loosli as the mountains classification? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "general_classification" FROM "jersey_progress" WHERE "mountains_classification"='david loosli' AND "stage"='3'; | 2-17672470-19 |
What's the points classification when the stage was final? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "points_classification" FROM "jersey_progress" WHERE "stage"='final'; | 2-17672470-19 |
What is the stage of Gerolsteiner? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "stage" FROM "jersey_progress" WHERE "team_classification"='gerolsteiner'; | 2-17672470-19 |
What's the mountains classification of Stage 7 when Kim Kirchen was the general classification? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "jersey_progress" WHERE "general_classification"='kim kirchen' AND "stage"='7'; | 2-17672470-19 |
What was Kim Kirchen's team classification? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "team_classification" FROM "jersey_progress" WHERE "general_classification"='kim kirchen'; | 2-17672470-19 |
What Player has a To par of +1 and a Score of 73-71-71=217? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "to_par"='+1' AND "score"='73-71-71=217'; | 2-18166348-6 |
What Player's had a To par of +1 and a Score of 73-71-73=217? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "to_par"='+1' AND "score"='73-71-73=217'; | 2-18166348-6 |
What is Fuzzy Zoeller's Score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "player"='fuzzy zoeller'; | 2-18166348-6 |
What is the Country of the Player with a Score of 71-73-71=215? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "score"='71-73-71=215'; | 2-18166348-6 |
What is the Country of the Player with a To par of –4? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "to_par"='–4'; | 2-18166348-6 |
What is the Country of the Player with a To par of +1 and a Score of 75-69-73=217? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "to_par"='+1' AND "score"='75-69-73=217'; | 2-18166348-6 |
Which Position has 24 Goals against, and a Played smaller than 30? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MAX("position") FROM "group_ii" WHERE "goals_against"=24 AND "played"<30; | 2-17832085-4 |
Which Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MAX("points") FROM "group_ii" WHERE "club"='cf calvo sotelo' AND "goal_difference">-3; | 2-17832085-4 |
Which Draws have a Position of 16, and less than 58 Goals against? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("draws") FROM "group_ii" WHERE "position"=16 AND "goals_against"<58; | 2-17832085-4 |
Which Losses have Draws larger than 6, and a Club of cd mestalla, and Goals against larger than 44? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("losses") FROM "group_ii" WHERE "draws">6 AND "club"='cd mestalla' AND "goals_against">44; | 2-17832085-4 |
How many Goals against have Goals for smaller than 33, and Points smaller than 16? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT SUM("goals_against") FROM "group_ii" WHERE "goals_for"<33 AND "points"<16; | 2-17832085-4 |
What Date was the Game at Griffith Stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "game_site"='griffith stadium'; | 2-17946716-1 |
What attendance is listed against the date of bye? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "date"='bye'; | 2-17946716-1 |
What date is week 3? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=3; | 2-17946716-1 |
Which Floors has a Location of tower hill? | CREATE TABLE "timeline_of_tallest_buildings_and_struct" (
"name" text,
"location" text,
"years_as_tallest" text,
"height_metres_ft" text,
"floors" text
); | SELECT "floors" FROM "timeline_of_tallest_buildings_and_struct" WHERE "location"='tower hill'; | 2-180342-8 |
Which Location has a Floors of 03.0 n/a? | CREATE TABLE "timeline_of_tallest_buildings_and_struct" (
"name" text,
"location" text,
"years_as_tallest" text,
"height_metres_ft" text,
"floors" text
); | SELECT "location" FROM "timeline_of_tallest_buildings_and_struct" WHERE "floors"='03.0 n/a'; | 2-180342-8 |
Name the Height metres / ft of Floors of 05.0 n/a? | CREATE TABLE "timeline_of_tallest_buildings_and_struct" (
"name" text,
"location" text,
"years_as_tallest" text,
"height_metres_ft" text,
"floors" text
); | SELECT "height_metres_ft" FROM "timeline_of_tallest_buildings_and_struct" WHERE "floors"='05.0 n/a'; | 2-180342-8 |
Name the Years as tallest that has Height metres / ft of 01.0 27 / 90? | CREATE TABLE "timeline_of_tallest_buildings_and_struct" (
"name" text,
"location" text,
"years_as_tallest" text,
"height_metres_ft" text,
"floors" text
); | SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings_and_struct" WHERE "height_metres_ft"='01.0 27 / 90'; | 2-180342-8 |
Name the Years as tallest has a Height metres / ft of 07.0 150 / 493 [b ]? | CREATE TABLE "timeline_of_tallest_buildings_and_struct" (
"name" text,
"location" text,
"years_as_tallest" text,
"height_metres_ft" text,
"floors" text
); | SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings_and_struct" WHERE "height_metres_ft"='07.0 150 / 493 [b ]'; | 2-180342-8 |
Name the Height metres / ft of Years with tallest of 1098–1310? | CREATE TABLE "timeline_of_tallest_buildings_and_struct" (
"name" text,
"location" text,
"years_as_tallest" text,
"height_metres_ft" text,
"floors" text
); | SELECT "height_metres_ft" FROM "timeline_of_tallest_buildings_and_struct" WHERE "years_as_tallest"='1098–1310'; | 2-180342-8 |
How many scores have a Place of t5? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT COUNT("score") FROM "first_round" WHERE "place"='t5'; | 2-18007222-3 |
Which To Par has a Score smaller than 70, and a Player of matt kowal? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "score"<70 AND "player"='matt kowal'; | 2-18007222-3 |
Which Score has a To Par of –1? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT MIN("score") FROM "first_round" WHERE "to_par"='–1'; | 2-18007222-3 |
what is the date for catolog 88697185162 when the region is canada? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" real
); | SELECT "date" FROM "release_history" WHERE "catalog"=88697185162 AND "region"='canada'; | 2-17916842-4 |
Which parish has a church named Vangsnes Kyrkje? | CREATE TABLE "churches_in_vik" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "parish_prestegjeld" FROM "churches_in_vik" WHERE "church_name"='vangsnes kyrkje'; | 2-178390-1 |
Which Sub-Parish has a church built in 1866? | CREATE TABLE "churches_in_vik" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "sub_parish_sokn" FROM "churches_in_vik" WHERE "year_built"='1866'; | 2-178390-1 |
When was the Hopperstad Stavkyrkje built? | CREATE TABLE "churches_in_vik" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "year_built" FROM "churches_in_vik" WHERE "church_name"='hopperstad stavkyrkje'; | 2-178390-1 |
When was the church in Arnafjord built? | CREATE TABLE "churches_in_vik" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "year_built" FROM "churches_in_vik" WHERE "location_of_the_church"='arnafjord'; | 2-178390-1 |
What is the Sub-Parish called that has a church located in Fresvik? | CREATE TABLE "churches_in_vik" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "sub_parish_sokn" FROM "churches_in_vik" WHERE "location_of_the_church"='fresvik'; | 2-178390-1 |
What is the church in the Sub-Parish of Fresvik called? | CREATE TABLE "churches_in_vik" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "church_name" FROM "churches_in_vik" WHERE "sub_parish_sokn"='fresvik'; | 2-178390-1 |
What is the time for Sheffield? | CREATE TABLE "dates" (
"date" text,
"city" text,
"country" text,
"venue" text,
"time" text
); | SELECT "time" FROM "dates" WHERE "city"='sheffield'; | 2-18134037-1 |
What are the total points for the skier with 3.18 slalom points? | CREATE TABLE "final_standings" (
"place" text,
"competitor" text,
"downhill_points" real,
"slalom_points" text,
"total" text
); | SELECT "total" FROM "final_standings" WHERE "slalom_points"='3.18'; | 2-17750898-3 |
What place is the skier with 7.73 downhill points? | CREATE TABLE "final_standings" (
"place" text,
"competitor" text,
"downhill_points" real,
"slalom_points" text,
"total" text
); | SELECT "place" FROM "final_standings" WHERE "downhill_points"=7.73; | 2-17750898-3 |
What are the downhill points for the skier with total of 9.31 points? | CREATE TABLE "final_standings" (
"place" text,
"competitor" text,
"downhill_points" real,
"slalom_points" text,
"total" text
); | SELECT SUM("downhill_points") FROM "final_standings" WHERE "total"='9.31'; | 2-17750898-3 |
What is the rank for the player where there are 11 points? | CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
); | SELECT "rank_points" FROM "qualification" WHERE "score_points"='11'; | 2-18191407-10 |
Which shooter had a total of 11 at the WC Munich with a score of 6? | CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
); | SELECT "shooter" FROM "qualification" WHERE "total"='11' AND "event"='wc munich' AND "score_points"='6'; | 2-18191407-10 |
What is the event where there are 10 score points? | CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
); | SELECT "event" FROM "qualification" WHERE "score_points"='10'; | 2-18191407-10 |
Who is the shooter that is the Defending Champion? | CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
); | SELECT "shooter" FROM "qualification" WHERE "total"='defending champion'; | 2-18191407-10 |
Which owner had MRT 1 HD? | CREATE TABLE "nationwide_free_to_air_dvb_t_television_" (
"name" text,
"owner" text,
"programming" text,
"type" text,
"encryption" text
); | SELECT "owner" FROM "nationwide_free_to_air_dvb_t_television_" WHERE "name"='mrt 1 hd'; | 2-18287309-1 |
What is the programming for mrt sobraniski kanal? | CREATE TABLE "nationwide_free_to_air_dvb_t_television_" (
"name" text,
"owner" text,
"programming" text,
"type" text,
"encryption" text
); | SELECT "programming" FROM "nationwide_free_to_air_dvb_t_television_" WHERE "name"='mrt sobraniski kanal'; | 2-18287309-1 |
What is the type for a general programming and the owner tv kanal 5? | CREATE TABLE "nationwide_free_to_air_dvb_t_television_" (
"name" text,
"owner" text,
"programming" text,
"type" text,
"encryption" text
); | SELECT "type" FROM "nationwide_free_to_air_dvb_t_television_" WHERE "programming"='general' AND "owner"='tv kanal 5'; | 2-18287309-1 |
What is the programming for Kanal 5? | CREATE TABLE "nationwide_free_to_air_dvb_t_television_" (
"name" text,
"owner" text,
"programming" text,
"type" text,
"encryption" text
); | SELECT "programming" FROM "nationwide_free_to_air_dvb_t_television_" WHERE "name"='kanal 5'; | 2-18287309-1 |
What show comes on at 21:00 when Dot Above I comes on at 20:00? | CREATE TABLE "schedule" (
"weekdays" text,
"5_55" text,
"10_00" text,
"15_00" text,
"16_00" text,
"17_30" text,
"18_00" text,
"19_15" text,
"19_26" text,
"20_00" text,
"20_30" text,
"21_00" text,
"21_30" text,
"22_00" text,
"23_00" text
); | SELECT "21_00" FROM "schedule" WHERE "20_00"='dot above i'; | 2-1791473-1 |
What was the surface on march 2, 1997? | CREATE TABLE "doubles_3_2" (
"edition" text,
"round" text,
"date" text,
"partner" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "surface" FROM "doubles_3_2" WHERE "date"='march 2, 1997'; | 2-18330817-10 |
What was the result when the partner was magdalena maleeva? | CREATE TABLE "doubles_3_2" (
"edition" text,
"round" text,
"date" text,
"partner" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "result" FROM "doubles_3_2" WHERE "partner"='magdalena maleeva'; | 2-18330817-10 |
What edition had magdalena maleeva as partner? | CREATE TABLE "doubles_3_2" (
"edition" text,
"round" text,
"date" text,
"partner" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "edition" FROM "doubles_3_2" WHERE "partner"='magdalena maleeva'; | 2-18330817-10 |
Who was partner for the 1988 world group i edition? | CREATE TABLE "doubles_3_2" (
"edition" text,
"round" text,
"date" text,
"partner" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "partner" FROM "doubles_3_2" WHERE "edition"='1988 world group i'; | 2-18330817-10 |
What was the result on july 16, 1992? | CREATE TABLE "doubles_3_2" (
"edition" text,
"round" text,
"date" text,
"partner" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "result" FROM "doubles_3_2" WHERE "date"='july 16, 1992'; | 2-18330817-10 |
What is the event that is in 8th position? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "event" FROM "achievements" WHERE "position"='8th'; | 2-18284124-1 |
What is the event in a year before 1989? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "event" FROM "achievements" WHERE "year"<1989; | 2-18284124-1 |
What is the total medals in 1964? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT MIN("total") FROM "made_the_cut" WHERE "year_s_won"='1964'; | 2-18164207-1 |
How many kills when percentage is more than 0.313, attempts are more than 1035 and assists are larger than 57? | CREATE TABLE "college_career_statistics" (
"season" text,
"gp_mp" text,
"kills" real,
"k_game" real,
"errors" real,
"total_attempts" real,
"percentage" real,
"assists" real,
"service_aces" real,
"digs" real,
"solo_blocks" real,
"block_assists" real,
"total_blocks" real,
"points" real
); | SELECT COUNT("kills") FROM "college_career_statistics" WHERE "percentage">0.313 AND "total_attempts">1035 AND "assists">57; | 2-18180775-1 |
What is the highest percentage when there are more than 361 blocks? | CREATE TABLE "college_career_statistics" (
"season" text,
"gp_mp" text,
"kills" real,
"k_game" real,
"errors" real,
"total_attempts" real,
"percentage" real,
"assists" real,
"service_aces" real,
"digs" real,
"solo_blocks" real,
"block_assists" real,
"total_blocks" real,
"points" real
); | SELECT MAX("percentage") FROM "college_career_statistics" WHERE "total_blocks">361; | 2-18180775-1 |
What is the total blocks when there are less than 210 digs and the total attempts are more than 1116? | CREATE TABLE "college_career_statistics" (
"season" text,
"gp_mp" text,
"kills" real,
"k_game" real,
"errors" real,
"total_attempts" real,
"percentage" real,
"assists" real,
"service_aces" real,
"digs" real,
"solo_blocks" real,
"block_assists" real,
"total_blocks" real,
"points" real
); | SELECT AVG("total_blocks") FROM "college_career_statistics" WHERE "digs"<210 AND "total_attempts">1116; | 2-18180775-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.