output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "weekly_schedule"='Monday to Thursday @ 11:00 pm'; |
## Task
Generate a SQL query to answer the following question:
`What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_networ... |
SELECT "country" FROM "international_broadcasts" WHERE "tv_network_s"='AXN India'; |
## Task
Generate a SQL query to answer the following question:
`What is every country with a TV network of AXN India?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premier... |
SELECT "weekly_schedule" FROM "international_broadcasts" WHERE "country"='Norway'; |
## Task
Generate a SQL query to answer the following question:
`What is every weekly schedule in the country of Norway?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premi... |
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "country"='Belgium'; |
## Task
Generate a SQL query to answer the following question:
`What is every TV network in Belgium?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekl... |
SELECT "status" FROM "international_broadcasts" WHERE "weekly_schedule"='Monday to Thursday @ 11:00 pm'; |
## Task
Generate a SQL query to answer the following question:
`What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s"... |
SELECT "weekly_schedule" FROM "international_broadcasts" WHERE "tv_network_s"='Viasat 4'; |
## Task
Generate a SQL query to answer the following question:
`What is every weekly schedule of TV network Viasat 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premier... |
SELECT "prize_fund" FROM "final_results" WHERE "venue"='RWE-Sporthalle, Mülheim'; |
## Task
Generate a SQL query to answer the following question:
`How much was the prize money for rwe-sporthalle, mülheim ?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_results" (
"year" real,
"champion_average_in_final" text,
"legs" tex... |
SELECT COUNT("runner_up") FROM "final_results" WHERE "year"=2009; |
## Task
Generate a SQL query to answer the following question:
`In 2009, how many were runner-up?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_results" (
"year" real,
"champion_average_in_final" text,
"legs" text,
"runner_up_average_in... |
SELECT "champion" FROM "final_results" WHERE "venue"='Stadthalle Dinslaken, Dinslaken'; |
## Task
Generate a SQL query to answer the following question:
`How much does the champion get for stadthalle dinslaken, dinslaken?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "final_results" (
"year" real,
"champion_average_in_final" text,
"l... |
SELECT "po_4_3_a_pct" FROM "aqueous_solution" WHERE "h_2_po_4_a_pct"='94.5'; |
## Task
Generate a SQL query to answer the following question:
`what is [po 4 3− ]/[a] (%) where [h 2 po 4 − ]/[a] (%) is 94.5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "aqueous_solution" (
"a_mol_l" text,
"p_h" text,
"h_3_po_4_a_pct" text,... |
SELECT COUNT("a_mol_l") FROM "aqueous_solution" WHERE "hpo_4_2_a_pct"='0.612'; |
## Task
Generate a SQL query to answer the following question:
`what is the [a] (mol/l) where [hpo 4 2− ]/[a] (%) is 0.612?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "aqueous_solution" (
"a_mol_l" text,
"p_h" text,
"h_3_po_4_a_pct" text,
"... |
SELECT "l2_cache" FROM "45_nm" WHERE "release_date"='September 2009' AND "part_number_s"='BY80607002529AF'; |
## Task
Generate a SQL query to answer the following question:
`When by80607002529af is the part number and september 2009 is the release date what is the l2 cache?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "45_nm" (
"model_number" text,
"s_sp... |
SELECT "socket" FROM "45_nm" WHERE "part_number_s"='BY80607002907AHBX80607I7720QM'; |
## Task
Generate a SQL query to answer the following question:
`When by80607002907ahbx80607i7720qm is the part number what is the socket?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequen... |
SELECT "mult" FROM "45_nm" WHERE "s_spec_number"='SLBLW(B1)'; |
## Task
Generate a SQL query to answer the following question:
`When slblw(b1) is the sspec number what is the mult.?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" ... |
SELECT "release_price_usd" FROM "45_nm" WHERE "socket"='SocketG1'; |
## Task
Generate a SQL query to answer the following question:
`When socketg1 is the socket what is the release price in dollars?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text... |
SELECT MAX("opponents") FROM "schedule" WHERE "date"='Dec. 19'; |
## Task
Generate a SQL query to answer the following question:
`How many points did the opposing team score on Dec. 19, 1982?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
... |
SELECT "bills_originally_cosponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "all_amendments_cosponsored"=0; |
## Task
Generate a SQL query to answer the following question:
`How many bills where originally cosponsored in those years where the total of all amendments cosponsored was 0?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "legislation_sponsored_by_joh... |
SELECT "all_bills_cosponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "bills_originally_cosponsored"=113; |
## Task
Generate a SQL query to answer the following question:
`How many bill cosponsored during those years where bills originally cosponsored is 113?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "legislation_sponsored_by_john_mc_cain" (
"years_co... |
SELECT MAX("all_bills_sponsored") FROM "legislation_sponsored_by_john_mc_cain"; |
## Task
Generate a SQL query to answer the following question:
`What is the greatest number of bills sponsored in any year?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "legislation_sponsored_by_john_mc_cain" (
"years_covered" text,
"all_bills_sp... |
SELECT MIN("cr_no") FROM "numbers_and_names"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest cr number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"wor... |
SELECT "built" FROM "numbers_and_names" WHERE "withdrawn"='2/1939'; |
## Task
Generate a SQL query to answer the following question:
`When 2/1939 is the withdrawn when was it built?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"b... |
SELECT "hr_no" FROM "numbers_and_names" WHERE "hr_name"='River Ness'; |
## Task
Generate a SQL query to answer the following question:
`When river ness is the hr name what is the hr number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real... |
SELECT COUNT("built") FROM "numbers_and_names" WHERE "hr_name"='(River Garry)'; |
## Task
Generate a SQL query to answer the following question:
`When (river garry) is the hr name how many builts are there?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_n... |
SELECT MAX("cr_no") FROM "numbers_and_names"; |
## Task
Generate a SQL query to answer the following question:
`What is the highest cr number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"wo... |
SELECT COUNT("built") FROM "numbers_and_names" WHERE "hr_name"='River Ness'; |
## Task
Generate a SQL query to answer the following question:
`When river ness is the hr name how many builts are there?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" ... |
SELECT MAX("opponents") FROM "schedule" WHERE "opponent"='at Minnesota Vikings'; |
## Task
Generate a SQL query to answer the following question:
`How many opponents are at Minnesota Vikings?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"dolphins_point... |
SELECT "date" FROM "schedule" WHERE "opponent"='New England Patriots'; |
## Task
Generate a SQL query to answer the following question:
`What is the date when the opponent is the New England Patriots?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text... |
SELECT "date" FROM "schedule" WHERE "dolphins_points"=6; |
## Task
Generate a SQL query to answer the following question:
`How many dates do the dolphins have 6 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"dolphins_poin... |
SELECT "country" FROM "western_open" WHERE "player"='Robert Allenby'; |
## Task
Generate a SQL query to answer the following question:
`What country does robert allenby represent?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" tex... |
SELECT "to_par" FROM "western_open" WHERE "year"=1998; |
## Task
Generate a SQL query to answer the following question:
`What score to par won in 1998?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" text,
"margin"... |
SELECT "player" FROM "western_open" WHERE "score"='64-70-67-69=270'; |
## Task
Generate a SQL query to answer the following question:
`What player(s) had the score of 64-70-67-69=270?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par... |
SELECT "player" FROM "western_open" WHERE "score"='64-71-67-67=269'; |
## Task
Generate a SQL query to answer the following question:
`What players had teh score of 64-71-67-67=269?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" ... |
SELECT MIN("year") FROM "western_open" WHERE "score"='68-66-68-71=273'; |
## Task
Generate a SQL query to answer the following question:
`What is the first yar that someone won with a score of 68-66-68-71=273?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
... |
SELECT COUNT("socialist") FROM "116_seats_needed_for_a_majority" WHERE "lead"='12.6%'; |
## Task
Generate a SQL query to answer the following question:
`How many socialist have a lead of 12.6%?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_de... |
SELECT "ga" FROM "table1_1888157_1" WHERE "coach_es"='Bob Ferguson' AND "t"=6; |
## Task
Generate a SQL query to answer the following question:
`What is every GA if coach is Bob Ferguson and T is 6?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
... |
SELECT MIN("sol") FROM "table1_1888157_1"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest SOL?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,
"l" real,
"t" ... |
SELECT MAX("ga") FROM "table1_1888157_1" WHERE "gf"=39; |
## Task
Generate a SQL query to answer the following question:
`What is the highest GA when GF is 39?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,
"l... |
SELECT "league" FROM "table1_1888157_1" WHERE "coach_es"='Jim Burton'; |
## Task
Generate a SQL query to answer the following question:
`What is every league for coach Jim Burton?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,... |
SELECT COUNT("record") FROM "regular_season" WHERE "score"='W 70-66'; |
## Task
Generate a SQL query to answer the following question:
`How many different records were there in the games that ended in w 70-66?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,... |
SELECT "record" FROM "regular_season" WHERE "high_rebounds"='Dydek (10)'; |
## Task
Generate a SQL query to answer the following question:
`What was the record of the game in which Dydek (10) did the most high rebounds?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent"... |
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='Sales (17)'; |
## Task
Generate a SQL query to answer the following question:
`Who did the most high rebounds in the game where Sales (17) did the high points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent... |
SELECT "total_footage_remaining_from_missing_episodes_mm_ss" FROM "table1_1889619_5" WHERE "story_no"='018' AND "source"='Private individual'; |
## Task
Generate a SQL query to answer the following question:
`When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table... |
SELECT "country_territory" FROM "table1_1889619_5" WHERE "source"='BBC' AND "total_footage_remaining_from_missing_episodes_mm_ss"='01:18'; |
## Task
Generate a SQL query to answer the following question:
`When 01:18 is the total footage remaining from missing episodes (mm:ss) and bbc is the source what is the country/territory? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_188961... |
SELECT "serial" FROM "table1_1889619_5" WHERE "total_footage_mm_ss"='00:21'; |
## Task
Generate a SQL query to answer the following question:
`When 00:21 is the total footage (mm:ss) what is the serial?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
"seri... |
SELECT "country_territory" FROM "table1_1889619_5" WHERE "story_no"='032' AND "missing_episodes_with_recovered_footage"='Episode 4'; |
## Task
Generate a SQL query to answer the following question:
`When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1889619_5... |
SELECT "story_no" FROM "table1_1889619_5" WHERE "total_footage_mm_ss"='00:02'; |
## Task
Generate a SQL query to answer the following question:
`When 00:02 is the total footage (mm:ss) what is the story number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
... |
SELECT MIN("game") FROM "regular_season" WHERE "record"='8-3'; |
## Task
Generate a SQL query to answer the following question:
`Name the least game for 8-3`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high... |
SELECT "opponent" FROM "regular_season" WHERE "record"='10-4'; |
## Task
Generate a SQL query to answer the following question:
`Name the opponent for record 10-4`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
... |
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='7-1'; |
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for record 7-1`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" tex... |
SELECT "game" FROM "regular_season" WHERE "date"='June 16'; |
## Task
Generate a SQL query to answer the following question:
`Name the game for june 16`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_r... |
SELECT "game" FROM "regular_season" WHERE "date"='June 7'; |
## Task
Generate a SQL query to answer the following question:
`Name the game for june 7`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_re... |
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='19-6'; |
## Task
Generate a SQL query to answer the following question:
`Who did the high rebounds in the game with a 19-6 record?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,... |
SELECT "location_attendance" FROM "regular_season" WHERE "record"='13-5'; |
## Task
Generate a SQL query to answer the following question:
`Where was the game with a 13-5 record played, and in front of how many people?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" ... |
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='Douglas (28)'; |
## Task
Generate a SQL query to answer the following question:
`Who did the high rebounds in the game where Douglas (28) did the high points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" t... |
SELECT "record" FROM "regular_season" WHERE "date"='July 1'; |
## Task
Generate a SQL query to answer the following question:
`What was the record on the game played on July 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high... |
SELECT COUNT("opponent") FROM "regular_season" WHERE "record"='17-6'; |
## Task
Generate a SQL query to answer the following question:
`How many opponents was a game with a record 17-6 played against?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score... |
SELECT "career" FROM "references" WHERE "matches"=60; |
## Task
Generate a SQL query to answer the following question:
`What was the career duration of the bowler who played 60 matches?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" ... |
SELECT "best" FROM "references" WHERE "maidens"=547 AND "overs"='2755.1'; |
## Task
Generate a SQL query to answer the following question:
`What is the Best score if the Maidens is 547 and Overs is 2755.1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" ... |
SELECT "overs" FROM "references" WHERE "career"='1993-2007'; |
## Task
Generate a SQL query to answer the following question:
`What was the Overs score of the career played from 1993-2007?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" text... |
SELECT "best" FROM "references" WHERE "career"='1971-1984'; |
## Task
Generate a SQL query to answer the following question:
`What was the Best score during the game played from 1971-1984?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" tex... |
SELECT "date" FROM "regular_season" WHERE "high_rebounds"='Dydek (11)'; |
## Task
Generate a SQL query to answer the following question:
`When dydek (11) has the highest rebounds what is the date?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text... |
SELECT "date" FROM "regular_season" WHERE "high_rebounds"='McWilliams-Franklin (8)'; |
## Task
Generate a SQL query to answer the following question:
`When mcwilliams-franklin (8) has the highest rebounds what is the date?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
... |
SELECT "high_points" FROM "regular_season" WHERE "high_rebounds"='Dydek (8)'; |
## Task
Generate a SQL query to answer the following question:
`When dydek (8) has the highest rebounds who has the highest amount of points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" t... |
SELECT "location" FROM "regular_season" WHERE "score"='W 73-70'; |
## Task
Generate a SQL query to answer the following question:
`When w 73-70 is the score what is the location?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_p... |
SELECT "score" FROM "regular_season" WHERE "record"='25-8'; |
## Task
Generate a SQL query to answer the following question:
`What was the score in the game that had a record of 25-8?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,... |
SELECT MIN("game") FROM "regular_season" WHERE "date"='August 20'; |
## Task
Generate a SQL query to answer the following question:
`What was # of the first game played on August 20?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high... |
SELECT COUNT("high_points") FROM "regular_season" WHERE "location"='MCI Center'; |
## Task
Generate a SQL query to answer the following question:
`What were the high points for the game played at the MCI Center?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score... |
SELECT "location" FROM "regular_season" WHERE "record"='19-6'; |
## Task
Generate a SQL query to answer the following question:
`Where was the game played that had a record of 19-6?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"h... |
SELECT MAX("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Barurumea Ridge'; |
## Task
Generate a SQL query to answer the following question:
`What is the col (m) of the Barurumea Ridge peak? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text... |
SELECT MAX("elevation_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Wilhelm'; |
## Task
Generate a SQL query to answer the following question:
`What is the elevation (m) of the Mount Wilhelm peak? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" ... |
SELECT MIN("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Bewani Mountains High Point'; |
## Task
Generate a SQL query to answer the following question:
`What is the col (m) of the Bewani Mountains High Point peak? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"c... |
SELECT "island" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Wondiwoi'; |
## Task
Generate a SQL query to answer the following question:
`When mount wondiwoi is the peak what is the island?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" te... |
SELECT "island" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Gauttier'; |
## Task
Generate a SQL query to answer the following question:
`When mount gauttier is the peak what is the island?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" te... |
SELECT MAX("elevation_m") FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Kobowre'; |
## Task
Generate a SQL query to answer the following question:
`When mount kobowre is the peak what is the highest elevation in meters?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" ... |
SELECT MAX("prominence_m") FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Gauttier'; |
## Task
Generate a SQL query to answer the following question:
`When mount gauttier is the peak what is the highest prominence in meters?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak... |
SELECT "country" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "col_m"=44; |
## Task
Generate a SQL query to answer the following question:
`When 44 is the col in meters what is the country?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text... |
SELECT "release_date" FROM "studio" WHERE "albumnum"='2nd'; |
## Task
Generate a SQL query to answer the following question:
`Name the release date for album # 2nd`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplifi... |
SELECT "label" FROM "studio" WHERE "english_title"='Grown Up Overnight'; |
## Task
Generate a SQL query to answer the following question:
`Name the label for grown up overnight`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplifi... |
SELECT "label" FROM "studio" WHERE "chinese_traditional"='情歌沒有告訴你'; |
## Task
Generate a SQL query to answer the following question:
`Name the label for traditional chinese 情歌沒有告訴你`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chines... |
SELECT COUNT("chinese_traditional") FROM "studio" WHERE "albumnum"='6th'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of traditional chinese for album number 6th`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" tex... |
SELECT "chinese_traditional" FROM "studio" WHERE "chinese_simplified"='美丽人生'; |
## Task
Generate a SQL query to answer the following question:
`Name the chinese traditional for 美丽人生`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplifi... |
SELECT "english_title" FROM "studio" WHERE "albumnum"='2nd'; |
## Task
Generate a SQL query to answer the following question:
`Name the english title for album # 2nd`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplif... |
SELECT COUNT("samples_taken") FROM "tests_conducted_by_aqsiq" WHERE "product"='嬰幼兒配方乳粉2段基粉'; |
## Task
Generate a SQL query to answer the following question:
`How many samples were taken of 嬰幼兒配方乳粉2段基粉 ?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"sam... |
SELECT "producer" FROM "tests_conducted_by_aqsiq" WHERE "product"='磊磊牌嬰幼兒配方乳粉'; |
## Task
Generate a SQL query to answer the following question:
`What are the producers of 磊磊牌嬰幼兒配方乳粉 ?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_... |
SELECT MIN("samples_taken") FROM "tests_conducted_by_aqsiq" WHERE "product"='蒙牛牌嬰幼兒配方乳粉'; |
## Task
Generate a SQL query to answer the following question:
`What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_take... |
SELECT "producer" FROM "tests_conducted_by_aqsiq" WHERE "product"='金必氏牌嬰幼兒配方乳粉'; |
## Task
Generate a SQL query to answer the following question:
`Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_fai... |
SELECT "live_births_per_year" FROM "table1_18950570_2" WHERE "life_expectancy_females"='73.3'; |
## Task
Generate a SQL query to answer the following question:
`How many live births per year are there in the period where the life expectancy for females is 73.3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_2" (
"period" text,
... |
SELECT "cdr" FROM "table1_18950570_2" WHERE "life_expectancy_total"='61.5'; |
## Task
Generate a SQL query to answer the following question:
`What's the CDR for the period where the life expectancy is 61.5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"dea... |
SELECT "imr" FROM "table1_18950570_2" WHERE "life_expectancy_total"='69.3'; |
## Task
Generate a SQL query to answer the following question:
`What's the IMR for the period with a life expectancy of 69.3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths... |
SELECT "cbr" FROM "table1_18950570_2" WHERE "deaths_per_year"='1 058 000'; |
## Task
Generate a SQL query to answer the following question:
`What's the CBR for the period with 1 058 000 deaths per year?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths... |
SELECT "live_births_per_year" FROM "table1_18950570_2" WHERE "deaths_per_year"='998 000'; |
## Task
Generate a SQL query to answer the following question:
`How many births per year are there for the period with 998 000 deaths per year?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_yea... |
SELECT "tfr" FROM "table1_18950570_2" WHERE "nc"='13.4'; |
## Task
Generate a SQL query to answer the following question:
`What's the TFR for the period with NC of 13.4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text... |
SELECT MAX("col_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "prominence_m"=3755; |
## Task
Generate a SQL query to answer the following question:
`What is the highest value for col(m) when prominence(m) is 3755?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
... |
SELECT MAX("col_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "island"='North Island'; |
## Task
Generate a SQL query to answer the following question:
`What is the highest value for col(m) at North Island?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"country" ... |
SELECT MIN("elevation_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "peak"='Mount Taylor'; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest elevation(m) for the peak Mount Taylor?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"coun... |
SELECT COUNT("prominence_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "rank"=5; |
## Task
Generate a SQL query to answer the following question:
`How many values of prominence(m) occur at rank 5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"country" text... |
SELECT "brazil_100pct_percent_of_the_population" FROM "table1_18950570_4" WHERE "age_group"='15-17'; |
## Task
Generate a SQL query to answer the following question:
`what ae all of the brazil 100% where the age group is 15-17?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_18950570_4" (
"age_group" text,
"brazil_100pct_percent_of_the_popula... |
SELECT "interval_name" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "size_cents"=560 AND "just_ratio"='11:8'; |
## Task
Generate a SQL query to answer the following question:
`If the just ratio is 11:8 and the cents size is 560, what is the interval name?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name... |
SELECT "just_ratio" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_cents"='84.46'; |
## Task
Generate a SQL query to answer the following question:
`If the just cents is 84.46, what is the just ratio?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,... |
SELECT "interval_name" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_cents"='701.96'; |
## Task
Generate a SQL query to answer the following question:
`If the just cents is 701.96, what is the interval name?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.