question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many starts had an avg start of less than 37 and won $1,636,827? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT SUM("starts") FROM "nascar_sprint_cup_series" WHERE "winnings"='$1,636,827' AND "avg_start"<37; | 2-1640715-1 |
in 1990, how many wins had an avg finish of 35 and a start less than 1? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT MAX("wins") FROM "nascar_sprint_cup_series" WHERE "avg_finish"=35 AND "year"=1990 AND "starts"<1; | 2-1640715-1 |
What year had a pole smaller than 0 and in 77th position? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT MAX("year") FROM "nascar_sprint_cup_series" WHERE "position"='77th' AND "poles"<0; | 2-1640715-1 |
in 2007, what is the avg finish that had a start less than 1? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT SUM("avg_finish") FROM "nascar_sprint_cup_series" WHERE "year"=2007 AND "starts"<1; | 2-1640715-1 |
What is Score, when Game is greater than 4? | 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 "game">4; | 2-17197926-5 |
What is High Points, when Game is "3"? | 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 "game"=3; | 2-17197926-5 |
What is Score, when Location Attendance is "Madison Square Garden Unknown", and when High Rebounds is "Sidney Green (10)"? | 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 "location_attendance"='madison square garden unknown' AND "high_rebounds"='sidney green (10)'; | 2-17197926-5 |
What is High Rebounds, when Location Attendance is "Madison Square Garden Unknown", and when Date is "May 18"? | 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_rebounds" FROM "playoffs" WHERE "location_attendance"='madison square garden unknown' AND "date"='may 18'; | 2-17197926-5 |
What is Team, when Location Attendance is "Madison Square Garden Unknown", and when High Points is "Alonzo Mourning (24)"? | 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 "team" FROM "playoffs" WHERE "location_attendance"='madison square garden unknown' AND "high_points"='alonzo mourning (24)'; | 2-17197926-5 |
What is High Points, when High Rebounds is "Ron Artest (9)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='ron artest (9)'; | 2-17288825-7 |
What is Date, when High Rebounds is "Yao Ming (10)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "high_rebounds"='yao ming (10)'; | 2-17288825-7 |
What is Score, when High Points is "Luis Scola (18)", and when High Rebounds is "Luis Scola (11)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "high_points"='luis scola (18)' AND "high_rebounds"='luis scola (11)'; | 2-17288825-7 |
What is Team, when High Points is "Tracy McGrady (24)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "high_points"='tracy mcgrady (24)'; | 2-17288825-7 |
What was the year of the finish with the class pos of 6th and laps smaller than 317? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT SUM("year") FROM "24_hours_of_le_mans_results" WHERE "class_pos"='6th' AND "laps"<317; | 2-16514457-1 |
What is the record for the opponent Atlanta Hawks? | CREATE TABLE "march" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "march" WHERE "opponent"='atlanta hawks'; | 2-16275352-9 |
Which opponent had a 113-124 score? | CREATE TABLE "march" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "march" WHERE "score"='113-124'; | 2-16275352-9 |
What is the final record for the Philadelphia 76ers? | CREATE TABLE "march" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "march" WHERE "opponent"='philadelphia 76ers'; | 2-16275352-9 |
What is the record for the Detroit Pistons on March 7? | CREATE TABLE "march" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "march" WHERE "opponent"='detroit pistons' AND "date"='march 7'; | 2-16275352-9 |
What is the WR player? | CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "cfl_draft" WHERE "position"='wr'; | 2-16912111-1 |
What is the Length (m) of the Koppenberg course? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT "length_m" FROM "course" WHERE "name"='koppenberg'; | 2-16654785-2 |
What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT AVG("kilometer") FROM "course" WHERE "pavement"='asphalt' AND "length_m">645 AND "name"='berendries' AND "average_climb_pct"<7; | 2-16654785-2 |
What is the Number of the Koppenberg course with less than 195 Kilometers? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT COUNT("number") FROM "course" WHERE "name"='koppenberg' AND "kilometer"<195; | 2-16654785-2 |
Which part three is class 4? | CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_3" FROM "gothic" WHERE "class"='4'; | 2-1745843-5 |
Which part one is class 7d? | CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_1" FROM "gothic" WHERE "class"='7d'; | 2-1745843-5 |
Which part 3 has class 7b? | CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_3" FROM "gothic" WHERE "class"='7b'; | 2-1745843-5 |
Which class has a part 2 of halp warþ? | CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "class" FROM "gothic" WHERE "part_2"='halp warþ'; | 2-1745843-5 |
Which part 2 has a verb that means to leap? | CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_2" FROM "gothic" WHERE "verb_meaning"='to leap'; | 2-1745843-5 |
Who are the semifinalists when the tournament is in Cincinnati? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "semifinalists" FROM "singles" WHERE "tournament"='cincinnati'; | 2-16354157-1 |
What is the finalist in the week of March 12? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "finalist" FROM "singles" WHERE "week"='march 12'; | 2-16354157-1 |
What is the May 7 finalist? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "finalist" FROM "singles" WHERE "week"='may 7'; | 2-16354157-1 |
For the week of August 6, who is the finalist? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "finalist" FROM "singles" WHERE "week"='august 6'; | 2-16354157-1 |
What is the lowest Pick #, when College is "Jackson State"? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "nfl_draft" WHERE "college"='jackson state'; | 2-17323758-1 |
What is Pick #, when Round is "10"? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "nfl_draft" WHERE "round"=10; | 2-17323758-1 |
What is Player, when Round is greater than 8, when Pick # is greater than 234, and when College is "Louisville"? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "nfl_draft" WHERE "round">8 AND "pick_num">234 AND "college"='louisville'; | 2-17323758-1 |
What is the average Round, when Player is "Gurnest Brown", and when Pick # is greater than 180? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT AVG("round") FROM "nfl_draft" WHERE "player"='gurnest brown' AND "pick_num">180; | 2-17323758-1 |
What is the lowest Pick #, when College is "Louisville", and when Round is less than 10? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "nfl_draft" WHERE "college"='louisville' AND "round"<10; | 2-17323758-1 |
Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "translators" WHERE "frequency_m_hz">91.7 AND "call_sign"='k272ec'; | 2-16917701-1 |
Which Frequency MHz has a Call sign of k210dv? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MAX("frequency_m_hz") FROM "translators" WHERE "call_sign"='k210dv'; | 2-16917701-1 |
Which City of license has a Frequency MHz larger than 89.5, and a Call sign of k213el? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz">89.5 AND "call_sign"='k213el'; | 2-16917701-1 |
Which ERP W has a Frequency MHz larger than 89.1, and a City of license of de queen, arkansas? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "erp_w" FROM "translators" WHERE "frequency_m_hz">89.1 AND "city_of_license"='de queen, arkansas'; | 2-16917701-1 |
Which FCC info has a City of license of burley, idaho, and a Frequency MHz of 89.5? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "translators" WHERE "city_of_license"='burley, idaho' AND "frequency_m_hz"=89.5; | 2-16917701-1 |
For the game played on 31 July 2007 on clay what was the score? | CREATE TABLE "singles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_5" WHERE "surface"='clay' AND "date"='31 july 2007'; | 2-16474033-3 |
When was Pablo Andújar the opponent? | CREATE TABLE "singles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_5" WHERE "opponent"='pablo andújar'; | 2-16474033-3 |
What is the decision when Buffalo was the visitor? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "game_log" WHERE "visitor"='buffalo'; | 2-17371135-7 |
Who is the visiting team when Minnesota is the home team? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "visitor" FROM "game_log" WHERE "home"='minnesota'; | 2-17371135-7 |
What is the date of the match when Phoenix is the home team? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "home"='phoenix'; | 2-17371135-7 |
Who is the quarterback for Arkansas State? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "nfl_draft" WHERE "position"='quarterback' AND "college"='arkansas state'; | 2-16677887-1 |
What is the total round of the 129 pick? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("round") FROM "nfl_draft" WHERE "pick_num"=129; | 2-16677887-1 |
What is the record for January 19? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "january" WHERE "date"='january 19'; | 2-16275352-7 |
What record has the score 111-89? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "january" WHERE "score"='111-89'; | 2-16275352-7 |
What is the record for January 7? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "january" WHERE "date"='january 7'; | 2-16275352-7 |
Who was the opponent on January 7? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "january" WHERE "date"='january 7'; | 2-16275352-7 |
What home team scored 102-87? | CREATE TABLE "round_5" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "home_team" FROM "round_5" WHERE "score"='102-87'; | 2-16653153-12 |
What venue had a Score of 120-108? | CREATE TABLE "round_5" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "venue" FROM "round_5" WHERE "score"='120-108'; | 2-16653153-12 |
What was the score when Sydney Spirit was the home team? | CREATE TABLE "round_5" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "score" FROM "round_5" WHERE "home_team"='sydney spirit'; | 2-16653153-12 |
What was the score at North Shore Events Centre? | CREATE TABLE "round_5" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "score" FROM "round_5" WHERE "venue"='north shore events centre'; | 2-16653153-12 |
What is the home team venue for the New Zealand Breakers? | CREATE TABLE "round_5" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "venue" FROM "round_5" WHERE "home_team"='new zealand breakers'; | 2-16653153-12 |
Who had the decision when the visitor was Detroit and the home team was Ottawa? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "game_log" WHERE "visitor"='detroit' AND "home"='ottawa'; | 2-17371135-4 |
What is the score on March 18? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='march 18'; | 2-17323529-9 |
Who had the highest points on March 27? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "date"='march 27'; | 2-17323529-9 |
Name the average Lead Margin on november 13-november 19, 2007? | CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administered" text,
"democrat_larry_la_rocco" text,
"republican_jim_risch" text,
"lead_margin" real
); | SELECT AVG("lead_margin") FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='november 13-november 19, 2007'; | 2-16751596-17 |
Which Poll Source has a Republican Jim Risch of 43%? | CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administered" text,
"democrat_larry_la_rocco" text,
"republican_jim_risch" text,
"lead_margin" real
); | SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "republican_jim_risch"='43%'; | 2-16751596-17 |
For week 15, what was the total number of attendance recorded? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "week"=15; | 2-16882035-1 |
what is the score when the home team is king's lynn? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "first_round_proper" WHERE "home_team"='king''s lynn'; | 2-17608125-2 |
what is the home team when the away team is frickley colliery? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='frickley colliery'; | 2-17608125-2 |
what is the tie no, on 24 november 1971 and the away team is king's lynn? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "first_round_proper" WHERE "date"='24 november 1971' AND "away_team"='king''s lynn'; | 2-17608125-2 |
What is the Longitude of the 61.0s Latitude? | CREATE TABLE "lineae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real
); | SELECT "longitude" FROM "lineae" WHERE "latitude"='61.0s'; | 2-16799784-9 |
What name has a longitude of 213.0e? | CREATE TABLE "lineae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real
); | SELECT "name" FROM "lineae" WHERE "longitude"='213.0e'; | 2-16799784-9 |
Which type had an unknown manufacturer? | CREATE TABLE "rides_and_attractions" (
"name" text,
"type" text,
"themed_area" text,
"manufacturer" text,
"opened" text
); | SELECT "type" FROM "rides_and_attractions" WHERE "manufacturer"='unknown'; | 2-1620813-1 |
What is the name of the dreamworks experience from Ferrari? | CREATE TABLE "rides_and_attractions" (
"name" text,
"type" text,
"themed_area" text,
"manufacturer" text,
"opened" text
); | SELECT "name" FROM "rides_and_attractions" WHERE "themed_area"='dreamworks experience' AND "manufacturer"='ferrari'; | 2-1620813-1 |
Which type opened in 1982? | CREATE TABLE "rides_and_attractions" (
"name" text,
"type" text,
"themed_area" text,
"manufacturer" text,
"opened" text
); | SELECT "type" FROM "rides_and_attractions" WHERE "opened"='1982'; | 2-1620813-1 |
What themed area opened in 2010 as an animal show? | CREATE TABLE "rides_and_attractions" (
"name" text,
"type" text,
"themed_area" text,
"manufacturer" text,
"opened" text
); | SELECT "themed_area" FROM "rides_and_attractions" WHERE "type"='animal show' AND "opened"='2010'; | 2-1620813-1 |
Which visitor lives in Minnesota? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "visitor" FROM "game_log" WHERE "home"='minnesota'; | 2-17218729-3 |
What was the score on november 21? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "score" FROM "game_log" WHERE "date"='november 21'; | 2-17218729-3 |
Who has the lead in the season where Cathrine Norberg is second and Anna Rindeskog is third? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "lead" FROM "teams" WHERE "second"='cathrine norberg' AND "third"='anna rindeskog'; | 2-1637656-1 |
What is the score of game 21? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "game"=21; | 2-17371427-3 |
What is the score of the game on December 22? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='december 22'; | 2-17371427-3 |
What is the record when the game is greater than 24? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game">24; | 2-17371427-3 |
What is the highest Market Value (billion $), when Rank is 02 2, and when Sales (billion $) is greater than 113.1? | CREATE TABLE "2013_list" (
"rank" text,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT MAX("market_value_billion") FROM "2013_list" WHERE "rank"='02 2' AND "sales_billion">113.1; | 2-1682026-1 |
What is Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9? | CREATE TABLE "2013_list" (
"rank" text,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT "rank" FROM "2013_list" WHERE "headquarters"='united kingdom' AND "sales_billion"=370.9; | 2-1682026-1 |
What is the lowest Profits (billion $), when Market Value (billion $) is less than 201.3, when Headquarters is United States, and when Company is JPMorgan Chase? | CREATE TABLE "2013_list" (
"rank" text,
"company" text,
"headquarters" text,
"industry" text,
"sales_billion" real,
"profits_billion" real,
"assets_billion" real,
"market_value_billion" real
); | SELECT MIN("profits_billion") FROM "2013_list" WHERE "market_value_billion"<201.3 AND "headquarters"='united states' AND "company"='jpmorgan chase'; | 2-1682026-1 |
What is the status of the community that has an area larger than 5.2 sq km, and a Census Ranking of 2,531 of 5,008? | CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "status" FROM "communities" WHERE "area_km_2">5.2 AND "census_ranking"='2,531 of 5,008'; | 2-171250-1 |
What is saint-andré's population? | CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "population" FROM "communities" WHERE "official_name"='saint-andré'; | 2-171250-1 |
what's the results of week 12? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "week"=12; | 2-16678071-2 |
What opponent has 76,202 attendance ? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='76,202'; | 2-16678071-2 |
What is the FIS Nordic World Ski Championship years when the winter Olympics took place in 1968? | CREATE TABLE "men_s_15_km" (
"winner" text,
"country" text,
"winter_olympics" real,
"fis_nordic_world_ski_championships" real,
"holmenkollen" text
); | SELECT "fis_nordic_world_ski_championships" FROM "men_s_15_km" WHERE "winter_olympics"=1968; | 2-174491-5 |
Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956? | CREATE TABLE "men_s_15_km" (
"winner" text,
"country" text,
"winter_olympics" real,
"fis_nordic_world_ski_championships" real,
"holmenkollen" text
); | SELECT "country" FROM "men_s_15_km" WHERE "fis_nordic_world_ski_championships"<1989 AND "winter_olympics"<1980 AND "holmenkollen"='1956'; | 2-174491-5 |
When the Grids is less than 2 what are the total laps? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT COUNT("laps") FROM "250cc_classification" WHERE "grid"<2; | 2-16218598-2 |
Which Player has a To par of –1? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "to_par"='–1'; | 2-17162179-3 |
Which Player has a To par of –4? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "to_par"='–4'; | 2-17162179-3 |
Which Place has a Score larger than 68, and a Player of david ogrin? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "score">68 AND "player"='david ogrin'; | 2-17162179-3 |
Which Player has a Place of t2? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "place"='t2'; | 2-17162179-3 |
What event did Mikhail Avetisyan win by method of DQ (eye gouging)? | 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 "method"='dq (eye gouging)'; | 2-17446996-2 |
For the item that has a Gecko of 'font', what is the KHTML value? | CREATE TABLE "grammar_and_rules" (
"trident" text,
"gecko" text,
"web_kit" text,
"khtml" text,
"presto" text,
"prince_xml" text
); | SELECT "khtml" FROM "grammar_and_rules" WHERE "gecko"='font'; | 2-1745933-3 |
What is the Prince XML value for the engine that has a Gecko value of 'no' and webkit value of 'nightly build'? | CREATE TABLE "grammar_and_rules" (
"trident" text,
"gecko" text,
"web_kit" text,
"khtml" text,
"presto" text,
"prince_xml" text
); | SELECT "prince_xml" FROM "grammar_and_rules" WHERE "gecko"='no' AND "web_kit"='nightly build'; | 2-1745933-3 |
What is the Gecko value for the item that has a Trident value of 'font'? | CREATE TABLE "grammar_and_rules" (
"trident" text,
"gecko" text,
"web_kit" text,
"khtml" text,
"presto" text,
"prince_xml" text
); | SELECT "gecko" FROM "grammar_and_rules" WHERE "trident"='font'; | 2-1745933-3 |
What is the Gecko value for the item that has a Prince XML value of 'no' and a KHTML value of 'yes'? | CREATE TABLE "grammar_and_rules" (
"trident" text,
"gecko" text,
"web_kit" text,
"khtml" text,
"presto" text,
"prince_xml" text
); | SELECT "gecko" FROM "grammar_and_rules" WHERE "prince_xml"='yes' AND "khtml"='yes'; | 2-1745933-3 |
Which Trident version has a Gecko value of 19.0? | CREATE TABLE "grammar_and_rules" (
"trident" text,
"gecko" text,
"web_kit" text,
"khtml" text,
"presto" text,
"prince_xml" text
); | SELECT "trident" FROM "grammar_and_rules" WHERE "gecko"='19.0'; | 2-1745933-3 |
For the item with a Prince XML value of 'font', what is the WebKit value? | CREATE TABLE "grammar_and_rules" (
"trident" text,
"gecko" text,
"web_kit" text,
"khtml" text,
"presto" text,
"prince_xml" text
); | SELECT "web_kit" FROM "grammar_and_rules" WHERE "prince_xml"='font'; | 2-1745933-3 |
Which Played has a Team of cerro corá, and Losses larger than 4? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT AVG("played") FROM "torneo_apertura" WHERE "team"='cerro corá' AND "losses">4; | 2-16788123-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.