output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT COUNT("date") FROM "round_of_16" WHERE "home_team"='Hawthorn';
## Task Generate a SQL query to answer the following question: `How many days did Hawthorn play as a home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `How many days did Hawthorn play as a home team?`: ```sql
SELECT "time" FROM "round_of_16" WHERE "home_team_score"='10.7 (67)';
## Task Generate a SQL query to answer the following question: `What time was it when the home team's score was 10.7 (67)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What time was it when the home team's score was 10.7 (67)?`: ```sql
SELECT "time" FROM "round_of_16" WHERE "away_team_score"='5.4 (34)';
## Task Generate a SQL query to answer the following question: `What time was it when the away team's score was 5.4 (34)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What time was it when the away team's score was 5.4 (34)?`: ```sql
SELECT COUNT("date") FROM "round_of_16" WHERE "away_team_score"='11.8 (74)';
## Task Generate a SQL query to answer the following question: `How many days was the away team's score 11.8 (74)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `How many days was the away team's score 11.8 (74)?`: ```sql
SELECT "ground" FROM "round_of_16" WHERE "away_team"='Richmond';
## Task Generate a SQL query to answer the following question: `The away team of Richmond played on what grounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `The away team of Richmond played on what grounds?`: ```sql
SELECT "ground" FROM "round_of_14" WHERE "away_team_score"='16.10 (106)';
## Task Generate a SQL query to answer the following question: `At what venues did the away team score 16.10 (106)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `At what venues did the away team score 16.10 (106)?`: ```sql
SELECT "away_team_score" FROM "round_of_14" WHERE "ground"='Football Park';
## Task Generate a SQL query to answer the following question: `What was the away team's score at the venue football park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the away team's score at the venue football park?`: ```sql
SELECT "date" FROM "round_of_14" WHERE "home_team_score"='14.12 (96)';
## Task Generate a SQL query to answer the following question: `On what date did the home team score 14.12 (96)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `On what date did the home team score 14.12 (96)?`: ```sql
SELECT "home_team_score" FROM "round_of_14" WHERE "home_team"='Adelaide';
## Task Generate a SQL query to answer the following question: `What are the scores for games where the home team is Adelaide?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the scores for games where the home team is Adelaide?`: ```sql
SELECT "date" FROM "round_of_14" WHERE "ground"='Football Park';
## Task Generate a SQL query to answer the following question: `On what dates where games played at Football Park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `On what dates where games played at Football Park?`: ```sql
SELECT "home_team_score" FROM "1st_round" WHERE "away_team"='Collingwood';
## Task Generate a SQL query to answer the following question: `What was the home team score against Collingwood?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the home team score against Collingwood?`: ```sql
SELECT "away_team" FROM "1st_round" WHERE "home_team"='Carlton';
## Task Generate a SQL query to answer the following question: `Who was the away team playing at Carlton?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the away team playing at Carlton?`: ```sql
SELECT "home_team_score" FROM "1st_round" WHERE "away_team"='Richmond';
## Task Generate a SQL query to answer the following question: `What did the home team score against Richmond?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What did the home team score against Richmond?`: ```sql
SELECT MAX("crowd") FROM "1st_round" WHERE "away_team"='St Kilda';
## Task Generate a SQL query to answer the following question: `What was the maximum crowd size against St Kilda?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the maximum crowd size against St Kilda?`: ```sql
SELECT "home_team_score" FROM "1st_round" WHERE "home_team"='Footscray';
## Task Generate a SQL query to answer the following question: `What to Footscray score at home?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What to Footscray score at home?`: ```sql
SELECT COUNT("crowd") FROM "round_of_16" WHERE "home_team_score"='7.8 (50)';
## Task Generate a SQL query to answer the following question: `How many crowd sizes were recorded at the game when the home team scored 7.8 (50)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `How many crowd sizes were recorded at the game when the home team scored 7.8 (50)?`: ```sql
SELECT COUNT("away_team_score") FROM "round_of_16" WHERE "home_team_score"='7.8 (50)';
## Task Generate a SQL query to answer the following question: `When the home team scored 7.8 (50), how many away team scores were recorded?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `When the home team scored 7.8 (50), how many away team scores were recorded?`: ```sql
SELECT "home_team_score" FROM "round_of_16" WHERE "away_team_score"='18.12 (120)';
## Task Generate a SQL query to answer the following question: `What did the home team score when the away team scored 18.12 (120)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What did the home team score when the away team scored 18.12 (120)?`: ```sql
SELECT "date" FROM "group_3" WHERE "ground"='Bundaberg Rum Stadium';
## Task Generate a SQL query to answer the following question: `Name the date for bundaberg rum stadium` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the date for bundaberg rum stadium`: ```sql
SELECT "home_team_score" FROM "group_3" WHERE "home_team"='Brisbane Lions';
## Task Generate a SQL query to answer the following question: `Name the home team score for brisbane lions` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the home team score for brisbane lions`: ```sql
SELECT "home_team" FROM "group_3" WHERE "ground"='Football Park';
## Task Generate a SQL query to answer the following question: `Name the home team for football park` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the home team for football park`: ```sql
SELECT "away_team_score" FROM "group_3" WHERE "home_team"='Carlton';
## Task Generate a SQL query to answer the following question: `Name the away team score for carlton` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the away team score for carlton`: ```sql
SELECT "date" FROM "group_3" WHERE "home_team"='Adelaide' AND "ground"='Westpac Stadium';
## Task Generate a SQL query to answer the following question: `Name the date for adelaide for westpac stadium` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the date for adelaide for westpac stadium`: ```sql
SELECT COUNT("ground") FROM "group_1" WHERE "home_team"='Essendon';
## Task Generate a SQL query to answer the following question: `Name the total number of ground for essendon` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of ground for essendon`: ```sql
SELECT MAX("crowd") FROM "group_1" WHERE "away_team"='Essendon';
## Task Generate a SQL query to answer the following question: `Name the most crowd for essendon` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the most crowd for essendon`: ```sql
SELECT COUNT("home_team_score") FROM "group_2" WHERE "ground"='Manuka Oval';
## Task Generate a SQL query to answer the following question: `When ground is manuka oval what is the home team score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `When ground is manuka oval what is the home team score?`: ```sql
SELECT "away_team_score" FROM "group_2" WHERE "crowd"=8642;
## Task Generate a SQL query to answer the following question: `When the crowd was 8642 what was the away team's score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "group_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "crowd" real ); ### SQL Given the database schema, here is the SQL query that answers `When the crowd was 8642 what was the away team's score?`: ```sql
SELECT "ground" FROM "round_1" WHERE "crowd"=22537;
## Task Generate a SQL query to answer the following question: `Which location had an attendance of 22537?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which location had an attendance of 22537?`: ```sql
SELECT "home_team_score" FROM "round_1" WHERE "away_team_score"='0.12.5 (77)';
## Task Generate a SQL query to answer the following question: `When the away team's score was 0.12.5 (77), what was the home team's score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the away team's score was 0.12.5 (77), what was the home team's score?`: ```sql
SELECT "home_team_score" FROM "round_1" WHERE "away_team_score"='2.10.7 (85)';
## Task Generate a SQL query to answer the following question: `When the away team's score was 2.10.7 (85), what was the home team's score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the away team's score was 2.10.7 (85), what was the home team's score?`: ```sql
SELECT "away_team_score" FROM "round_1" WHERE "ground"='Telstra Stadium';
## Task Generate a SQL query to answer the following question: `What was the away team's score of at the game of telstra stadium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the away team's score of at the game of telstra stadium?`: ```sql
SELECT "home_team" FROM "round_1" WHERE "away_team"='Carlton';
## Task Generate a SQL query to answer the following question: `When the away team was Carlton, who was the home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the away team was Carlton, who was the home team?`: ```sql
SELECT "average" FROM "final_competition_scores" WHERE "swimsuit"='8.266';
## Task Generate a SQL query to answer the following question: `What was the average for contestants with a swimsuit score of 8.266?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_competition_scores" ( "country" text, "preliminary" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the average for contestants with a swimsuit score of 8.266?`: ```sql
SELECT "interview" FROM "final_competition_scores" WHERE "average"='9.090';
## Task Generate a SQL query to answer the following question: `What are the interview scores for contestants whose average is 9.090?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_competition_scores" ( "country" text, "preliminary" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the interview scores for contestants whose average is 9.090?`: ```sql
SELECT "average" FROM "final_competition_scores" WHERE "country"='Pennsylvania';
## Task Generate a SQL query to answer the following question: `What are the average scores of contestants whose home state is Pennsylvania?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_competition_scores" ( "country" text, "preliminary" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the average scores of contestants whose home state is Pennsylvania?`: ```sql
SELECT "evening_gown" FROM "final_competition_scores" WHERE "average"='9.266';
## Task Generate a SQL query to answer the following question: `What are the evening gown scores of contestants whose average is 9.266?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_competition_scores" ( "country" text, "preliminary" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the evening gown scores of contestants whose average is 9.266?`: ```sql
SELECT "average" FROM "final_competition_scores" WHERE "interview"='8.011';
## Task Generate a SQL query to answer the following question: `What are the average scores of contestants whose interview score is 8.011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_competition_scores" ( "country" text, "preliminary" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the average scores of contestants whose interview score is 8.011?`: ```sql
SELECT "home_team_score" FROM "week_1" WHERE "home_team"='Richmond';
## Task Generate a SQL query to answer the following question: `What are the home team scores when richmond is the home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "week_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the home team scores when richmond is the home team?`: ```sql
SELECT "home_team_score" FROM "week_1" WHERE "away_team"='Fremantle';
## Task Generate a SQL query to answer the following question: `What are the home team scores when fremantle is the away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "week_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the home team scores when fremantle is the away team?`: ```sql
SELECT MAX("crowd") FROM "week_1" WHERE "home_team"='Essendon';
## Task Generate a SQL query to answer the following question: `What is the largest crowd when essendon is the home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "week_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest crowd when essendon is the home team?`: ```sql
SELECT "away_team" FROM "week_1" WHERE "ground"='Subiaco Oval';
## Task Generate a SQL query to answer the following question: `Who are the away teams when subiaco oval was the grounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "week_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Who are the away teams when subiaco oval was the grounds?`: ```sql
SELECT "away_team" FROM "week_1" WHERE "home_team_score"='1.8.0.5 (62)';
## Task Generate a SQL query to answer the following question: `Who were the away teams when the home team scored 1.8.0.5 (62)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "week_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Who were the away teams when the home team scored 1.8.0.5 (62)?`: ```sql
SELECT "home_team" FROM "round_3" WHERE "away_team"='Carlton';
## Task Generate a SQL query to answer the following question: `Who was the home team when the away team is Carlton?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the home team when the away team is Carlton?`: ```sql
SELECT "home_team_score" FROM "round_3" WHERE "home_team"='Fremantle';
## Task Generate a SQL query to answer the following question: `What is the home team score where the home team is Fremantle?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the home team score where the home team is Fremantle?`: ```sql
SELECT "away_team_score" FROM "round_3" WHERE "crowd"=5391;
## Task Generate a SQL query to answer the following question: `What was the away team score for the game with a crowd of 5391?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the away team score for the game with a crowd of 5391?`: ```sql
SELECT "date" FROM "round_3" WHERE "home_team"='Adelaide';
## Task Generate a SQL query to answer the following question: `What date was Adelaide the home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What date was Adelaide the home team?`: ```sql
SELECT COUNT("location") FROM "member_teams" WHERE "institution"='Elon University';
## Task Generate a SQL query to answer the following question: `How many locations does Elon University have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "member_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text, "home_rink" text ); ### SQL Given the database schema, here is the SQL query that answers `How many locations does Elon University have?`: ```sql
SELECT MIN("enrollment") FROM "member_teams" WHERE "affiliation"='Private/Catholic';
## Task Generate a SQL query to answer the following question: `Private/Catholic school's minimum enrollment is?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "member_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text, "home_rink" text ); ### SQL Given the database schema, here is the SQL query that answers `Private/Catholic school's minimum enrollment is?`: ```sql
SELECT "institution" FROM "member_teams" WHERE "team_nickname"='Colonials';
## Task Generate a SQL query to answer the following question: `Which school has the mascot of the Colonials?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "member_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text, "home_rink" text ); ### SQL Given the database schema, here is the SQL query that answers `Which school has the mascot of the Colonials?`: ```sql
SELECT "socket" FROM "250_nm" WHERE "s_spec_number"='SL3F7(kC0)SL3FJ(kC0)';
## Task Generate a SQL query to answer the following question: `What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache" text, "fsb" text, "mult" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?`: ```sql
SELECT "release_date" FROM "250_nm" WHERE "part_number_s"='80525PY500512BX80525U500512BX80525U500512E';
## Task Generate a SQL query to answer the following question: `What is the release date of part 80525py500512bx80525u500512bx80525u500512e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache" text, "fsb" text, "mult" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the release date of part 80525py500512bx80525u500512bx80525u500512e?`: ```sql
SELECT COUNT("release_price_usd") FROM "250_nm" WHERE "model_number"='Pentium III 550';
## Task Generate a SQL query to answer the following question: `How many release prices are there for the Pentium iii 550?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache" text, "fsb" text, "mult" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `How many release prices are there for the Pentium iii 550?`: ```sql
SELECT "model_number" FROM "250_nm" WHERE "release_price_usd"='$496';
## Task Generate a SQL query to answer the following question: `What is the model number with a release price of $496?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache" text, "fsb" text, "mult" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the model number with a release price of $496?`: ```sql
SELECT "l2_cache" FROM "250_nm" WHERE "release_price_usd"='$669';
## Task Generate a SQL query to answer the following question: `What is the l2 cache for the model with a release price of $669?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache" text, "fsb" text, "mult" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the l2 cache for the model with a release price of $669?`: ```sql
SELECT "date" FROM "table1_1639689_2" WHERE "week"=2;
## Task Generate a SQL query to answer the following question: `What day(s) did they play on week 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1639689_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `What day(s) did they play on week 2?`: ```sql
SELECT "kickoff" FROM "table1_1639689_2" WHERE "date"='Monday, May 13';
## Task Generate a SQL query to answer the following question: `What was the kickoff time on monday, may 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1639689_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the kickoff time on monday, may 13?`: ```sql
SELECT MAX("no_in_season") FROM "table1_16390576_3" WHERE "directed_by"='Jamie Babbit';
## Task Generate a SQL query to answer the following question: `what is the latest episode in season 2 directed by jamie babbit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16390576_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the latest episode in season 2 directed by jamie babbit?`: ```sql
SELECT MIN("no_in_series") FROM "table1_16390576_3" WHERE "title"='\"Magic Jordan\"';
## Task Generate a SQL query to answer the following question: `what is the number of the episode titled "magic jordan"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16390576_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the number of the episode titled "magic jordan"?`: ```sql
SELECT "original_air_date" FROM "table1_16390576_3" WHERE "production_code"='08-02-214';
## Task Generate a SQL query to answer the following question: `what are the air dates for episodes with the production code 08-02-214` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16390576_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `what are the air dates for episodes with the production code 08-02-214`: ```sql
SELECT "title" FROM "table1_16390576_3" WHERE "no_in_series"=28;
## Task Generate a SQL query to answer the following question: `what is the title of episode 28` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16390576_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the title of episode 28`: ```sql
SELECT "dpi" FROM "typical_duplex_scanners" WHERE "dimensions_mm"='280 x 95 x 40';
## Task Generate a SQL query to answer the following question: `What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?`: ```sql
SELECT MAX("pages_per_minute_color") FROM "typical_duplex_scanners" WHERE "product"='Xerox Travel Scanner 100';
## Task Generate a SQL query to answer the following question: `What is the maximum pages per minute for the Xerox Travel Scanner 100?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the maximum pages per minute for the Xerox Travel Scanner 100?`: ```sql
SELECT "interface" FROM "typical_duplex_scanners" WHERE "pages_per_minute_color"=36;
## Task Generate a SQL query to answer the following question: `What interface is used on the scanner that has a 36 pages per minute?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text ); ### SQL Given the database schema, here is the SQL query that answers `What interface is used on the scanner that has a 36 pages per minute?`: ```sql
SELECT "dimensions_mm" FROM "typical_duplex_scanners" WHERE "product"='Plustek MobileOffice D28 Corporate';
## Task Generate a SQL query to answer the following question: `What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?`: ```sql
SELECT "dimensions_mm" FROM "typical_duplex_scanners" WHERE "product"='Fujitsu fi-6130 A4 Series Scanner';
## Task Generate a SQL query to answer the following question: `What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?`: ```sql
SELECT "dpi" FROM "typical_duplex_scanners" WHERE "max_page_size"='216mm x 355mm';
## Task Generate a SQL query to answer the following question: `What is the dpi for the scanner with a max page size of 216mm x 355mm?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "dpi" real, "pages_per_minute_color" real, "max_page_size" text, "interface" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the dpi for the scanner with a max page size of 216mm x 355mm?`: ```sql
SELECT "track_field" FROM "girls_league_championships" WHERE "swimming"='Lexington' AND "volleyball"='Madison';
## Task Generate a SQL query to answer the following question: `which country won swimming track & field when lexington won swimming and madison won volleyball` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girls_league_championships" ( "school_year" text, "volleyball" text, "cross_country" text, "soccer" text, "tennis" text, "golf" text, "basketball" text, "swimming" text, "softball" text, "track_field" text ); ### SQL Given the database schema, here is the SQL query that answers `which country won swimming track & field when lexington won swimming and madison won volleyball`: ```sql
SELECT COUNT("golf") FROM "girls_league_championships" WHERE "soccer"='Wooster';
## Task Generate a SQL query to answer the following question: `how many teams won at golf when wooster won soccer` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girls_league_championships" ( "school_year" text, "volleyball" text, "cross_country" text, "soccer" text, "tennis" text, "golf" text, "basketball" text, "swimming" text, "softball" text, "track_field" text ); ### SQL Given the database schema, here is the SQL query that answers `how many teams won at golf when wooster won soccer`: ```sql
SELECT "soccer" FROM "girls_league_championships" WHERE "volleyball"='Madison' AND "cross_country"='Lexington' AND "softball"='Orrville';
## Task Generate a SQL query to answer the following question: `Who won soccer when madison won volleyball, lexington won cross country and orrville won softball ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girls_league_championships" ( "school_year" text, "volleyball" text, "cross_country" text, "soccer" text, "tennis" text, "golf" text, "basketball" text, "swimming" text, "softball" text, "track_field" text ); ### SQL Given the database schema, here is the SQL query that answers `Who won soccer when madison won volleyball, lexington won cross country and orrville won softball `: ```sql
SELECT "volleyball" FROM "girls_league_championships" WHERE "basketball"='West Holmes' AND "swimming"='Wooster' AND "school_year"='2011-12';
## Task Generate a SQL query to answer the following question: `Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girls_league_championships" ( "school_year" text, "volleyball" text, "cross_country" text, "soccer" text, "tennis" text, "golf" text, "basketball" text, "swimming" text, "softball" text, "track_field" text ); ### SQL Given the database schema, here is the SQL query that answers `Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12`: ```sql
SELECT "tennis" FROM "girls_league_championships" WHERE "softball"='Ashland' AND "volleyball"='Wooster';
## Task Generate a SQL query to answer the following question: `who won tennis when ashland won softball and wooster won volleybal` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girls_league_championships" ( "school_year" text, "volleyball" text, "cross_country" text, "soccer" text, "tennis" text, "golf" text, "basketball" text, "swimming" text, "softball" text, "track_field" text ); ### SQL Given the database schema, here is the SQL query that answers `who won tennis when ashland won softball and wooster won volleybal`: ```sql
SELECT "basketball" FROM "girls_league_championships" WHERE "track_field"='Ashland' AND "cross_country"='Ashland';
## Task Generate a SQL query to answer the following question: `who won basketball when ashland won track & field and cross country` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girls_league_championships" ( "school_year" text, "volleyball" text, "cross_country" text, "soccer" text, "tennis" text, "golf" text, "basketball" text, "swimming" text, "softball" text, "track_field" text ); ### SQL Given the database schema, here is the SQL query that answers `who won basketball when ashland won track & field and cross country`: ```sql
SELECT "location" FROM "american_division" WHERE "established"=1923;
## Task Generate a SQL query to answer the following question: `What is the location of the school established in 1923` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the location of the school established in 1923`: ```sql
SELECT COUNT("enrollment") FROM "american_division" WHERE "nickname"='Blue Hens';
## Task Generate a SQL query to answer the following question: `Total enrollment at the school with the nickname Blue Hens` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); ### SQL Given the database schema, here is the SQL query that answers `Total enrollment at the school with the nickname Blue Hens`: ```sql
SELECT "nickname" FROM "american_division" WHERE "established"=1773;
## Task Generate a SQL query to answer the following question: `Nickname of the school established in 1773` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); ### SQL Given the database schema, here is the SQL query that answers `Nickname of the school established in 1773`: ```sql
SELECT "established" FROM "american_division" WHERE "institution"='Rowan University';
## Task Generate a SQL query to answer the following question: `What is the year Rowan University was established` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the year Rowan University was established`: ```sql
SELECT COUNT("nickname") FROM "american_division" WHERE "location"='Newark, DE';
## Task Generate a SQL query to answer the following question: `How many nicknames does the school in Newark, DE have` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); ### SQL Given the database schema, here is the SQL query that answers `How many nicknames does the school in Newark, DE have`: ```sql
SELECT "location" FROM "american_division" WHERE "nickname"='Mountaineers';
## Task Generate a SQL query to answer the following question: `Location of the school with the nickname Mountaineers` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); ### SQL Given the database schema, here is the SQL query that answers `Location of the school with the nickname Mountaineers`: ```sql
SELECT "original_air_date" FROM "table1_16432167_1" WHERE "title"='\"Beaver''s Pigeons\"';
## Task Generate a SQL query to answer the following question: `What was the original air date of the episode titled "Beaver's Pigeons"` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16432167_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the original air date of the episode titled "Beaver's Pigeons"`: ```sql
SELECT "written_by" FROM "table1_16432167_1" WHERE "production_code"='942A';
## Task Generate a SQL query to answer the following question: `Who wrote the episode with the production code of 942A?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16432167_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote the episode with the production code of 942A?`: ```sql
SELECT "no_in_season" FROM "table1_16432167_1" WHERE "title"='\"Beaver Says Good-bye\"';
## Task Generate a SQL query to answer the following question: `What numbered episode of the season was titled "Beaver says Good-Bye"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16432167_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What numbered episode of the season was titled "Beaver says Good-Bye"?`: ```sql
SELECT "no_in_series" FROM "table1_16432167_1" WHERE "title"='\"Wally''s Pug Nose\"';
## Task Generate a SQL query to answer the following question: `What number episode in the series was titled "Wally's Pug Nose"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16432167_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What number episode in the series was titled "Wally's Pug Nose"?`: ```sql
SELECT "production_code" FROM "table1_16432167_1" WHERE "written_by"='Joe Connelly and Bob Mosher' AND "title"='\"Beaver Gets Adopted\"';
## Task Generate a SQL query to answer the following question: `What was the production code of the episode written by Joe Connelly and Bob Mosher titled "Beaver Gets Adopted"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16432167_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the production code of the episode written by Joe Connelly and Bob Mosher titled "Beaver Gets Adopted"?`: ```sql
SELECT "original_beechwood_bunny_tale_source_material" FROM "table1_16425614_3" WHERE "english_title"='\"Papa Bramble''s Secret\"';
## Task Generate a SQL query to answer the following question: `Who was responsible for original beechwood bunny tale / source material for the episode title "Papa Bramble's Secret"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16425614_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was responsible for original beechwood bunny tale / source material for the episode title "Papa Bramble's Secret"?`: ```sql
SELECT "french_title" FROM "table1_16425614_3" WHERE "english_title"='\"Papa Bramble''s Secret\"';
## Task Generate a SQL query to answer the following question: `What is the French title for "Papa Bramble's Secret"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16425614_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the French title for "Papa Bramble's Secret"?`: ```sql
SELECT "original_beechwood_bunny_tale_source_material" FROM "table1_16425614_3" WHERE "english_title"='\"The Monster of Blueberry Lake\"';
## Task Generate a SQL query to answer the following question: `Who was responsible for original beechwood bunny tale / source material for the episode title "The Monster of Blueberry Lake"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16425614_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was responsible for original beechwood bunny tale / source material for the episode title "The Monster of Blueberry Lake"?`: ```sql
SELECT "english_title" FROM "table1_16425614_3" WHERE "official_num"=22;
## Task Generate a SQL query to answer the following question: `What is the English title for the official number 22 episode?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16425614_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the English title for the official number 22 episode?`: ```sql
SELECT "cfl_team" FROM "round_five" WHERE "college"='British Columbia';
## Task Generate a SQL query to answer the following question: `Which CFL team did the player from British Columbia get drafted to` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `Which CFL team did the player from British Columbia get drafted to`: ```sql
SELECT "position" FROM "round_five" WHERE "college"='Laval';
## Task Generate a SQL query to answer the following question: `Which positions had players from Laval college` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `Which positions had players from Laval college`: ```sql
SELECT "position" FROM "round_five" WHERE "player"='Gene Stahl';
## Task Generate a SQL query to answer the following question: `What position did Gene Stahl play` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `What position did Gene Stahl play`: ```sql
SELECT "player" FROM "round_five" WHERE "position"='DB';
## Task Generate a SQL query to answer the following question: `Which player played DB` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `Which player played DB`: ```sql
SELECT MIN("pick_num") FROM "round_five" WHERE "position"='LB';
## Task Generate a SQL query to answer the following question: `Who was the lowest picked LB` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the lowest picked LB`: ```sql
SELECT COUNT("position") FROM "round_five" WHERE "player"='Jeff Brown';
## Task Generate a SQL query to answer the following question: `How many players named Jeff Brown were drafted` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `How many players named Jeff Brown were drafted`: ```sql
SELECT MIN("m_v_ft_s") FROM "table1_16439764_1" WHERE "max_height_ft"=23500;
## Task Generate a SQL query to answer the following question: `How many feet per second does a shell move where the height range is 23500?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16439764_1" ( "gun" text, "m_v_ft_s" real, "shell_lb" text, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" text, "time_to_ft_m_at_55_seconds" text, "max_height_ft" real ); ### SQL Given the database schema, here is the SQL query that answers `How many feet per second does a shell move where the height range is 23500?`: ```sql
SELECT "shell_lb" FROM "table1_16439764_1" WHERE "gun"='QF 12 pdr 12 cwt';
## Task Generate a SQL query to answer the following question: `If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16439764_1" ( "gun" text, "m_v_ft_s" real, "shell_lb" text, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" text, "time_to_ft_m_at_55_seconds" text, "max_height_ft" real ); ### SQL Given the database schema, here is the SQL query that answers `If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?`: ```sql
SELECT "time_to_ft_m_at_25_seconds" FROM "table1_16439764_1" WHERE "shell_lb"='12.5' AND "max_height_ft">20000.0;
## Task Generate a SQL query to answer the following question: `Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16439764_1" ( "gun" text, "m_v_ft_s" real, "shell_lb" text, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" text, "time_to_ft_m_at_55_seconds" text, "max_height_ft" real ); ### SQL Given the database schema, here is the SQL query that answers `Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?`: ```sql
SELECT "gun" FROM "table1_16439764_1" WHERE "time_to_ft_m_at_55_seconds"='18.8';
## Task Generate a SQL query to answer the following question: `What gun has a time to feet ratio of 18.8 at 55 degrees?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16439764_1" ( "gun" text, "m_v_ft_s" real, "shell_lb" text, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" text, "time_to_ft_m_at_55_seconds" text, "max_height_ft" real ); ### SQL Given the database schema, here is the SQL query that answers `What gun has a time to feet ratio of 18.8 at 55 degrees?`: ```sql
SELECT MAX("m_v_ft_s") FROM "table1_16439764_1" WHERE "time_to_ft_m_at_55_seconds"='22.1';
## Task Generate a SQL query to answer the following question: `What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16439764_1" ( "gun" text, "m_v_ft_s" real, "shell_lb" text, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" text, "time_to_ft_m_at_55_seconds" text, "max_height_ft" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?`: ```sql
SELECT "m_v_ft_s" FROM "table1_16439764_1" WHERE "time_to_ft_m_at_25_seconds"='9.2';
## Task Generate a SQL query to answer the following question: `What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16439764_1" ( "gun" text, "m_v_ft_s" real, "shell_lb" text, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" text, "time_to_ft_m_at_55_seconds" text, "max_height_ft" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?`: ```sql
SELECT "skip" FROM "round_robin" WHERE "pf"=73;
## Task Generate a SQL query to answer the following question: `Who was skip for the country whose points for (PF) was 73?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_robin" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); ### SQL Given the database schema, here is the SQL query that answers `Who was skip for the country whose points for (PF) was 73?`: ```sql