output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "race_name" FROM "non_championship_race_results" WHERE "circuit"='pergusa';
## Task Generate a SQL query to answer the following question: `What is the name of the race that has the pergusa Circuit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the race that has the pergusa Circuit?`: ```sql
SELECT "away_team_score" FROM "round_8" WHERE "away_team"='collingwood';
## Task Generate a SQL query to answer the following question: `What is the scoreof the away team Collingwood?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the scoreof the away team Collingwood?`: ```sql
SELECT "team" FROM "drivers_and_constructors" WHERE "driver"='jean alesi' AND "engine"='acer 01a';
## Task Generate a SQL query to answer the following question: `Jean Alesi, drives the Acer 01A engine for which team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "drivers_and_constructors" ( "team" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); ### SQL Given the database schema, here is the SQL query that answers `Jean Alesi, drives the Acer 01A engine for which team?`: ```sql
SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='alex yoong';
## Task Generate a SQL query to answer the following question: `Who built Alex Yoong's car?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "drivers_and_constructors" ( "team" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); ### SQL Given the database schema, here is the SQL query that answers `Who built Alex Yoong's car?`: ```sql
SELECT MAX("rank") FROM "leaders" WHERE "player"='jim colbert';
## Task Generate a SQL query to answer the following question: `What's jim colbert's highest rank?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); ### SQL Given the database schema, here is the SQL query that answers `What's jim colbert's highest rank?`: ```sql
SELECT AVG("rank") FROM "leaders" WHERE "player"='hale irwin';
## Task Generate a SQL query to answer the following question: `What's hale irwin's average rank?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); ### SQL Given the database schema, here is the SQL query that answers `What's hale irwin's average rank?`: ```sql
SELECT AVG("wins") FROM "leaders" WHERE "rank">3 AND "earnings">'9,735,814';
## Task Generate a SQL query to answer the following question: `What is the average wins with a rank over 3 and more earnings than $9,735,814?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the average wins with a rank over 3 and more earnings than $9,735,814?`: ```sql
SELECT SUM("avg") FROM "receiving" WHERE "long"=32;
## Task Generate a SQL query to answer the following question: `What is the sum of averages with a long value of 32?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the sum of averages with a long value of 32?`: ```sql
SELECT MAX("td_s") FROM "receiving" WHERE "yards"<15 AND "rec"<1;
## Task Generate a SQL query to answer the following question: `What is the highest TD's with less than 15 yards and less than 1 rec.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest TD's with less than 15 yards and less than 1 rec.?`: ```sql
SELECT "r_maji_title" FROM "track_listing" WHERE "track">20 AND "track_time"='4:28';
## Task Generate a SQL query to answer the following question: `Which Rōmaji title has a Track larger than 20, and a Track time of 4:28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Rōmaji title has a Track larger than 20, and a Track time of 4:28?`: ```sql
SELECT "track_time" FROM "track_listing" WHERE "disc">2 AND "track"<22 AND "english_title"='younger girl';
## Task Generate a SQL query to answer the following question: `Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl?`: ```sql
SELECT "japanese_title" FROM "track_listing" WHERE "disc"<12 AND "artist"='kōzō murashita';
## Task Generate a SQL query to answer the following question: `Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?`: ```sql
SELECT MAX("track") FROM "track_listing" WHERE "japanese_title"='メロディー';
## Task Generate a SQL query to answer the following question: `Which track has a Japanese title of メロディー?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); ### SQL Given the database schema, here is the SQL query that answers `Which track has a Japanese title of メロディー?`: ```sql
SELECT SUM("grid") FROM "classification" WHERE "time_retired"='clutch';
## Task Generate a SQL query to answer the following question: `What Grid has a Time/Retired of clutch?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What Grid has a Time/Retired of clutch?`: ```sql
SELECT "time_retired" FROM "classification" WHERE "laps">34 AND "grid"<15 AND "driver"='damon hill';
## Task Generate a SQL query to answer the following question: `What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill?`: ```sql
SELECT "laps" FROM "classification" WHERE "grid"<11 AND "driver"='david coulthard';
## Task Generate a SQL query to answer the following question: `How many Laps Did Driver David Coulthard have on a Grid smaller than 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `How many Laps Did Driver David Coulthard have on a Grid smaller than 11?`: ```sql
SELECT "type" FROM "stage_results" WHERE "course"='orta san giulio to milan';
## Task Generate a SQL query to answer the following question: `What type of race took place on the course Orta San Giulio to Milan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of race took place on the course Orta San Giulio to Milan?`: ```sql
SELECT "date" FROM "stage_results" WHERE "course"='vasto to campitello matese';
## Task Generate a SQL query to answer the following question: `When did the course Vasto to Campitello Matese took place?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); ### SQL Given the database schema, here is the SQL query that answers `When did the course Vasto to Campitello Matese took place?`: ```sql
SELECT "winner" FROM "stage_results" WHERE "course"='brescia';
## Task Generate a SQL query to answer the following question: `Who won the course Brescia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); ### SQL Given the database schema, here is the SQL query that answers `Who won the course Brescia?`: ```sql
SELECT "league" FROM "year_by_year" WHERE "year"='1996';
## Task Generate a SQL query to answer the following question: `Name the league for 1996` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "reg_season" text, "playoffs" text, "open_cup" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the league for 1996`: ```sql
SELECT "league" FROM "year_by_year" WHERE "year"='1994';
## Task Generate a SQL query to answer the following question: `Name the league for 1994` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "reg_season" text, "playoffs" text, "open_cup" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the league for 1994`: ```sql
SELECT "league" FROM "year_by_year" WHERE "reg_season"='1st';
## Task Generate a SQL query to answer the following question: `Tell me the league with a regular 1st season` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "reg_season" text, "playoffs" text, "open_cup" text ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the league with a regular 1st season`: ```sql
SELECT "class" FROM "1886_1893" WHERE "lner_class"='d8';
## Task Generate a SQL query to answer the following question: `What class has a LNER Class of d8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1886_1893" ( "class" text, "type" text, "quantity" real, "date" text, "lner_class" text ); ### SQL Given the database schema, here is the SQL query that answers `What class has a LNER Class of d8?`: ```sql
SELECT "lner_class" FROM "1886_1893" WHERE "class"='6db';
## Task Generate a SQL query to answer the following question: `What LNER Class has a Class of 6db?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1886_1893" ( "class" text, "type" text, "quantity" real, "date" text, "lner_class" text ); ### SQL Given the database schema, here is the SQL query that answers `What LNER Class has a Class of 6db?`: ```sql
SELECT "lner_class" FROM "1886_1893" WHERE "class"='3';
## Task Generate a SQL query to answer the following question: `What LNER Class has a Class of 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1886_1893" ( "class" text, "type" text, "quantity" real, "date" text, "lner_class" text ); ### SQL Given the database schema, here is the SQL query that answers `What LNER Class has a Class of 3?`: ```sql
SELECT AVG("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"=0 AND "pl_gp">0;
## Task Generate a SQL query to answer the following question: `Which mean pick number had a Reg GP of 0, and a Pl GP that was bigger than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "reg_gp" real, "pl_gp" real ); ### SQL Given the database schema, here is the SQL query that answers `Which mean pick number had a Reg GP of 0, and a Pl GP that was bigger than 0?`: ```sql
SELECT MAX("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "rd_num"<6 AND "player"='bob dailey' AND "reg_gp">257;
## Task Generate a SQL query to answer the following question: `What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "reg_gp" real, "pl_gp" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257?`: ```sql
SELECT COUNT("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"=0 AND "rd_num">8 AND "pick_num">146;
## Task Generate a SQL query to answer the following question: `What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "reg_gp" real, "pl_gp" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146?`: ```sql
SELECT "birth_state" FROM "candidates_who_lost_the_election" WHERE "name"='charles cotesworth pinckney' AND "election_year"=1808;
## Task Generate a SQL query to answer the following question: `What was the birth state of Charles Cotesworth Pinckney who was elected in 1808?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "candidates_who_lost_the_election" ( "name" text, "election_year" real, "party" text, "birth_state" text, "resident_state" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the birth state of Charles Cotesworth Pinckney who was elected in 1808?`: ```sql
SELECT "postseason" FROM "football_titles_by_school" WHERE "team"='nebraska';
## Task Generate a SQL query to answer the following question: `How many postseason titles has Nebraska received?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "football_titles_by_school" ( "team" text, "season" text, "regular_season_division" real, "postseason" text, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `How many postseason titles has Nebraska received?`: ```sql
SELECT "date" FROM "round_2" WHERE "home_team_score"='8.13 (61)';
## Task Generate a SQL query to answer the following question: `What day does the home team score 8.13 (61)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What day does the home team score 8.13 (61)?`: ```sql
SELECT "loss" FROM "game_log" WHERE "date"='august 20';
## Task Generate a SQL query to answer the following question: `What is the lost On August 20` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lost On August 20`: ```sql
SELECT AVG("attendance") FROM "game_log" WHERE "save"='–' AND "record"='94–36';
## Task Generate a SQL query to answer the following question: `WHAT IS THE NUMBER OF Attendance WITH A RECORD 94–36` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE NUMBER OF Attendance WITH A RECORD 94–36`: ```sql
SELECT MAX("attendance") FROM "game_log" WHERE "loss"='paniagua (3–3)';
## Task Generate a SQL query to answer the following question: `WHICH Attendance that has a Loss of paniagua (3–3)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `WHICH Attendance that has a Loss of paniagua (3–3)?`: ```sql
SELECT "away_team_score" FROM "round_12" WHERE "venue"='arden street oval';
## Task Generate a SQL query to answer the following question: `How many points did the away team score at Arden Street Oval?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `How many points did the away team score at Arden Street Oval?`: ```sql
SELECT "venue" FROM "round_12" WHERE "home_team"='footscray';
## Task Generate a SQL query to answer the following question: `In what venue does Footscray play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `In what venue does Footscray play?`: ```sql
SELECT "pos" FROM "pedro_rodr_guez_in_porsche" WHERE "race"='24 hours of le mans' AND "co_driver"='jackie oliver';
## Task Generate a SQL query to answer the following question: `What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pedro_rodr_guez_in_porsche" ( "year" real, "race" text, "team" text, "pos" text, "co_driver" text ); ### SQL Given the database schema, here is the SQL query that answers `What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans?`: ```sql
SELECT "co_driver" FROM "pedro_rodr_guez_in_porsche" WHERE "year"=1970 AND "race"='targa florio';
## Task Generate a SQL query to answer the following question: `Who was the co-driver in 1970 for the race of Targa Florio?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pedro_rodr_guez_in_porsche" ( "year" real, "race" text, "team" text, "pos" text, "co_driver" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the co-driver in 1970 for the race of Targa Florio?`: ```sql
SELECT "constructor" FROM "classification" WHERE "grid"=13;
## Task Generate a SQL query to answer the following question: `Which vehicle has a Grid of 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `Which vehicle has a Grid of 13?`: ```sql
SELECT "time_retired" FROM "classification" WHERE "laps"=80 AND "grid">2;
## Task Generate a SQL query to answer the following question: `What's the Time/Retired of 80 laps with a Grid larger than 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the Time/Retired of 80 laps with a Grid larger than 2?`: ```sql
SELECT "date" FROM "playoffs" WHERE "team"='detroit' AND "game">3;
## Task Generate a SQL query to answer the following question: `Tell me the date for detroit and game more than 3` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the date for detroit and game more than 3`: ```sql
SELECT "team" FROM "playoffs" WHERE "high_assists"='nelson (5)';
## Task Generate a SQL query to answer the following question: `Name the team with high assists of nelson (5)` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the team with high assists of nelson (5)`: ```sql
SELECT "score" FROM "playoffs" WHERE "high_rebounds"='howard (8)';
## Task Generate a SQL query to answer the following question: `Name the score for howard (8) high rebounds` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the score for howard (8) high rebounds`: ```sql
SELECT MIN("attendance") FROM "summary" WHERE "date"='october 11' AND "game">4;
## Task Generate a SQL query to answer the following question: `Where Date is october 11, and game greater than 4 what is the lowest attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `Where Date is october 11, and game greater than 4 what is the lowest attendance?`: ```sql
SELECT MAX("attendance") FROM "summary" WHERE "date"='october 7' AND "game">1;
## Task Generate a SQL query to answer the following question: `Where date is october 7 and game greater than 1, what is the highest attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `Where date is october 7 and game greater than 1, what is the highest attendance?`: ```sql
SELECT "attendance" FROM "summary" WHERE "date"='october 14';
## Task Generate a SQL query to answer the following question: `Where Date is october 14 what is the attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `Where Date is october 14 what is the attendance?`: ```sql
SELECT "away_team" FROM "round_14" WHERE "venue"='mcg';
## Task Generate a SQL query to answer the following question: `Which away team had a venue of mcg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which away team had a venue of mcg?`: ```sql
SELECT "away_team_score" FROM "round_4" WHERE "venue"='punt road oval';
## Task Generate a SQL query to answer the following question: `When did the away team score at Punt Road Oval?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When did the away team score at Punt Road Oval?`: ```sql
SELECT "home_team_score" FROM "round_4" WHERE "home_team"='north melbourne';
## Task Generate a SQL query to answer the following question: `How many points did North Melbourne score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `How many points did North Melbourne score?`: ```sql
SELECT AVG("points") FROM "regular_season" WHERE "attendance"<'17,197' AND "opponent"='wild';
## Task Generate a SQL query to answer the following question: `How many points when under 17,197 attended against the wild?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `How many points when under 17,197 attended against the wild?`: ```sql
SELECT "score" FROM "game_log" WHERE "date"='march 4';
## Task Generate a SQL query to answer the following question: `What was the score on March 4?` ### 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_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score on March 4?`: ```sql
SELECT "date" FROM "game_log" WHERE "high_assists"='raymond felton (6)' AND "high_points"='jason richardson (42)';
## Task Generate a SQL query to answer the following question: `On which date was Raymond Felton (6) the high assists and Jason Richardson (42) 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" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `On which date was Raymond Felton (6) the high assists and Jason Richardson (42) the high points?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "team"='golden state';
## Task Generate a SQL query to answer the following question: `What is the location attendance when the team is Golden State?` ### 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_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the location attendance when the team is Golden State?`: ```sql
SELECT "record" FROM "january" WHERE "visitor"='magic';
## Task Generate a SQL query to answer the following question: `Which record has a Visitor of magic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Which record has a Visitor of magic?`: ```sql
SELECT "score" FROM "january" WHERE "home"='grizzlies' AND "leading_scorer"='rudy gay (18)';
## Task Generate a SQL query to answer the following question: `Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)?`: ```sql
SELECT "leading_scorer" FROM "january" WHERE "home"='grizzlies' AND "record"='10–28';
## Task Generate a SQL query to answer the following question: `Which leading scorer has a Home of grizzlies, and a Record of 10–28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Which leading scorer has a Home of grizzlies, and a Record of 10–28?`: ```sql
SELECT "home_team" FROM "round_5" WHERE "away_team_score"='15.20 (110)';
## Task Generate a SQL query to answer the following question: `If the Away team score was 15.20 (110), what was the Home team playing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `If the Away team score was 15.20 (110), what was the Home team playing?`: ```sql
SELECT "date" FROM "round_5" WHERE "away_team_score"='15.20 (110)';
## Task Generate a SQL query to answer the following question: `When the Away team score equaled 15.20 (110) what was the Date of the game?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the Away team score equaled 15.20 (110) what was the Date of the game?`: ```sql
SELECT "date" FROM "round_5" WHERE "away_team"='carlton';
## Task Generate a SQL query to answer the following question: `If the Away team was carlton, what Date did they play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `If the Away team was carlton, what Date did they play?`: ```sql
SELECT COUNT("crowd") FROM "round_5" WHERE "away_team_score"='15.20 (110)';
## Task Generate a SQL query to answer the following question: `How many people were in the Crowd when the Away team scored 15.20 (110)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `How many people were in the Crowd when the Away team scored 15.20 (110)?`: ```sql
SELECT "visitor" FROM "playoffs" WHERE "home"='chicago' AND "score"='3 – 2';
## Task Generate a SQL query to answer the following question: `What is the Visitor with a Home with chicago, and a Score of 3 – 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Visitor with a Home with chicago, and a Score of 3 – 2?`: ```sql
SELECT "score" FROM "playoffs" WHERE "date"='may 2';
## Task Generate a SQL query to answer the following question: `What is the Score with a Date with may 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Score with a Date with may 2?`: ```sql
SELECT "score" FROM "playoffs" WHERE "home"='colorado' AND "date"='may 11';
## Task Generate a SQL query to answer the following question: `What is the Score with a Home of colorado, and a Date with may 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Score with a Home of colorado, and a Date with may 11?`: ```sql
SELECT "home" FROM "playoffs" WHERE "visitor"='chicago' AND "series"='3 – 2';
## Task Generate a SQL query to answer the following question: `What is the Home with a Visitor of chicago, and a Series with 3 – 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Home with a Visitor of chicago, and a Series with 3 – 2?`: ```sql
SELECT "visitor" FROM "playoffs" WHERE "series"='3 – 2';
## Task Generate a SQL query to answer the following question: `What is the Visitor with a Series with 3 – 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Visitor with a Series with 3 – 2?`: ```sql
SELECT "visitor" FROM "playoffs" WHERE "score"='4 – 3';
## Task Generate a SQL query to answer the following question: `What is the Visitor with a Score with 4 – 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Visitor with a Score with 4 – 3?`: ```sql
SELECT "2007" FROM "grand_slam_singles_performance_timeline" WHERE "2011"='1r' AND "2010"='1r';
## Task Generate a SQL query to answer the following question: `What is the 2007 value with 1r in 2011 and 1r in 2010?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2007 value with 1r in 2011 and 1r in 2010?`: ```sql
SELECT "2012" FROM "grand_slam_singles_performance_timeline" WHERE "2010"='1r' AND "2006"='2r';
## Task Generate a SQL query to answer the following question: `What is the 2012 value with 1r in 2010 and 2r in 2006?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2012 value with 1r in 2010 and 2r in 2006?`: ```sql
SELECT "2010" FROM "grand_slam_singles_performance_timeline" WHERE "tournament"='australian open';
## Task Generate a SQL query to answer the following question: `What is the 2010 value for the Australian Open?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2010 value for the Australian Open?`: ```sql
SELECT "2006" FROM "grand_slam_singles_performance_timeline" WHERE "2009"='a' AND "2011"='a' AND "2007"='a';
## Task Generate a SQL query to answer the following question: `What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value?`: ```sql
SELECT "2006" FROM "grand_slam_singles_performance_timeline" WHERE "2007"='3r';
## Task Generate a SQL query to answer the following question: `What is the 2006 value with 3r in 2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2006 value with 3r in 2007?`: ```sql
SELECT "2012" FROM "grand_slam_singles_performance_timeline" WHERE "2008"='479';
## Task Generate a SQL query to answer the following question: `What is the 2012 value with 479 in 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2012 value with 479 in 2008?`: ```sql
SELECT "builder" FROM "ch_or_12th_emergency_flotilla" WHERE "pennant"='r90';
## Task Generate a SQL query to answer the following question: `What is the building for the r90 pennant?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the building for the r90 pennant?`: ```sql
SELECT "pennant" FROM "ch_or_12th_emergency_flotilla" WHERE "builder"='denny, dumbarton';
## Task Generate a SQL query to answer the following question: `What is the pennant with Denny, Dumbarton as the builder?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the pennant with Denny, Dumbarton as the builder?`: ```sql
SELECT "laid_down" FROM "ch_or_12th_emergency_flotilla" WHERE "pennant"='r29';
## Task Generate a SQL query to answer the following question: `What is the laid down date of the destroyer with a r29 pennant?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the laid down date of the destroyer with a r29 pennant?`: ```sql
SELECT "location_state" FROM "race_calendar" WHERE "date"='16 jun';
## Task Generate a SQL query to answer the following question: `What is the location/state of the race on 16 Jun?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "heat" real, "race_title" text, "circuit" text, "location_state" text, "date" text, "winner" text, "team" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the location/state of the race on 16 Jun?`: ```sql
SELECT MIN("heat") FROM "race_calendar" WHERE "race_title"='lakeside';
## Task Generate a SQL query to answer the following question: `What is the lowest heat of the Lakeside race?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "heat" real, "race_title" text, "circuit" text, "location_state" text, "date" text, "winner" text, "team" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest heat of the Lakeside race?`: ```sql
SELECT "home_team" FROM "round_15" WHERE "away_team"='footscray';
## Task Generate a SQL query to answer the following question: `When the Away team is footscray, what is the Home team playing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the Away team is footscray, what is the Home team playing?`: ```sql
SELECT SUM("crowd") FROM "round_15" WHERE "home_team_score"='14.16 (100)';
## Task Generate a SQL query to answer the following question: `When the Home team scores 14.16 (100), what is the sum of the Crowds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the Home team scores 14.16 (100), what is the sum of the Crowds?`: ```sql
SELECT AVG("crowd") FROM "round_15" WHERE "home_team"='essendon';
## Task Generate a SQL query to answer the following question: `What's the average number of people in the Crowd that attend essendon games as the Home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the average number of people in the Crowd that attend essendon games as the Home team?`: ```sql
SELECT "away_team" FROM "round_15" WHERE "venue"='vfl park';
## Task Generate a SQL query to answer the following question: `Which Away team plays at the Venue vfl park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Away team plays at the Venue vfl park?`: ```sql
SELECT MIN("week") FROM "schedule" WHERE "opponent"='washington redskins';
## Task Generate a SQL query to answer the following question: `Name the least week for opponent of washington redskins` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the least week for opponent of washington redskins`: ```sql
SELECT "tv_time" FROM "schedule" WHERE "week"=10;
## Task Generate a SQL query to answer the following question: `Name the tv time for week 10` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the tv time for week 10`: ```sql
SELECT "time_retired" FROM "classification" WHERE "grid">6 AND "laps"=57;
## Task Generate a SQL query to answer the following question: `What is the Time/Retired for a Grid larger than 6, and 57 laps?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the Time/Retired for a Grid larger than 6, and 57 laps?`: ```sql
SELECT "grid" FROM "classification" WHERE "driver"='denny hulme';
## Task Generate a SQL query to answer the following question: `What grid for denny hulme?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What grid for denny hulme?`: ```sql
SELECT COUNT("laps") FROM "classification" WHERE "time_retired"='tyre' AND "grid">10;
## Task Generate a SQL query to answer the following question: `How many laps for a Time/Retired of tyre, and a Grid larger than 10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `How many laps for a Time/Retired of tyre, and a Grid larger than 10?`: ```sql
SELECT "outcomes" FROM "spaceflight_by_year" WHERE "rocket_launch"='rehnuma-11';
## Task Generate a SQL query to answer the following question: `What Outcome has a Rocket launch of rehnuma-11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); ### SQL Given the database schema, here is the SQL query that answers `What Outcome has a Rocket launch of rehnuma-11?`: ```sql
SELECT "institutional_authority" FROM "spaceflight_by_year" WHERE "rocket_launch"='rehnuma-10';
## Task Generate a SQL query to answer the following question: `Which Institutional authority has a Rocket launch of rehnuma-10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Institutional authority has a Rocket launch of rehnuma-10?`: ```sql
SELECT "derivatives" FROM "spaceflight_by_year" WHERE "launch_date"='july 15, 1970; 15:05 gmt';
## Task Generate a SQL query to answer the following question: `Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt?`: ```sql
SELECT "outcomes" FROM "spaceflight_by_year" WHERE "launch_date"='march 18, 1964; 14:50 gmt';
## Task Generate a SQL query to answer the following question: `Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt?`: ```sql
SELECT "mission" FROM "spaceflight_by_year" WHERE "launch_date"='december 30, 1970; 14:50 gmt';
## Task Generate a SQL query to answer the following question: `Which Mission has a Launch Date of december 30, 1970; 14:50 gmt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Mission has a Launch Date of december 30, 1970; 14:50 gmt?`: ```sql
SELECT "score" FROM "march" WHERE "visitor"='golden state warriors' AND "attendance">'18,997' AND "date"='3/7';
## Task Generate a SQL query to answer the following question: `What was the score when the Golden State Warriors were the visiting team on 3/7 and there were more than 18,997 people in attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score when the Golden State Warriors were the visiting team on 3/7 and there were more than 18,997 people in attendance?`: ```sql
SELECT "visitor" FROM "march" WHERE "date"='3/2';
## Task Generate a SQL query to answer the following question: `What team was the visitor on 3/2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What team was the visitor on 3/2?`: ```sql
SELECT "home_team_score" FROM "round_22" WHERE "venue"='kardinia park';
## Task Generate a SQL query to answer the following question: `What is the home team score for kardinia park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the home team score for kardinia park?`: ```sql
SELECT "date" FROM "round_22" WHERE "away_team_score"='32.16 (208)';
## Task Generate a SQL query to answer the following question: `When did an away team score 32.16 (208)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When did an away team score 32.16 (208)?`: ```sql
SELECT "realization" FROM "tamazight_vowel_allophony" WHERE "phoneme"='/i/' AND "example"='/idːa/';
## Task Generate a SQL query to answer the following question: `Name the realization for phoneme of /i/ and example of /idːa/` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the realization for phoneme of /i/ and example of /idːa/`: ```sql
SELECT "phoneme" FROM "tamazight_vowel_allophony" WHERE "realization"='[ɪj]';
## Task Generate a SQL query to answer the following question: `Name the phoneme for realizaiton of [ɪj]` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the phoneme for realizaiton of [ɪj]`: ```sql
SELECT "example" FROM "tamazight_vowel_allophony" WHERE "environment"='#_x';
## Task Generate a SQL query to answer the following question: `Name the example when the environment is #_x` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the example when the environment is #_x`: ```sql
SELECT "example" FROM "tamazight_vowel_allophony" WHERE "realization"='[ɐ]';
## Task Generate a SQL query to answer the following question: `Name the example when the realization is [ɐ]` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the example when the realization is [ɐ]`: ```sql
SELECT "phoneme" FROM "tamazight_vowel_allophony" WHERE "example"='/umsʁ/';
## Task Generate a SQL query to answer the following question: `Name the phoneme when the example is /umsʁ/` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the phoneme when the example is /umsʁ/`: ```sql