question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who constructed juan manuel fangio's car with over 76 laps and a grid under 10? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "grid"<10 AND "laps">76 AND "driver"='juan manuel fangio'; | 2-1122152-1 |
what is the sum of laps when grid is less than 20 and johnny herbert is driving? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "race" WHERE "grid"<20 AND "driver"='johnny herbert'; | 2-1123371-2 |
who is the driver for the car constructed by ferrari with a time/retired of +1:06.683? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "constructor"='ferrari' AND "time_retired"='+1:06.683'; | 2-1123371-2 |
who is the driver when grid is 11? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid"=11; | 2-1123371-2 |
Who was the opponent with a score of 30-12? | CREATE TABLE "senior_tries" (
"date" text,
"venue" text,
"opponent" text,
"result" text,
"tournament" text,
"scored" real
); | SELECT "opponent" FROM "senior_tries" WHERE "result"='30-12'; | 2-10784470-1 |
Who was the opponent with a score of 40-20? | CREATE TABLE "senior_tries" (
"date" text,
"venue" text,
"opponent" text,
"result" text,
"tournament" text,
"scored" real
); | SELECT "opponent" FROM "senior_tries" WHERE "result"='40-20'; | 2-10784470-1 |
When did Geelong play as the away team? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_6" WHERE "away_team"='geelong'; | 2-10790651-6 |
What is the total capacity (MW) of the farm that is noted as being under construction? | CREATE TABLE "other_notable_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"country" text,
"state_province" text,
"notes" text
); | SELECT COUNT("capacity_mw") FROM "other_notable_onshore_wind_farms" WHERE "notes"='under construction'; | 2-11252571-2 |
Which state is Tehachapi Pass Wind Farm located in? | CREATE TABLE "other_notable_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"country" text,
"state_province" text,
"notes" text
); | SELECT "state_province" FROM "other_notable_onshore_wind_farms" WHERE "wind_farm"='tehachapi pass wind farm'; | 2-11252571-2 |
Which wind farm is in the USA and is noted as having multiple farms? | CREATE TABLE "other_notable_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"country" text,
"state_province" text,
"notes" text
); | SELECT "wind_farm" FROM "other_notable_onshore_wind_farms" WHERE "country"='usa' AND "notes"='multiple farms'; | 2-11252571-2 |
What special notes are included for the windfarm with a capacity (MW) of 343? | CREATE TABLE "other_notable_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"country" text,
"state_province" text,
"notes" text
); | SELECT "notes" FROM "other_notable_onshore_wind_farms" WHERE "capacity_mw"=343; | 2-11252571-2 |
What is the total capacity (MW) of the windfarm located in the state/province of Gansu? | CREATE TABLE "other_notable_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"country" text,
"state_province" text,
"notes" text
); | SELECT SUM("capacity_mw") FROM "other_notable_onshore_wind_farms" WHERE "state_province"='gansu'; | 2-11252571-2 |
In the game held at Arden Street Oval, what was the score of the home team? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_20" WHERE "venue"='arden street oval'; | 2-1164217-20 |
How many people in total have attended games at Kardinia Park? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_20" WHERE "venue"='kardinia park'; | 2-1164217-20 |
Which game at Arden Street Oval had the lowest attendance? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_20" WHERE "venue"='arden street oval'; | 2-1164217-20 |
Where was the game against the away team Footscray held? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_20" WHERE "away_team"='footscray'; | 2-1164217-20 |
What is the average number of points for clubs that have played more than 42 times? | CREATE TABLE "final_table" (
"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("points") FROM "final_table" WHERE "played">42; | 2-12087037-2 |
What is the total number of goals scored against clubs that have played more than 42 times? | CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT COUNT("goals_against") FROM "final_table" WHERE "played">42; | 2-12087037-2 |
What team was playing at home when the away team scored 6.18 (54) | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_12" WHERE "away_team_score"='6.18 (54)'; | 2-10823719-12 |
What was the score when Collingwood was playing away? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_12" WHERE "away_team"='collingwood'; | 2-10823719-12 |
What team had a score of 18.12 (120) when they played at home? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_12" WHERE "home_team_score"='18.12 (120)'; | 2-10823719-12 |
On which date did Geelong play at home? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_12" WHERE "home_team"='geelong'; | 2-10823719-12 |
Which home team has a venue of windy hill? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_3" WHERE "venue"='windy hill'; | 2-10807990-3 |
If essendon is the home team, what venue did they play at? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_3" WHERE "home_team"='essendon'; | 2-10807990-3 |
When the home team is richmond, what was the away team playing? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_3" WHERE "home_team"='richmond'; | 2-10807990-3 |
If the home team playing is hawthorn and there are more than 13,000 people in the crowd, what did the away team score? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_3" WHERE "crowd">'13,000' AND "home_team"='hawthorn'; | 2-10807990-3 |
When was the lock with 10 caps born? | CREATE TABLE "2007_rugby_world_cup_squads" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT "date_of_birth_age" FROM "2007_rugby_world_cup_squads" WHERE "position"='lock' AND "caps"=10; | 2-11783766-15 |
What were the laps of driver Jean-Christophe Boullion? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "driver"='jean-christophe boullion'; | 2-1123238-2 |
What Playoffs were held during the years of 2007-08? | CREATE TABLE "year_by_year" (
"year" text,
"league" text,
"reg_season" text,
"playoffs" text,
"attendance_average" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "year"='2007-08'; | 2-1083784-1 |
On which date did Richmond play as an away team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_5" WHERE "away_team"='richmond'; | 2-10808933-5 |
What away team did Melbourne play as the home team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_5" WHERE "home_team"='melbourne'; | 2-10808933-5 |
Which away team has an away team score of 11.16 (82)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_5" WHERE "away_team_score"='11.16 (82)'; | 2-10808933-5 |
Which away team has an away team score of 13.25 (103)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_5" WHERE "away_team_score"='13.25 (103)'; | 2-10808933-5 |
Which chapter was founded later than 2012? | CREATE TABLE "external_links" (
"chapter" text,
"university" text,
"city" text,
"state" text,
"conference" text,
"founding_date" real,
"status" text
); | SELECT "chapter" FROM "external_links" WHERE "founding_date">2012; | 2-11536305-1 |
What is the chapter in Lubbock? | CREATE TABLE "external_links" (
"chapter" text,
"university" text,
"city" text,
"state" text,
"conference" text,
"founding_date" real,
"status" text
); | SELECT "chapter" FROM "external_links" WHERE "city"='lubbock'; | 2-11536305-1 |
Which university has a Year of Foundation before 1908, and a University Status before 1988? | CREATE TABLE "member_universities" (
"university" text,
"location" text,
"year_of_foundation" real,
"university_status" real,
"the_world_university_rankings_2012_13" text,
"academic_ranking_of_world_universities_2012" text,
"qs_world_university_rankings_2012" real
); | SELECT "university" FROM "member_universities" WHERE "year_of_foundation"<1908 AND "university_status"<1988; | 2-1187124-1 |
What was the highest Interview score from a contestant who had a swimsuit score of 8.857 and an Average score over 9.097? | CREATE TABLE "semifinal_scores" (
"state" text,
"swimsuit" real,
"evening_gown" real,
"interview" real,
"average" real
); | SELECT MAX("interview") FROM "semifinal_scores" WHERE "swimsuit"=8.857 AND "average">9.097; | 2-11662172-2 |
What year has a Top 25 of 0, and a Earnings ($) larger than 0? | CREATE TABLE "pga_tour_career_summary" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" text
); | SELECT "year" FROM "pga_tour_career_summary" WHERE "top_25"=0 AND "earnings">0; | 2-11106562-2 |
What is the highest Top 25 with a Money list rank of 232 and Cuts smaller than 2? | CREATE TABLE "pga_tour_career_summary" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" text
); | SELECT MAX("top_25") FROM "pga_tour_career_summary" WHERE "money_list_rank"='232' AND "cuts_made"<2; | 2-11106562-2 |
What is the smallest Earnings that has a Money list rank of 6 and Starts smaller than 22? | CREATE TABLE "pga_tour_career_summary" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" text
); | SELECT MIN("earnings") FROM "pga_tour_career_summary" WHERE "money_list_rank"='6' AND "starts"<22; | 2-11106562-2 |
What is the highest number of Cuts made that has a Top 10 smaller than 8 and Wins larger than 0? | CREATE TABLE "pga_tour_career_summary" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" text
); | SELECT MAX("cuts_made") FROM "pga_tour_career_summary" WHERE "top_10"<8 AND "wins">0; | 2-11106562-2 |
How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earnings ($) smaller than 338,067? | CREATE TABLE "pga_tour_career_summary" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" text
); | SELECT COUNT("starts") FROM "pga_tour_career_summary" WHERE "cuts_made"=2 AND "top_25">0 AND "earnings"<'338,067'; | 2-11106562-2 |
Which event was in round 1, resulted in a win, and a record of 15-4? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "res"='win' AND "record"='15-4'; | 2-11564275-2 |
What is the result when the time was 5:00 and a record of 14-4? | 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 "time"='5:00' AND "record"='14-4'; | 2-11564275-2 |
How many wins did Ayr United have? | CREATE TABLE "performance_by_club" (
"club" text,
"wins" text,
"last_win" text,
"runners_up" text,
"last_final_lost" text
); | SELECT "wins" FROM "performance_by_club" WHERE "club"='ayr united'; | 2-10929673-3 |
When was the final loss of the club last won in 2001 and has a total of 3 wins? | CREATE TABLE "performance_by_club" (
"club" text,
"wins" text,
"last_win" text,
"runners_up" text,
"last_final_lost" text
); | SELECT "last_final_lost" FROM "performance_by_club" WHERE "wins"='3' AND "last_win"='2001'; | 2-10929673-3 |
When was the last win for the club that had a final loss in 2011? | CREATE TABLE "performance_by_club" (
"club" text,
"wins" text,
"last_win" text,
"runners_up" text,
"last_final_lost" text
); | SELECT "last_win" FROM "performance_by_club" WHERE "last_final_lost"='2011'; | 2-10929673-3 |
How many wins did the 8 time runner-up have? | CREATE TABLE "performance_by_club" (
"club" text,
"wins" text,
"last_win" text,
"runners_up" text,
"last_final_lost" text
); | SELECT "wins" FROM "performance_by_club" WHERE "runners_up"='8'; | 2-10929673-3 |
How many wins did the club have with the last win in 2000? | CREATE TABLE "performance_by_club" (
"club" text,
"wins" text,
"last_win" text,
"runners_up" text,
"last_final_lost" text
); | SELECT "wins" FROM "performance_by_club" WHERE "last_win"='2000'; | 2-10929673-3 |
Who has the highest TDs, with yards of 9, and carries smaller than 13? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"td_s" real,
"long" text
); | SELECT MAX("td_s") FROM "running_backs" WHERE "yards"='9' AND "car"<13; | 2-11787570-3 |
What are the carries of the player Jeremiah Pope? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"td_s" real,
"long" text
); | SELECT SUM("car") FROM "running_backs" WHERE "player"='jeremiah pope'; | 2-11787570-3 |
What was the largest crowd that was in attendance for fitzroy? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MAX("crowd") FROM "round_8" WHERE "home_team"='fitzroy'; | 2-10783853-8 |
Who plays g position for the st. louis bombers? | CREATE TABLE "other_picks" (
"round" text,
"player" text,
"position" text,
"team" text,
"college" text
); | SELECT "player" FROM "other_picks" WHERE "team"='st. louis bombers' AND "position"='g'; | 2-12093691-4 |
Who plays f position for depauw? | CREATE TABLE "other_picks" (
"round" text,
"player" text,
"position" text,
"team" text,
"college" text
); | SELECT "player" FROM "other_picks" WHERE "position"='f' AND "college"='depauw'; | 2-12093691-4 |
What position does the saint louis player play? | CREATE TABLE "other_picks" (
"round" text,
"player" text,
"position" text,
"team" text,
"college" text
); | SELECT "position" FROM "other_picks" WHERE "college"='saint louis'; | 2-12093691-4 |
Who plays for sam houston state? | CREATE TABLE "other_picks" (
"round" text,
"player" text,
"position" text,
"team" text,
"college" text
); | SELECT "player" FROM "other_picks" WHERE "college"='sam houston state'; | 2-12093691-4 |
How many positions have Points of 30-8 and more than 25 goals? | CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT COUNT("position") FROM "final_table" WHERE "points"='30-8' AND "goals_for">25; | 2-12097374-2 |
What is the lowest play with ue figueres club and a goal difference more than 16? | CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("played") FROM "final_table" WHERE "club"='ue figueres' AND "goal_difference">16; | 2-12097374-2 |
How many played have 8 wins and more than 58 goals against? | CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT COUNT("played") FROM "final_table" WHERE "wins"=8 AND "goals_against">58; | 2-12097374-2 |
What is withdrawn with a GSR Class of 296? | CREATE TABLE "waterford_and_limerick_railway" (
"year" text,
"type" text,
"nos" text,
"gswr_class" real,
"gswr_nos" text,
"gsr_class" text,
"inchicore_class" text,
"withdrawn" text
); | SELECT "withdrawn" FROM "waterford_and_limerick_railway" WHERE "gsr_class"='296'; | 2-1167942-1 |
What Inchicore Class has a GSR Class of 235? | CREATE TABLE "waterford_and_limerick_railway" (
"year" text,
"type" text,
"nos" text,
"gswr_class" real,
"gswr_nos" text,
"gsr_class" text,
"inchicore_class" text,
"withdrawn" text
); | SELECT "inchicore_class" FROM "waterford_and_limerick_railway" WHERE "gsr_class"='235'; | 2-1167942-1 |
What Inchicore Class has a GSWR Class smaller than 268, and a Type of 0-4-2t? | CREATE TABLE "waterford_and_limerick_railway" (
"year" text,
"type" text,
"nos" text,
"gswr_class" real,
"gswr_nos" text,
"gsr_class" text,
"inchicore_class" text,
"withdrawn" text
); | SELECT "inchicore_class" FROM "waterford_and_limerick_railway" WHERE "gswr_class"<268 AND "type"='0-4-2t'; | 2-1167942-1 |
Which GSWR Class is from 1893? | CREATE TABLE "waterford_and_limerick_railway" (
"year" text,
"type" text,
"nos" text,
"gswr_class" real,
"gswr_nos" text,
"gsr_class" text,
"inchicore_class" text,
"withdrawn" text
); | SELECT "gswr_class" FROM "waterford_and_limerick_railway" WHERE "year"='1893'; | 2-1167942-1 |
Which Crowd has a Home team score of 15.20 (110), and a Home team of carlton? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_7" WHERE "home_team_score"='15.20 (110)' AND "home_team"='carlton'; | 2-10824095-7 |
Which Home team score has an Away team score of 20.11 (131)? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_7" WHERE "away_team_score"='20.11 (131)'; | 2-10824095-7 |
Which number of Crowd has an Away team score of 20.11 (131)? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT COUNT("crowd") FROM "round_7" WHERE "away_team_score"='20.11 (131)'; | 2-10824095-7 |
On the episode that had a run time of 24:57, how many million viewers were there? | CREATE TABLE "serial_details_by_episode" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
); | SELECT "viewers_in_millions" FROM "serial_details_by_episode" WHERE "run_time"='24:57'; | 2-1096722-1 |
What year had a record of 4-21? | CREATE TABLE "hazleton_mountaineers_epbl" (
"year" text,
"league" text,
"record" text,
"reg_season" text,
"playoffs" text
); | SELECT "year" FROM "hazleton_mountaineers_epbl" WHERE "record"='4-21'; | 2-12027435-1 |
What regular season had a record of 16-12? | CREATE TABLE "hazleton_mountaineers_epbl" (
"year" text,
"league" text,
"record" text,
"reg_season" text,
"playoffs" text
); | SELECT "reg_season" FROM "hazleton_mountaineers_epbl" WHERE "record"='16-12'; | 2-12027435-1 |
What is the regular season info that had a record of 20-10? | CREATE TABLE "hazleton_mountaineers_epbl" (
"year" text,
"league" text,
"record" text,
"reg_season" text,
"playoffs" text
); | SELECT "reg_season" FROM "hazleton_mountaineers_epbl" WHERE "record"='20-10'; | 2-12027435-1 |
Tell me the 1st leg for asfa rabat | CREATE TABLE "qualifying_round" (
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "qualifying_round" WHERE "team_num1"='asfa rabat'; | 2-11789884-1 |
Tell me the 2nd leg for alemannia aachen | CREATE TABLE "qualifying_round" (
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "qualifying_round" WHERE "team_num1"='alemannia aachen'; | 2-11789884-1 |
Tell me the 1st leg for antwerp bc | CREATE TABLE "qualifying_round" (
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "qualifying_round" WHERE "team_num2"='antwerp bc'; | 2-11789884-1 |
Tell me the team 2 for handelsministerium vienna | CREATE TABLE "qualifying_round" (
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_num2" FROM "qualifying_round" WHERE "team_num1"='handelsministerium vienna'; | 2-11789884-1 |
On what date did the away team Melbourne play? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_20" WHERE "away_team"='melbourne'; | 2-10885968-20 |
What home team played the away team South Melbourne? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_20" WHERE "away_team"='south melbourne'; | 2-10885968-20 |
What is the name of the away team that played a home team who scored 11.16 (82)? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_20" WHERE "home_team_score"='11.16 (82)'; | 2-10885968-20 |
What is the name of the away team that scored 15.9 (99)? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_20" WHERE "away_team_score"='15.9 (99)'; | 2-10885968-20 |
Which is the largest area in Greenville County, by square mile? | CREATE TABLE "counties" (
"county" text,
"year_founded" text,
"county_seat" text,
"2010_census_population" real,
"july_1_2012_population_estimate" real,
"area_sq_mi" real,
"land_area_sq_mi" real
); | SELECT MAX("area_sq_mi") FROM "counties" WHERE "county"='greenville county'; | 2-1196677-1 |
Which is the total number in the 2010 Census in Oconee County where the area in square miles was less than 674? | CREATE TABLE "counties" (
"county" text,
"year_founded" text,
"county_seat" text,
"2010_census_population" real,
"july_1_2012_population_estimate" real,
"area_sq_mi" real,
"land_area_sq_mi" real
); | SELECT SUM("2010_census_population") FROM "counties" WHERE "county"='oconee county' AND "area_sq_mi"<674; | 2-1196677-1 |
What is the total number of areas by square mile where the founding year was 1785, the county seat was in Spartanburg, and the land area by square mile was more than 811? | CREATE TABLE "counties" (
"county" text,
"year_founded" text,
"county_seat" text,
"2010_census_population" real,
"july_1_2012_population_estimate" real,
"area_sq_mi" real,
"land_area_sq_mi" real
); | SELECT SUM("area_sq_mi") FROM "counties" WHERE "year_founded"='1785' AND "county_seat"='spartanburg' AND "land_area_sq_mi">811; | 2-1196677-1 |
Which Particle has a Rest mass MeV/c 2 of 1192.642(24)? | CREATE TABLE "hyperons" (
"particle" text,
"symbol" text,
"makeup" text,
"rest_mass_me_v_c_2" text,
"isospin_i" text,
"spin_parity_j_p" text,
"commonly_decays_to" text
); | SELECT "particle" FROM "hyperons" WHERE "rest_mass_me_v_c_2"='1192.642(24)'; | 2-1129026-1 |
Which Particle has an Isospin I of 1 and Commonly decays to p + + π 0 or n 0 + π +? | CREATE TABLE "hyperons" (
"particle" text,
"symbol" text,
"makeup" text,
"rest_mass_me_v_c_2" text,
"isospin_i" text,
"spin_parity_j_p" text,
"commonly_decays_to" text
); | SELECT "particle" FROM "hyperons" WHERE "isospin_i"='1' AND "commonly_decays_to"='p + + π 0 or n 0 + π +'; | 2-1129026-1 |
When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2? | CREATE TABLE "hyperons" (
"particle" text,
"symbol" text,
"makeup" text,
"rest_mass_me_v_c_2" text,
"isospin_i" text,
"spin_parity_j_p" text,
"commonly_decays_to" text
); | SELECT "rest_mass_me_v_c_2" FROM "hyperons" WHERE "makeup"='u s s' AND "spin_parity_j_p"='3⁄2 +'; | 2-1129026-1 |
Which Particle has an Isospin I of 1⁄2, and a Symbol of ξ ∗0 (1530)? | CREATE TABLE "hyperons" (
"particle" text,
"symbol" text,
"makeup" text,
"rest_mass_me_v_c_2" text,
"isospin_i" text,
"spin_parity_j_p" text,
"commonly_decays_to" text
); | SELECT "particle" FROM "hyperons" WHERE "isospin_i"='1⁄2' AND "symbol"='ξ ∗0 (1530)'; | 2-1129026-1 |
Which Particle has a Makeup of d s s and a Spin (Parity) J P of 3⁄2 +? | CREATE TABLE "hyperons" (
"particle" text,
"symbol" text,
"makeup" text,
"rest_mass_me_v_c_2" text,
"isospin_i" text,
"spin_parity_j_p" text,
"commonly_decays_to" text
); | SELECT "particle" FROM "hyperons" WHERE "makeup"='d s s' AND "spin_parity_j_p"='3⁄2 +'; | 2-1129026-1 |
Which Particle has a Rest mass MeV/c 2 of 1383.7±1.0? | CREATE TABLE "hyperons" (
"particle" text,
"symbol" text,
"makeup" text,
"rest_mass_me_v_c_2" text,
"isospin_i" text,
"spin_parity_j_p" text,
"commonly_decays_to" text
); | SELECT "particle" FROM "hyperons" WHERE "rest_mass_me_v_c_2"='1383.7±1.0'; | 2-1129026-1 |
What was the title of Ashanti's 2003 rap song? | CREATE TABLE "grammy_awards_and_nominations" (
"year" real,
"category" text,
"genre" text,
"title" text,
"result" text
); | SELECT "title" FROM "grammy_awards_and_nominations" WHERE "year"=2003 AND "genre"='rap'; | 2-11513665-1 |
How many tries did the player Paul Sykes take when he earned 0 points? | CREATE TABLE "1999_squad_statistics" (
"player" text,
"position" text,
"tries" real,
"goals" real,
"points" real
); | SELECT MAX("tries") FROM "1999_squad_statistics" WHERE "player"='paul sykes' AND "points">0; | 2-10814427-9 |
Mike Forshaw had 0 goals and 28 points. What is his position? | CREATE TABLE "1999_squad_statistics" (
"player" text,
"position" text,
"tries" real,
"goals" real,
"points" real
); | SELECT "position" FROM "1999_squad_statistics" WHERE "goals"=0 AND "points"=28 AND "player"='mike forshaw'; | 2-10814427-9 |
How big is the Venue of Brunswick Street Oval? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_3" WHERE "venue"='brunswick street oval'; | 2-10806592-3 |
What is the Away Team score of North Melbourne? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_3" WHERE "away_team"='north melbourne'; | 2-10806592-3 |
What was the number of Personal Staff Units Killed? | CREATE TABLE "head_quarters_and_support_regiments" (
"unit" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
); | SELECT "killed" FROM "head_quarters_and_support_regiments" WHERE "unit"='personal staff'; | 2-11793221-1 |
What was the Complement of Artillery Corps Units that had 0 off 0 men Killed or Wounded? | CREATE TABLE "head_quarters_and_support_regiments" (
"unit" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
); | SELECT "complement" FROM "head_quarters_and_support_regiments" WHERE "killed"='0 off 0 men' AND "wounded"='0 off 0 men' AND "unit"='artillery corps'; | 2-11793221-1 |
How many were Wounded while in a Unit with a Complement of 83 off 9 Men? | CREATE TABLE "head_quarters_and_support_regiments" (
"unit" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
); | SELECT "wounded" FROM "head_quarters_and_support_regiments" WHERE "complement"='83 off 9 men'; | 2-11793221-1 |
How many of the Royal Waggon Train Unit were Missing while having a Killed of 0 off 0 men and a Wounded of 0 off 0 men? | CREATE TABLE "head_quarters_and_support_regiments" (
"unit" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
); | SELECT "missing" FROM "head_quarters_and_support_regiments" WHERE "killed"='0 off 0 men' AND "wounded"='0 off 0 men' AND "unit"='royal waggon train'; | 2-11793221-1 |
How many were Wounded in the Artillery Corps unit while having 0 off 0 men Killed? | CREATE TABLE "head_quarters_and_support_regiments" (
"unit" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
); | SELECT "wounded" FROM "head_quarters_and_support_regiments" WHERE "killed"='0 off 0 men' AND "unit"='artillery corps'; | 2-11793221-1 |
What suface during the game that had Yevgeny Kafelnikov as an opponent? | CREATE TABLE "singles_27_15_12" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_27_15_12" WHERE "opponent"='yevgeny kafelnikov'; | 2-1118005-5 |
What is the Home team's score when the Away team's score is 12.10 (82)? | CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_9" WHERE "away_team_score"='12.10 (82)'; | 2-10807253-9 |
What was the earliest week that the Storm played the San Jose Sabercats? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"home_away" text,
"result" text
); | SELECT MIN("week") FROM "season_schedule" WHERE "opponent"='san jose sabercats'; | 2-11866255-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.