question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many times have Central Crossing won the OCC Championship? | CREATE TABLE "by_school" (
"school" text,
"years_of_participation" text,
"occ_championships" real,
"last_occ_championship" text,
"last_outright_occ_championship" text
); | SELECT SUM("occ_championships") FROM "by_school" WHERE "school"='central crossing'; | 2-17429402-7 |
How many rounds is the fight against Michael Chavez? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real
); | SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "opponent"='michael chavez'; | 2-17441888-2 |
What date was the match where Daniel Gimeno-Traver's partner was pere riba? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "date" FROM "runners_up" WHERE "partner"='pere riba'; | 2-16965329-7 |
Ashley Grimes had what to club? | CREATE TABLE "reserves_academy" (
"exit_date" text,
"pos" text,
"player" text,
"to_club" text,
"transfer_fee" text
); | SELECT "to_club" FROM "reserves_academy" WHERE "player"='ashley grimes'; | 2-17370522-17 |
Who had a transfer fee of released and played the position of DF? | CREATE TABLE "reserves_academy" (
"exit_date" text,
"pos" text,
"player" text,
"to_club" text,
"transfer_fee" text
); | SELECT "player" FROM "reserves_academy" WHERE "transfer_fee"='released' AND "pos"='df'; | 2-17370522-17 |
When was the exit date KiatPrawut Saiwaeo who had a transfer fee of released? | CREATE TABLE "reserves_academy" (
"exit_date" text,
"pos" text,
"player" text,
"to_club" text,
"transfer_fee" text
); | SELECT "exit_date" FROM "reserves_academy" WHERE "transfer_fee"='released' AND "player"='kiatprawut saiwaeo'; | 2-17370522-17 |
What was the date that a player went to the club Doncaster Rovers? | CREATE TABLE "reserves_academy" (
"exit_date" text,
"pos" text,
"player" text,
"to_club" text,
"transfer_fee" text
); | SELECT "exit_date" FROM "reserves_academy" WHERE "to_club"='doncaster rovers'; | 2-17370522-17 |
Teerasil Dangda who had a to club of released plays what position? | CREATE TABLE "reserves_academy" (
"exit_date" text,
"pos" text,
"player" text,
"to_club" text,
"transfer_fee" text
); | SELECT "pos" FROM "reserves_academy" WHERE "to_club"='released' AND "player"='teerasil dangda'; | 2-17370522-17 |
What was the average points for someone who has played more than 10? | CREATE TABLE "relegation_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT AVG("points") FROM "relegation_round" WHERE "played">10; | 2-16501954-19 |
What is L2 Cache, when Model Number is Pentium II 350? | CREATE TABLE "250_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text
); | SELECT "l2_cache" FROM "250_nm" WHERE "model_number"='pentium ii 350'; | 2-16430047-2 |
What is Mult, when Model Number is Pentium II 450? | CREATE TABLE "250_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text
); | SELECT "mult" FROM "250_nm" WHERE "model_number"='pentium ii 450'; | 2-16430047-2 |
What is Frequency, when Model Number is Pentium II 400? | CREATE TABLE "250_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text
); | SELECT "frequency" FROM "250_nm" WHERE "model_number"='pentium ii 400'; | 2-16430047-2 |
What is Socket, when Voltage is 2.0V, and when Model Number is Pentium II 333? | CREATE TABLE "250_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text
); | SELECT "socket" FROM "250_nm" WHERE "voltage"='2.0v' AND "model_number"='pentium ii 333'; | 2-16430047-2 |
What is Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz? | CREATE TABLE "250_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text
); | SELECT "model_number" FROM "250_nm" WHERE "voltage"='2.0v' AND "frequency"='350 mhz'; | 2-16430047-2 |
How many attended during the game with a score of 80-94? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "season_schedule" WHERE "score"='80-94'; | 2-17115774-6 |
What is the U.S. rap ranking in 2000 of the U.S. 105 single? | CREATE TABLE "singles" (
"year" real,
"u_s" text,
"u_s_r_b" text,
"u_s_rap" text,
"album" text
); | SELECT "u_s_rap" FROM "singles" WHERE "year"=2000 AND "u_s"='105'; | 2-16920832-2 |
What is the U.S. rap rank for the song with a U.S. R&B 23 rank? | CREATE TABLE "singles" (
"year" real,
"u_s" text,
"u_s_r_b" text,
"u_s_rap" text,
"album" text
); | SELECT "u_s_rap" FROM "singles" WHERE "u_s_r_b"='23'; | 2-16920832-2 |
What is the U.S. R&B rank in 2003? | CREATE TABLE "singles" (
"year" real,
"u_s" text,
"u_s_r_b" text,
"u_s_rap" text,
"album" text
); | SELECT "u_s_r_b" FROM "singles" WHERE "year"=2003; | 2-16920832-2 |
For the game ending with a score of 28-43, what is the listed as the final record? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"location" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "score"='28-43'; | 2-17406982-2 |
For the game showing a final record of 0-5, what was the attendance level? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"location" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "record"='0-5'; | 2-17406982-2 |
For the game where the opponent is listed as At Los Angeles Rams, what was the final score? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"location" text,
"attendance" real
); | SELECT "score" FROM "schedule" WHERE "opponent"='at los angeles rams'; | 2-17406982-2 |
For the game played on August 25, with attendance at more than 20,837 people, what was the final score? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"location" text,
"attendance" real
); | SELECT "score" FROM "schedule" WHERE "attendance">'20,837' AND "date"='august 25'; | 2-17406982-2 |
What was the result for the game with final record listed as 0-1? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"location" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "record"='0-1'; | 2-17406982-2 |
What is the 60mH that has a Country of russia, and a 800m of 883? | CREATE TABLE "summary" (
"name" text,
"country" text,
"total" text,
"60m_h" real,
"800m" real
); | SELECT "60m_h" FROM "summary" WHERE "country"='russia' AND "800m"=883; | 2-16585512-7 |
What is the Total that has a 60mH of 1073? | CREATE TABLE "summary" (
"name" text,
"country" text,
"total" text,
"60m_h" real,
"800m" real
); | SELECT "total" FROM "summary" WHERE "60m_h"=1073; | 2-16585512-7 |
What is the Name that has a 60mH littler than 1002, and a 800m littler than 985, and a Country of lithuania? | CREATE TABLE "summary" (
"name" text,
"country" text,
"total" text,
"60m_h" real,
"800m" real
); | SELECT "name" FROM "summary" WHERE "60m_h"<1002 AND "800m"<985 AND "country"='lithuania'; | 2-16585512-7 |
What is the Sets- for Team ushuaïa ibiza voley when the Points- were less than 1418 and the Sets+ were less than 41? | CREATE TABLE "2012_13_season_standings" (
"team" text,
"sets" real,
"sets" real,
"points" real,
"points" real
); | SELECT "sets" FROM "2012_13_season_standings" WHERE "points"<1418 AND "sets"<41 AND "team"='ushuaïa ibiza voley'; | 2-17308611-2 |
What is the Sets+ for Team unicaja almería where the Sets- were less than 21 and the Points+ were less than 1497? | CREATE TABLE "2012_13_season_standings" (
"team" text,
"sets" real,
"sets" real,
"points" real,
"points" real
); | SELECT SUM("sets") FROM "2012_13_season_standings" WHERE "sets"<21 AND "team"='unicaja almería' AND "points"<1497; | 2-17308611-2 |
What is the total number of Sets+ where the Points- are 1435 and the Points+ are less than 1228? | CREATE TABLE "2012_13_season_standings" (
"team" text,
"sets" real,
"sets" real,
"points" real,
"points" real
); | SELECT COUNT("sets") FROM "2012_13_season_standings" WHERE "points"=1435 AND "points"<1228; | 2-17308611-2 |
Which player has fewer than 3 rounds and the position of (g)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "player" FROM "draft_picks" WHERE "round"<3 AND "position"='(g)'; | 2-17360818-13 |
How many rounds does Colby Robak have with a position of (d)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "round" FROM "draft_picks" WHERE "position"='(d)' AND "player"='colby robak'; | 2-17360818-13 |
Which College/Junior/Club Team (league) does Matthew Bartkowski play for? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='matthew bartkowski'; | 2-17360818-13 |
What date was the game when the liberty had a record of 12-9? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "date" FROM "season_schedule" WHERE "record"='12-9'; | 2-17121669-4 |
What was the record for the game that had a score of 105-72? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "record" FROM "season_schedule" WHERE "score"='105-72'; | 2-17121669-4 |
What was the date of the game where the record was 4-4? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "date" FROM "season_schedule" WHERE "record"='4-4'; | 2-17121669-4 |
Who was the away team when Manchester United played at home on 10 February 1951? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "fifth_round_proper" WHERE "date"='10 february 1951' AND "home_team"='manchester united'; | 2-17520911-6 |
Which tie did Huddersfield Town play as an away team? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='huddersfield town'; | 2-17520911-6 |
What Player had a Score of 75-73-68-65=281 and more than 19,009 in Money? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_round" WHERE "money">'19,009' AND "score"='75-73-68-65=281'; | 2-17231232-7 |
What is the Country of T6 Place Player Ben Crenshaw? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "place"='t6' AND "player"='ben crenshaw'; | 2-17231232-7 |
What is the Money of the Player with a To par of +3 and Score of 76-69-69-69=283? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT MAX("money") FROM "final_round" WHERE "to_par"='+3' AND "score"='76-69-69-69=283'; | 2-17231232-7 |
What is the score of the game before January 22 with a 30-7-7 record? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "january"<22 AND "record"='30-7-7'; | 2-17323283-5 |
What is the sum of the games before January 19 with a 27-6-6 record? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT SUM("game") FROM "schedule_and_results" WHERE "january"<19 AND "record"='27-6-6'; | 2-17323283-5 |
What is the Frequency, when the Voltage is 3.3 V? | CREATE TABLE "models" (
"model_number" text,
"frequency" text,
"l1_cache" text,
"mult" real,
"voltage" text
); | SELECT "frequency" FROM "models" WHERE "voltage"='3.3 v'; | 2-167482-1 |
What is the L1 Cache, when the Model Number is X5-133 ADY? | CREATE TABLE "models" (
"model_number" text,
"frequency" text,
"l1_cache" text,
"mult" real,
"voltage" text
); | SELECT "l1_cache" FROM "models" WHERE "model_number"='x5-133 ady'; | 2-167482-1 |
What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ? | CREATE TABLE "models" (
"model_number" text,
"frequency" text,
"l1_cache" text,
"mult" real,
"voltage" text
); | SELECT "model_number" FROM "models" WHERE "voltage"='3.45 v' AND "frequency"='133 mhz'; | 2-167482-1 |
What is the Nationality of the Aracataca Ship? | CREATE TABLE "summary_of_raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
); | SELECT "nationality" FROM "summary_of_raiding_history" WHERE "ship"='aracataca'; | 2-16821356-1 |
WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM? | CREATE TABLE "comparative_table_showing_corresponding_" (
"months_in_malayalam_era" text,
"in_malayalam" text,
"gregorian_calendar" text,
"tamil_calendar" text,
"saka_era" text,
"sign_of_zodiac" text
); | SELECT "saka_era" FROM "comparative_table_showing_corresponding_" WHERE "months_in_malayalam_era"='medam'; | 2-169955-1 |
WHAT IS THE SIGN OF ZODIAC OF മീനം? | CREATE TABLE "comparative_table_showing_corresponding_" (
"months_in_malayalam_era" text,
"in_malayalam" text,
"gregorian_calendar" text,
"tamil_calendar" text,
"saka_era" text,
"sign_of_zodiac" text
); | SELECT "sign_of_zodiac" FROM "comparative_table_showing_corresponding_" WHERE "in_malayalam"='മീനം'; | 2-169955-1 |
WHAT IS THE SAKA ERA OF VIRGO? | CREATE TABLE "comparative_table_showing_corresponding_" (
"months_in_malayalam_era" text,
"in_malayalam" text,
"gregorian_calendar" text,
"tamil_calendar" text,
"saka_era" text,
"sign_of_zodiac" text
); | SELECT "saka_era" FROM "comparative_table_showing_corresponding_" WHERE "sign_of_zodiac"='virgo'; | 2-169955-1 |
WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS? | CREATE TABLE "comparative_table_showing_corresponding_" (
"months_in_malayalam_era" text,
"in_malayalam" text,
"gregorian_calendar" text,
"tamil_calendar" text,
"saka_era" text,
"sign_of_zodiac" text
); | SELECT "gregorian_calendar" FROM "comparative_table_showing_corresponding_" WHERE "sign_of_zodiac"='aquarius'; | 2-169955-1 |
WHAT IS THE IN MALAYALAM WITH kartika–agrahayana? | CREATE TABLE "comparative_table_showing_corresponding_" (
"months_in_malayalam_era" text,
"in_malayalam" text,
"gregorian_calendar" text,
"tamil_calendar" text,
"saka_era" text,
"sign_of_zodiac" text
); | SELECT "in_malayalam" FROM "comparative_table_showing_corresponding_" WHERE "saka_era"='kartika–agrahayana'; | 2-169955-1 |
What is the airport when the iata is tbj? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "iata"='tbj'; | 2-1622736-2 |
what is the iata for malta international airport? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "iata" FROM "destinations" WHERE "airport"='malta international airport'; | 2-1622736-2 |
what is the airport for the country tunisia with the icao dtaa? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "country"='tunisia' AND "icao"='dtaa'; | 2-1622736-2 |
what is the city when the country is libya and the iata is ben? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "city" FROM "destinations" WHERE "country"='libya' AND "iata"='ben'; | 2-1622736-2 |
what is the country when the city is gafsa? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "destinations" WHERE "city"='gafsa'; | 2-1622736-2 |
what is the iata when the city is tripoli? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "iata" FROM "destinations" WHERE "city"='tripoli'; | 2-1622736-2 |
Who is the 2nd round opponent when Team 2 is Red Star (D1)? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "2nd_round" FROM "round_of_16" WHERE "team_2"='red star (d1)'; | 2-16305580-2 |
When Team 2 was USL Dunkerque (D2), what was the score | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "score" FROM "round_of_16" WHERE "team_2"='usl dunkerque (d2)'; | 2-16305580-2 |
What was the team 1 when Red Star (D1) was team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "team_1" FROM "round_of_16" WHERE "team_2"='red star (d1)'; | 2-16305580-2 |
Which team has home game with tie of 4? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "sixth_round_proper" WHERE "tie_no"='4'; | 2-16222274-7 |
what is score of a team with tie of 4? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "sixth_round_proper" WHERE "tie_no"='4'; | 2-16222274-7 |
What is the score of the game with 39,592 attendance? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "sixth_round_proper" WHERE "attendance"='39,592'; | 2-16222274-7 |
How many attended the game when the score was tie at 4? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "sixth_round_proper" WHERE "tie_no"='4'; | 2-16222274-7 |
Which player was defensive back after round 3? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "position"='defensive back' AND "round">3; | 2-16434134-1 |
What was the pick for Bill Gramatica after round 2? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "pick" FROM "nfl_draft" WHERE "round">2 AND "player"='bill gramatica'; | 2-16434134-1 |
What was the record on june 29? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "date"='june 29'; | 2-17103729-7 |
What were the high points on june 20? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "regular_season" WHERE "date"='june 20'; | 2-17103729-7 |
Which Record has a Location/Attendance of palace of auburn hills 8,108? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "location_attendance"='palace of auburn hills 8,108'; | 2-17103729-7 |
Which Game is the lowest one that has a Record of 11-4? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT MIN("game") FROM "regular_season" WHERE "record"='11-4'; | 2-17103729-7 |
Which Date has a Location/Attendance of verizon center 7,587? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "location_attendance"='verizon center 7,587'; | 2-17104539-10 |
Which High rebounds has a High points of douglas (23)? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='douglas (23)'; | 2-17104539-10 |
Which Score has an Opponent of seattle? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "regular_season" WHERE "opponent"='seattle'; | 2-17104539-10 |
Which Record has a High points of hoffman (16)? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "high_points"='hoffman (16)'; | 2-17104539-10 |
Which round has a record of 5-3 (1)? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "record"='5-3 (1)'; | 2-17447030-2 |
Who were the Djurgarden scorers when the venue was Idrottsparken? | CREATE TABLE "svenska_cupen_2004" (
"date" text,
"venue" text,
"opponents" text,
"score" text,
"comp" text,
"djurg_rden_scorers" text,
"attendance" text
); | SELECT "djurg_rden_scorers" FROM "svenska_cupen_2004" WHERE "venue"='idrottsparken'; | 2-16620240-2 |
what is the series when the team is gunbroker racing? | CREATE TABLE "nascar_sponsorship" (
"year" real,
"series" text,
"make" text,
"driver" text,
"team" text,
"schedule" text,
"role" text
); | SELECT "series" FROM "nascar_sponsorship" WHERE "team"='gunbroker racing'; | 2-16515701-1 |
what is the team when the make is dodge and the year is after 2008? | CREATE TABLE "nascar_sponsorship" (
"year" real,
"series" text,
"make" text,
"driver" text,
"team" text,
"schedule" text,
"role" text
); | SELECT "team" FROM "nascar_sponsorship" WHERE "make"='dodge' AND "year">2008; | 2-16515701-1 |
what is the make for the year 2008? | CREATE TABLE "nascar_sponsorship" (
"year" real,
"series" text,
"make" text,
"driver" text,
"team" text,
"schedule" text,
"role" text
); | SELECT "make" FROM "nascar_sponsorship" WHERE "year"=2008; | 2-16515701-1 |
what is the year when the driver was kevin lepage? | CREATE TABLE "nascar_sponsorship" (
"year" real,
"series" text,
"make" text,
"driver" text,
"team" text,
"schedule" text,
"role" text
); | SELECT SUM("year") FROM "nascar_sponsorship" WHERE "driver"='kevin lepage'; | 2-16515701-1 |
what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white? | CREATE TABLE "nascar_sponsorship" (
"year" real,
"series" text,
"make" text,
"driver" text,
"team" text,
"schedule" text,
"role" text
); | SELECT "team" FROM "nascar_sponsorship" WHERE "schedule"='limited' AND "year"<2007 AND "driver"='jason white'; | 2-16515701-1 |
Which rank is the lowest with 37 games and more than 613 points? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MIN("rank") FROM "points" WHERE "games"=37 AND "points">613; | 2-16362719-2 |
What is Grupo Capitol Valladolid's highest rank with more than 34 games? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MAX("rank") FROM "points" WHERE "team"='grupo capitol valladolid' AND "games">34; | 2-16362719-2 |
How many points are there for rank 5 with more than 34 games? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT COUNT("points") FROM "points" WHERE "rank"=5 AND "games">34; | 2-16362719-2 |
Where is the kap shui mun bridge? | CREATE TABLE "completed_cable_stayed_bridges" (
"name" text,
"location" text,
"country" text,
"longest_span" text,
"comp" real,
"pylons" text
); | SELECT "location" FROM "completed_cable_stayed_bridges" WHERE "name"='kap shui mun bridge'; | 2-1650348-1 |
What tournament shows 2013 as 2r, and a 2010 as 1r? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2013"='2r' AND "2010"='1r'; | 2-17617561-4 |
What shows for 2013 when the 2008 is 1r? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2013" FROM "singles_performance_timeline" WHERE "2008"='1r'; | 2-17617561-4 |
What shows for 2011 when 2012 is q1, and a 2010 is 4r? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2011" FROM "singles_performance_timeline" WHERE "2012"='q1' AND "2010"='4r'; | 2-17617561-4 |
What tournament has a 2010 of 1r, and a 2008 of 1r? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2010"='1r' AND "2008"='1r'; | 2-17617561-4 |
What shows for 2011 at the French open? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='french open'; | 2-17617561-4 |
What shows for 2013 when 2012 is 2r? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2013" FROM "singles_performance_timeline" WHERE "2012"='2r'; | 2-17617561-4 |
How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001? | CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text,
"south_asians_2011" real,
"pct_2011" text
); | SELECT COUNT("south_asians_2011") FROM "population" WHERE "province"='quebec' AND "south_asians_2001"<'59,510'; | 2-1717824-1 |
Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011? | CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text,
"south_asians_2011" real,
"pct_2011" text
); | SELECT "province" FROM "population" WHERE "south_asians_2001"<190 AND "south_asians_2011"=115; | 2-1717824-1 |
What % of South Asians were in Nova Scotia in 2001 with 115 and 2011 with 12,620? | CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text,
"south_asians_2011" real,
"pct_2011" text
); | SELECT "pct_2001" FROM "population" WHERE "south_asians_2001">115 AND "south_asians_2011">'12,620' AND "province"='nova scotia'; | 2-1717824-1 |
How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055? | CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text,
"south_asians_2011" real,
"pct_2011" text
); | SELECT AVG("south_asians_2001") FROM "population" WHERE "province"='alberta' AND "south_asians_2011">'159,055'; | 2-1717824-1 |
What is Result, when Extra is "Heptathlon", and when Venue is "Götzis , Austria"? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "result" FROM "achievements" WHERE "extra"='heptathlon' AND "venue"='götzis , austria'; | 2-16909729-1 |
What is the total number of Year(s), when Tournament is "World Championships"? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT COUNT("year") FROM "achievements" WHERE "tournament"='world championships'; | 2-16909729-1 |
What is Venue, when Year is 2005, and when Result is 8th? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "venue" FROM "achievements" WHERE "year"=2005 AND "result"='8th'; | 2-16909729-1 |
What is Tournament, when Result is 18th? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "achievements" WHERE "result"='18th'; | 2-16909729-1 |
What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "venue" FROM "achievements" WHERE "year">2003 AND "tournament"='hypo-meeting'; | 2-16909729-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.