output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "june_10_11" FROM "table1_25287007_2" WHERE "march_27_29"='149'; |
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during June 10-11 and march 27-29 is 149?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25287007_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during June 10-11 and march 27-29 is 149?`:
```sql
|
SELECT "august_21_22" FROM "table1_25287007_2" WHERE "january_15_16"='141'; |
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during august 21-22 and January 15-16 is 141?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25287007_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during august 21-22 and January 15-16 is 141?`:
```sql
|
SELECT "january_15_16" FROM "table1_25287007_2" WHERE "august_21_22"='August 21, 2017'; |
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during January 15-16 and august 21-22 on august 21, 2017?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25287007_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during January 15-16 and august 21-22 on august 21, 2017?`:
```sql
|
SELECT COUNT("fastest_lap") FROM "results" WHERE "round"='14'; |
## Task
Generate a SQL query to answer the following question:
`Name the fastest lap for round 14`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fastest lap for round 14`:
```sql
|
SELECT "winning_driver" FROM "results" WHERE "date"='20 April'; |
## Task
Generate a SQL query to answer the following question:
`Name the winning driver for 20 april`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winning driver for 20 april`:
```sql
|
SELECT "circuit" FROM "results" WHERE "date"='13 July'; |
## Task
Generate a SQL query to answer the following question:
`Name the circuit for 13 july`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the circuit for 13 july`:
```sql
|
SELECT "fastest_lap" FROM "results" WHERE "round"='3'; |
## Task
Generate a SQL query to answer the following question:
`Name the fastest lap for round 3`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fastest lap for round 3`:
```sql
|
SELECT "fastest_lap" FROM "results" WHERE "winning_team"='Piquet Sports' AND "circuit"='Silverstone'; |
## Task
Generate a SQL query to answer the following question:
`Name the fastest lap for piquet sports and silverstone`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fastest lap for piquet sports and silverstone`:
```sql
|
SELECT COUNT("f_laps") FROM "career_summary" WHERE "position"='10th' AND "races"<9.0; |
## Task
Generate a SQL query to answer the following question:
`How many laps where the position is 10th and the races is smaller than 9.0?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps where the position is 10th and the races is smaller than 9.0?`:
```sql
|
SELECT MIN("races") FROM "career_summary"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of races?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest amount of races?`:
```sql
|
SELECT "races" FROM "career_summary" WHERE "points"='137'; |
## Task
Generate a SQL query to answer the following question:
`Which races have 137 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which races have 137 points?`:
```sql
|
SELECT "team" FROM "career_summary" WHERE "points"='137'; |
## Task
Generate a SQL query to answer the following question:
`What team has 137 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has 137 points?`:
```sql
|
SELECT "points" FROM "career_summary" WHERE "podiums"=0 AND "position"='10th'; |
## Task
Generate a SQL query to answer the following question:
`How many points were scored when the podiums is 0 and position is 10th?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points were scored when the podiums is 0 and position is 10th?`:
```sql
|
SELECT "rate_limit_p" FROM "setting_the_cap" WHERE "desired_rate_change_pct"='+40.4'; |
## Task
Generate a SQL query to answer the following question:
`What is the rate limit when the desired rate change (%) is +40.4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "setting_the_cap" (
"authority" text,
"rate_or_precept" text,
"budget_limit_m" text,
"budget_plans_m" text,
"rate_limit_p" text,
"rate_change_pct" text,
"desired_rate_p" text,
"desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate limit when the desired rate change (%) is +40.4?`:
```sql
|
SELECT "rate_limit_p" FROM "setting_the_cap" WHERE "budget_plans_m"='limit agreed'; |
## Task
Generate a SQL query to answer the following question:
`What is the rate limit when budget plans (£m) is limit agreed?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "setting_the_cap" (
"authority" text,
"rate_or_precept" text,
"budget_limit_m" text,
"budget_plans_m" text,
"rate_limit_p" text,
"rate_change_pct" text,
"desired_rate_p" text,
"desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate limit when budget plans (£m) is limit agreed?`:
```sql
|
SELECT "rate_limit_p" FROM "setting_the_cap" WHERE "desired_rate_p"='162'; |
## Task
Generate a SQL query to answer the following question:
`What is the rate limit when the desired rate (p) is 162?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "setting_the_cap" (
"authority" text,
"rate_or_precept" text,
"budget_limit_m" text,
"budget_plans_m" text,
"rate_limit_p" text,
"rate_change_pct" text,
"desired_rate_p" text,
"desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate limit when the desired rate (p) is 162?`:
```sql
|
SELECT "rate_change_pct" FROM "setting_the_cap" WHERE "rate_limit_p"='82.86'; |
## Task
Generate a SQL query to answer the following question:
`What is the rate change % when the rate limit is 82.86?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "setting_the_cap" (
"authority" text,
"rate_or_precept" text,
"budget_limit_m" text,
"budget_plans_m" text,
"rate_limit_p" text,
"rate_change_pct" text,
"desired_rate_p" text,
"desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate change % when the rate limit is 82.86?`:
```sql
|
SELECT "desired_rate_p" FROM "setting_the_cap" WHERE "rate_limit_p"='50.33'; |
## Task
Generate a SQL query to answer the following question:
`What is the desired rate when the rate limit (p) is 50.33?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "setting_the_cap" (
"authority" text,
"rate_or_precept" text,
"budget_limit_m" text,
"budget_plans_m" text,
"rate_limit_p" text,
"rate_change_pct" text,
"desired_rate_p" text,
"desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the desired rate when the rate limit (p) is 50.33?`:
```sql
|
SELECT "authority" FROM "setting_the_cap" WHERE "budget_limit_m"='900'; |
## Task
Generate a SQL query to answer the following question:
`What is the authority who set the budget limit (£m) at 900?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "setting_the_cap" (
"authority" text,
"rate_or_precept" text,
"budget_limit_m" text,
"budget_plans_m" text,
"rate_limit_p" text,
"rate_change_pct" text,
"desired_rate_p" text,
"desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the authority who set the budget limit (£m) at 900?`:
```sql
|
SELECT MAX("share") FROM "ratings"; |
## Task
Generate a SQL query to answer the following question:
`What was the highest share?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "ratings" (
"order" real,
"episode" text,
"u_s_air_date" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest share?`:
```sql
|
SELECT "final_score" FROM "table1_25331766_3" WHERE "attendance"=7523; |
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game with 7523 in attendance?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25331766_3" (
"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 final score of the game with 7523 in attendance?`:
```sql
|
SELECT MIN("attendance") FROM "table1_25331766_3"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest attendance?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25331766_3" (
"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 is the lowest attendance?`:
```sql
|
SELECT "steals" FROM "player_stats" WHERE "rebounds"=87; |
## Task
Generate a SQL query to answer the following question:
`If the rebounds are at 87, what are the amount of steals?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the rebounds are at 87, what are the amount of steals?`:
```sql
|
SELECT COUNT("blocks") FROM "player_stats" WHERE "points"=89; |
## Task
Generate a SQL query to answer the following question:
`How many players 89 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many players 89 points?`:
```sql
|
SELECT MAX("blocks") FROM "player_stats" WHERE "steals"=20; |
## Task
Generate a SQL query to answer the following question:
`If the Steals are 20, what are the blocks?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the Steals are 20, what are the blocks?`:
```sql
|
SELECT "u_s_viewers_million" FROM "table1_25341765_1" WHERE "directed_by"='Jeffrey Blitz'; |
## Task
Generate a SQL query to answer the following question:
`How many millions of viewers did the episode directed by Jeffrey Blitz have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25341765_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of viewers did the episode directed by Jeffrey Blitz have?`:
```sql
|
SELECT "directed_by" FROM "table1_25341765_1" WHERE "u_s_viewers_million"='5.92'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode that had 5.92 million viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25341765_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode that had 5.92 million viewers?`:
```sql
|
SELECT "title" FROM "table1_25341765_1" WHERE "written_by"='Alan Yang'; |
## Task
Generate a SQL query to answer the following question:
`What was the name of the episode Alan Yang wrote?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25341765_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the episode Alan Yang wrote?`:
```sql
|
SELECT COUNT("original_air_date") FROM "table1_25341765_1" WHERE "directed_by"='Michael McCullers'; |
## Task
Generate a SQL query to answer the following question:
`How many episodes were directed by Michael McCullers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25341765_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were directed by Michael McCullers?`:
```sql
|
SELECT MIN("points") FROM "career_summary" WHERE "position"='3rd'; |
## Task
Generate a SQL query to answer the following question:
`When 3rd is the position what is the lowest amount of points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 3rd is the position what is the lowest amount of points?`:
```sql
|
SELECT COUNT("wins") FROM "career_summary" WHERE "season"=2010 AND "team"='ART Grand Prix'; |
## Task
Generate a SQL query to answer the following question:
`When art grand prix is the team and 2010 is the season how many wins are there?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `When art grand prix is the team and 2010 is the season how many wins are there?`:
```sql
|
SELECT "team" FROM "career_summary" WHERE "races"=15 AND "position"='7th'; |
## Task
Generate a SQL query to answer the following question:
`When 7th is the position and 15 is the race who is the team?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 7th is the position and 15 is the race who is the team?`:
```sql
|
SELECT MIN("poles") FROM "career_summary"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest overall amount of poles?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest overall amount of poles?`:
```sql
|
SELECT "position" FROM "career_summary" WHERE "season"=2012 AND "team"='Racing Engineering'; |
## Task
Generate a SQL query to answer the following question:
`When racing engineering is the team and 2012 is the team what is the position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `When racing engineering is the team and 2012 is the team what is the position?`:
```sql
|
SELECT "major_facility" FROM "current_prisons" WHERE "year_opened"='1968'; |
## Task
Generate a SQL query to answer the following question:
`Is the facility opened in 1968 a major facility?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "current_prisons" (
"facility" text,
"location" text,
"year_opened" text,
"major_facility" text,
"population_gender" text,
"capacity" real,
"custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Is the facility opened in 1968 a major facility?`:
```sql
|
SELECT "custody_level_s" FROM "current_prisons" WHERE "location"='Shelton'; |
## Task
Generate a SQL query to answer the following question:
`What is the custody level of the facility in Shelton?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "current_prisons" (
"facility" text,
"location" text,
"year_opened" text,
"major_facility" text,
"population_gender" text,
"capacity" real,
"custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the custody level of the facility in Shelton?`:
```sql
|
SELECT "major_facility" FROM "current_prisons" WHERE "facility"='Washington Corrections Center for Women (WCCW)'; |
## Task
Generate a SQL query to answer the following question:
`Is the Washington Corrections Center for Women (WCCW) a major facility?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "current_prisons" (
"facility" text,
"location" text,
"year_opened" text,
"major_facility" text,
"population_gender" text,
"capacity" real,
"custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Is the Washington Corrections Center for Women (WCCW) a major facility?`:
```sql
|
SELECT COUNT("capacity") FROM "current_prisons" WHERE "year_opened"='1956'; |
## Task
Generate a SQL query to answer the following question:
`What is the capacity for a facility opened in 1956?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "current_prisons" (
"facility" text,
"location" text,
"year_opened" text,
"major_facility" text,
"population_gender" text,
"capacity" real,
"custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the capacity for a facility opened in 1956?`:
```sql
|
SELECT "facility" FROM "current_prisons" WHERE "year_opened"='1954'; |
## Task
Generate a SQL query to answer the following question:
`What facility opening in 1954?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "current_prisons" (
"facility" text,
"location" text,
"year_opened" text,
"major_facility" text,
"population_gender" text,
"capacity" real,
"custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What facility opening in 1954?`:
```sql
|
SELECT "player" FROM "player_stats" WHERE "assists"=6; |
## Task
Generate a SQL query to answer the following question:
`Which player had 6 assists? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had 6 assists? `:
```sql
|
SELECT MIN("steals") FROM "player_stats"; |
## Task
Generate a SQL query to answer the following question:
`What is the fewest steals any player had?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest steals any player had?`:
```sql
|
SELECT MIN("steals") FROM "player_stats" WHERE "player"='Kelly Miller'; |
## Task
Generate a SQL query to answer the following question:
`How many steals did Kelly Miller have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many steals did Kelly Miller have?`:
```sql
|
SELECT "player" FROM "player_stats" WHERE "blocks"=9; |
## Task
Generate a SQL query to answer the following question:
`Which player had 9 blocks?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had 9 blocks?`:
```sql
|
SELECT "rebounds" FROM "player_stats" WHERE "player"='Tammy Sutton-Brown'; |
## Task
Generate a SQL query to answer the following question:
`How many rebounds did Tammy Sutton-Brown have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rebounds did Tammy Sutton-Brown have?`:
```sql
|
SELECT "science" FROM "table1_2534578_1" WHERE "social_studies"='93.56'; |
## Task
Generate a SQL query to answer the following question:
`What was the science score in the year there was a social studies score of 93.56?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_2534578_1" (
"school_year" text,
"language" text,
"science" text,
"reading" text,
"mathematics" text,
"social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the science score in the year there was a social studies score of 93.56?`:
```sql
|
SELECT COUNT("science") FROM "table1_2534578_1" WHERE "mathematics"='98.02'; |
## Task
Generate a SQL query to answer the following question:
`How many years did the school have a mathetmatics score of 98.02?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_2534578_1" (
"school_year" text,
"language" text,
"science" text,
"reading" text,
"mathematics" text,
"social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years did the school have a mathetmatics score of 98.02?`:
```sql
|
SELECT "reading" FROM "table1_2534578_1" WHERE "science"='96.13'; |
## Task
Generate a SQL query to answer the following question:
`What was the reading score in the year the science score was 96.13?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_2534578_1" (
"school_year" text,
"language" text,
"science" text,
"reading" text,
"mathematics" text,
"social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the reading score in the year the science score was 96.13?`:
```sql
|
SELECT "language" FROM "table1_2534578_1" WHERE "reading"='94.47'; |
## Task
Generate a SQL query to answer the following question:
`What was the language score when the reading score was 94.47?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_2534578_1" (
"school_year" text,
"language" text,
"science" text,
"reading" text,
"mathematics" text,
"social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the language score when the reading score was 94.47?`:
```sql
|
SELECT COUNT("points") FROM "player_stats" WHERE "player"='Sophia Witherspoon'; |
## Task
Generate a SQL query to answer the following question:
`How many values for points have Sophia Witherspoon as the player?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many values for points have Sophia Witherspoon as the player?`:
```sql
|
SELECT MAX("points") FROM "player_stats"; |
## Task
Generate a SQL query to answer the following question:
`What is the highest value for points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest value for points?`:
```sql
|
SELECT "rebounds" FROM "player_stats" WHERE "steals"=19; |
## Task
Generate a SQL query to answer the following question:
`What is every value for rebounds when steals is 19?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for rebounds when steals is 19?`:
```sql
|
SELECT "points" FROM "player_stats" WHERE "rebounds"=6 AND "blocks"=0; |
## Task
Generate a SQL query to answer the following question:
`What is every value for points if rebounds is 6 and blocks is 0?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for points if rebounds is 6 and blocks is 0?`:
```sql
|
SELECT "assists" FROM "player_stats" WHERE "player"='Lynn Pride'; |
## Task
Generate a SQL query to answer the following question:
`What is every entry for assists if the player is Lynn Pride?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for assists if the player is Lynn Pride?`:
```sql
|
SELECT "original_air_date" FROM "table1_25356350_3" WHERE "written_by"='Itamar Moses'; |
## Task
Generate a SQL query to answer the following question:
`What is the air date of the episode written by Itamar Moses? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25356350_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the air date of the episode written by Itamar Moses? `:
```sql
|
SELECT "june_10_11" FROM "table1_25355392_2" WHERE "august_21_22"='August 21, 2017'; |
## Task
Generate a SQL query to answer the following question:
`What is the june 10-11 when august 21-22 is august 21, 2017?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355392_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the june 10-11 when august 21-22 is august 21, 2017?`:
```sql
|
SELECT COUNT("november_3") FROM "table1_25355392_2" WHERE "march_27_29"='129'; |
## Task
Generate a SQL query to answer the following question:
`how many times is march 27-29 is 129?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355392_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is march 27-29 is 129?`:
```sql
|
SELECT "june_10_11" FROM "table1_25355392_2" WHERE "march_27_29"='149'; |
## Task
Generate a SQL query to answer the following question:
`what is june 10-11 when march 27-29 is 149?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355392_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is june 10-11 when march 27-29 is 149?`:
```sql
|
SELECT "november_3" FROM "table1_25355392_2" WHERE "june_10_11"='June 10, 1964'; |
## Task
Generate a SQL query to answer the following question:
`what is november 3 when june 10-11 is june 10, 1964?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355392_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is november 3 when june 10-11 is june 10, 1964?`:
```sql
|
SELECT "march_27_29" FROM "table1_25355392_2" WHERE "november_3"='133'; |
## Task
Generate a SQL query to answer the following question:
`what is march 27-29 when november 3 is 133?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355392_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is march 27-29 when november 3 is 133?`:
```sql
|
SELECT "january_15_16" FROM "table1_25355392_2" WHERE "november_3"='153'; |
## Task
Generate a SQL query to answer the following question:
`What is january 15-16 when november 3 is 153?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355392_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is january 15-16 when november 3 is 153?`:
```sql
|
SELECT "january_15_16" FROM "table1_25355501_2" WHERE "august_21_22"='August 22, 1979'; |
## Task
Generate a SQL query to answer the following question:
` january 15-16 when august 21-22 is august 22, 1979?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355501_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` january 15-16 when august 21-22 is august 22, 1979?`:
```sql
|
SELECT COUNT("november_3") FROM "table1_25355501_2" WHERE "january_15_16"='141'; |
## Task
Generate a SQL query to answer the following question:
`How many entries are shown for november 3 when january 15-16 is 141?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355501_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are shown for november 3 when january 15-16 is 141?`:
```sql
|
SELECT "march_27_29" FROM "table1_25355501_2" WHERE "june_10_11"='127'; |
## Task
Generate a SQL query to answer the following question:
` march 27-29 where june 10-11 is 127?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355501_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` march 27-29 where june 10-11 is 127?`:
```sql
|
SELECT "june_10_11" FROM "table1_25355501_2" WHERE "november_3"='133'; |
## Task
Generate a SQL query to answer the following question:
` june 10-11 when november 3 is 133?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355501_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` june 10-11 when november 3 is 133?`:
```sql
|
SELECT "june_10_11" FROM "table1_25355501_2" WHERE "january_15_16"='January 15, 1991'; |
## Task
Generate a SQL query to answer the following question:
` june 10-11 when january 15-16 is january 15, 1991?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355501_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` june 10-11 when january 15-16 is january 15, 1991?`:
```sql
|
SELECT "november_3" FROM "table1_25355501_2" WHERE "august_21_22"='August 22, 1998'; |
## Task
Generate a SQL query to answer the following question:
`What is shown for november 3 when august 21-22 is august 22, 1998?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25355501_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is shown for november 3 when august 21-22 is august 22, 1998?`:
```sql
|
SELECT COUNT("team") FROM "managerial_changes" WHERE "position_in_table"='11th' AND "date_of_appointment"='September 10'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of teams for 11th position september 10`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" text,
"replaced_by" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of teams for 11th position september 10`:
```sql
|
SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='August 9' AND "date_of_appointment"='August 9'; |
## Task
Generate a SQL query to answer the following question:
`Name the replaced by for august 9 `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" text,
"replaced_by" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the replaced by for august 9 `:
```sql
|
SELECT MAX("num") FROM "roster" WHERE "name"='Charvez Davis'; |
## Task
Generate a SQL query to answer the following question:
`Name the most number for charvez davis`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for charvez davis`:
```sql
|
SELECT MAX("weight") FROM "roster"; |
## Task
Generate a SQL query to answer the following question:
`Name the most height`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most height`:
```sql
|
SELECT COUNT("home_town") FROM "roster" WHERE "num"=32; |
## Task
Generate a SQL query to answer the following question:
`Name the number of home town for number being 32`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of home town for number being 32`:
```sql
|
SELECT COUNT("height") FROM "roster" WHERE "num"=32; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of height for number 32`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of height for number 32`:
```sql
|
SELECT "num" FROM "roster" WHERE "last_school"='Florida Air Academy'; |
## Task
Generate a SQL query to answer the following question:
`Name the number for florida air academy`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number for florida air academy`:
```sql
|
SELECT "height" FROM "roster" WHERE "name"='Demetrius Jemison'; |
## Task
Generate a SQL query to answer the following question:
`Name the height for demetrius jemison`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the height for demetrius jemison`:
```sql
|
SELECT MAX("won") FROM "points_table" WHERE "team"='Canterbury Wizards'; |
## Task
Generate a SQL query to answer the following question:
`How many wins did Canterbury Wizards have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "points_table" (
"team" text,
"played" real,
"won" real,
"lost" real,
"no_result" real,
"abandoned" real,
"bonus_points" real,
"total_points" real,
"net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins did Canterbury Wizards have?`:
```sql
|
SELECT "team" FROM "points_table" WHERE "net_run_rate"='0.134'; |
## Task
Generate a SQL query to answer the following question:
`What team had a net run rate of 0.134?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "points_table" (
"team" text,
"played" real,
"won" real,
"lost" real,
"no_result" real,
"abandoned" real,
"bonus_points" real,
"total_points" real,
"net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team had a net run rate of 0.134?`:
```sql
|
SELECT MAX("abandoned") FROM "points_table"; |
## Task
Generate a SQL query to answer the following question:
`What's the largest number of abandoned games by any of the teams?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "points_table" (
"team" text,
"played" real,
"won" real,
"lost" real,
"no_result" real,
"abandoned" real,
"bonus_points" real,
"total_points" real,
"net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the largest number of abandoned games by any of the teams?`:
```sql
|
SELECT COUNT("net_run_rate") FROM "points_table" WHERE "total_points"=19; |
## Task
Generate a SQL query to answer the following question:
`How many different net run rates did the team with 19 total points have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "points_table" (
"team" text,
"played" real,
"won" real,
"lost" real,
"no_result" real,
"abandoned" real,
"bonus_points" real,
"total_points" real,
"net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different net run rates did the team with 19 total points have?`:
```sql
|
SELECT "team" FROM "career_summary" WHERE "points"='56'; |
## Task
Generate a SQL query to answer the following question:
`What was the team that scored 56 points?Qh`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team that scored 56 points?Qh`:
```sql
|
SELECT MIN("season") FROM "career_summary" WHERE "position"='29th'; |
## Task
Generate a SQL query to answer the following question:
`What was the earliest season where a team got a 29th position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest season where a team got a 29th position?`:
```sql
|
SELECT "f_laps" FROM "career_summary" WHERE "team"='HBR Motorsport'; |
## Task
Generate a SQL query to answer the following question:
`What was the recorded flaps of HBR Motorsport team?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the recorded flaps of HBR Motorsport team?`:
```sql
|
SELECT "series" FROM "career_summary" WHERE "points"='56'; |
## Task
Generate a SQL query to answer the following question:
`What was the series where a team scored 56 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the series where a team scored 56 points?`:
```sql
|
SELECT COUNT("position") FROM "career_summary" WHERE "points"='56'; |
## Task
Generate a SQL query to answer the following question:
`How many team position scored 56 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many team position scored 56 points?`:
```sql
|
SELECT "date" FROM "table1_25380472_2" WHERE "final_score"='L 14–24'; |
## Task
Generate a SQL query to answer the following question:
`On what dates was the final score of the game L 14–24?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25380472_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 `On what dates was the final score of the game L 14–24?`:
```sql
|
SELECT COUNT("game_site") FROM "table1_25380472_2" WHERE "team_record"='1–7'; |
## Task
Generate a SQL query to answer the following question:
`How many game sites are there where the team record is 1–7?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25380472_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 `How many game sites are there where the team record is 1–7?`:
```sql
|
SELECT "opponent" FROM "table1_25380472_2" WHERE "week"=7; |
## Task
Generate a SQL query to answer the following question:
`On week 7, what were the opponents?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25380472_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 `On week 7, what were the opponents?`:
```sql
|
SELECT "game_site" FROM "table1_25380472_2" WHERE "team_record"='0–5'; |
## Task
Generate a SQL query to answer the following question:
`On what game sites are there where the team record is 0–5?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25380472_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 `On what game sites are there where the team record is 0–5?`:
```sql
|
SELECT "game_site" FROM "table1_25380472_2" WHERE "team_record"='1–6'; |
## Task
Generate a SQL query to answer the following question:
`What game sites are where the team record is 1–6?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25380472_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 game sites are where the team record is 1–6?`:
```sql
|
SELECT "opponent" FROM "table1_25380472_2" WHERE "game_site"='AOL Arena'; |
## Task
Generate a SQL query to answer the following question:
`In game site AOL Arena, who are all the opponents?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25380472_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 `In game site AOL Arena, who are all the opponents?`:
```sql
|
SELECT "organization" FROM "south_asian" WHERE "founding_date"='1998-11-08'; |
## Task
Generate a SQL query to answer the following question:
`What organization had the founding date of 1998-11-08? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "south_asian" (
"letters" text,
"organization" text,
"nickname" text,
"founding_date" text,
"founding_university" text,
"type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What organization had the founding date of 1998-11-08? `:
```sql
|
SELECT COUNT("letters") FROM "south_asian" WHERE "founding_date"='1997-12-12'; |
## Task
Generate a SQL query to answer the following question:
`How many letters were given to the organization with a founding date of 1997-12-12? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "south_asian" (
"letters" text,
"organization" text,
"nickname" text,
"founding_date" text,
"founding_university" text,
"type" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many letters were given to the organization with a founding date of 1997-12-12? `:
```sql
|
SELECT COUNT("song_choice") FROM "table1_25374338_1" WHERE "original_artist"='Gino Paoli'; |
## Task
Generate a SQL query to answer the following question:
`What is the song choice where the original artist is Gino Paoli?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25374338_1" (
"episode" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the song choice where the original artist is Gino Paoli?`:
```sql
|
SELECT "theme" FROM "table1_25374338_1" WHERE "original_artist"='Noemi feat. Fiorella Mannoia'; |
## Task
Generate a SQL query to answer the following question:
`What is the theme where the original artist is Noemi feat. Fiorella Mannoia?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25374338_1" (
"episode" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme where the original artist is Noemi feat. Fiorella Mannoia?`:
```sql
|
SELECT "order_num" FROM "table1_25374338_1" WHERE "song_choice"='\"L''appuntamento\"'; |
## Task
Generate a SQL query to answer the following question:
`What is the order number where the song choice is "l'appuntamento"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25374338_1" (
"episode" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the order number where the song choice is "l'appuntamento"?`:
```sql
|
SELECT "song_choice" FROM "table1_25374338_1" WHERE "episode"='Live Show 1'; |
## Task
Generate a SQL query to answer the following question:
`What is the song choice where the episode is Live Show 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25374338_1" (
"episode" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the song choice where the episode is Live Show 1?`:
```sql
|
SELECT "result" FROM "table1_25374338_1" WHERE "original_artist"='Prince and The Revolution'; |
## Task
Generate a SQL query to answer the following question:
`What is the result where the original artist is Prince and the Revolution?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25374338_1" (
"episode" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result where the original artist is Prince and the Revolution?`:
```sql
|
SELECT "theme" FROM "table1_25374338_1" WHERE "original_artist"='AC/DC'; |
## Task
Generate a SQL query to answer the following question:
`What is the theme where the original artist is AC/DC?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_25374338_1" (
"episode" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme where the original artist is AC/DC?`:
```sql
|
SELECT "type" FROM "asian_american" WHERE "organization"='Sigma Phi Omega'; |
## Task
Generate a SQL query to answer the following question:
`what type of organization is sigma phi omega?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "asian_american" (
"letters" text,
"organization" text,
"nickname" text,
"founding_date" text,
"founding_university" text,
"type" text
);
### SQL
Given the database schema, here is the SQL query that answers `what type of organization is sigma phi omega?`:
```sql
|
SELECT COUNT("type") FROM "asian_american" WHERE "founding_university"='San Diego State University'; |
## Task
Generate a SQL query to answer the following question:
`how many types of organization were founded in san diego state university? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "asian_american" (
"letters" text,
"organization" text,
"nickname" text,
"founding_date" text,
"founding_university" text,
"type" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many types of organization were founded in san diego state university? `:
```sql
|
SELECT "organization" FROM "asian_american" WHERE "founding_university"='University of Southern California' AND "type"='Sorority' AND "nickname"='\"Sigmas\"'; |
## Task
Generate a SQL query to answer the following question:
`name the sorority a.k.a. "sigmas" that was founded in the university of southern california.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "asian_american" (
"letters" text,
"organization" text,
"nickname" text,
"founding_date" text,
"founding_university" text,
"type" text
);
### SQL
Given the database schema, here is the SQL query that answers `name the sorority a.k.a. "sigmas" that was founded in the university of southern california.`:
```sql
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.