output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "hebrew" FROM "table1_26919_6" WHERE "arabic"='tisʕ-'; |
## Task
Generate a SQL query to answer the following question:
`Name the hebrew for tisʕ-`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26919_6" (
"english" text,
"proto_semitic" text,
"ipa" text,
"arabic" text,
"hebrew" text,
"tigrinya" text,
"sabaean" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the hebrew for tisʕ-`:
```sql
|
SELECT COUNT("tigrinya") FROM "table1_26919_6" WHERE "arabic"='χams-'; |
## Task
Generate a SQL query to answer the following question:
`Name the tigrinya for χams-`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26919_6" (
"english" text,
"proto_semitic" text,
"ipa" text,
"arabic" text,
"hebrew" text,
"tigrinya" text,
"sabaean" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tigrinya for χams-`:
```sql
|
SELECT "hebrew" FROM "table1_26919_6" WHERE "proto_semitic"='*tišʻ-'; |
## Task
Generate a SQL query to answer the following question:
`Name the hebrew for *tišʻ-`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26919_6" (
"english" text,
"proto_semitic" text,
"ipa" text,
"arabic" text,
"hebrew" text,
"tigrinya" text,
"sabaean" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the hebrew for *tišʻ-`:
```sql
|
SELECT "arabic" FROM "table1_26919_6" WHERE "tigrinya"='ħamuʃte'; |
## Task
Generate a SQL query to answer the following question:
`Name the arabic for ħamuʃte`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26919_6" (
"english" text,
"proto_semitic" text,
"ipa" text,
"arabic" text,
"hebrew" text,
"tigrinya" text,
"sabaean" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the arabic for ħamuʃte`:
```sql
|
SELECT "sabaean" FROM "table1_26919_6" WHERE "arabic"='sabʕ-'; |
## Task
Generate a SQL query to answer the following question:
`Name the sabaean for sabʕ-`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26919_6" (
"english" text,
"proto_semitic" text,
"ipa" text,
"arabic" text,
"hebrew" text,
"tigrinya" text,
"sabaean" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sabaean for sabʕ-`:
```sql
|
SELECT "incoming_manager" FROM "managerial_changes" WHERE "date_of_vacancy"='21 March 2011'; |
## Task
Generate a SQL query to answer the following question:
`Who is the incoming manager when the date of vacancy was 21 march 2011?`
### 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,
"incoming_manager" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the incoming manager when the date of vacancy was 21 march 2011?`:
```sql
|
SELECT "position_in_table" FROM "managerial_changes" WHERE "date_of_vacancy"='4 January 2011'; |
## Task
Generate a SQL query to answer the following question:
`What is the position in table when the date of vacancy was 4 january 2011?`
### 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,
"incoming_manager" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position in table when the date of vacancy was 4 january 2011?`:
```sql
|
SELECT "team" FROM "managerial_changes" WHERE "incoming_manager"='Martin Allen'; |
## Task
Generate a SQL query to answer the following question:
`What is the team when the incoming manager is martin allen?`
### 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,
"incoming_manager" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team when the incoming manager is martin allen?`:
```sql
|
SELECT "incoming_manager" FROM "managerial_changes" WHERE "date_of_appointment"='9 March 2011'; |
## Task
Generate a SQL query to answer the following question:
`Who is the incoming manager when the date of appointment is 9 march 2011?`
### 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,
"incoming_manager" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the incoming manager when the date of appointment is 9 march 2011?`:
```sql
|
SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='23 March 2011'; |
## Task
Generate a SQL query to answer the following question:
`What is the team when the date of appointment is 23 march 2011?`
### 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,
"incoming_manager" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team when the date of appointment is 23 march 2011?`:
```sql
|
SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='11 June 2010'; |
## Task
Generate a SQL query to answer the following question:
`what is the date of appointment 11 june 2010?`
### 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,
"incoming_manager" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date of appointment 11 june 2010?`:
```sql
|
SELECT "depth" FROM "list_of_aftershocks" WHERE "time_utc"='12:19:36'; |
## Task
Generate a SQL query to answer the following question:
`What is the depth at the UTC time of 12:19:36?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "list_of_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the depth at the UTC time of 12:19:36?`:
```sql
|
SELECT "date_yyyy_mm_dd" FROM "list_of_aftershocks" WHERE "time_utc"='03:15:46'; |
## Task
Generate a SQL query to answer the following question:
`What is the date for the UTC time of 03:15:46?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "list_of_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date for the UTC time of 03:15:46?`:
```sql
|
SELECT "title" FROM "table1_26952212_1" WHERE "no_in_total"='30'; |
## Task
Generate a SQL query to answer the following question:
`What is the title for episode number 30?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26952212_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title for episode number 30?`:
```sql
|
SELECT "no_in_series" FROM "table1_26952212_1" WHERE "title"='\"Beauty and the Beast\"'; |
## Task
Generate a SQL query to answer the following question:
`What is the number in series of the episode titled "beauty and the beast"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26952212_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number in series of the episode titled "beauty and the beast"?`:
```sql
|
SELECT "no_in_series" FROM "table1_26952212_1" WHERE "title"='\"Crossroads\"'; |
## Task
Generate a SQL query to answer the following question:
`What is the number in series for the episode title "crossroads"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26952212_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number in series for the episode title "crossroads"?`:
```sql
|
SELECT MAX("pct_identity_to_c7orf38") FROM "orthologs" WHERE "genus_species"='Mus musculus'; |
## Task
Generate a SQL query to answer the following question:
`What is the % identity to C7orf38 of the animal whose genus & species is Mus Musculus?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "orthologs" (
"common_name" text,
"genus_species" text,
"ncbi_accession_number" text,
"length_aa" real,
"pct_identity_to_c7orf38" real,
"pct_similarity_to_c7orf38" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the % identity to C7orf38 of the animal whose genus & species is Mus Musculus?`:
```sql
|
SELECT MIN("length_aa") FROM "orthologs" WHERE "ncbi_accession_number"='CAM15594.1'; |
## Task
Generate a SQL query to answer the following question:
`What is the length (AA) of the animal whose NCBI accession number is CAM15594.1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "orthologs" (
"common_name" text,
"genus_species" text,
"ncbi_accession_number" text,
"length_aa" real,
"pct_identity_to_c7orf38" real,
"pct_similarity_to_c7orf38" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the length (AA) of the animal whose NCBI accession number is CAM15594.1?`:
```sql
|
SELECT MAX("pct_similarity_to_c7orf38") FROM "orthologs" WHERE "pct_identity_to_c7orf38"=81; |
## Task
Generate a SQL query to answer the following question:
`What is the % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "orthologs" (
"common_name" text,
"genus_species" text,
"ncbi_accession_number" text,
"length_aa" real,
"pct_identity_to_c7orf38" real,
"pct_similarity_to_c7orf38" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81?`:
```sql
|
SELECT "common_name" FROM "orthologs" WHERE "length_aa"=1323; |
## Task
Generate a SQL query to answer the following question:
`What is the common name of the animal whose length (AA) is 1323?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "orthologs" (
"common_name" text,
"genus_species" text,
"ncbi_accession_number" text,
"length_aa" real,
"pct_identity_to_c7orf38" real,
"pct_similarity_to_c7orf38" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the common name of the animal whose length (AA) is 1323?`:
```sql
|
SELECT MIN("pct_identity_to_c7orf38") FROM "orthologs" WHERE "common_name"='Rat'; |
## Task
Generate a SQL query to answer the following question:
`What is the % identity to C7orf38 of the animal whose common name is rat?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "orthologs" (
"common_name" text,
"genus_species" text,
"ncbi_accession_number" text,
"length_aa" real,
"pct_identity_to_c7orf38" real,
"pct_similarity_to_c7orf38" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the % identity to C7orf38 of the animal whose common name is rat?`:
```sql
|
SELECT "genus_species" FROM "orthologs" WHERE "ncbi_accession_number"='XP_002439156.1'; |
## Task
Generate a SQL query to answer the following question:
`What is the genus & species of the animal whose accession number is XP_002439156.1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "orthologs" (
"common_name" text,
"genus_species" text,
"ncbi_accession_number" text,
"length_aa" real,
"pct_identity_to_c7orf38" real,
"pct_similarity_to_c7orf38" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the genus & species of the animal whose accession number is XP_002439156.1?`:
```sql
|
SELECT COUNT("directed_by") FROM "table1_26961951_4" WHERE "written_by"='Alison McDonald'; |
## Task
Generate a SQL query to answer the following question:
`How many episodes were written by Alison McDonald?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26961951_4" (
"no_in_series" real,
"no_in_season" 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 written by Alison McDonald?`:
```sql
|
SELECT "u_s_viewers_million" FROM "table1_26961951_4" WHERE "written_by"='Alison McDonald'; |
## Task
Generate a SQL query to answer the following question:
`How many viewers in millions did the Alison McDonald episode get?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26961951_4" (
"no_in_series" real,
"no_in_season" 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 viewers in millions did the Alison McDonald episode get?`:
```sql
|
SELECT "u_s_viewers_million" FROM "table1_26961951_4" WHERE "title"='\"Batting Practice\"'; |
## Task
Generate a SQL query to answer the following question:
`How many viewers in millions did "batting practice" get?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26961951_4" (
"no_in_series" real,
"no_in_season" 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 viewers in millions did "batting practice" get?`:
```sql
|
SELECT MIN("p_max_bar") FROM "bolt_thrust_estimations_for_various_rifl" WHERE "f_bolt_kgf"=6876; |
## Task
Generate a SQL query to answer the following question:
`What is the p max ( bar ) for the 6876 f bolt ( kgf )?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_rifl" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the p max ( bar ) for the 6876 f bolt ( kgf )?`:
```sql
|
SELECT "p1_diameter_mm" FROM "bolt_thrust_estimations_for_various_rifl" WHERE "chambering"='.300 Lapua Magnum'; |
## Task
Generate a SQL query to answer the following question:
`What is the p1 diameter (mm) when .300 lapua magnum is the chambering?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_rifl" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the p1 diameter (mm) when .300 lapua magnum is the chambering?`:
```sql
|
SELECT "chambering" FROM "bolt_thrust_estimations_for_various_rifl" WHERE "f_bolt_kgf"=8339; |
## Task
Generate a SQL query to answer the following question:
`What is the chambering for the 8339 f bolt ( kgf )?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_rifl" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the chambering for the 8339 f bolt ( kgf )?`:
```sql
|
SELECT "f_bolt" FROM "bolt_thrust_estimations_for_various_rifl" WHERE "p1_diameter_mm"='11.35'; |
## Task
Generate a SQL query to answer the following question:
`What is the f bolt for 11.35 p1 diameter (mm)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_rifl" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the f bolt for 11.35 p1 diameter (mm)?`:
```sql
|
SELECT COUNT("a_external_cm_2") FROM "bolt_thrust_estimations_for_various_rifl" WHERE "chambering"='.338 Lapua Magnum'; |
## Task
Generate a SQL query to answer the following question:
`How many external (cm 2 ) are there for the .338 lapua magnum chambering?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_rifl" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many external (cm 2 ) are there for the .338 lapua magnum chambering?`:
```sql
|
SELECT "directed_by" FROM "table1_26968451_2" WHERE "series_num"=39; |
## Task
Generate a SQL query to answer the following question:
`Who is the director for the series # 39?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26968451_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director for the series # 39?`:
```sql
|
SELECT "chambering" FROM "bolt_thrust_estimations_for_various_pist" WHERE "f_bolt"='N (lbf)' AND "p_max_bar"=3900; |
## Task
Generate a SQL query to answer the following question:
`With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_pist" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900?`:
```sql
|
SELECT "p_max_bar" FROM "bolt_thrust_estimations_for_various_pist" WHERE "p1_diameter_mm"='9.70'; |
## Task
Generate a SQL query to answer the following question:
`What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_pist" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm?`:
```sql
|
SELECT MAX("p_max_bar") FROM "bolt_thrust_estimations_for_various_pist" WHERE "chambering"='.45 ACP'; |
## Task
Generate a SQL query to answer the following question:
`What is the p max (bar) in the pistol where the chambering is .45 ACP?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_pist" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the p max (bar) in the pistol where the chambering is .45 ACP?`:
```sql
|
SELECT "p_max_bar" FROM "bolt_thrust_estimations_for_various_pist" WHERE "p1_diameter_mm"='12.09'; |
## Task
Generate a SQL query to answer the following question:
`What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bolt_thrust_estimations_for_various_pist" (
"chambering" text,
"p1_diameter_mm" text,
"a_external_cm_2" text,
"p_max_bar" real,
"f_bolt_kgf" real,
"f_bolt" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm?`:
```sql
|
SELECT "incoming_manager" FROM "managerial_changes" WHERE "date_of_appointment"='15 January 2011'; |
## Task
Generate a SQL query to answer the following question:
`Who was the incoming manager for the date of appointment of 15 january 2011?`
### 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,
"incoming_manager" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incoming manager for the date of appointment of 15 january 2011?`:
```sql
|
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "date_of_vacancy"='22 August 2010'; |
## Task
Generate a SQL query to answer the following question:
`What is the date of appointment for the date of vacancy of 22 august 2010?`
### 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,
"incoming_manager" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of appointment for the date of vacancy of 22 august 2010?`:
```sql
|
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Târgu Mureş'; |
## Task
Generate a SQL query to answer the following question:
`Who was the outgoing manager for the team of târgu mureş?`
### 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,
"incoming_manager" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the outgoing manager for the team of târgu mureş?`:
```sql
|
SELECT COUNT("date_of_appointment") FROM "managerial_changes" WHERE "date_of_vacancy"='2 October 2010'; |
## Task
Generate a SQL query to answer the following question:
`How many date of appointments are there when the date of vacancy was 2 october 2010?`
### 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,
"incoming_manager" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many date of appointments are there when the date of vacancy was 2 october 2010?`:
```sql
|
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "incoming_manager"='Laurenţiu Reghecampf'; |
## Task
Generate a SQL query to answer the following question:
`Who was the outgoing manager when the incoming manager was laurenţiu reghecampf?`
### 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,
"incoming_manager" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the outgoing manager when the incoming manager was laurenţiu reghecampf?`:
```sql
|
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Andrea Mandorlini'; |
## Task
Generate a SQL query to answer the following question:
`What was the manner of departure when the outgoing manager was andrea mandorlini?`
### 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,
"incoming_manager" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the manner of departure when the outgoing manager was andrea mandorlini?`:
```sql
|
SELECT "capacity" FROM "stadia_and_attendances" WHERE "team"='Dundee United'; |
## Task
Generate a SQL query to answer the following question:
`What is the capacity for dundee united?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"total" real,
"highest" real,
"lowest" real,
"average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the capacity for dundee united?`:
```sql
|
SELECT "total" FROM "stadia_and_attendances" WHERE "stadium"='Rugby Park'; |
## Task
Generate a SQL query to answer the following question:
`What was the total attendance at rugby park?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"total" real,
"highest" real,
"lowest" real,
"average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total attendance at rugby park?`:
```sql
|
SELECT MIN("total") FROM "stadia_and_attendances" WHERE "team"='Kilmarnock'; |
## Task
Generate a SQL query to answer the following question:
`What is the total attended for kilmarnock?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"total" real,
"highest" real,
"lowest" real,
"average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total attended for kilmarnock?`:
```sql
|
SELECT COUNT("mon_23_aug") FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "fri_27_aug"='19'' 38.87 115.219mph'; |
## Task
Generate a SQL query to answer the following question:
`How many times was the time 19' 38.87 115.219mph on Fri Aug 27?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the time 19' 38.87 115.219mph on Fri Aug 27?`:
```sql
|
SELECT "fri_27_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "tues_24_aug"='20'' 49.46 108.709mph'; |
## Task
Generate a SQL query to answer the following question:
`If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?`:
```sql
|
SELECT "sat_21_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "wed_25_aug"='—— No Time'; |
## Task
Generate a SQL query to answer the following question:
`If Wed Aug 25 is —— no time, what is Sat aug 21?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Wed Aug 25 is —— no time, what is Sat aug 21?`:
```sql
|
SELECT "sat_28_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "rank"=10; |
## Task
Generate a SQL query to answer the following question:
`If the Rank is 10, what was the time on Sat aug 28?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the Rank is 10, what was the time on Sat aug 28?`:
```sql
|
SELECT COUNT("sat_21_aug") FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "thurs_26_aug"='20'' 05.19 112.703mph'; |
## Task
Generate a SQL query to answer the following question:
`How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th?`:
```sql
|
SELECT "sat_28_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "wed_25_aug"='20'' 09.25 112.324mph'; |
## Task
Generate a SQL query to answer the following question:
`If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28?`:
```sql
|
SELECT COUNT("rank") FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "tues_24_aug"='19'' 19.83 117.110mph'; |
## Task
Generate a SQL query to answer the following question:
`How many times was tues 24 aug 19' 19.83 117.110mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was tues 24 aug 19' 19.83 117.110mph?`:
```sql
|
SELECT COUNT("sat_29_aug") FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "fri_27_aug"='19'' 38.87 115.219mph'; |
## Task
Generate a SQL query to answer the following question:
`how many time is fri 27 aug 19' 38.87 115.219mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many time is fri 27 aug 19' 38.87 115.219mph?`:
```sql
|
SELECT "wed_25_aug" FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "mon_23_aug"='26'' 57.82 89.957mph'; |
## Task
Generate a SQL query to answer the following question:
`what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?`:
```sql
|
SELECT "thurs_26_aug" FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "wed_25_aug"='19'' 59.98 113.192mph'; |
## Task
Generate a SQL query to answer the following question:
`What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?`:
```sql
|
SELECT "mon_23_aug" FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "fri_27_aug"='18'' 59.25 119.226mph'; |
## Task
Generate a SQL query to answer the following question:
`what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph?`:
```sql
|
SELECT "sat_21_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "rank"=8; |
## Task
Generate a SQL query to answer the following question:
`When 8 is the rank what is the Saturday August 21st?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_lightweight_manx_grand_prix_practic" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 8 is the rank what is the Saturday August 21st?`:
```sql
|
SELECT "tues_24_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "fri_27_aug"='20'' 58.50 107.929mph'; |
## Task
Generate a SQL query to answer the following question:
`When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_lightweight_manx_grand_prix_practic" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August?`:
```sql
|
SELECT "mon_23_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "tues_24_aug"='21'' 18.87 106.209mph'; |
## Task
Generate a SQL query to answer the following question:
`When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_lightweight_manx_grand_prix_practic" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd?`:
```sql
|
SELECT "sat_29_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "tues_24_aug"='21'' 10.25 106.930mph'; |
## Task
Generate a SQL query to answer the following question:
`When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_lightweight_manx_grand_prix_practic" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th?`:
```sql
|
SELECT "fri_27_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "wed_25_aug"='21'' 05.83 107.304mph'; |
## Task
Generate a SQL query to answer the following question:
`When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_lightweight_manx_grand_prix_practic" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th?`:
```sql
|
SELECT "mon_23_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "rider"='Tom Snow 250cc Honda'; |
## Task
Generate a SQL query to answer the following question:
`When tom snow 250cc honda is the rider what is Monday August 23rd?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_lightweight_manx_grand_prix_practic" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_29_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `When tom snow 250cc honda is the rider what is Monday August 23rd?`:
```sql
|
SELECT "directed_by" FROM "table1_26982362_2" WHERE "original_airdate"='October 8, 2010'; |
## Task
Generate a SQL query to answer the following question:
`The episode with the original airdate October 8, 2010, is directed by who?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26982362_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode with the original airdate October 8, 2010, is directed by who?`:
```sql
|
SELECT "directed_by" FROM "table1_26982362_2" WHERE "production_code"='693-004'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode with production code 693-004?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26982362_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode with production code 693-004?`:
```sql
|
SELECT COUNT("original_airdate") FROM "table1_26982362_2" WHERE "production_code"='693-002'; |
## Task
Generate a SQL query to answer the following question:
`The episode with production code 693-002, has how many original airdates?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26982362_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode with production code 693-002, has how many original airdates?`:
```sql
|
SELECT "title" FROM "table1_26982362_2" WHERE "original_airdate"='April 23, 2010'; |
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode whose original airdate is April 23, 2010?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_26982362_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode whose original airdate is April 23, 2010?`:
```sql
|
SELECT "rider" FROM "2010_newcomers_race_a_practice_times_and" WHERE "tues_24_aug"='22'' 09.44 93.840mph'; |
## Task
Generate a SQL query to answer the following question:
`Who had the time of 22' 09.44 93.840mph on Tuesday August 24th?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_newcomers_race_a_practice_times_and" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the time of 22' 09.44 93.840mph on Tuesday August 24th?`:
```sql
|
SELECT "l3_cache_mb" FROM "3500_series_bloomfield" WHERE "speed_g_hz"='2.93'; |
## Task
Generate a SQL query to answer the following question:
`What is the L3 cache for the processor having a speed of 2.93 GHz?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "3500_series_bloomfield" (
"model" text,
"speed_g_hz" text,
"l3_cache_mb" real,
"qpi_speed_gt_s" text,
"ddr3_clock_m_hz" real,
"tdp_w" real,
"cores" real,
"threads" real,
"turbo_boost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the L3 cache for the processor having a speed of 2.93 GHz?`:
```sql
|
SELECT COUNT("cores") FROM "3500_series_bloomfield" WHERE "speed_g_hz"='2.53'; |
## Task
Generate a SQL query to answer the following question:
`How many entries have a speed of exactly 2.53 GHz?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "3500_series_bloomfield" (
"model" text,
"speed_g_hz" text,
"l3_cache_mb" real,
"qpi_speed_gt_s" text,
"ddr3_clock_m_hz" real,
"tdp_w" real,
"cores" real,
"threads" real,
"turbo_boost" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries have a speed of exactly 2.53 GHz?`:
```sql
|
SELECT "speed_g_hz" FROM "3500_series_bloomfield" WHERE "model"='W3540'; |
## Task
Generate a SQL query to answer the following question:
`What is the speed of the model whose number is W3540?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "3500_series_bloomfield" (
"model" text,
"speed_g_hz" text,
"l3_cache_mb" real,
"qpi_speed_gt_s" text,
"ddr3_clock_m_hz" real,
"tdp_w" real,
"cores" real,
"threads" real,
"turbo_boost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the speed of the model whose number is W3540?`:
```sql
|
SELECT "wed_25_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "fri_27_aug"='22'' 23.97 101.065mph'; |
## Task
Generate a SQL query to answer the following question:
`What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_post_classic_senior_class_practice_" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?`:
```sql
|
SELECT "sat_21_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "thurs_26_aug"='20'' 56.01 108.143mph'; |
## Task
Generate a SQL query to answer the following question:
`What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_post_classic_senior_class_practice_" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?`:
```sql
|
SELECT "sat_21_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "tues_24_aug"='20'' 38.40 109.680mph'; |
## Task
Generate a SQL query to answer the following question:
`What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2010_post_classic_senior_class_practice_" (
"rank" real,
"rider" text,
"sat_21_aug" text,
"mon_23_aug" text,
"tues_24_aug" text,
"wed_25_aug" text,
"thurs_26_aug" text,
"fri_27_aug" text,
"sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?`:
```sql
|
SELECT "area_km" FROM "political_divisions" WHERE "population_2010"=53542; |
## Task
Generate a SQL query to answer the following question:
`Name the area for population of 53542`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "political_divisions" (
"city_municipality" text,
"no_of_s_barangay" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the area for population of 53542`:
```sql
|
SELECT "no_of_s_barangay" FROM "political_divisions" WHERE "pop_density_per_km"='205.4'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of barangay for 205.4 density`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "political_divisions" (
"city_municipality" text,
"no_of_s_barangay" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of barangay for 205.4 density`:
```sql
|
SELECT COUNT("fsb_m_hz") FROM "7100_series_tulsa" WHERE "model"='7140N'; |
## Task
Generate a SQL query to answer the following question:
`How many different FSB are there for the 7140N model?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "7100_series_tulsa" (
"model" text,
"speed_g_hz" text,
"l2_cache_mb" real,
"l3_cache_mb" real,
"fsb_m_hz" real,
"tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different FSB are there for the 7140N model?`:
```sql
|
SELECT COUNT("l2_cache_mb") FROM "7100_series_tulsa" WHERE "model"='7130M'; |
## Task
Generate a SQL query to answer the following question:
`How many different L2 cache numbers are there for the 7130M model?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "7100_series_tulsa" (
"model" text,
"speed_g_hz" text,
"l2_cache_mb" real,
"l3_cache_mb" real,
"fsb_m_hz" real,
"tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different L2 cache numbers are there for the 7130M model?`:
```sql
|
SELECT MAX("l2_cache_mb") FROM "7100_series_tulsa"; |
## Task
Generate a SQL query to answer the following question:
`What's the maximal L3 cache for any of the models given?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "7100_series_tulsa" (
"model" text,
"speed_g_hz" text,
"l2_cache_mb" real,
"l3_cache_mb" real,
"fsb_m_hz" real,
"tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the maximal L3 cache for any of the models given?`:
```sql
|
SELECT MIN("tdp_w") FROM "7100_series_tulsa" WHERE "model"='7130N'; |
## Task
Generate a SQL query to answer the following question:
`What's the TDP for the 7130N model?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "7100_series_tulsa" (
"model" text,
"speed_g_hz" text,
"l2_cache_mb" real,
"l3_cache_mb" real,
"fsb_m_hz" real,
"tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the TDP for the 7130N model?`:
```sql
|
SELECT "l2_cache_mb" FROM "7100_series_tulsa" WHERE "model"='7140N'; |
## Task
Generate a SQL query to answer the following question:
`What's the L2 cache for the 7140N model?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "7100_series_tulsa" (
"model" text,
"speed_g_hz" text,
"l2_cache_mb" real,
"l3_cache_mb" real,
"fsb_m_hz" real,
"tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the L2 cache for the 7140N model?`:
```sql
|
SELECT COUNT("cfl_team") FROM "round_four" WHERE "college"='Waterloo'; |
## Task
Generate a SQL query to answer the following question:
`what is the cfl team where college is waterloo?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the cfl team where college is waterloo?`:
```sql
|
SELECT "college" FROM "round_one" WHERE "player"='Jim Bennett'; |
## Task
Generate a SQL query to answer the following question:
`What college did Jim Bennett attend?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Jim Bennett attend?`:
```sql
|
SELECT "cfl_team" FROM "round_one" WHERE "player"='Barry Jamieson'; |
## Task
Generate a SQL query to answer the following question:
`What CFL Team was Barry Jamieson a part of?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What CFL Team was Barry Jamieson a part of?`:
```sql
|
SELECT "college" FROM "round_one" WHERE "position"='DE'; |
## Task
Generate a SQL query to answer the following question:
`What college did the player who played DE go to?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did the player who played DE go to?`:
```sql
|
SELECT MAX("pick_num") FROM "round_one" WHERE "player"='Barry Jamieson'; |
## Task
Generate a SQL query to answer the following question:
`What was Barry Jamieson's pick number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Barry Jamieson's pick number?`:
```sql
|
SELECT "college" FROM "round_one" WHERE "player"='Bob LaRose'; |
## Task
Generate a SQL query to answer the following question:
`What college did Bob Larose attend?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Bob Larose attend?`:
```sql
|
SELECT "player" FROM "round_two" WHERE "college"='British Columbia'; |
## Task
Generate a SQL query to answer the following question:
`where college is british columbia what are all the player`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `where college is british columbia what are all the player`:
```sql
|
SELECT "pick_num" FROM "round_two" WHERE "college"='St. Francis Xavier'; |
## Task
Generate a SQL query to answer the following question:
` where college is st. francis xavier what are all the pick #`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers ` where college is st. francis xavier what are all the pick #`:
```sql
|
SELECT "position" FROM "round_two" WHERE "player"='Jim Henshall'; |
## Task
Generate a SQL query to answer the following question:
`player is jim henshall what are all the position`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `player is jim henshall what are all the position`:
```sql
|
SELECT "position" FROM "round_two" WHERE "cfl_team"='Edmonton (2)'; |
## Task
Generate a SQL query to answer the following question:
`where cfl team is edmonton (2) what are all the position`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `where cfl team is edmonton (2) what are all the position`:
```sql
|
SELECT "player" FROM "round_two" WHERE "cfl_team"='Winnipeg (3) via Hamilton'; |
## Task
Generate a SQL query to answer the following question:
`where cfl team is winnipeg (3) via hamilton what are all the player`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `where cfl team is winnipeg (3) via hamilton what are all the player`:
```sql
|
SELECT COUNT("cfl_team") FROM "round_three" WHERE "college"='Mount Allison'; |
## Task
Generate a SQL query to answer the following question:
`How many CFL teams drafted someone from mount allison college?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many CFL teams drafted someone from mount allison college?`:
```sql
|
SELECT "player" FROM "round_three" WHERE "position"='OG'; |
## Task
Generate a SQL query to answer the following question:
`What player drafted was an OG?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player drafted was an OG?`:
```sql
|
SELECT "position" FROM "round_seven" WHERE "player"='Bill Simmons'; |
## Task
Generate a SQL query to answer the following question:
`What is the position of the player bill simmons?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_seven" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player bill simmons?`:
```sql
|
SELECT "position" FROM "round_seven" WHERE "cfl_team"='Saskatchewan (7)'; |
## Task
Generate a SQL query to answer the following question:
`What is the position of cfl team saskatchewan (7)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_seven" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of cfl team saskatchewan (7)?`:
```sql
|
SELECT COUNT("pick_num") FROM "round_seven" WHERE "player"='Brian Currie'; |
## Task
Generate a SQL query to answer the following question:
`How many times was player brian currie picked?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_seven" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was player brian currie picked?`:
```sql
|
SELECT "position" FROM "round_seven" WHERE "pick_num"=54; |
## Task
Generate a SQL query to answer the following question:
`What position was pick # 54?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_seven" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was pick # 54?`:
```sql
|
SELECT "pick_num" FROM "round_seven" WHERE "cfl_team"='BC Lions (7)'; |
## Task
Generate a SQL query to answer the following question:
`What is the pick # of cfl team bc lions (7)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_seven" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick # of cfl team bc lions (7)`:
```sql
|
SELECT "college" FROM "round_seven" WHERE "player"='Terry Moss'; |
## Task
Generate a SQL query to answer the following question:
`What is the college where player terry moss attended?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_seven" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the college where player terry moss attended?`:
```sql
|
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Kasımpaşa'; |
## Task
Generate a SQL query to answer the following question:
`What is the outgoing manager for the team kasımpaşa?`
### 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,
"replaced_by" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the outgoing manager for the team kasımpaşa?`:
```sql
|
SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='27 December 2010'; |
## Task
Generate a SQL query to answer the following question:
`Who is the replaced by when the date of vacancy is 27 december 2010?`
### 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,
"replaced_by" text,
"date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the replaced by when the date of vacancy is 27 december 2010?`:
```sql
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.