question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the highest number of points team vitória, which had more than 38 played, had? | CREATE TABLE "campeonato_brasileiro_s_rie_b" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("points") FROM "campeonato_brasileiro_s_rie_b" WHERE "team"='vitória' AND "played">38; | 2-14886214-2 |
When the A Score was larger than 5.933 with a total of 19.833, what nation was this? | CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT "nation" FROM "groups_3_ribbons_2_hoops" WHERE "a_score">5.933 AND "total"=19.833; | 2-14737891-11 |
How large was the total when the E Score was greater than 9.35 and T Score was less than 4? | CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT MAX("total") FROM "groups_3_ribbons_2_hoops" WHERE "e_score">9.35 AND "t_score"<4; | 2-14737891-11 |
What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4? | CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT SUM("a_score") FROM "groups_3_ribbons_2_hoops" WHERE "e_score">9.566 AND "nation"='greece' AND "t_score">4; | 2-14737891-11 |
What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4? | CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT SUM("a_score") FROM "groups_3_ribbons_2_hoops" WHERE "e_score">9.383 AND "total"<19.716 AND "t_score">4; | 2-14737891-11 |
Which city has a frequency of 104.5 fm? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"='104.5 fm'; | 2-14996829-1 |
What is the frequency of Walterboro, SC? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "frequency_m_hz" FROM "translators" WHERE "city_of_license"='walterboro, sc'; | 2-14996829-1 |
What is the FCC information of 104.5 fm frequency? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz"='104.5 fm'; | 2-14996829-1 |
What is Charleston, SC ERP W? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "erp_w" FROM "translators" WHERE "city_of_license"='charleston, sc'; | 2-14996829-1 |
What does the ERP W sum equal for 105.1 fm frequency? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT SUM("erp_w") FROM "translators" WHERE "frequency_m_hz"='105.1 fm'; | 2-14996829-1 |
What is surfside beach, SC frequency? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "frequency_m_hz" FROM "translators" WHERE "city_of_license"='surfside beach, sc'; | 2-14996829-1 |
What is the player from Japan's To Par? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "country"='japan'; | 2-14064009-4 |
What is the player from England's To Par? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "country"='england'; | 2-14064009-4 |
What is the player from England's score? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "country"='england'; | 2-14064009-4 |
Which country does Adam Scott play for? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "player"='adam scott'; | 2-14064009-4 |
Name the ICAO for lilongwe international airport | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "airport"='lilongwe international airport'; | 2-1525232-3 |
Name the airport for ICAO of flls | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "icao"='flls'; | 2-1525232-3 |
Name the ICAO for lilongwe international airport | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "airport"='lilongwe international airport'; | 2-1525232-3 |
Name the ICAO for julius nyerere international airport | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "airport"='julius nyerere international airport'; | 2-1525232-3 |
Name the country for johannesburg | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "destinations" WHERE "city"='johannesburg'; | 2-1525232-3 |
Name the city for IATA of llw | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "city" FROM "destinations" WHERE "iata"='llw'; | 2-1525232-3 |
What is the name of the home time with a 10 tie no? | CREATE TABLE "second_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "second_round" WHERE "tie_no"='10'; | 2-15154539-3 |
What was the date of the game that was played against the away team of York City? | CREATE TABLE "second_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "second_round" WHERE "away_team"='york city'; | 2-15154539-3 |
What group of juventus had an attendance larger than 47,786? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "group_position" FROM "group_stage" WHERE "opponents"='juventus' AND "attendance">'47,786'; | 2-13599021-7 |
Name the average week for result of l 28–17 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "result"='l 28–17'; | 2-13782381-1 |
What was the score on April 12? | CREATE TABLE "toronto_maple_leafs_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "toronto_maple_leafs_4_detroit_red_wings_" WHERE "date"='april 12'; | 2-14458999-4 |
What was the record on April 6? | CREATE TABLE "toronto_maple_leafs_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "toronto_maple_leafs_4_detroit_red_wings_" WHERE "date"='april 6'; | 2-14458999-4 |
Which 2009 has a 2008 of A, and a 2010 of 4r? | CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "performance_timeline" WHERE "2008"='a' AND "2010"='4r'; | 2-15100199-11 |
Which 2009 has a 2008 of wta premier mandatory tournaments? | CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "performance_timeline" WHERE "2008"='wta premier mandatory tournaments'; | 2-15100199-11 |
Which 2010 has a Tournament of australian open? | CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "performance_timeline" WHERE "tournament"='australian open'; | 2-15100199-11 |
Which 2007 has a 2006 of A, and a Tournament of canada? | CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2007" FROM "performance_timeline" WHERE "2006"='a' AND "tournament"='canada'; | 2-15100199-11 |
Which 2009 has a 2006 of A, and a 2011 of sf? | CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "performance_timeline" WHERE "2006"='a' AND "2011"='sf'; | 2-15100199-11 |
Which 2007 has a 2010 of A? | CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2007" FROM "performance_timeline" WHERE "2010"='a'; | 2-15100199-11 |
Adam is less than 1 and Jade is greater than 5 in cycling, what's the plat'num? | CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
); | SELECT MIN("plat_num") FROM "the_boys" WHERE "adam"<1 AND "discipline"='cycling' AND "jade">5; | 2-1402013-2 |
What is Peter's score in kendo that has a plat'num less than 3? | CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
); | SELECT MIN("peter") FROM "the_boys" WHERE "discipline"='kendo' AND "plat_num"<3; | 2-1402013-2 |
What is Adam's score when Peter's score is less than 3 and the plat'num is greater than 6? | CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
); | SELECT MIN("adam") FROM "the_boys" WHERE "peter"<3 AND "plat_num">6; | 2-1402013-2 |
Peter has a score greater than 5 in speed skating, what is the plat'num? | CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
); | SELECT MIN("plat_num") FROM "the_boys" WHERE "discipline"='speed skating' AND "peter">5; | 2-1402013-2 |
What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0? | CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
); | SELECT AVG("adam") FROM "the_boys" WHERE "jade">5 AND "peter"<0; | 2-1402013-2 |
Old Scotch had less than 9 losses and how much against? | CREATE TABLE "2012_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("against") FROM "2012_ladder" WHERE "losses"<9 AND "ntfa_div_2"='old scotch'; | 2-14756291-17 |
Of the teams that had more than 0 byes, what was the total number of losses? | CREATE TABLE "2012_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("losses") FROM "2012_ladder" WHERE "byes"<0; | 2-14756291-17 |
Who was the incumbent in the 20th district? | CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
); | SELECT "incumbent" FROM "election_results" WHERE "district"='20th'; | 2-13618584-1 |
Which party has the 6th district? | CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
); | SELECT "party" FROM "election_results" WHERE "district"='6th'; | 2-13618584-1 |
Which party has Ken Cuccinelli as an incumbent? | CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
); | SELECT "party" FROM "election_results" WHERE "incumbent"='ken cuccinelli'; | 2-13618584-1 |
Which party was elected in 2003 with incumbent Mark Obenshain? | CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
); | SELECT "party" FROM "election_results" WHERE "elected"=2003 AND "incumbent"='mark obenshain'; | 2-13618584-1 |
Which incumbent was in the 24th district? | CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
); | SELECT "incumbent" FROM "election_results" WHERE "district"='24th'; | 2-13618584-1 |
Name the sum of laps for mi-jack conquest racing and points less than 11 | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT SUM("laps") FROM "race" WHERE "team"='mi-jack conquest racing' AND "points"<11; | 2-15158976-2 |
Name the points with grid more than 8 and time/retired of +47.487 secs | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT "points" FROM "race" WHERE "grid">8 AND "time_retired"='+47.487 secs'; | 2-15158976-2 |
Name the team with laps of 97 and grid of 3 | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT "team" FROM "race" WHERE "laps"=97 AND "grid"=3; | 2-15158976-2 |
Name the sum of grid with laps more than 97 | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT SUM("grid") FROM "race" WHERE "laps">97; | 2-15158976-2 |
What are the most wins in 1971 in 250cc class? | CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
); | SELECT MAX("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='250cc' AND "year"=1971; | 2-15161245-2 |
What is the earliest year with less than 45 points for Yamaha team in 21st rank? | CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
); | SELECT MIN("year") FROM "grand_prix_motorcycle_racing_results" WHERE "points"<45 AND "team"='yamaha' AND "rank"='21st'; | 2-15161245-2 |
How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13? | CREATE TABLE "round_robin_standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT SUM("ends_won") FROM "round_robin_standings" WHERE "blank_ends"<14 AND "locale"='manitoba' AND "stolen_ends">13; | 2-1505809-2 |
Which Skip has Ends Lost larger than 44, and Blank Ends of 10? | CREATE TABLE "round_robin_standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT "skip" FROM "round_robin_standings" WHERE "ends_lost">44 AND "blank_ends"=10; | 2-1505809-2 |
How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7? | CREATE TABLE "round_robin_standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT COUNT("stolen_ends") FROM "round_robin_standings" WHERE "ends_lost"<44 AND "blank_ends"<7; | 2-1505809-2 |
What is the current status for GM Advanced Design with more than 41 seats? | CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
); | SELECT "current_status" FROM "historical_fleet" WHERE "make"='gm advanced design' AND "number_of_seats">41; | 2-1524075-3 |
What is the quantity with more than 45 seats and MCI make? | CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
); | SELECT "quantity" FROM "historical_fleet" WHERE "number_of_seats">45 AND "make"='mci'; | 2-1524075-3 |
What is the largest number of seats with more than 32 of a MCI make? | CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
); | SELECT MAX("number_of_seats") FROM "historical_fleet" WHERE "make"='mci' AND "quantity">32; | 2-1524075-3 |
What is the smallest number of seats in a vehicle currently retired and in quantities less than 8? | CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
); | SELECT MIN("number_of_seats") FROM "historical_fleet" WHERE "current_status"='retired' AND "quantity"<8; | 2-1524075-3 |
What is the smallest number of seats in a retired vehicle that was started in service in 1981? | CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
); | SELECT MIN("number_of_seats") FROM "historical_fleet" WHERE "current_status"='retired' AND "year_placed_in_service"='1981'; | 2-1524075-3 |
What is Trevard Lindley's height? | CREATE TABLE "middle_tennessee" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "height" FROM "middle_tennessee" WHERE "name"='trevard lindley'; | 2-14624447-27 |
What is Ashton Cobb's class in Game 2? | CREATE TABLE "middle_tennessee" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "class" FROM "middle_tennessee" WHERE "games"=2 AND "name"='ashton cobb'; | 2-14624447-27 |
What is the earliest game with a position of Re and a smaller number than 95? | CREATE TABLE "middle_tennessee" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT MIN("games") FROM "middle_tennessee" WHERE "position"='re' AND "number"<95; | 2-14624447-27 |
Which Seattle quarterback has more than 81 career wins and less than 70 team wins? | CREATE TABLE "quarterbacks_ranked_by_regular_season_wi" (
"rank" real,
"quarterback" text,
"seasons" text,
"teams" text,
"team_wins" real,
"team_losses" real,
"career_wins" real,
"career_losses" real,
"ties" real
); | SELECT "quarterback" FROM "quarterbacks_ranked_by_regular_season_wi" WHERE "career_wins">81 AND "teams"='seattle' AND "team_wins"<70; | 2-13929036-2 |
What is Mike Harris' lowest overall? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("overall") FROM "jacksonville_jaguars_draft_history" WHERE "name"='mike harris'; | 2-15100419-18 |
What is the highest pick # that has a 228 overall and a round less than 7? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "overall"=228 AND "round"<7; | 2-15100419-18 |
What value has negative infinity? | CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
); | SELECT "value" FROM "examples" WHERE "type"='negative infinity'; | 2-15189-4 |
What's the exponent field that has 255 exp and value of +∞? | CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
); | SELECT "exponent_field" FROM "examples" WHERE "exp_biased"='255' AND "value"='+∞'; | 2-15189-4 |
What's the type of 0.0 value? | CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
); | SELECT "type" FROM "examples" WHERE "value"='0.0'; | 2-15189-4 |
What's the Significant of a value 1.0? | CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
); | SELECT "significand_fraction_field" FROM "examples" WHERE "value"='1.0'; | 2-15189-4 |
4th career/salary of navigator ($90,000-degree) involves what 3rd career/salary? | CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text
); | SELECT "3rd_career_salary" FROM "careers" WHERE "4th_career_salary"='navigator ($90,000-degree)'; | 2-14537819-3 |
5th career/salary of automotive designer ($350,000-degree) had what career card? | CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text
); | SELECT "career_card" FROM "careers" WHERE "5th_career_salary"='automotive designer ($350,000-degree)'; | 2-14537819-3 |
2nd career/salary of substitute teacher ($20,000) involves what 6th career/salary? | CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text
); | SELECT "6th_career_salary" FROM "careers" WHERE "2nd_career_salary"='substitute teacher ($20,000)'; | 2-14537819-3 |
6th career/salary of design consultant ($500,000-degree) involves what 3rd career/salary? | CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text
); | SELECT "3rd_career_salary" FROM "careers" WHERE "6th_career_salary"='design consultant ($500,000-degree)'; | 2-14537819-3 |
4th career/salary of clown ($80,000) had what 2nd career/salary? | CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text
); | SELECT "2nd_career_salary" FROM "careers" WHERE "4th_career_salary"='clown ($80,000)'; | 2-14537819-3 |
5th career/salary of restaurant manager ($250,000) had what 2nd career/salary? | CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text
); | SELECT "2nd_career_salary" FROM "careers" WHERE "5th_career_salary"='restaurant manager ($250,000)'; | 2-14537819-3 |
What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("round") FROM "jacksonville_jaguars_draft_history" WHERE "pick_num"=8 AND "college"='temple' AND "overall">72; | 2-15100419-15 |
What is the lowest overall of the wide receiver player from a round higher than 5 and a pick lower than 7? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("overall") FROM "jacksonville_jaguars_draft_history" WHERE "position"='wide receiver' AND "round"<5 AND "pick_num">7; | 2-15100419-15 |
What is the overall of the running back player? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "overall" FROM "jacksonville_jaguars_draft_history" WHERE "position"='running back'; | 2-15100419-15 |
What is the general classification when the team classification is japan? | CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" text,
"team_classification" text
); | SELECT "general_classification" FROM "classification_leadership" WHERE "team_classification"='japan'; | 2-15128548-2 |
When Yusuke Hatanaka was the stage winner in the tonton susanto general classification, what was the malaysian rider classification? | CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" text,
"team_classification" text
); | SELECT "malaysian_rider_classification" FROM "classification_leadership" WHERE "general_classification"='tonton susanto' AND "stage_winner"='yusuke hatanaka'; | 2-15128548-2 |
When Yusuke Hatanaka was the stage winner in the tabriz petrochemical team classification, what was the mountains classification? | CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "classification_leadership" WHERE "team_classification"='tabriz petrochemical team' AND "stage_winner"='yusuke hatanaka'; | 2-15128548-2 |
Which stage had tabriz petrochemical team in the team classification? | CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" text,
"team_classification" text
); | SELECT "stage" FROM "classification_leadership" WHERE "team_classification"='tabriz petrochemical team'; | 2-15128548-2 |
Which stage had suhardi hassan in the Malaysian rider classification? | CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" text,
"team_classification" text
); | SELECT "stage" FROM "classification_leadership" WHERE "malaysian_rider_classification"='suhardi hassan'; | 2-15128548-2 |
How many drawn have points of 6 and lost by fewer than 4? | CREATE TABLE "first_round" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT COUNT("drawn") FROM "first_round" WHERE "points"=6 AND "lost"<4; | 2-14077513-1 |
What was the earliest game with a record of 23–6–4? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MIN("game") FROM "regular_season" WHERE "record"='23–6–4'; | 2-14305802-4 |
What was the earliest game with a record of 16–4–3? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MIN("game") FROM "regular_season" WHERE "record"='16–4–3'; | 2-14305802-4 |
Which ERP W is the highest one that has a Call sign of w255bi? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MAX("erp_w") FROM "translators" WHERE "call_sign"='w255bi'; | 2-14797490-1 |
Which FCC info has a Frequency MHz of 100.7? | 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 "frequency_m_hz"=100.7; | 2-14797490-1 |
How much Frequency MHz has a Call sign of w264bg? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT COUNT("frequency_m_hz") FROM "translators" WHERE "call_sign"='w264bg'; | 2-14797490-1 |
Which ERP W is the lowest one that has a Call sign of w233be? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MIN("erp_w") FROM "translators" WHERE "call_sign"='w233be'; | 2-14797490-1 |
Which FCC info has a Frequency MHz larger than 102.3? | 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 "frequency_m_hz">102.3; | 2-14797490-1 |
What date was Rica head of household? | CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
); | SELECT "date_given" FROM "head_of_household_and_hand_grenade" WHERE "head_of_household"='rica'; | 2-15162479-6 |
What is the latest task number for which Cathy is head of household? | CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
); | SELECT MAX("task_no") FROM "head_of_household_and_hand_grenade" WHERE "head_of_household"='cathy'; | 2-15162479-6 |
Who is the head of household for task number 7? | CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
); | SELECT "head_of_household" FROM "head_of_household_and_hand_grenade" WHERE "task_no"=7; | 2-15162479-6 |
Which task had Cathy as the hand grenade user? | CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
); | SELECT "task_no" FROM "head_of_household_and_hand_grenade" WHERE "hand_grenade_user"='cathy'; | 2-15162479-6 |
What is the task number on January 22, 2010 (day 111)? | CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
); | SELECT MAX("task_no") FROM "head_of_household_and_hand_grenade" WHERE "date_given"='january 22, 2010 (day 111)'; | 2-15162479-6 |
What was the record in the win 7 streak? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "record" FROM "season_schedule" WHERE "streak"='win 7'; | 2-13797388-4 |
What was the score when the opponent was Detroit Pistons? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "score" FROM "season_schedule" WHERE "opponent"='detroit pistons'; | 2-13797388-4 |
What is the date when streak was won 8? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "date" FROM "season_schedule" WHERE "streak"='won 8'; | 2-13797388-4 |
What trips are operated by Atlantic coast charters? | CREATE TABLE "intercounty_connector_bus_routes" (
"route" text,
"terminus" text,
"operated_by" text,
"corridors_served" text,
"total_trips_am_pm" text,
"operating_since" text
); | SELECT "total_trips_am_pm" FROM "intercounty_connector_bus_routes" WHERE "operated_by"='atlantic coast charters'; | 2-13742443-8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.