question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the least year for population woocoo more than 750 and population region total more than 74,210 with population tiaro of 4,449 and population maryborough less than 24,465 | CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_maryborough" real,
"population_hervey_bay" real,
"population_woocoo" real,
"population_tiaro" real
); | SELECT MIN("year") FROM "population" WHERE "population_woocoo">750 AND "population_region_total">'74,210' AND "population_tiaro"='4,449' AND "population_maryborough"<'24,465'; | 2-12576536-1 |
Which manufacturer made Shoya Tomizawa's motorcycle? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "manufacturer" FROM "125cc_classification" WHERE "rider"='shoya tomizawa'; | 2-13139516-3 |
How many laps were ridden in the race that had a Time/Retired of +37.351? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "125cc_classification" WHERE "time_retired"='+37.351'; | 2-13139516-3 |
How many laps did Mattia Pasini ride? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "125cc_classification" WHERE "rider"='mattia pasini'; | 2-13139516-3 |
What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? | CREATE TABLE "notable_players" (
"nationality" text,
"position" text,
"leeds_career" text,
"appearances" real,
"goals" real
); | SELECT "position" FROM "notable_players" WHERE "appearances"=244 AND "leeds_career"='1981–1989'; | 2-12988956-1 |
What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? | CREATE TABLE "notable_players" (
"nationality" text,
"position" text,
"leeds_career" text,
"appearances" real,
"goals" real
); | SELECT "position" FROM "notable_players" WHERE "appearances">167 AND "nationality"='wales' AND "goals">0 AND "leeds_career"='1977–1982'; | 2-12988956-1 |
What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances? | CREATE TABLE "notable_players" (
"nationality" text,
"position" text,
"leeds_career" text,
"appearances" real,
"goals" real
); | SELECT AVG("goals") FROM "notable_players" WHERE "leeds_career"='1960–1964' AND "appearances"<120; | 2-12988956-1 |
Who attended the school in 2008, that Deandria Hill attended in 2005? | CREATE TABLE "alma_mater" (
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text
); | SELECT "2008" FROM "alma_mater" WHERE "2005"='deandria hill'; | 2-12159638-1 |
Who attended the school in 2006, that Jasmine Wilson attended in 2005? | CREATE TABLE "alma_mater" (
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text
); | SELECT "2006" FROM "alma_mater" WHERE "2005"='jasmine wilson'; | 2-12159638-1 |
Who attended the school in 2009, that Lakita Hall attended in 2007? | CREATE TABLE "alma_mater" (
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text
); | SELECT "2009" FROM "alma_mater" WHERE "2007"='lakita hall'; | 2-12159638-1 |
Who attended the school in 2007, that Kiara Spivey attended in 2008? | CREATE TABLE "alma_mater" (
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text
); | SELECT "2007" FROM "alma_mater" WHERE "2008"='kiara spivey'; | 2-12159638-1 |
Who attended the school in 2006, that Whitney Powell attended in 2007? | CREATE TABLE "alma_mater" (
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text
); | SELECT "2006" FROM "alma_mater" WHERE "2007"='whitney powell'; | 2-12159638-1 |
Who attended the school in 2008, that Brikajdri Wilson attended in 2006? | CREATE TABLE "alma_mater" (
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text
); | SELECT "2008" FROM "alma_mater" WHERE "2006"='brikajdri wilson'; | 2-12159638-1 |
What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MIN("rank") FROM "semifinal_1" WHERE "lane">5 AND "name"='elizabeth van welie'; | 2-12446771-4 |
What is the rank of the swimmer with a time of 2:11.83? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "rank" FROM "semifinal_1" WHERE "time"='2:11.83'; | 2-12446771-4 |
What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MIN("lane") FROM "semifinal_1" WHERE "time"='2:07.57' AND "rank">1; | 2-12446771-4 |
What is the rank of the swimmer named Petria Thomas? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "rank" FROM "semifinal_1" WHERE "name"='petria thomas'; | 2-12446771-4 |
How many people were in attendance when the group position was 3rd? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "attendance" FROM "group_stage" WHERE "group_position"='3rd'; | 2-12966044-7 |
What was the final score agains Dynamo Kyiv, when the group position was 1st? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "result_f_a" FROM "group_stage" WHERE "group_position"='1st' AND "opponents"='dynamo kyiv'; | 2-12966044-7 |
What was the average attendance on 18 October 2000? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT AVG("attendance") FROM "group_stage" WHERE "date"='18 october 2000'; | 2-12966044-7 |
In 2007, what player won player of the year? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "year_s_won"='2007'; | 2-12531523-1 |
What year(s) did Mike Weir win player of the year? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "year_s_won" FROM "made_the_cut" WHERE "player"='mike weir'; | 2-12531523-1 |
The To par of +14 was won in what year(s)? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "year_s_won" FROM "made_the_cut" WHERE "to_par"='+14'; | 2-12531523-1 |
What is the result when the competition is 1982 president's cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='1982 president''s cup'; | 2-12849683-3 |
What is the score when the date is December 14, 1985? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='december 14, 1985'; | 2-12849683-3 |
What is the venue when the date is September 24, 1980? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "date"='september 24, 1980'; | 2-12849683-3 |
What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "result"='2-0' AND "score"='1 goal' AND "competition"='1980 afc asian cup'; | 2-12849683-3 |
What is the venue when the score is 1 goal, and the date is August 27, 1980? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "score"='1 goal' AND "date"='august 27, 1980'; | 2-12849683-3 |
What is the result when the date is August 27, 1980? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='august 27, 1980'; | 2-12849683-3 |
What year shows the Entrant of bmw motorsport? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("year") FROM "complete_european_formula_two_championsh" WHERE "entrant"='bmw motorsport'; | 2-1217995-1 |
Which Entrant of stp march engineering scored the lowest points? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MIN("points") FROM "complete_european_formula_two_championsh" WHERE "entrant"='stp march engineering'; | 2-1217995-1 |
What year had the Chassis of march 762 and more than 0 points? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("year") FROM "complete_european_formula_two_championsh" WHERE "chassis"='march 762' AND "points">0; | 2-1217995-1 |
Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MIN("points") FROM "complete_european_formula_two_championsh" WHERE "engine"='bmw' AND "chassis"='march 792' AND "year">1979; | 2-1217995-1 |
Name the record when the attendance was more than 20,228 and rockies was the opponent on june 8 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "attendance">'20,228' AND "opponent"='rockies' AND "date"='june 8'; | 2-12206056-5 |
Which Conference has a City of boca raton, and a School of florida atlantic university? | CREATE TABLE "list_of_sports_teams_in_florida" (
"school" text,
"nickname" text,
"city" text,
"affiliation" text,
"conference" text,
"national_championships" real
); | SELECT "conference" FROM "list_of_sports_teams_in_florida" WHERE "city"='boca raton' AND "school"='florida atlantic university'; | 2-12414833-4 |
Which School has a National Championships of 2, and a City of orlando? | CREATE TABLE "list_of_sports_teams_in_florida" (
"school" text,
"nickname" text,
"city" text,
"affiliation" text,
"conference" text,
"national_championships" real
); | SELECT "school" FROM "list_of_sports_teams_in_florida" WHERE "national_championships"=2 AND "city"='orlando'; | 2-12414833-4 |
Which school has National Championships smaller than 2, and a Nickname of lions? | CREATE TABLE "list_of_sports_teams_in_florida" (
"school" text,
"nickname" text,
"city" text,
"affiliation" text,
"conference" text,
"national_championships" real
); | SELECT "school" FROM "list_of_sports_teams_in_florida" WHERE "national_championships"<2 AND "nickname"='lions'; | 2-12414833-4 |
What is the win percentage when 2011 shows 1r in the Paris tournament? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"win_pct" text
); | SELECT "win_pct" FROM "singles_performance_timeline" WHERE "2011"='1r' AND "tournament"='paris'; | 2-12299543-3 |
What shows for 2009 when 25 shows for 2011? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"win_pct" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2011"='25'; | 2-12299543-3 |
What shows for 2010 when 2011 is 1r at the US Open tournament? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"win_pct" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2011"='1r' AND "tournament"='us open'; | 2-12299543-3 |
What is the win percentage when 2010 was 98? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"win_pct" text
); | SELECT "win_pct" FROM "singles_performance_timeline" WHERE "2010"='98'; | 2-12299543-3 |
What shows for 2008 at the Shanghai tournament? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"win_pct" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "tournament"='shanghai'; | 2-12299543-3 |
What is the win percentage for the 2012 of olympic games? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"win_pct" text
); | SELECT "win_pct" FROM "singles_performance_timeline" WHERE "2012"='olympic games'; | 2-12299543-3 |
Who was the opponent in the match that lasted 1:22? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:22'; | 2-13044634-2 |
Which round did the bout against Jonatas Novaes end in? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='jonatas novaes'; | 2-13044634-2 |
Name the average established for championships less than 1 and club of erie seawolves | CREATE TABLE "sports" (
"club" text,
"league" text,
"sport" text,
"venue" text,
"established" real,
"championships" real
); | SELECT AVG("established") FROM "sports" WHERE "championships"<1 AND "club"='erie seawolves'; | 2-132482-2 |
Name the most championships for club of erie seawolves | CREATE TABLE "sports" (
"club" text,
"league" text,
"sport" text,
"venue" text,
"established" real,
"championships" real
); | SELECT MAX("championships") FROM "sports" WHERE "club"='erie seawolves'; | 2-132482-2 |
Name the sport with championships less than 1 and club of erie bayhawks | CREATE TABLE "sports" (
"club" text,
"league" text,
"sport" text,
"venue" text,
"established" real,
"championships" real
); | SELECT "sport" FROM "sports" WHERE "championships"<1 AND "club"='erie bayhawks'; | 2-132482-2 |
what is the date for game 3? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT "date" FROM "summary" WHERE "game"=3; | 2-1332313-1 |
What is the English title of 餓狼伝説バトルアーカイブズ2? | CREATE TABLE "titles_in_the_neo_geo_online_collection_" (
"vol" text,
"english_title" text,
"japanese_title" text,
"release_date_japan" text,
"sony_catalog_no" text
); | SELECT "english_title" FROM "titles_in_the_neo_geo_online_collection_" WHERE "japanese_title"='餓狼伝説バトルアーカイブズ2'; | 2-12572989-1 |
Who was the opponent when there was a loss of Francisco (1-1)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='francisco (1-1)'; | 2-12206689-4 |
On what date was the attendance 17,136? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "date" FROM "game_log" WHERE "attendance"='17,136'; | 2-12206689-4 |
Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "opponent" FROM "game_log" WHERE "score"='6-5' AND "loss"='white (2-1)'; | 2-12206689-4 |
What was the score for the game that had an attendance of 41,087? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "score" FROM "game_log" WHERE "attendance"='41,087'; | 2-12206689-4 |
When the game had a loss of Koch (0-1) what was the attendance? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "attendance" FROM "game_log" WHERE "loss"='koch (0-1)'; | 2-12206689-4 |
What is the inegi code for mexicali with 13,700 km area? | CREATE TABLE "list_of_mexican_municipalities" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"population_2010" real,
"area_km2" real
); | SELECT AVG("inegi_code") FROM "list_of_mexican_municipalities" WHERE "municipal_seat"='mexicali' AND "area_km2">'13,700'; | 2-12453743-1 |
What is the date of the away game when the team has a league position of 9th? | CREATE TABLE "premier_league" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"league_position" text
); | SELECT "date" FROM "premier_league" WHERE "h_a"='a' AND "league_position"='9th'; | 2-12988799-4 |
Which Score has an Attendance larger than 13,175 and a Record of 18-16? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "attendance">'13,175' AND "record"='18-16'; | 2-13041602-3 |
On May 17, what is the highest Attendance? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT MAX("attendance") FROM "game_log" WHERE "date"='may 17'; | 2-13041602-3 |
What is the highest number of points for the Modena Team Spa after 1991? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("points") FROM "complete_formula_one_results" WHERE "entrant"='modena team spa' AND "year">1991; | 2-1226510-1 |
What was the earliest year for the Ligier Gitanes? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MIN("year") FROM "complete_formula_one_results" WHERE "entrant"='ligier gitanes'; | 2-1226510-1 |
Which company or product was invested in by peter jones with more than £35,000 requested ? | CREATE TABLE "series_5" (
"episode" text,
"first_aired" text,
"entrepreneur_s" text,
"company_or_product_name" text,
"money_requested" real,
"investing_dragon_s" text
); | SELECT "company_or_product_name" FROM "series_5" WHERE "money_requested">'35,000' AND "investing_dragon_s"='peter jones'; | 2-12617978-9 |
In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? | CREATE TABLE "series_5" (
"episode" text,
"first_aired" text,
"entrepreneur_s" text,
"company_or_product_name" text,
"money_requested" real,
"investing_dragon_s" text
); | SELECT MAX("money_requested") FROM "series_5" WHERE "episode"='episode 7' AND "entrepreneur_s"='jerry mantalvanos & paul merker'; | 2-12617978-9 |
How much money did reestore request ? | CREATE TABLE "series_5" (
"episode" text,
"first_aired" text,
"entrepreneur_s" text,
"company_or_product_name" text,
"money_requested" real,
"investing_dragon_s" text
); | SELECT "money_requested" FROM "series_5" WHERE "company_or_product_name"='reestore'; | 2-12617978-9 |
How much money did gaming alerts ask for? | CREATE TABLE "series_5" (
"episode" text,
"first_aired" text,
"entrepreneur_s" text,
"company_or_product_name" text,
"money_requested" real,
"investing_dragon_s" text
); | SELECT COUNT("money_requested") FROM "series_5" WHERE "company_or_product_name"='gaming alerts'; | 2-12617978-9 |
Who is the winner of the prize of €93,000? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "winner" FROM "european_poker_tour" WHERE "prize"='€93,000'; | 2-1296513-1 |
Who is the winner of the prize of £200,000 as listed? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "winner" FROM "european_poker_tour" WHERE "prize"='£200,000'; | 2-1296513-1 |
Ram Vaswani was a winner on what date? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "date" FROM "european_poker_tour" WHERE "winner"='ram vaswani'; | 2-1296513-1 |
Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? | CREATE TABLE "race_podiums" (
"season" real,
"date" text,
"location" text,
"race" text,
"place" text
); | SELECT "race" FROM "race_podiums" WHERE "place"='2nd' AND "season"=1996 AND "date"='20-jan-1996'; | 2-1243653-3 |
What is the place result of the downhill race before the 1996 season on 11-Mar-1995? | CREATE TABLE "race_podiums" (
"season" real,
"date" text,
"location" text,
"race" text,
"place" text
); | SELECT "place" FROM "race_podiums" WHERE "race"='downhill' AND "season"<1996 AND "date"='11-mar-1995'; | 2-1243653-3 |
What place result was the 1996 season at Lake Louise, Canada? | CREATE TABLE "race_podiums" (
"season" real,
"date" text,
"location" text,
"race" text,
"place" text
); | SELECT "place" FROM "race_podiums" WHERE "season"=1996 AND "location"='lake louise, canada'; | 2-1243653-3 |
What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "home"='detroit red wings' AND "score"='1–2' AND "date"='december 29'; | 2-13160634-2 |
Whose Visitor has a Record of 10–11–5? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "regular_season" WHERE "record"='10–11–5'; | 2-13160634-2 |
What is the typical match smaller than 2? | CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT AVG("average") FROM "season" WHERE "matches"<2; | 2-12296897-3 |
What are the total number of matches smaller than 2 with a tally of 1-19? | CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT COUNT("total") FROM "season" WHERE "tally"='1-19' AND "matches"<2; | 2-12296897-3 |
What is the average total in the county of tipperary with a rank less than 1? | CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT COUNT("average") FROM "season" WHERE "county"='tipperary' AND "rank"<1; | 2-12296897-3 |
What is the Qual with less than 68 laps? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "laps"<68; | 2-1252072-1 |
The 147.481 Qual, happened in what year? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "year" FROM "indy_500_results" WHERE "qual"='147.481'; | 2-1252072-1 |
Name the being for having things of language, religions, work, customs, values, norms? | CREATE TABLE "classification_of_needs" (
"need" text,
"being_qualities" text,
"having_things" text,
"doing_actions" text,
"interacting_settings" text
); | SELECT "being_qualities" FROM "classification_of_needs" WHERE "having_things"='language, religions, work, customs, values, norms'; | 2-12198078-1 |
Name the having things for privacy, intimate spaces of togetherness | CREATE TABLE "classification_of_needs" (
"need" text,
"being_qualities" text,
"having_things" text,
"doing_actions" text,
"interacting_settings" text
); | SELECT "having_things" FROM "classification_of_needs" WHERE "interacting_settings"='privacy, intimate spaces of togetherness'; | 2-12198078-1 |
Name the interacting for need of protection | CREATE TABLE "classification_of_needs" (
"need" text,
"being_qualities" text,
"having_things" text,
"doing_actions" text,
"interacting_settings" text
); | SELECT "interacting_settings" FROM "classification_of_needs" WHERE "need"='protection'; | 2-12198078-1 |
Name the interacting settings for co-operate, plan, take care of, help | CREATE TABLE "classification_of_needs" (
"need" text,
"being_qualities" text,
"having_things" text,
"doing_actions" text,
"interacting_settings" text
); | SELECT "interacting_settings" FROM "classification_of_needs" WHERE "doing_actions"='co-operate, plan, take care of, help'; | 2-12198078-1 |
Name the being qualities for having things of language, religions, work, customs, values, norms | CREATE TABLE "classification_of_needs" (
"need" text,
"being_qualities" text,
"having_things" text,
"doing_actions" text,
"interacting_settings" text
); | SELECT "being_qualities" FROM "classification_of_needs" WHERE "having_things"='language, religions, work, customs, values, norms'; | 2-12198078-1 |
Name the being qualities for having things of friendships, family, relationships with nature | CREATE TABLE "classification_of_needs" (
"need" text,
"being_qualities" text,
"having_things" text,
"doing_actions" text,
"interacting_settings" text
); | SELECT "being_qualities" FROM "classification_of_needs" WHERE "having_things"='friendships, family, relationships with nature'; | 2-12198078-1 |
What was the attendance for the game that went 2:42? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"time" text,
"record" text
); | SELECT MAX("attendance") FROM "game_log" WHERE "time"='2:42'; | 2-13113490-2 |
How many laps for sébastien bourdais, and a Grid smaller than 1? | CREATE TABLE "race" (
"name" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT SUM("laps") FROM "race" WHERE "name"='sébastien bourdais' AND "grid"<1; | 2-12719328-2 |
What was the score in the match against Kim Tiilikainen? | CREATE TABLE "challenger_and_futures_runner_up_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "challenger_and_futures_runner_up_5" WHERE "opponent"='kim tiilikainen'; | 2-12977045-3 |
What was the date of the match against Jean-Julien Rojer, on a clay surface? | CREATE TABLE "challenger_and_futures_runner_up_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "challenger_and_futures_runner_up_5" WHERE "surface"='clay' AND "opponent"='jean-julien rojer'; | 2-12977045-3 |
Which tournament had a hard surface? | CREATE TABLE "challenger_and_futures_runner_up_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "tournament" FROM "challenger_and_futures_runner_up_5" WHERE "surface"='hard'; | 2-12977045-3 |
What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog? | CREATE TABLE "doubles_5_13" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "doubles_5_13" WHERE "outcome"='runner-up' AND "score"='julia görges polona hercog'; | 2-12406580-4 |
What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? | CREATE TABLE "doubles_5_13" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "doubles_5_13" WHERE "score"='akgul amanmuradova chuang chia-jung'; | 2-12406580-4 |
What date was the surface hard and Eva Hrdinová was the opponent? | CREATE TABLE "doubles_5_13" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "doubles_5_13" WHERE "surface"='hard' AND "opponent"='eva hrdinová'; | 2-12406580-4 |
What was the surface of the match against bethanie mattek-sands? | CREATE TABLE "doubles_5_13" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "doubles_5_13" WHERE "opponent"='bethanie mattek-sands'; | 2-12406580-4 |
What series 1 has a Doug Richards in Series 2? | CREATE TABLE "the_dragons" (
"series_1" text,
"series_2" text,
"series_3" text,
"series_5" text,
"series_9" text,
"series_11" text
); | SELECT "series_1" FROM "the_dragons" WHERE "series_2"='doug richards'; | 2-12617978-2 |
Who in series 1 corresponds with Peter Jones in series 5? | CREATE TABLE "the_dragons" (
"series_1" text,
"series_2" text,
"series_3" text,
"series_5" text,
"series_9" text,
"series_11" text
); | SELECT "series_1" FROM "the_dragons" WHERE "series_5"='peter jones'; | 2-12617978-2 |
Who in series 5 corresponds to Deborah Meaden in series 3? | CREATE TABLE "the_dragons" (
"series_1" text,
"series_2" text,
"series_3" text,
"series_5" text,
"series_9" text,
"series_11" text
); | SELECT "series_5" FROM "the_dragons" WHERE "series_3"='deborah meaden'; | 2-12617978-2 |
Who in series 11 corresponds to Peter Jones in series 1? | CREATE TABLE "the_dragons" (
"series_1" text,
"series_2" text,
"series_3" text,
"series_5" text,
"series_9" text,
"series_11" text
); | SELECT "series_11" FROM "the_dragons" WHERE "series_1"='peter jones'; | 2-12617978-2 |
Who in series 9 corresponds to Peter Jones in series 2? | CREATE TABLE "the_dragons" (
"series_1" text,
"series_2" text,
"series_3" text,
"series_5" text,
"series_9" text,
"series_11" text
); | SELECT "series_9" FROM "the_dragons" WHERE "series_2"='peter jones'; | 2-12617978-2 |
What was the score of the game when the Blue Jays were 55-39? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='55-39'; | 2-12206617-5 |
Who was the individual in the event of 1998 Pokljuka? | CREATE TABLE "world_championships" (
"event" text,
"individual" text,
"sprint" text,
"pursuit" text,
"mass_start" text,
"relay" text
); | SELECT "individual" FROM "world_championships" WHERE "event"='1998 pokljuka'; | 2-1269400-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.