output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "series_num" FROM "table1_27833469_1" WHERE "season_num"='10'; |
## Task
Generate a SQL query to answer the following question:
`What is the series number for the episode number 10 of the season?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27833469_1" (
"series_num" real,
"season_num" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the series number for the episode number 10 of the season?`:
```sql
|
SELECT "approximate_translation" FROM "triconsonantal_roots" WHERE "morphological_category"='1st. plur. perfect'; |
## Task
Generate a SQL query to answer the following question:
`What are the the approximate translations when the Morphological Category is 1st. plur. perfect?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triconsonantal_roots" (
"semitological_abbreviation" text,
"hebrew_name" text,
"arabic_name" text,
"morphological_category" text,
"hebrew_form" text,
"arabic_form" text,
"approximate_translation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the the approximate translations when the Morphological Category is 1st. plur. perfect?`:
```sql
|
SELECT "approximate_translation" FROM "triconsonantal_roots" WHERE "morphological_category"='masc. sing. active participle'; |
## Task
Generate a SQL query to answer the following question:
`What are the approximate translations when the morphological category is masc. sing. active participle?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triconsonantal_roots" (
"semitological_abbreviation" text,
"hebrew_name" text,
"arabic_name" text,
"morphological_category" text,
"hebrew_form" text,
"arabic_form" text,
"approximate_translation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the approximate translations when the morphological category is masc. sing. active participle?`:
```sql
|
SELECT COUNT("hebrew_form") FROM "triconsonantal_roots" WHERE "arabic_form"='yuktibu يكتب'; |
## Task
Generate a SQL query to answer the following question:
`How many hebrew forms are there for the arabic form yuktibu يكتب?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triconsonantal_roots" (
"semitological_abbreviation" text,
"hebrew_name" text,
"arabic_name" text,
"morphological_category" text,
"hebrew_form" text,
"arabic_form" text,
"approximate_translation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many hebrew forms are there for the arabic form yuktibu يكتب?`:
```sql
|
SELECT "arabic_form" FROM "triconsonantal_roots" WHERE "approximate_translation"='\"he writes, will write\"'; |
## Task
Generate a SQL query to answer the following question:
`What are the arabic forms when the approximate translation is "he writes, will write"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triconsonantal_roots" (
"semitological_abbreviation" text,
"hebrew_name" text,
"arabic_name" text,
"morphological_category" text,
"hebrew_form" text,
"arabic_form" text,
"approximate_translation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the arabic forms when the approximate translation is "he writes, will write"?`:
```sql
|
SELECT "morphological_category" FROM "triconsonantal_roots" WHERE "approximate_translation"='\"he wrote\"'; |
## Task
Generate a SQL query to answer the following question:
`What are the morphological categories when the approximate translation is "he wrote"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triconsonantal_roots" (
"semitological_abbreviation" text,
"hebrew_name" text,
"arabic_name" text,
"morphological_category" text,
"hebrew_form" text,
"arabic_form" text,
"approximate_translation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the morphological categories when the approximate translation is "he wrote"?`:
```sql
|
SELECT COUNT("arabic_form") FROM "triconsonantal_roots" WHERE "morphological_category"='1st. plur. perfect'; |
## Task
Generate a SQL query to answer the following question:
`How many Arabic forms are there for the 1st. plur. perfect category?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "triconsonantal_roots" (
"semitological_abbreviation" text,
"hebrew_name" text,
"arabic_name" text,
"morphological_category" text,
"hebrew_form" text,
"arabic_form" text,
"approximate_translation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Arabic forms are there for the 1st. plur. perfect category?`:
```sql
|
SELECT "viewers_millions" FROM "table1_27847088_1" WHERE "series_no"=45; |
## Task
Generate a SQL query to answer the following question:
`How many were the viewers (in millions) of the series no. 45?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27847088_1" (
"episode_no" real,
"series_no" real,
"episode" text,
"director" text,
"writer_s" text,
"original_airdate" text,
"viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many were the viewers (in millions) of the series no. 45?`:
```sql
|
SELECT "writer_s" FROM "table1_27847088_1" WHERE "episode"='\"Divine Intervention\"'; |
## Task
Generate a SQL query to answer the following question:
`Who was the writer of the episode title "Divine Intervention"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27847088_1" (
"episode_no" real,
"series_no" real,
"episode" text,
"director" text,
"writer_s" text,
"original_airdate" text,
"viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the writer of the episode title "Divine Intervention"?`:
```sql
|
SELECT COUNT("opponent") FROM "schedule" WHERE "score"='7-6'; |
## Task
Generate a SQL query to answer the following question:
`How many games did UCLA's baseball team win with a score 7-6 during May of 2010?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "schedule" (
"num" real,
"date" text,
"opponent" text,
"site_stadium" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"pac_10_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games did UCLA's baseball team win with a score 7-6 during May of 2010?`:
```sql
|
SELECT "total_wins" FROM "champions_by_nationality" WHERE "first_title"=2004; |
## Task
Generate a SQL query to answer the following question:
`How many wins are listed when the first title is 2004?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "champions_by_nationality" (
"rank" text,
"nationality" text,
"non_major_wins" real,
"non_major_winners" real,
"major_wins" real,
"major_winners" real,
"total_wins" real,
"total_winners" real,
"first_title" real,
"last_title" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins are listed when the first title is 2004?`:
```sql
|
SELECT "network" FROM "table_of_network_o_os_that_aired_nta_pro" WHERE "state_or_territory"='Illinois'; |
## Task
Generate a SQL query to answer the following question:
`Which network was located in Illinois?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table_of_network_o_os_that_aired_nta_pro" (
"city" text,
"state_or_territory" text,
"station_call_sign" text,
"network" text,
"channel_number" real,
"programs_aired" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which network was located in Illinois?`:
```sql
|
SELECT MAX("channel_number") FROM "table_of_network_o_os_that_aired_nta_pro"; |
## Task
Generate a SQL query to answer the following question:
`What is the highest channel number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table_of_network_o_os_that_aired_nta_pro" (
"city" text,
"state_or_territory" text,
"station_call_sign" text,
"network" text,
"channel_number" real,
"programs_aired" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest channel number?`:
```sql
|
SELECT "state_or_territory" FROM "table_of_network_o_os_that_aired_nta_pro" WHERE "channel_number"=7; |
## Task
Generate a SQL query to answer the following question:
`Which state or territory had a channel number of exactly 7?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table_of_network_o_os_that_aired_nta_pro" (
"city" text,
"state_or_territory" text,
"station_call_sign" text,
"network" text,
"channel_number" real,
"programs_aired" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which state or territory had a channel number of exactly 7?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "location_attendance"='Omni Coliseum 10,330'; |
## Task
Generate a SQL query to answer the following question:
`Name the date for omni coliseum 10,330`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for omni coliseum 10,330`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "game"=3; |
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for 3 game`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location attendance for 3 game`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "score"='L 93-105'; |
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for l 93-105`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location attendance for l 93-105`:
```sql
|
SELECT "record" FROM "game_log" WHERE "location_attendance"='Oakland-Alameda County Coliseum Arena 15,025'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for oakland-alameda county coliseum arena 15,025`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the record for oakland-alameda county coliseum arena 15,025`:
```sql
|
SELECT COUNT("game") FROM "game_log" WHERE "score"='W 112-94'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of games for w 112-94`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of games for w 112-94`:
```sql
|
SELECT "clubs" FROM "calendar" WHERE "round"='Sixth round proper'; |
## Task
Generate a SQL query to answer the following question:
`what is the club in the sixth round proper`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the club in the sixth round proper`:
```sql
|
SELECT "surface" FROM "singles" WHERE "score"='6–4, 6–1' AND "edition"='2011 Europe/Africa Group IIIB'; |
## Task
Generate a SQL query to answer the following question:
`For edition is 2011 europe/africa group iiib and surface where score is 6–4, 6–1 please specify all the surface`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles" (
"outcome" text,
"edition" text,
"opponent_team" text,
"surface" text,
"opponent" text,
"score" text
);
### SQL
Given the database schema, here is the SQL query that answers `For edition is 2011 europe/africa group iiib and surface where score is 6–4, 6–1 please specify all the surface`:
```sql
|
SELECT "opponent_team" FROM "singles" WHERE "edition"='2009 Europe/Africa Group IIIB' AND "outcome"='Winner' AND "opponent"='Sandra Kristjánsdóttir'; |
## Task
Generate a SQL query to answer the following question:
`For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles" (
"outcome" text,
"edition" text,
"opponent_team" text,
"surface" text,
"opponent" text,
"score" text
);
### SQL
Given the database schema, here is the SQL query that answers `For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team.`:
```sql
|
SELECT COUNT("outcome") FROM "singles" WHERE "score"='7–6 (7–3) , 6–4'; |
## Task
Generate a SQL query to answer the following question:
`For score 7–6 (7–3) , 6–4 please mention total number of outcome`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles" (
"outcome" text,
"edition" text,
"opponent_team" text,
"surface" text,
"opponent" text,
"score" text
);
### SQL
Given the database schema, here is the SQL query that answers `For score 7–6 (7–3) , 6–4 please mention total number of outcome`:
```sql
|
SELECT "opponent" FROM "singles" WHERE "edition"='2009 Europe/Africa Group IIIB' AND "opponent_team"='Armenia'; |
## Task
Generate a SQL query to answer the following question:
`For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles" (
"outcome" text,
"edition" text,
"opponent_team" text,
"surface" text,
"opponent" text,
"score" text
);
### SQL
Given the database schema, here is the SQL query that answers `For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent`:
```sql
|
SELECT "edition" FROM "singles" WHERE "outcome"='Loser' AND "score"='6–2, 6–3'; |
## Task
Generate a SQL query to answer the following question:
`For score 6–2, 6–3 and outcome is loser mention all the edition.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles" (
"outcome" text,
"edition" text,
"opponent_team" text,
"surface" text,
"opponent" text,
"score" text
);
### SQL
Given the database schema, here is the SQL query that answers `For score 6–2, 6–3 and outcome is loser mention all the edition.`:
```sql
|
SELECT "winner" FROM "events" WHERE "uci_rating"='CN'; |
## Task
Generate a SQL query to answer the following question:
`who was the winner of uci rating cn?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "events" (
"dates" text,
"race_name" text,
"location" text,
"uci_rating" text,
"winner" text,
"team" text,
"series_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `who was the winner of uci rating cn?`:
```sql
|
SELECT "race_name" FROM "events" WHERE "uci_rating"='CN'; |
## Task
Generate a SQL query to answer the following question:
`what race name had a uci rating of cn?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "events" (
"dates" text,
"race_name" text,
"location" text,
"uci_rating" text,
"winner" text,
"team" text,
"series_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `what race name had a uci rating of cn?`:
```sql
|
SELECT "location" FROM "events" WHERE "team"='Trek-Livestrong'; |
## Task
Generate a SQL query to answer the following question:
`what location has team trek-livestrong?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "events" (
"dates" text,
"race_name" text,
"location" text,
"uci_rating" text,
"winner" text,
"team" text,
"series_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `what location has team trek-livestrong?`:
```sql
|
SELECT "winner" FROM "events" WHERE "location"='Souderton, PA'; |
## Task
Generate a SQL query to answer the following question:
`who was the winner for souderton, pa?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "events" (
"dates" text,
"race_name" text,
"location" text,
"uci_rating" text,
"winner" text,
"team" text,
"series_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `who was the winner for souderton, pa?`:
```sql
|
SELECT "title" FROM "table1_27892955_1" WHERE "directed_by"='Mike Rohl' AND "no_in_series"=120; |
## Task
Generate a SQL query to answer the following question:
`What is the name of episode 120 in the series that Mike Rohl directed?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27892955_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of episode 120 in the series that Mike Rohl directed?`:
```sql
|
SELECT "written_by" FROM "table1_27892955_1" WHERE "u_s_viewers_million"='1.97'; |
## Task
Generate a SQL query to answer the following question:
`Who wrote episode that had 1.97 million u.s. viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27892955_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode that had 1.97 million u.s. viewers?`:
```sql
|
SELECT "title" FROM "table1_27892955_1" WHERE "u_s_viewers_million"='2.02'; |
## Task
Generate a SQL query to answer the following question:
`What is the name of the episode that had 2.02 million u.s. viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27892955_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the episode that had 2.02 million u.s. viewers?`:
```sql
|
SELECT COUNT("location_attendance") FROM "game_log" WHERE "date"='January 11'; |
## Task
Generate a SQL query to answer the following question:
`How many games did they play on january 11?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games did they play on january 11?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "record"='9-7'; |
## Task
Generate a SQL query to answer the following question:
`What is every team with a record of 9-7?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every team with a record of 9-7?`:
```sql
|
SELECT COUNT("high_assists") FROM "game_log" WHERE "location_attendance"='Seattle Center Coliseum 14,180'; |
## Task
Generate a SQL query to answer the following question:
`How many people are high assists when location attendance is Seattle Center Coliseum 14,180?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people are high assists when location attendance is Seattle Center Coliseum 14,180?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "game"=23; |
## Task
Generate a SQL query to answer the following question:
`What is every date with game 23?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every date with game 23?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "location_attendance"='Seattle Center Coliseum 14,180'; |
## Task
Generate a SQL query to answer the following question:
`What is every team with location attendance of Seattle Center Coliseum 14,180?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every team with location attendance of Seattle Center Coliseum 14,180?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "location_attendance"='ARCO Arena 17,014'; |
## Task
Generate a SQL query to answer the following question:
`What is every team with location attendance of Arco Arena 17,014?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every team with location attendance of Arco Arena 17,014?`:
```sql
|
SELECT "opponent" FROM "table1_27893892_2" WHERE "game_site"='Waldstadion' AND "week"=6; |
## Task
Generate a SQL query to answer the following question:
`what was the opposition where the field is waldstadion during time 6`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27893892_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 opposition where the field is waldstadion during time 6`:
```sql
|
SELECT "game_site" FROM "table1_27893892_2" WHERE "date"='Saturday, April 21'; |
## Task
Generate a SQL query to answer the following question:
`what is the location for saturday, april 21`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27893892_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 is the location for saturday, april 21`:
```sql
|
SELECT MAX("attendance") FROM "table1_27893892_2" WHERE "date"='Saturday, May 12'; |
## Task
Generate a SQL query to answer the following question:
`what was the participation for saturday, may 12`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27893892_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 participation for saturday, may 12`:
```sql
|
SELECT "team_record" FROM "table1_27893892_2" WHERE "opponent"='at Scottish Claymores'; |
## Task
Generate a SQL query to answer the following question:
`what was the achievement for the rival at scottish claymores`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27893892_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 achievement for the rival at scottish claymores`:
```sql
|
SELECT MAX("140") FROM "statistics"; |
## Task
Generate a SQL query to answer the following question:
`What is the highest number for 140+?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number for 140+?`:
```sql
|
SELECT COUNT("legs_lost") FROM "statistics" WHERE "high_checkout"=101; |
## Task
Generate a SQL query to answer the following question:
`How many legs were lost when the high checkout was 101?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many legs were lost when the high checkout was 101?`:
```sql
|
SELECT "player" FROM "statistics" WHERE "180s"=15; |
## Task
Generate a SQL query to answer the following question:
`Who was the player when the 180s was 15?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the player when the 180s was 15?`:
```sql
|
SELECT MAX("legs_won") FROM "statistics" WHERE "player"='Alan Tabern'; |
## Task
Generate a SQL query to answer the following question:
`How many legs were own by alan tabern?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many legs were own by alan tabern?`:
```sql
|
SELECT "3_dart_average" FROM "statistics" WHERE "140"=75; |
## Task
Generate a SQL query to answer the following question:
`What is the 3-dart average where the 140+ is 75?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 3-dart average where the 140+ is 75?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "record"='36-29'; |
## Task
Generate a SQL query to answer the following question:
`name the team for 36-29 record`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `name the team for 36-29 record`:
```sql
|
SELECT COUNT("high_assists") FROM "game_log" WHERE "record"='34-27'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of high asists for 34-27`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of high asists for 34-27`:
```sql
|
SELECT "date" FROM "game_log" WHERE "score"='W 112-91'; |
## Task
Generate a SQL query to answer the following question:
`Name the date for score of w 112-91`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for score of w 112-91`:
```sql
|
SELECT COUNT("location_attendance") FROM "game_log" WHERE "record"='36-29'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of location attendance for 36-29 record`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of location attendance for 36-29 record`:
```sql
|
SELECT "original_air_date" FROM "table1_27910411_1" WHERE "u_s_viewers_millions"='8.28'; |
## Task
Generate a SQL query to answer the following question:
`What date did the episode with 8.28 million u.s. viewers originally air?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27910411_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the episode with 8.28 million u.s. viewers originally air?`:
```sql
|
SELECT "no_in_series" FROM "table1_27910411_1" WHERE "title"='\"Open Water\"'; |
## Task
Generate a SQL query to answer the following question:
`What episode number of the series is "open water"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27910411_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number of the series is "open water"?`:
```sql
|
SELECT COUNT("u_s_viewers_millions") FROM "table1_27910411_1" WHERE "no_in_series"=5; |
## Task
Generate a SQL query to answer the following question:
`How many items are listed for U.S. viewers for episode number 5 in the series?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27910411_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many items are listed for U.S. viewers for episode number 5 in the series?`:
```sql
|
SELECT "original_air_date" FROM "table1_27910411_1" WHERE "no_in_series"=10; |
## Task
Generate a SQL query to answer the following question:
`What date did episode 10 in the series originally air?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27910411_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did episode 10 in the series originally air?`:
```sql
|
SELECT "original_air_date" FROM "table1_27911342_1" WHERE "title"='\"House\"'; |
## Task
Generate a SQL query to answer the following question:
`What is the date the episode entitled "House" aired?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27911342_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date the episode entitled "House" aired?`:
```sql
|
SELECT COUNT("season_num") FROM "table1_27911342_1" WHERE "written_by"='Kari Lizer'; |
## Task
Generate a SQL query to answer the following question:
`What is the season number of the show written by both Kari Lizer and Jeff Astrof?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27911342_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the season number of the show written by both Kari Lizer and Jeff Astrof?`:
```sql
|
SELECT "title" FROM "table1_27911342_1" WHERE "season_num"=5; |
## Task
Generate a SQL query to answer the following question:
`What is the title of the Series 40 Season 5 show?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27911342_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the Series 40 Season 5 show?`:
```sql
|
SELECT "written_by" FROM "table1_27913766_1" WHERE "title"='\"He Ain''t Heavy\"'; |
## Task
Generate a SQL query to answer the following question:
`who wrote the episode "he ain't heavy"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27913766_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `who wrote the episode "he ain't heavy"?`:
```sql
|
SELECT COUNT("original_air_date") FROM "table1_27913766_1" WHERE "title"='\"The Old Maid of Honor\"'; |
## Task
Generate a SQL query to answer the following question:
`how many times was the episode "the old maid of honor" originally aired?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27913766_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times was the episode "the old maid of honor" originally aired?`:
```sql
|
SELECT MAX("series_num") FROM "table1_27913766_1" WHERE "title"='\"A Change in Heart/Pants\"'; |
## Task
Generate a SQL query to answer the following question:
`the episode "a change in heart/pants" had a maximum of what number in the series?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27913766_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `the episode "a change in heart/pants" had a maximum of what number in the series?`:
```sql
|
SELECT "callsign" FROM "table1_27914076_1" WHERE "coverage"='Davao Mindanao Region'; |
## Task
Generate a SQL query to answer the following question:
`Name the callsign for davao mindanao region`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914076_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the callsign for davao mindanao region`:
```sql
|
SELECT "power_k_w" FROM "table1_27914076_1" WHERE "callsign"='DYMD-FM'; |
## Task
Generate a SQL query to answer the following question:
`Name the power for dymd-fm`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914076_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the power for dymd-fm`:
```sql
|
SELECT "frequency" FROM "table1_27914076_1" WHERE "branding"='103.7 Energy FM Dipolog*'; |
## Task
Generate a SQL query to answer the following question:
`Name the frequency for 103.7 energy fm dipolog*`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914076_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the frequency for 103.7 energy fm dipolog*`:
```sql
|
SELECT COUNT("coverage") FROM "table1_27914076_1" WHERE "branding"='106.7 Energy FM'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of coverage for 106.7 energy fm`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914076_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of coverage for 106.7 energy fm`:
```sql
|
SELECT "season_num" FROM "table1_27914606_1" WHERE "u_s_viewers_millions"='7.19'; |
## Task
Generate a SQL query to answer the following question:
`what is the number of the episode in the season that had 7.19 millions of north american viewers? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914606_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of the episode in the season that had 7.19 millions of north american viewers? `:
```sql
|
SELECT "title" FROM "table1_27914606_1" WHERE "written_by"='Jeff Astrof & Matt Goldman'; |
## Task
Generate a SQL query to answer the following question:
`what is the name of the episode whose writers were jeff astrof & matt goldman? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914606_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name of the episode whose writers were jeff astrof & matt goldman? `:
```sql
|
SELECT "written_by" FROM "table1_27914606_1" WHERE "u_s_viewers_millions"='5.56'; |
## Task
Generate a SQL query to answer the following question:
`who were the writers of the episode that had 5.56 millions of north american viewers? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914606_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `who were the writers of the episode that had 5.56 millions of north american viewers? `:
```sql
|
SELECT "title" FROM "table1_27914606_1" WHERE "written_by"='Jeff Astrof & Matt Goldman'; |
## Task
Generate a SQL query to answer the following question:
`what is the name of the episode whose writers were jeff astrof & matt goldman? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27914606_1" (
"series_num" real,
"season_num" real,
"title" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name of the episode whose writers were jeff astrof & matt goldman? `:
```sql
|
SELECT "average" FROM "batting_averages" WHERE "runs"=313; |
## Task
Generate a SQL query to answer the following question:
`What is the average for the player with 313 runs?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "batting_averages" (
"player" text,
"matches" real,
"innings" real,
"runs" real,
"average" text,
"highest_score" text,
"100s" real,
"50s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average for the player with 313 runs?`:
```sql
|
SELECT MIN("runs") FROM "batting_averages" WHERE "average"='97.00'; |
## Task
Generate a SQL query to answer the following question:
`How few runs does the 97.00 average have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "batting_averages" (
"player" text,
"matches" real,
"innings" real,
"runs" real,
"average" text,
"highest_score" text,
"100s" real,
"50s" real
);
### SQL
Given the database schema, here is the SQL query that answers `How few runs does the 97.00 average have?`:
```sql
|
SELECT MIN("50s") FROM "batting_averages"; |
## Task
Generate a SQL query to answer the following question:
`What is the minimum number of 50s scored?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "batting_averages" (
"player" text,
"matches" real,
"innings" real,
"runs" real,
"average" text,
"strike_rate" text,
"highest_score" text,
"50s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number of 50s scored?`:
```sql
|
SELECT "4wi" FROM "bowling_averages" WHERE "economy"='4.17'; |
## Task
Generate a SQL query to answer the following question:
`How many 4wi were recorded by the player with an economy of 4.17?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many 4wi were recorded by the player with an economy of 4.17?`:
```sql
|
SELECT MIN("wickets") FROM "bowling_averages"; |
## Task
Generate a SQL query to answer the following question:
`What is the fewest number of wickets recorded?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest number of wickets recorded?`:
```sql
|
SELECT "bbi" FROM "bowling_averages" WHERE "average"='24.50'; |
## Task
Generate a SQL query to answer the following question:
`What was the BBI for the bowler whose average is 24.50?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the BBI for the bowler whose average is 24.50?`:
```sql
|
SELECT MIN("wickets") FROM "bowling_averages"; |
## Task
Generate a SQL query to answer the following question:
`What is the least amount of wickets?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of wickets?`:
```sql
|
SELECT MIN("matches") FROM "bowling_averages"; |
## Task
Generate a SQL query to answer the following question:
`What is the least amount of matches?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of matches?`:
```sql
|
SELECT COUNT("player") FROM "bowling_averages" WHERE "wickets"=12; |
## Task
Generate a SQL query to answer the following question:
`How many players had 12 wickets?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many players had 12 wickets?`:
```sql
|
SELECT MIN("innings") FROM "bowling_averages" WHERE "average"='30.03'; |
## Task
Generate a SQL query to answer the following question:
`How many innings for the player with an average of 30.03?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many innings for the player with an average of 30.03?`:
```sql
|
SELECT "average" FROM "bowling_averages" WHERE "bbm"='5/85'; |
## Task
Generate a SQL query to answer the following question:
`What is the average for the player with BBM 5/85?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average for the player with BBM 5/85?`:
```sql
|
SELECT MIN("episode_num") FROM "table1_27927185_1" WHERE "viewers_millions"='4.03'; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest episode number that had 4.03 million viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27927185_1" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest episode number that had 4.03 million viewers?`:
```sql
|
SELECT "viewers_millions" FROM "table1_27927185_1" WHERE "episode_num"<2.0; |
## Task
Generate a SQL query to answer the following question:
`How many million viewers watched episodes prior to episode 2.0?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27927185_1" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many million viewers watched episodes prior to episode 2.0?`:
```sql
|
SELECT "originalairdate" FROM "table1_27927185_1" WHERE "viewers_millions"='4.77'; |
## Task
Generate a SQL query to answer the following question:
`What was the original air-date that had 4.77 million viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27927185_1" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air-date that had 4.77 million viewers?`:
```sql
|
SELECT "directed_by" FROM "table1_27927185_1" WHERE "viewers_millions"='6.37'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode with 6.37 million viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27927185_1" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode with 6.37 million viewers?`:
```sql
|
SELECT MAX("release_date") FROM "table1_27932399_1" WHERE "catalogue_number"='DW023'; |
## Task
Generate a SQL query to answer the following question:
`What is the release date of catalogue number DW023?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27932399_1" (
"catalogue_number" text,
"artist" text,
"release_title" text,
"format" text,
"release_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date of catalogue number DW023?`:
```sql
|
SELECT "release_date" FROM "table1_27932399_1" WHERE "release_title"='New Worlds For Old'; |
## Task
Generate a SQL query to answer the following question:
`What is the release date of "New Worlds for Old"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27932399_1" (
"catalogue_number" text,
"artist" text,
"release_title" text,
"format" text,
"release_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date of "New Worlds for Old"?`:
```sql
|
SELECT "catalogue_number" FROM "table1_27932399_1" WHERE "release_title"='Waves In The Air'; |
## Task
Generate a SQL query to answer the following question:
`What is the catalogue number for "Waves in the Air"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27932399_1" (
"catalogue_number" text,
"artist" text,
"release_title" text,
"format" text,
"release_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the catalogue number for "Waves in the Air"?`:
```sql
|
SELECT "catalogue_number" FROM "table1_27932399_1" WHERE "release_date"=2005 AND "artist"='The Clear Spots'; |
## Task
Generate a SQL query to answer the following question:
`What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27932399_1" (
"catalogue_number" text,
"artist" text,
"release_title" text,
"format" text,
"release_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots?`:
```sql
|
SELECT "artist" FROM "table1_27932399_1" WHERE "release_title"='HH'; |
## Task
Generate a SQL query to answer the following question:
`Which artist had a release title of HH?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27932399_1" (
"catalogue_number" text,
"artist" text,
"release_title" text,
"format" text,
"release_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which artist had a release title of HH?`:
```sql
|
SELECT "release_title" FROM "table1_27932399_1" WHERE "artist"='Heavy Winged'; |
## Task
Generate a SQL query to answer the following question:
`What was the name of the album released by Heavy Winged?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27932399_1" (
"catalogue_number" text,
"artist" text,
"release_title" text,
"format" text,
"release_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the album released by Heavy Winged?`:
```sql
|
SELECT "dual_television_commentator" FROM "commentators_and_spokespersons" WHERE "year_s"=1990; |
## Task
Generate a SQL query to answer the following question:
`Who was the dual television commentator in 1990?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the dual television commentator in 1990?`:
```sql
|
SELECT "radio_commentator" FROM "commentators_and_spokespersons" WHERE "television_commentator"='Jan Gabrielsson'; |
## Task
Generate a SQL query to answer the following question:
`Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast?`:
```sql
|
SELECT COUNT("moto2_winner") FROM "grands_prix" WHERE "circuit"='Laguna Seca'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of moto2 winners for laguna seca`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"moto_gp_winner" text,
"moto2_winner" text,
"moto3_winner" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of moto2 winners for laguna seca`:
```sql
|
SELECT "circuit" FROM "grands_prix" WHERE "grand_prix"='Hertz British Grand Prix'; |
## Task
Generate a SQL query to answer the following question:
`Name the circuit for hertz british grand prix`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"moto_gp_winner" text,
"moto2_winner" text,
"moto3_winner" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the circuit for hertz british grand prix`:
```sql
|
SELECT COUNT("round") FROM "grands_prix" WHERE "circuit"='Brno'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of rounds for brno`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"moto_gp_winner" text,
"moto2_winner" text,
"moto3_winner" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of rounds for brno`:
```sql
|
SELECT "moto_gp_winner" FROM "grands_prix" WHERE "date"='6 May'; |
## Task
Generate a SQL query to answer the following question:
`Name the motogp winner for 6 may`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"moto_gp_winner" text,
"moto2_winner" text,
"moto3_winner" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the motogp winner for 6 may`:
```sql
|
SELECT "original_air_date" FROM "table1_27936859_2" WHERE "title"='\"Cracked\"'; |
## Task
Generate a SQL query to answer the following question:
`when was the episode titled "cracked" originally aired?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27936859_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `when was the episode titled "cracked" originally aired?`:
```sql
|
SELECT "b_winning_car" FROM "table1_27965906_2" WHERE "a_winning_car"='#88 Team Mitsubishi 88 Mitsubishi Starion'; |
## Task
Generate a SQL query to answer the following question:
`Name the b winning car for #88 team mitsubishi 88 mitsubishi starion`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27965906_2" (
"rnd" real,
"circuit" text,
"gt_winning_car" text,
"ss_winning_car" text,
"a_winning_car" text,
"b_winning_car" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the b winning car for #88 team mitsubishi 88 mitsubishi starion`:
```sql
|
SELECT "gt_winning_car" FROM "table1_27965906_2" WHERE "a_winning_car"='#88 Team Mitsubishi 88 Mitsubishi Starion'; |
## Task
Generate a SQL query to answer the following question:
`Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27965906_2" (
"rnd" real,
"circuit" text,
"gt_winning_car" text,
"ss_winning_car" text,
"a_winning_car" text,
"b_winning_car" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion`:
```sql
|
SELECT "ss_winning_car" FROM "table1_27965906_2" WHERE "circuit"='Road Atlanta' AND "b_winning_car"='#35 Quantum Engineering #35 Honda CRX-Si'; |
## Task
Generate a SQL query to answer the following question:
`Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27965906_2" (
"rnd" real,
"circuit" text,
"gt_winning_car" text,
"ss_winning_car" text,
"a_winning_car" text,
"b_winning_car" text,
"report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si`:
```sql
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.