output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT COUNT("fin_pos") FROM "classification" WHERE "time_retired"='+10.8098';
## Task Generate a SQL query to answer the following question: `How many positions did the car with a final time of +10.8098 finish in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text...
SELECT MIN("fin_pos") FROM "classification" WHERE "driver"='Darren Manning';
## Task Generate a SQL query to answer the following question: `Darren Manning finished in what position?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "laps" real...
SELECT "position" FROM "career_summary" WHERE "team"='Josef Kaufmann Racing';
## Task Generate a SQL query to answer the following question: `What was the position for the Josef Kaufmann Racing team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real,...
SELECT MAX("poles") FROM "career_summary" WHERE "series"='Formula BMW Pacific';
## Task Generate a SQL query to answer the following question: `How many poles did the player have during the Formula BMW Pacific race?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, ...
SELECT MAX("season") FROM "career_summary" WHERE "points"=0 AND "position"='31st';
## Task Generate a SQL query to answer the following question: `Which season did he have 0 points and 31st position?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "w...
SELECT "wins" FROM "career_summary" WHERE "series"='Formula BMW World Final';
## Task Generate a SQL query to answer the following question: `How many wins did the player have in the Formula BMW World Final?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "race...
SELECT "air_date" FROM "episode_events" WHERE "event_2"='Hang Tough';
## Task Generate a SQL query to answer the following question: `On what date was the episode aired where event 2 was Hang Tough?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episode_events" ( "episode_number" real, "air_date" text, "event_1" t...
SELECT "event_2" FROM "episode_events" WHERE "event_4"='Whiplash';
## Task Generate a SQL query to answer the following question: `When event 4 was Whiplash, what was event 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episode_events" ( "episode_number" real, "air_date" text, "event_1" text, "event_2" tex...
SELECT COUNT("air_date") FROM "episode_events" WHERE "event_1"='Suspension Bridge';
## Task Generate a SQL query to answer the following question: `On how many different dates was event 1 Suspension Bridge?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episode_events" ( "episode_number" real, "air_date" text, "event_1" text, ...
SELECT COUNT("episode_number") FROM "episode_events" WHERE "event_4"='The Wall' AND "event_1"='Pendulum';
## Task Generate a SQL query to answer the following question: `On which episode number is event 4 The Wall and event 1 the Pendulum?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episode_events" ( "episode_number" real, "air_date" text, "event...
SELECT "event_2" FROM "episode_events" WHERE "event_1"='Atlasphere';
## Task Generate a SQL query to answer the following question: `What was event 2 when event 1 was Atlasphere?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episode_events" ( "episode_number" real, "air_date" text, "event_1" text, "event_2" te...
SELECT "car_no" FROM "classification" WHERE "driver"='Darren Manning';
## Task Generate a SQL query to answer the following question: `What is the car number driven by Darren Manning?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "lap...
SELECT MAX("fin_pos") FROM "classification" WHERE "points"='50';
## Task Generate a SQL query to answer the following question: `Which position earned 50 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "laps" real, "time...
SELECT COUNT("grid") FROM "classification" WHERE "driver"='Vitor Meira';
## Task Generate a SQL query to answer the following question: `How many drivers on the grid are called Vitor Meira?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, ...
SELECT MIN("result") FROM "0_728_throw_3_times" WHERE "equation"='0 × 9² + 3 × 9 + 3';
## Task Generate a SQL query to answer the following question: `If the equation is 0 × 9² + 3 × 9 + 3, what is the result?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "0_728_throw_3_times" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" real...
SELECT MAX("3rd_throw") FROM "0_728_throw_3_times" WHERE "equation"='6 × 9² + 6 × 9 + 6';
## Task Generate a SQL query to answer the following question: `If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "0_728_throw_3_times" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" r...
SELECT MIN("2nd_throw") FROM "0_728_throw_3_times" WHERE "equation"='8 × 9² + 8 × 9 + 8';
## Task Generate a SQL query to answer the following question: `If the equation is 8 × 9² + 8 × 9 + 8, what is the 2nd throw?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "0_728_throw_3_times" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" r...
SELECT "2nd_throw" FROM "0_728_throw_3_times" WHERE "equation"='1 × 9² + 4 × 9 + 0';
## Task Generate a SQL query to answer the following question: `If the equation is 1 × 9² + 4 × 9 + 0, what is the 2nd throw?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "0_728_throw_3_times" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" r...
SELECT MAX("2nd_throw") FROM "0_728_throw_3_times" WHERE "equation"='6 × 9² + 6 × 9 + 6';
## Task Generate a SQL query to answer the following question: `If the equation is 6 × 9² + 6 × 9 + 6, what is the 2nd throw?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "0_728_throw_3_times" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" ...
SELECT "2nd_leg" FROM "round_of_16" WHERE "team_num1"='San Lorenzo';
## Task Generate a SQL query to answer the following question: `When they played San Lorenzo, what was the score of the second leg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, ...
SELECT COUNT("1st_leg") FROM "round_of_16" WHERE "team_num2"='Universidad de Chile';
## Task Generate a SQL query to answer the following question: `When they played Universidad de Chile, what was the score of the first leg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2...
SELECT "team_num2" FROM "round_of_16" WHERE "team_num1"='San Lorenzo';
## Task Generate a SQL query to answer the following question: `Who played San Lorenzo?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text ); ### SQ...
SELECT "team_num2" FROM "round_of_16" WHERE "team_num1"='River Plate';
## Task Generate a SQL query to answer the following question: `Who played River Plate?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text ); ### SQ...
SELECT COUNT("1st_leg") FROM "first_stage" WHERE "team_num2"='Botafogo';
## Task Generate a SQL query to answer the following question: `What was the score on the 1st leg if the team 2 is botafogo?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_stage" ( "team_num1" text, "points" text, "team_num2" text, "1st_...
SELECT "team_num2" FROM "first_stage" WHERE "team_num1"='Vitória';
## Task Generate a SQL query to answer the following question: `Who played against team 1 Vitória?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_stage" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" tex...
SELECT "team_num2" FROM "first_stage" WHERE "team_num1"='Liverpool';
## Task Generate a SQL query to answer the following question: `Who played against team 1 Liverpool? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_stage" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" ...
SELECT "points" FROM "first_stage" WHERE "team_num2"='Deportivo Anzoátegui';
## Task Generate a SQL query to answer the following question: `What was the game's points against Team 2 Deportivo Anzoátegui?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_stage" ( "team_num1" text, "points" text, "team_num2" text, "1...
SELECT COUNT("high_points") FROM "game_log" WHERE "location_attendance"='US Airways Center 18,422';
## Task Generate a SQL query to answer the following question: `How many different items appear in the high points column when the location attendance was US Airways Center 18,422?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" re...
SELECT "high_assists" FROM "game_log" WHERE "date"='April 7';
## Task Generate a SQL query to answer the following question: `What was the high assists on April 7?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high...
SELECT "score" FROM "game_log" WHERE "date"='January 25';
## Task Generate a SQL query to answer the following question: `What is the score for the game played on January 25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points...
SELECT "record" FROM "game_log" WHERE "date"='January 19';
## Task Generate a SQL query to answer the following question: `What is the record for the team on January 19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text...
SELECT COUNT("record") FROM "game_log" WHERE "high_points"='Ron Artest (24)';
## Task Generate a SQL query to answer the following question: `How many times did Ron Artest (24) receive the record for high points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" te...
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Rafer Alston (10)';
## Task Generate a SQL query to answer the following question: `At what location and what was the attendance when Rafer Alston (10) achieved high assists? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "tea...
SELECT MAX("game") FROM "game_log" WHERE "location_attendance"='Conseco Fieldhouse 14,486';
## Task Generate a SQL query to answer the following question: `At what game number was the attendance at Conseco Fieldhouse 14,486?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text...
SELECT MAX("game") FROM "game_log" WHERE "date"='January 19';
## Task Generate a SQL query to answer the following question: `What is the number of the game that was played on January 19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "hi...
SELECT "record" FROM "game_log" WHERE "location_attendance"='Verizon Center 20,173';
## Task Generate a SQL query to answer the following question: `Name the record for verizon center 20,173` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "...
SELECT "date" FROM "game_log" WHERE "score"='L 89–91 (OT)';
## Task Generate a SQL query to answer the following question: `Name the date for score l 89–91 (ot)` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high...
SELECT "record" FROM "game_log" WHERE "team"='Cleveland';
## Task Generate a SQL query to answer the following question: `What was the team record when the team was Cleveland?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_point...
SELECT "high_assists" FROM "game_log" WHERE "score"='L 93–103 (OT)';
## Task Generate a SQL query to answer the following question: `Name the high assists for l 93–103 (ot)` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "h...
SELECT "date" FROM "game_log" WHERE "game"=21;
## Task Generate a SQL query to answer the following question: `What was the date of game 21?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebound...
SELECT "round_of_32" FROM "table1_17289604_38" WHERE "athlete"='Nicole Vaidišová';
## Task Generate a SQL query to answer the following question: `What were the results for round of 32 for Nicole Vaidišová?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17289604_38" ( "athlete" text, "event" text, "round_of_64" text, ...
SELECT COUNT("athlete") FROM "table1_17289604_38" WHERE "round_of_64"='Llagostera Vives ( ESP ) L 6–2, 3–6, 5–7';
## Task Generate a SQL query to answer the following question: `How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6–2, 3–6, 5–7?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17289604_38" ( "athlete" text, "eve...
SELECT "round_of_16" FROM "table1_17289604_38" WHERE "round_of_32"='Koryttseva ( UKR ) W 2–6, 6–1, 7–5';
## Task Generate a SQL query to answer the following question: `What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17289604_38" ( "athlete" text, "event" text, ...
SELECT "round_of_64" FROM "table1_17289604_38" WHERE "event"='Singles' AND "round_of_16"='Did not advance' AND "athlete"='Iveta Benešová';
## Task Generate a SQL query to answer the following question: `What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Benešová?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1728960...
SELECT "quarterfinals" FROM "table1_17289604_38" WHERE "round_of_32"='S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6';
## Task Generate a SQL query to answer the following question: `What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17289604_38" ( "athlete" text,...
SELECT "date" FROM "game_log" WHERE "high_rebounds"='Dirk Nowitzki (14)';
## Task Generate a SQL query to answer the following question: `On what day did Dirk Nowitzki (14) have a high rebound? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_po...
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "high_points"='Josh Howard (19)';
## Task Generate a SQL query to answer the following question: `High points earned by Josh Howard (19) resulted in how many high rebounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score...
SELECT "high_assists" FROM "game_log" WHERE "high_rebounds"='Erick Dampier (8)';
## Task Generate a SQL query to answer the following question: `Who had the high assists while Erick Dampier (8) had the high rebounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" t...
SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='Dirk Nowitzki (13)';
## Task Generate a SQL query to answer the following question: `Who had the high points while Dirk Nowitzki (13) had the high rebounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" t...
SELECT "record" FROM "game_log" WHERE "high_points"='Dirk Nowitzki (19)';
## Task Generate a SQL query to answer the following question: `What was the final record for the game in which Dirk Nowitzki (19) had the high points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" t...
SELECT "championship" FROM "mixed_doubles_11_5_6" WHERE "opponents_in_the_final"='Nathalie Dechy Andy Ram';
## Task Generate a SQL query to answer the following question: `Which championship had the final opponents of nathalie dechy andy ram?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_11_5_6" ( "outcome" text, "year" real, "champions...
SELECT "upstream" FROM "turkey" WHERE "price_tl"='39 TL';
## Task Generate a SQL query to answer the following question: `What is the upstream speed of the network that costs 39 tl?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "turkey" ( "downstream" text, "upstream" text, "bandwidth" text, "price_t...
SELECT COUNT("upstream") FROM "turkey" WHERE "downstream"='20 Mbit/s' AND "bandwidth"='40 GB';
## Task Generate a SQL query to answer the following question: `How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 gb?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "turkey" ( "downstream" text, "upstream" text, "...
SELECT "upstream" FROM "turkey" WHERE "price_tl"='89 TL';
## Task Generate a SQL query to answer the following question: `What is the upstream speed that you get for 89 tl?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "turkey" ( "downstream" text, "upstream" text, "bandwidth" text, "price_tl" text, ...
SELECT "bandwidth" FROM "turkey" WHERE "downstream"='20 Mbit/s' AND "price_tl"='69 TL';
## Task Generate a SQL query to answer the following question: `What is the bandwidth for downstream of 20 mbit/s for 69 tl?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "turkey" ( "downstream" text, "upstream" text, "bandwidth" text, "price_...
SELECT "year" FROM "table1_17302440_1" WHERE "west_manila"='6.5';
## Task Generate a SQL query to answer the following question: `What was the year when West Manila has a tariff increase of 6.5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17302440_1" ( "year" real, "west_manila" text, "east_manila" t...
SELECT "east_manila_as_a_share_of_1996_real_tariff" FROM "table1_17302440_1" WHERE "consumer_price_index_2005_100"='119.4';
## Task Generate a SQL query to answer the following question: `What was East Manila's share of 1996 real tariff when its Consumer Price Index is 119.4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17302440_1" ( "year" real, "west_manila"...
SELECT "west_manila" FROM "table1_17302440_1" WHERE "consumer_price_index_2005_100"='60.6';
## Task Generate a SQL query to answer the following question: `What was West Manila's tariff increase when its CPI is 60.6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17302440_1" ( "year" real, "west_manila" text, "east_manila" text,...
SELECT "west_manila" FROM "table1_17302440_1" WHERE "consumer_price_index_2005_100"='119.4';
## Task Generate a SQL query to answer the following question: `What was West Manila's tariff increase when its CPI is 119.4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17302440_1" ( "year" real, "west_manila" text, "east_manila" text...
SELECT "consumer_price_index_2005_100" FROM "table1_17302440_1" WHERE "west_manila_as_a_share_of_1996_real_tariff"='189%';
## Task Generate a SQL query to answer the following question: `What was the CPI of West Manila when its share of 1996 real tariff is 189%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17302440_1" ( "year" real, "west_manila" text, "eas...
SELECT "west_manila_as_a_share_of_1996_real_tariff" FROM "table1_17302440_1" WHERE "consumer_price_index_2005_100"='92.9';
## Task Generate a SQL query to answer the following question: `What was West Manila's share of 1996 real tariff when it CPI was 92.9?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17302440_1" ( "year" real, "west_manila" text, "east_man...
SELECT MAX("attendance") FROM "regular_season" WHERE "opponent"='Cincinnati Bengals';
## Task Generate a SQL query to answer the following question: `Of the times the Broncos played the Cincinnati Bengals, what was the highest attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "week" real, "date" text, "...
SELECT "date" FROM "regular_season" WHERE "opponent"='Miami Dolphins';
## Task Generate a SQL query to answer the following question: `When did the Broncos play the Miami Dolphins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_si...
SELECT "result" FROM "regular_season" WHERE "attendance"=18304;
## Task Generate a SQL query to answer the following question: `In the game with an attendance of 18304, what was the final score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "res...
SELECT COUNT("max_pressure") FROM "38_comparisons" WHERE "cartridge"='.380 ACP';
## Task Generate a SQL query to answer the following question: `How many pressure figures are given for the .380 acp cartridge?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velo...
SELECT "max_pressure" FROM "38_comparisons" WHERE "muzzle_energy"='201ft•lbf (273 J)';
## Task Generate a SQL query to answer the following question: `What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weig...
SELECT "max_pressure" FROM "38_comparisons" WHERE "cartridge"='.38 Long Colt';
## Task Generate a SQL query to answer the following question: `What is the max pressure of the .38 long colt cartridge?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" t...
SELECT "bullet_weight" FROM "38_comparisons" WHERE "max_pressure"='12,000 CUP';
## Task Generate a SQL query to answer the following question: `What is the bullet weight when the max pressure is 12,000 cup?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_veloc...
SELECT "score" FROM "game_log" WHERE "team"='Charlotte';
## Task Generate a SQL query to answer the following question: `What are the scores made by Charlotte team` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, ...
SELECT "high_assists" FROM "game_log" WHERE "high_rebounds"='Al Horford (17)';
## Task Generate a SQL query to answer the following question: `Who made highest assists when high rebounds was Al Horford (17)` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "...
SELECT "score" FROM "game_log" WHERE "high_rebounds"='Zaza Pachulia (8)';
## Task Generate a SQL query to answer the following question: `Give the score when high rebounds was zaza pachulia (8)` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_poi...
SELECT "gs" FROM "external_links" WHERE "points"='12.1';
## Task Generate a SQL query to answer the following question: `Name the gs for points being 12.1` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "season" text, "games" real, "gs" real, "points" text, "rebounds" text, "ass...
SELECT "assists" FROM "external_links" WHERE "games"=157;
## Task Generate a SQL query to answer the following question: `Name the assists for 157 games` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "season" text, "games" real, "gs" real, "points" text, "rebounds" text, "assist...
SELECT "steals" FROM "external_links" WHERE "season"='2007/2008';
## Task Generate a SQL query to answer the following question: `Name the steals for season 2007/2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "season" text, "games" real, "gs" real, "points" text, "rebounds" text, "...
SELECT COUNT("assists") FROM "external_links" WHERE "blocks"='77';
## Task Generate a SQL query to answer the following question: `Name the total number of assists for 77 blocks` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "season" text, "games" real, "gs" real, "points" text, "rebounds"...
SELECT "record" FROM "game_log" WHERE "high_assists"='Mike Bibby (8)';
## Task Generate a SQL query to answer the following question: `When mike bibby (8) had the highest amount of assists what is the record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score"...
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Mike Bibby (9)';
## Task Generate a SQL query to answer the following question: `When mike bibby (9) has the highest amount of assists what is the location and attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team...
SELECT "team" FROM "game_log" WHERE "date"='January 23';
## Task Generate a SQL query to answer the following question: `Who was the team played on January 23?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "hig...
SELECT "location_attendance" FROM "game_log" WHERE "team"='Orlando';
## Task Generate a SQL query to answer the following question: `Where was the game held and what was the attendance when they played Orlando?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "sc...
SELECT MAX("game") FROM "game_log" WHERE "team"='Charlotte';
## Task Generate a SQL query to answer the following question: `In what game did Miami play Charlotte? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "hi...
SELECT "high_points" FROM "game_log" WHERE "date"='February 6';
## Task Generate a SQL query to answer the following question: `Who had the high points on February 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "hig...
SELECT MAX("laps_led") FROM "classification" WHERE "points"='16';
## Task Generate a SQL query to answer the following question: `What is the highest number of laps led with 16 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, ...
SELECT COUNT("driver") FROM "classification" WHERE "team"='SAMAX Motorsport';
## Task Generate a SQL query to answer the following question: `How many drivers were there for Samax Motorsport?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "la...
SELECT "team" FROM "classification" WHERE "driver"='Jeff Simmons';
## Task Generate a SQL query to answer the following question: `What is the team whose driver Jeff Simmons?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "laps" re...
SELECT COUNT("driver") FROM "classification" WHERE "time_retired"='+3 Laps' AND "points"='24';
## Task Generate a SQL query to answer the following question: `How many drivers where there when the time/retired +3 laps and points were 24?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "drive...
SELECT MAX("laps") FROM "classification" WHERE "driver"='Darren Manning';
## Task Generate a SQL query to answer the following question: `What is the highest number of laps for Darren Manning?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, ...
SELECT COUNT("car_no") FROM "classification" WHERE "time_retired"='+4.0019';
## Task Generate a SQL query to answer the following question: `How many car numbers were recorded when the time/retired is +4.0019?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "fin_pos" real, "car_no" real, "driver" text, ...
SELECT "game" FROM "game_log" WHERE "date"='January 28';
## Task Generate a SQL query to answer the following question: `What game number was played on January 28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, ...
SELECT "high_points" FROM "game_log" WHERE "date"='February 11';
## Task Generate a SQL query to answer the following question: `What is the high amount of points on February 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" t...
SELECT "high_assists" FROM "game_log" WHERE "team"='Denver';
## Task Generate a SQL query to answer the following question: `Who has the most assists on Denver?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_r...
SELECT "location_attendance" FROM "table1_17322817_10" WHERE "date"='April 13';
## Task Generate a SQL query to answer the following question: `Name the location attendance for april 13` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17322817_10" ( "game" real, "date" text, "team" text, "score" text, "high_points"...
SELECT "location_attendance" FROM "table1_17322817_10" WHERE "date"='April 5';
## Task Generate a SQL query to answer the following question: `Name the location attendance for april 5` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_17322817_10" ( "game" real, "date" text, "team" text, "score" text, "high_points" ...
SELECT "high_points" FROM "game_log" WHERE "date"='December 17';
## Task Generate a SQL query to answer the following question: `Who had the high points on December 17?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "hi...
SELECT COUNT("score") FROM "game_log" WHERE "team"='Houston';
## Task Generate a SQL query to answer the following question: `How many scores are listed for the game against Houston` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_poi...
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Andre Miller (7)';
## Task Generate a SQL query to answer the following question: `What was the location and attendance of the game when High Assists were Andre Miller (7)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team"...
SELECT "high_assists" FROM "game_log" WHERE "game"=1;
## Task Generate a SQL query to answer the following question: `Who was the High Assist in game 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_re...
SELECT "high_assists" FROM "game_log" WHERE "high_rebounds"='Andre Iguodala (8)';
## Task Generate a SQL query to answer the following question: `Who was the High Assist when the High Rebounds was andre iguodala (8)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" te...
SELECT "record" FROM "game_log" WHERE "high_points"='Andre Miller (30)';
## Task Generate a SQL query to answer the following question: `What was the W-L record when HIgh Points was andre miller (30)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "...
SELECT "score" FROM "game_log" WHERE "high_points"='Andre Miller (17)';
## Task Generate a SQL query to answer the following question: `What was the score and game outcome when High Points was andre miller (17)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "scor...
SELECT COUNT("game") FROM "game_log" WHERE "high_points"='Andre Iguodala (29)';
## Task Generate a SQL query to answer the following question: `How many games was High Points andre iguodala (29)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points"...