question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
what report was in geelong | CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
); | SELECT "report" FROM "round_16" WHERE "home_team"='geelong'; | 2-14312471-1 |
What is the date for the game played on week 8, with an attendance of more than 35,000? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "attendance">'35,000' AND "week"=8; | 2-15124848-1 |
In what Town/City is Nana Museum of The Arctic located? | CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
); | SELECT "town_city" FROM "defunct_museums" WHERE "name"='nana museum of the arctic'; | 2-15099101-1 |
What is the Name of the Multiple Type museum in Anchorage? | CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
); | SELECT "name" FROM "defunct_museums" WHERE "town_city"='anchorage' AND "type"='multiple'; | 2-15099101-1 |
In what Borough is the Anchorage museum of Natural History? | CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
); | SELECT "name" FROM "defunct_museums" WHERE "borough"='anchorage' AND "type"='natural history'; | 2-15099101-1 |
In what Region is the Native American museum in Anchorage? | CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
); | SELECT "region" FROM "defunct_museums" WHERE "type"='native american' AND "town_city"='anchorage'; | 2-15099101-1 |
What Type of museum is the Valdez museum? | CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
); | SELECT "type" FROM "defunct_museums" WHERE "name"='valdez museum'; | 2-15099101-1 |
In what Borough is the History Type Fairbanks Community Museum? | CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
); | SELECT "borough" FROM "defunct_museums" WHERE "type"='history' AND "name"='fairbanks community museum'; | 2-15099101-1 |
what is the zip code of boonville | CREATE TABLE "counties" (
"in_no" real,
"county_name" text,
"county_seat" text,
"time_zone" text,
"population_2010_rank" text,
"area_sq_mi_km_2_rank" text,
"twps" real,
"zip_code_prefix_es" text,
"pct_of_boundary_by_water" text
); | SELECT "zip_code_prefix_es" FROM "counties" WHERE "county_seat"='boonville'; | 2-14253123-1 |
Which tournament was held on 9 Jun 2002? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "european_tour_wins_14" WHERE "date"='9 jun 2002'; | 2-1456085-2 |
What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "european_tour_wins_14" WHERE "margin_of_victory"='4 strokes' AND "tournament"='nec invitational'; | 2-1456085-2 |
Who is the runner-up where the winning score is –8 (71-69-67-73=280)? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "european_tour_wins_14" WHERE "winning_score"='–8 (71-69-67-73=280)'; | 2-1456085-2 |
What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "european_tour_wins_14" WHERE "margin_of_victory"='1 stroke' AND "tournament"='linde german masters'; | 2-1456085-2 |
Who is runner-up where the winning score is –6 (65-70-70-69=274) and the margin of victory is 3 strokes? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "european_tour_wins_14" WHERE "margin_of_victory"='3 strokes' AND "winning_score"='–6 (65-70-70-69=274)'; | 2-1456085-2 |
What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "european_tour_wins_14" WHERE "margin_of_victory"='1 stroke' AND "runner_s_up"='robert-jan derksen'; | 2-1456085-2 |
What are the high rebounds of team @ Charlotte? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "team"='@ charlotte'; | 2-13812785-8 |
What is the high rebounds of game 68? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "game"=68; | 2-13812785-8 |
What is the score of New York team before game 61? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "game"<61 AND "team"='new york'; | 2-13812785-8 |
When David McNamara was the opponent in the final, what was the tier? | CREATE TABLE "singles_wins" (
"date" text,
"tournament" text,
"tier" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tier" FROM "singles_wins" WHERE "opponent_in_the_final"='david mcnamara'; | 2-14965880-2 |
In 2011, how many tourists visited the country that had 23.4 million tourists in 2012? | CREATE TABLE "the_americas" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "international_tourist_arrivals_2011" FROM "the_americas" WHERE "international_tourist_arrivals_2012"='23.4 million'; | 2-14752049-4 |
How many tourists visited the country that had 2.5 million tourists in 2011? | CREATE TABLE "the_americas" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "international_tourist_arrivals_2012" FROM "the_americas" WHERE "international_tourist_arrivals_2011"='2.5 million'; | 2-14752049-4 |
How far Venue of seoul, south korea is? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"distance" text
); | SELECT "distance" FROM "achievements" WHERE "venue"='seoul, south korea'; | 2-14174781-1 |
Which Venue has a Tournament of olympic games with a Result of 4th? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"distance" text
); | SELECT "venue" FROM "achievements" WHERE "tournament"='olympic games' AND "result"='4th'; | 2-14174781-1 |
What is the Result of Venue of edmonton, canada? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"distance" text
); | SELECT "result" FROM "achievements" WHERE "venue"='edmonton, canada'; | 2-14174781-1 |
What is the 1st leg of Team 2 PSV Eindhoven? | CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "round_of_16" WHERE "team_2"='psv eindhoven'; | 2-14824434-2 |
Which opponent was played at Forbes Field after week 4? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text
); | SELECT "opponent" FROM "schedule" WHERE "game_site"='forbes field' AND "week">4; | 2-14683281-1 |
Which opponent was played on week 9? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text
); | SELECT "opponent" FROM "schedule" WHERE "week"=9; | 2-14683281-1 |
What was the date of the game played at Fenway Park? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text
); | SELECT "date" FROM "schedule" WHERE "game_site"='fenway park'; | 2-14683281-1 |
Which Opponents have a Year of 1998–99, and a Team of aston villa? | CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
); | SELECT "opponents" FROM "inter_cities_fairs_cup_uefa_cup_uefa_eur" WHERE "year"='1998–99' AND "team"='aston villa'; | 2-15234969-4 |
Which Score has Opponents of valencia, and a Year of 2011–12? | CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
); | SELECT "score" FROM "inter_cities_fairs_cup_uefa_cup_uefa_eur" WHERE "opponents"='valencia' AND "year"='2011–12'; | 2-15234969-4 |
Which Opponents have a Team of arsenal, and a Year of 1963–64? | CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
); | SELECT "opponents" FROM "inter_cities_fairs_cup_uefa_cup_uefa_eur" WHERE "team"='arsenal' AND "year"='1963–64'; | 2-15234969-4 |
Which Opponents have a Year of 1999–2000, and a Team of leeds united? | CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
); | SELECT "opponents" FROM "inter_cities_fairs_cup_uefa_cup_uefa_eur" WHERE "year"='1999–2000' AND "team"='leeds united'; | 2-15234969-4 |
Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round? | CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
); | SELECT "opponents" FROM "inter_cities_fairs_cup_uefa_cup_uefa_eur" WHERE "score"='1–2' AND "team"='arsenal' AND "progress"='first round'; | 2-15234969-4 |
How much Rank has a Name of simon ammann, and a 2nd (m) larger than 139? | CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT COUNT("rank") FROM "bischofshofen_5_january" WHERE "name"='simon ammann' AND "2nd_m">139; | 2-14407512-10 |
How much Rank has Points larger than 282.5? | CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT COUNT("rank") FROM "bischofshofen_5_january" WHERE "points">282.5; | 2-14407512-10 |
Which Rank is the highest one that has Points smaller than 256.6? | CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT MAX("rank") FROM "bischofshofen_5_january" WHERE "points"<256.6; | 2-14407512-10 |
Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3? | CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT MAX("2nd_m") FROM "bischofshofen_5_january" WHERE "nationality"='sui' AND "rank"<3; | 2-14407512-10 |
What is the UK broadcast date of the episode where Chris Bonington was the presenter? | CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
); | SELECT "uk_broadcast_date" FROM "series_3_1996" WHERE "presenter"='chris bonington'; | 2-15211468-3 |
What is the episode title of the episode with Ben Okri as the presenter? | CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
); | SELECT "episode_title" FROM "series_3_1996" WHERE "presenter"='ben okri'; | 2-15211468-3 |
Who is the presenter of the episode broadcast in the UK on 1996-09-25? | CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
); | SELECT "presenter" FROM "series_3_1996" WHERE "uk_broadcast_date"='1996-09-25'; | 2-15211468-3 |
What is the UK broadcast date of the episode with Ben Okri as the presenter? | CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
); | SELECT "uk_broadcast_date" FROM "series_3_1996" WHERE "presenter"='ben okri'; | 2-15211468-3 |
What was the score when the team played at the bobcats? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "score" FROM "february" WHERE "home"='bobcats'; | 2-13759275-6 |
What was the score when the Spurs' record was 43-13? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "score" FROM "february" WHERE "record"='43-13'; | 2-13759275-6 |
What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv? | CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
); | SELECT "country_name" FROM "gost_7_67_94" WHERE "numeric_code"<246 AND "latin_3_letter_code"='slv'; | 2-15121043-1 |
What is the Russian name with lbr as the Latin 3-letter code? | CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
); | SELECT "russian_name" FROM "gost_7_67_94" WHERE "latin_3_letter_code"='lbr'; | 2-15121043-1 |
What is the country name with a numeric code less than 580 and a dk Latin 2-letter code? | CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
); | SELECT "country_name" FROM "gost_7_67_94" WHERE "numeric_code"<580 AND "latin_2_letter_code"='dk'; | 2-15121043-1 |
What is the Cyrillic code with a cu Latin 2-letter code? | CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
); | SELECT "cyrillic_code" FROM "gost_7_67_94" WHERE "latin_2_letter_code"='cu'; | 2-15121043-1 |
Name the least place for draw more than 3 and points of 8 | CREATE TABLE "dansk_melodi_grand_prix_2008" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT MIN("place") FROM "dansk_melodi_grand_prix_2008" WHERE "draw">3 AND "points"=8; | 2-15106087-1 |
Name the song for points less than 16 and draw less than 3 | CREATE TABLE "dansk_melodi_grand_prix_2008" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT "song" FROM "dansk_melodi_grand_prix_2008" WHERE "points"<16 AND "draw"<3; | 2-15106087-1 |
what is the single of the queen | CREATE TABLE "longest_run_at_number_one" (
"position" text,
"artist" text,
"single" text,
"year" text,
"weeks" text
); | SELECT "single" FROM "longest_run_at_number_one" WHERE "artist"='queen'; | 2-1477679-2 |
what artist won in 1953 | CREATE TABLE "longest_run_at_number_one" (
"position" text,
"artist" text,
"single" text,
"year" text,
"weeks" text
); | SELECT "artist" FROM "longest_run_at_number_one" WHERE "year"='1953'; | 2-1477679-2 |
what year did david whitfield win | CREATE TABLE "longest_run_at_number_one" (
"position" text,
"artist" text,
"single" text,
"year" text,
"weeks" text
); | SELECT "year" FROM "longest_run_at_number_one" WHERE "artist"='david whitfield'; | 2-1477679-2 |
What is the average rank of Roman Koudelka, who has less than 274.4 points? | CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT AVG("rank") FROM "garmisch_partenkirchen" WHERE "points"<274.4 AND "name"='roman koudelka'; | 2-14948647-3 |
What is the lowest rank of the player from Aut with a 1st greater than 132? | CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT MIN("rank") FROM "garmisch_partenkirchen" WHERE "nationality"='aut' AND "1st_m">132; | 2-14948647-3 |
What is the overall WC points of the player from Pol? | CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT "overall_wc_points_rank" FROM "garmisch_partenkirchen" WHERE "nationality"='pol'; | 2-14948647-3 |
What is the average rank of Gregor Schlierenzauer, who had a 1st greater than 132? | CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
); | SELECT AVG("rank") FROM "garmisch_partenkirchen" WHERE "name"='gregor schlierenzauer' AND "1st_m">132; | 2-14948647-3 |
What is the winners share ($) that has atlanta classic as the tournament? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"winner_s_share" text
); | SELECT "winner_s_share" FROM "tournament_results" WHERE "tournament"='atlanta classic'; | 2-14685408-1 |
What is the winners share ($) that has u.s. open as the tournament? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"winner_s_share" text
); | SELECT "winner_s_share" FROM "tournament_results" WHERE "tournament"='u.s. open'; | 2-14685408-1 |
How many points was before game 14? | CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT SUM("points") FROM "regular_season" WHERE "game"<14; | 2-14347256-4 |
What is the average points on November 6? | CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT AVG("points") FROM "regular_season" WHERE "november"=6; | 2-14347256-4 |
Which average's against score has 2 as a difference and a lost of 5? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "difference"='2' AND "lost"=5; | 2-15222432-2 |
How many positions had a difference of - 4 and an against of less than 24? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("position") FROM "torneio_rio_s_o_paulo" WHERE "difference"='- 4' AND "against"<24; | 2-15222432-2 |
What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("lost") FROM "torneio_rio_s_o_paulo" WHERE "position">6 AND "drawn"=7 AND "points"<15; | 2-15222432-2 |
What is the largest played number when the difference is - 8 and position is more than 8? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("played") FROM "torneio_rio_s_o_paulo" WHERE "difference"='- 8' AND "position">8; | 2-15222432-2 |
What is the mean drawn when the difference is 0 and the against stat is more than 31? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("drawn") FROM "torneio_rio_s_o_paulo" WHERE "difference"='0' AND "against">31; | 2-15222432-2 |
what is the winner of meridiana | CREATE TABLE "winners_of_the_orchid_handicap_since_199" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "owner" FROM "winners_of_the_orchid_handicap_since_199" WHERE "winner"='meridiana'; | 2-14863959-1 |
Number of 13 that has what highest weight? | CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"class" text,
"hometown" text
); | SELECT MAX("weight") FROM "roster" WHERE "number"=13; | 2-14184346-3 |
Weight of 220 has what class? | CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"class" text,
"hometown" text
); | SELECT "class" FROM "roster" WHERE "weight"=220; | 2-14184346-3 |
Name of byron geis, and a Weight smaller than 195 involves what average number? | CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"class" text,
"hometown" text
); | SELECT AVG("number") FROM "roster" WHERE "name"='byron geis' AND "weight"<195; | 2-14184346-3 |
What was the record on March 22? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "march" WHERE "date"='march 22'; | 2-13535187-6 |
What day in february was game 53? | CREATE TABLE "schedule_and_results" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("february") FROM "schedule_and_results" WHERE "game"=53; | 2-14034799-6 |
What is the team's record on februrary 23? | CREATE TABLE "schedule_and_results" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "schedule_and_results" WHERE "february"=23; | 2-14034799-6 |
Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7? | CREATE TABLE "malta_in_the_eurovision_song_contest_200" (
"draw" real,
"artist" text,
"song" text,
"jury" real,
"televote" real,
"total" real,
"place" real
); | SELECT MIN("place") FROM "malta_in_the_eurovision_song_contest_200" WHERE "total"<24 AND "draw">7; | 2-14417482-1 |
with lola t86/50 chassis and less than 7 points what is the entrant? | CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_international_formula_3000_resu" WHERE "points"<7 AND "chassis"='lola t86/50'; | 2-1353859-1 |
after 1987 and entrant of first racing what is the highest points? | CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("points") FROM "complete_international_formula_3000_resu" WHERE "entrant"='first racing' AND "year">1987; | 2-1353859-1 |
with year greater than 1988 what is the total number of points? | CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("points") FROM "complete_international_formula_3000_resu" WHERE "year">1988; | 2-1353859-1 |
what is the points total for forti corse? | CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_international_formula_3000_resu" WHERE "entrant"='forti corse'; | 2-1353859-1 |
What is the Parts-per example of 2×10 −6? | CREATE TABLE "iupap_s_uno_proposal" (
"coefficient" text,
"parts_per_example" text,
"uno_equiv" text,
"symbol_form" text,
"value_of_quantity" text
); | SELECT "parts_per_example" FROM "iupap_s_uno_proposal" WHERE "value_of_quantity"='2×10 −6'; | 2-145865-1 |
What is the Coefficient of 2 ppt? | CREATE TABLE "iupap_s_uno_proposal" (
"coefficient" text,
"parts_per_example" text,
"uno_equiv" text,
"symbol_form" text,
"value_of_quantity" text
); | SELECT "coefficient" FROM "iupap_s_uno_proposal" WHERE "parts_per_example"='2 ppt'; | 2-145865-1 |
what is the format of catalog 865 821-1? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "catalog"='865 821-1'; | 2-15069781-1 |
What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th? | CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "season" FROM "all_japan_university_rugby_championships" WHERE "winner"='kanto gakuin university' AND "attendance"='n/a' AND "title"='37th'; | 2-1381359-2 |
What was the title for the game with an attendance of n/a with the runner-up being Waseda, and a season of 1995-6 details? | CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "title" FROM "all_japan_university_rugby_championships" WHERE "attendance"='n/a' AND "runner_up"='waseda' AND "season"='1995-6 details'; | 2-1381359-2 |
What season has a runner-up of waseda, and a title of 47th? | CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "season" FROM "all_japan_university_rugby_championships" WHERE "runner_up"='waseda' AND "title"='47th'; | 2-1381359-2 |
Who was the winner in the game that had Teikyo as the runner-up? | CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "winner" FROM "all_japan_university_rugby_championships" WHERE "runner_up"='teikyo'; | 2-1381359-2 |
Who was the winner in the game that had a title of 32nd, and Waseda as the runner-up? | CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "winner" FROM "all_japan_university_rugby_championships" WHERE "runner_up"='waseda' AND "title"='32nd'; | 2-1381359-2 |
what is the date on week 6 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"tv_time" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=6; | 2-14883111-1 |
Which City has 600kw 500kw ERP (Analog/ Digital)? | CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
); | SELECT "city" FROM "main_transmitters" WHERE "erp_analog_digital"='600kw 500kw'; | 2-1403702-1 |
Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1? | CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
); | SELECT "region_served" FROM "main_transmitters" WHERE "haat_analog_digital_1"='1176 m 1190 m'; | 2-1403702-1 |
Which City has 600kw 500kw ERP ? | CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
); | SELECT "city" FROM "main_transmitters" WHERE "erp_analog_digital"='600kw 500kw'; | 2-1403702-1 |
Which City has a 360kw 90kw ERP? | CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
); | SELECT "city" FROM "main_transmitters" WHERE "erp_analog_digital"='360kw 90kw'; | 2-1403702-1 |
What was the series standing for games over 4? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT "series" FROM "playoffs" WHERE "game">4; | 2-14208850-11 |
What is the game number held on May 20? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT AVG("game") FROM "playoffs" WHERE "date"='may 20'; | 2-14208850-11 |
What was the score of the game when the Indians ended up with a record of 55-51? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='55-51'; | 2-13955731-6 |
On which date did the Indians have a record of 67-58 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='67-58'; | 2-13955731-6 |
Which Work has a Result of nominated, and an Award of contigo award, and a Year smaller than 2002? | CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
); | SELECT "work" FROM "awards_and_nominations" WHERE "result"='nominated' AND "award"='contigo award' AND "year"<2002; | 2-14505079-3 |
How many years have an Award of press award? | CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
); | SELECT COUNT("year") FROM "awards_and_nominations" WHERE "award"='press award'; | 2-14505079-3 |
Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress? | CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
); | SELECT "award" FROM "awards_and_nominations" WHERE "year"<2004 AND "work"='the clone' AND "result"='won' AND "category"='favourite actress'; | 2-14505079-3 |
Which Year is the highest one that has a Work of the clone, and an Award of contigo award? | CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
); | SELECT MAX("year") FROM "awards_and_nominations" WHERE "work"='the clone' AND "award"='contigo award'; | 2-14505079-3 |
With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed? | CREATE TABLE "1990s" (
"spacecraft" text,
"destination" text,
"launched" text,
"closest_approach" text,
"time_elapsed" text
); | SELECT "time_elapsed" FROM "1990s" WHERE "destination"='jupiter' AND "closest_approach"='4 february 2004'; | 2-13698001-10 |
What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999? | CREATE TABLE "1990s" (
"spacecraft" text,
"destination" text,
"launched" text,
"closest_approach" text,
"time_elapsed" text
); | SELECT "time_elapsed" FROM "1990s" WHERE "launched"='15 october 1997' AND "closest_approach"='24 june 1999'; | 2-13698001-10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.