question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which fatality was at ankara for the aircraft douglas c-47? | CREATE TABLE "turkish_airlines_reported_incidents_and_" (
"date" text,
"flight" text,
"aircraft" text,
"registration" text,
"location" text,
"fatalities" real
); | SELECT "fatalities" FROM "turkish_airlines_reported_incidents_and_" WHERE "location"='ankara' AND "aircraft"='douglas c-47'; | 2-167925-2 |
How many total rounds have the results of win, and n/a as the method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "res"='win' AND "method"='n/a'; | 2-17443088-2 |
How long did the match last in the Rings: Final Capture event? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "event"='rings: final capture'; | 2-17443088-2 |
What is the result for the match against Wataru Sakata? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='wataru sakata'; | 2-17443088-2 |
The match against Oleg Taktarov had what result? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='oleg taktarov'; | 2-17443088-2 |
What was the method when 4-2 was the record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='4-2'; | 2-17443088-2 |
What was the score for Tie no. 6? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"='6'; | 2-16222274-6 |
What was the tie against the away team, Leicester City? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='leicester city'; | 2-16222274-6 |
Which round has a time of 3:01? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "time"='3:01'; | 2-17430191-2 |
Where is the UFC 110 event with 3 rounds located? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "event"='ufc 110'; | 2-17430191-2 |
Which Home team score is on sunday 24 february? | CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "1st_round" WHERE "date"='sunday 24 february'; | 2-16387700-1 |
Which Home team has a score of 12.10 (82)? | CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "1st_round" WHERE "home_team_score"='12.10 (82)'; | 2-16387700-1 |
Which Crowd has a Home team of st kilda? | CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "1st_round" WHERE "home_team"='st kilda'; | 2-16387700-1 |
Which Away team has a Ground of gabba? | CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "1st_round" WHERE "ground"='gabba'; | 2-16387700-1 |
Which Crowd has a Away team of sydney? | CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT MAX("crowd") FROM "1st_round" WHERE "away_team"='sydney'; | 2-16387700-1 |
WHAT IS THE NUMBER OF COINS OF $25-1/4 OZ WITH $50-1/2 OZ OF 13,836, AND $100-01 OZ, SMALLER THAN 14,912? | CREATE TABLE "proof_coins" (
"year" real,
"10_1_10_oz" real,
"25_1_4_oz" real,
"50_1_2_oz" real,
"100_1_oz" real
); | SELECT COUNT("25_1_4_oz") FROM "proof_coins" WHERE "50_1_2_oz"='13,836' AND "100_1_oz"<'14,912'; | 2-1701670-3 |
Which OWGR pts has Dates of may 10-13? | CREATE TABLE "tournament_results" (
"dates" text,
"tournament" text,
"prize_fund" real,
"winner" text,
"owgr_pts" real
); | SELECT SUM("owgr_pts") FROM "tournament_results" WHERE "dates"='may 10-13'; | 2-17032444-1 |
Which OWGR pts has Dates of apr 26-29, and a Prize fund (¥) smaller than 120,000,000? | CREATE TABLE "tournament_results" (
"dates" text,
"tournament" text,
"prize_fund" real,
"winner" text,
"owgr_pts" real
); | SELECT MIN("owgr_pts") FROM "tournament_results" WHERE "dates"='apr 26-29' AND "prize_fund"<'120,000,000'; | 2-17032444-1 |
Which OWGR pts has a Prize fund (¥) larger than 100,000,000, and Dates of oct 25-28? | CREATE TABLE "tournament_results" (
"dates" text,
"tournament" text,
"prize_fund" real,
"winner" text,
"owgr_pts" real
); | SELECT "owgr_pts" FROM "tournament_results" WHERE "prize_fund">'100,000,000' AND "dates"='oct 25-28'; | 2-17032444-1 |
How many OWGR pts have a Prize fund (¥) of 100,000,000, and a Tournament of tsuruya open? | CREATE TABLE "tournament_results" (
"dates" text,
"tournament" text,
"prize_fund" real,
"winner" text,
"owgr_pts" real
); | SELECT COUNT("owgr_pts") FROM "tournament_results" WHERE "prize_fund"='100,000,000' AND "tournament"='tsuruya open'; | 2-17032444-1 |
Which Home has an Attendance larger than 1,858? | CREATE TABLE "round_9" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT "home" FROM "round_9" WHERE "attendance">'1,858'; | 2-17026847-11 |
Which Attendance has a Score of 0:2? | CREATE TABLE "round_9" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT MAX("attendance") FROM "round_9" WHERE "score"='0:2'; | 2-17026847-11 |
Which Date has an Attendance larger than 1,858? | CREATE TABLE "round_9" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT "date" FROM "round_9" WHERE "attendance">'1,858'; | 2-17026847-11 |
Which Home has a Score of 0:2? | CREATE TABLE "round_9" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT "home" FROM "round_9" WHERE "score"='0:2'; | 2-17026847-11 |
Which Date has a Location/Attendance of verizon center 7,448? | 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,448'; | 2-17103645-9 |
Which Game has a Score of 101-109 (ot)? | 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 AVG("game") FROM "regular_season" WHERE "score"='101-109 (ot)'; | 2-17103645-9 |
Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "high_assists" FROM "playoffs" WHERE "location_attendance"='fleetcenter' AND "score"='w 120-87'; | 2-17622423-10 |
Which player was the high points scorer during the game with an end score of W 93-85? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "high_points" FROM "playoffs" WHERE "score"='w 93-85'; | 2-17622423-10 |
For the game in which P. Pierce (31) scored the most points, what was the final score? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "high_points"='p. pierce (31)'; | 2-17622423-10 |
Who made the most assists in Game 2 of this season? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "high_assists" FROM "playoffs" WHERE "game"=2; | 2-17622423-10 |
What is the smallest number of goals when the goals against are more than 58 and played number is more 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 MIN("goals_for") FROM "group_ii" WHERE "goals_against">58 AND "played">30; | 2-17421790-4 |
What is the minimum position when points are 32 and wins are greater than 13? | 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("position") FROM "group_ii" WHERE "points"=32 AND "wins">13; | 2-17421790-4 |
What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51? | 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("draws") FROM "group_ii" WHERE "goals_against">33 AND "losses"=13 AND "goals_for"<51; | 2-17421790-4 |
What is the position when wins are fewer than 14 and draws are fewer 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 AVG("position") FROM "group_ii" WHERE "wins"<14 AND "draws"<3; | 2-17421790-4 |
Which club has 15 losses and 14 wins? | 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 "club" FROM "group_ii" WHERE "losses"=15 AND "wins"=14; | 2-17421790-4 |
What home is dated march 19? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "home" FROM "game_log" WHERE "date"='march 19'; | 2-17190456-7 |
What home has 46 points? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "home" FROM "game_log" WHERE "points"=46; | 2-17190456-7 |
What was the date of release for the episode sorted value of 6Y/AA? | CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"doctor" text,
"featuring" text,
"released" text
); | SELECT "released" FROM "series_1" WHERE "series_sorted"='6y/aa'; | 2-1620397-2 |
What is the series sorted value for the episode released December 2009? | CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"doctor" text,
"featuring" text,
"released" text
); | SELECT "series_sorted" FROM "series_1" WHERE "released"='december 2009'; | 2-1620397-2 |
What round has Team #2 Gomel? | CREATE TABLE "belarusian_clubs_in_euporean_cups" (
"round" text,
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "round" FROM "belarusian_clubs_in_euporean_cups" WHERE "team_num2"='gomel'; | 2-17503198-4 |
Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "elevator" FROM "cardinal_electors" WHERE "order_and_title"='cardinal-deacon of s. nicola in carcere tulliano'; | 2-16915939-1 |
The Cardinal-Priest of S. Prassede order and title has who as the elevator? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "elevator" FROM "cardinal_electors" WHERE "order_and_title"='cardinal-priest of s. prassede'; | 2-16915939-1 |
When the elevator was Innocent IV what was the nationality? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "nationality" FROM "cardinal_electors" WHERE "elevator"='innocent iv'; | 2-16915939-1 |
When Giovanni Gaetano Orsini was the elector who was the elevator? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "elevator" FROM "cardinal_electors" WHERE "elector"='giovanni gaetano orsini'; | 2-16915939-1 |
When Anchero Pantaleone was the elector what is under nationality? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "nationality" FROM "cardinal_electors" WHERE "elector"='anchero pantaleone'; | 2-16915939-1 |
With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "order_and_title" FROM "cardinal_electors" WHERE "elevated"='may 1262' AND "elector"='guillaume de bray'; | 2-16915939-1 |
What was the result when the San Francisco 49ers were the opponents? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "opponent"='san francisco 49ers'; | 2-16714228-2 |
What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_titles" WHERE "tournament"='rabat' AND "opponent_in_the_final"='yannik reuter'; | 2-16981551-2 |
What is the Opponent of the match played on a Clay Surface with a Score of 6–0, 6–2? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "singles_titles" WHERE "surface"='clay' AND "score"='6–0, 6–2'; | 2-16981551-2 |
What is the Date of the match with Opponent in the final of Filip Polášek? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "date" FROM "singles_titles" WHERE "opponent_in_the_final"='filip polášek'; | 2-16981551-2 |
What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_titles" WHERE "tournament"='rabat' AND "opponent_in_the_final"='frederico gil'; | 2-16981551-2 |
On what Date was the Result of the game W 30–15? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "result"='w 30–15'; | 2-16778330-2 |
What is the Date of Week 9? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=9; | 2-16778330-2 |
What is the Result of the game on September 1, 1996? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='september 1, 1996'; | 2-16778330-2 |
On what Week was the Result W 34–24? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT AVG("week") FROM "schedule" WHERE "result"='w 34–24'; | 2-16778330-2 |
What is the Week on November 10, 1996? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "week" FROM "schedule" WHERE "date"='november 10, 1996'; | 2-16778330-2 |
What is the Status of the Paris with a Census Ranking of 3,474 of 5,008? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "status" FROM "parishes" WHERE "census_ranking"='3,474 of 5,008'; | 2-170969-2 |
What is the Area of the Parish with a Population of 2,113? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT COUNT("area_km_2") FROM "parishes" WHERE "population"='2,113'; | 2-170969-2 |
What is the Population of the Parish with an Area km 2 of 236.76? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT MIN("population") FROM "parishes" WHERE "area_km_2"=236.76; | 2-170969-2 |
What is the Area of the Parish with a Population of 71? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "area_km_2" FROM "parishes" WHERE "population"=71; | 2-170969-2 |
What is the elevation and height for Halfbeak? | CREATE TABLE "flintlock_tests" (
"name" text,
"location" text,
"elevation_height" text,
"delivery" text,
"purpose" text,
"yield" text
); | SELECT "elevation_height" FROM "flintlock_tests" WHERE "name"='halfbeak'; | 2-16639136-1 |
What is the purpose of Long Shot? | CREATE TABLE "flintlock_tests" (
"name" text,
"location" text,
"elevation_height" text,
"delivery" text,
"purpose" text,
"yield" text
); | SELECT "purpose" FROM "flintlock_tests" WHERE "name"='long shot'; | 2-16639136-1 |
What is the yield in NTS Area U2R when the purpose is weapons development? | CREATE TABLE "flintlock_tests" (
"name" text,
"location" text,
"elevation_height" text,
"delivery" text,
"purpose" text,
"yield" text
); | SELECT "yield" FROM "flintlock_tests" WHERE "purpose"='weapons development' AND "location"='nts area u2r'; | 2-16639136-1 |
What location was listed on 1977-09-15? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"borough" text
); | SELECT "location" FROM "references" WHERE "listed"='1977-09-15'; | 2-17237865-1 |
What is the Borough for the Seward listing on 1977-11-23? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"borough" text
); | SELECT "borough" FROM "references" WHERE "location"='seward' AND "listed"='1977-11-23'; | 2-17237865-1 |
What location was listed on 1977-11-23? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"borough" text
); | SELECT "location" FROM "references" WHERE "listed"='1977-11-23'; | 2-17237865-1 |
What are the listings in the Valdez-cordova (census area) Borough? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"borough" text
); | SELECT "listed" FROM "references" WHERE "borough"='valdez-cordova (census area)'; | 2-17237865-1 |
What is the name of the building listed on 1977-11-23? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"borough" text
); | SELECT "name" FROM "references" WHERE "listed"='1977-11-23'; | 2-17237865-1 |
What was the Maple Leafs' record on game 52? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game"=52; | 2-17599495-7 |
What was Germany's lowest sales when the profit was smaller than 6.7 billion? | CREATE TABLE "2011_list" (
"rank" real,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT MIN("sales_billion") FROM "2011_list" WHERE "headquarters"='germany' AND "profits_billion"<6.7; | 2-1682026-3 |
For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 billion? | CREATE TABLE "2011_list" (
"rank" real,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT "industry" FROM "2011_list" WHERE "profits_billion"<14.2 AND "assets_billion">'2,467.9'; | 2-1682026-3 |
For which industry is the assets smaller than 1,258.1 and the profit smaller than 11.6? | CREATE TABLE "2011_list" (
"rank" real,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT "industry" FROM "2011_list" WHERE "assets_billion"<'1,258.1' AND "profits_billion"<11.6; | 2-1682026-3 |
What is the average rank for USA when the market value is 407.2 billion? | CREATE TABLE "2011_list" (
"rank" real,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT AVG("rank") FROM "2011_list" WHERE "headquarters"='usa' AND "market_value_billion">407.2; | 2-1682026-3 |
What was date was the attendance larger than 875 against Platense? | CREATE TABLE "round_3" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT "date" FROM "round_3" WHERE "attendance">875 AND "home"='platense'; | 2-17026847-5 |
Who was the home team with 3305 in attendance? | CREATE TABLE "round_3" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT "home" FROM "round_3" WHERE "attendance"=3305; | 2-17026847-5 |
What was the highest attendance for the Hispano team? | CREATE TABLE "round_3" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT MAX("attendance") FROM "round_3" WHERE "home"='hispano'; | 2-17026847-5 |
What country has the player Tiger Woods? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "player"='tiger woods'; | 2-16514630-7 |
What is the Money ($) player Loren Roberts has made? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT MAX("money") FROM "final_round" WHERE "player"='loren roberts'; | 2-16514630-7 |
What is the Pinnacle height for Metcalf, Georgia? | CREATE TABLE "structures_past_or_present_600_m_and_tal" (
"name" text,
"pinnacle_height" text,
"structure_type" text,
"main_use" text,
"town" text
); | SELECT "pinnacle_height" FROM "structures_past_or_present_600_m_and_tal" WHERE "town"='metcalf, georgia'; | 2-166570-1 |
Who placed t7 with a score of 70-71=141? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "place"='t7' AND "score"='70-71=141'; | 2-17198476-4 |
What country scored 71-69=140? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "score"='71-69=140'; | 2-17198476-4 |
What nation had more than 3 bronze, 0 gold, and a total of 9? | CREATE TABLE "official_sports" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "official_sports" WHERE "bronze">3 AND "gold"=0 AND "total"=9; | 2-16488920-3 |
What's the earliest year the new york giants lost at new meadowlands stadium? | CREATE TABLE "2010s_eagles_5_3" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
); | SELECT MIN("year") FROM "2010s_eagles_5_3" WHERE "loser"='new york giants' AND "location"='new meadowlands stadium'; | 2-16900662-10 |
How many years did the new york giants lose at metlife stadium? | CREATE TABLE "2010s_eagles_5_3" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
); | SELECT COUNT("year") FROM "2010s_eagles_5_3" WHERE "location"='metlife stadium' AND "loser"='new york giants'; | 2-16900662-10 |
How many years did the new york giants win with a result of 15-7 at lincoln financial field? | CREATE TABLE "2010s_eagles_5_3" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
); | SELECT COUNT("year") FROM "2010s_eagles_5_3" WHERE "location"='lincoln financial field' AND "winner"='new york giants' AND "result"='15-7'; | 2-16900662-10 |
Who lost when the philadelphia eagles won at lincoln financial field on september 30? | CREATE TABLE "2010s_eagles_5_3" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
); | SELECT "loser" FROM "2010s_eagles_5_3" WHERE "location"='lincoln financial field' AND "winner"='philadelphia eagles' AND "date"='september 30'; | 2-16900662-10 |
What date did the new york giants win after 2011? | CREATE TABLE "2010s_eagles_5_3" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
); | SELECT "date" FROM "2010s_eagles_5_3" WHERE "winner"='new york giants' AND "year">2011; | 2-16900662-10 |
What is Official Name, when Census Ranking is 769 of 5,008? | CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "official_name" FROM "albert_county_new_brunswick" WHERE "census_ranking"='769 of 5,008'; | 2-170958-2 |
What is Status, when Area km 2 is greater than 303.73? | CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "status" FROM "albert_county_new_brunswick" WHERE "area_km_2">303.73; | 2-170958-2 |
What is Area km 2, when Population is greater than 1,395? | CREATE TABLE "albert_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT MIN("area_km_2") FROM "albert_county_new_brunswick" WHERE "population">'1,395'; | 2-170958-2 |
What is the Place of the Player from Zimbabwe? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "country"='zimbabwe'; | 2-17162166-6 |
What is the Place of the Player with a Score of 73-68-71=212? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "score"='73-68-71=212'; | 2-17162166-6 |
What is the Place of the Player with a +3 To par? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "to_par"='+3'; | 2-17162166-6 |
What is the Score of Stewart Cink with a To par of +4? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "to_par"='+4' AND "player"='stewart cink'; | 2-17162166-6 |
What T10 Place Player has a Score of 74-73-68=215? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "place"='t10' AND "score"='74-73-68=215'; | 2-17162166-6 |
What is the maximum pick when WR was the position and Michigan the college, and the overall greater than 255? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "position"='wr' AND "college"='michigan' AND "overall">255; | 2-17100961-42 |
What is the total round when DB was the position, and the pick less than 21, and Jeff Welch as the name? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "position"='db' AND "name"='jeff welch' AND "pick"<21; | 2-17100961-42 |
What is Player, when Year(s) Won is 1978 , 1985? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "year_s_won"='1978 , 1985'; | 2-17231232-2 |
WHAT IS THE AVERAGE PICK FOR PURDUE, WITH A ROUND SMALLER THAN 5? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "college"='purdue' AND "round"<5; | 2-17100961-69 |
WHAT IS THE HIGHEST PICK WITH A TE POSITION, AND ROUND SMALLER THAN 2? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "position"='te' AND "round"<2; | 2-17100961-69 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.