cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`what's the condition with bleeding time being unaffected and prothrombin time being prolonged`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the condition with bleeding time being unaffected and prothrombin time being prolonged`:
```sql
                SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='Unaffected' AND "prothrombin_time"='Prolonged';
```
## Task
Generate a SQL query to answer the following question:
`what's the bleeding time with platelet count being decreased and prothrombin time being prolonged`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the bleeding time with platelet count being decreased and prothrombin time being prolonged`:
```sql
                SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased' AND "prothrombin_time"='Prolonged';
```
## Task
Generate a SQL query to answer the following question:
`what's the bleeding time with partial thromboplastin time being unaffected and condition being liver failure , early`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the bleeding time with partial thromboplastin time being unaffected and condition being liver failure , early`:
```sql
                SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='Unaffected' AND "condition"='Liver failure , early';
```
## Task
Generate a SQL query to answer the following question:
`How many of the elected officials are on the Economic Matters committee?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_members_of_the_howard_county_del" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the elected officials are on the Economic Matters committee?`:
```sql
                SELECT COUNT("first_elected") FROM "current_members_of_the_howard_county_del" WHERE "committee"='Economic Matters';
```
## Task
Generate a SQL query to answer the following question:
`Name the delegate first elected in 2003?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_members_of_the_howard_county_del" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the delegate first elected in 2003?`:
```sql
                SELECT "delegate" FROM "current_members_of_the_howard_county_del" WHERE "first_elected"=2003;
```
## Task
Generate a SQL query to answer the following question:
`What are the counties represented in District 12.1 12a?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_members_of_the_howard_county_del" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the counties represented in District 12.1 12a?`:
```sql
                SELECT "counties_represented" FROM "current_members_of_the_howard_county_del" WHERE "district"='12.1 12A';
```
## Task
Generate a SQL query to answer the following question:
`Which country has a delegate who was first elected in 2006?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_members_of_the_howard_county_del" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a delegate who was first elected in 2006?`:
```sql
                SELECT "counties_represented" FROM "current_members_of_the_howard_county_del" WHERE "first_elected"=2006;
```
## Task
Generate a SQL query to answer the following question:
`Who are the foreign players representing Ekaterinburg?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "teams" (
  "previous_season" text,
  "team" text,
  "town" text,
  "arena_capacity" text,
  "website" text,
  "head_coach" text,
  "foreign_players_max_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the foreign players representing Ekaterinburg?`:
```sql
                SELECT "foreign_players_max_2" FROM "teams" WHERE "town"='Ekaterinburg';
```
## Task
Generate a SQL query to answer the following question:
`What town is Volleyball Sportiv Complex (3 500) located in?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "teams" (
  "previous_season" text,
  "team" text,
  "town" text,
  "arena_capacity" text,
  "website" text,
  "head_coach" text,
  "foreign_players_max_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What town is Volleyball Sportiv Complex (3 500) located in?`:
```sql
                SELECT "town" FROM "teams" WHERE "arena_capacity"='Volleyball Sportiv Complex (3 500)';
```
## Task
Generate a SQL query to answer the following question:
`What arena was season 6 played at?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "teams" (
  "previous_season" text,
  "team" text,
  "town" text,
  "arena_capacity" text,
  "website" text,
  "head_coach" text,
  "foreign_players_max_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What arena was season 6 played at?`:
```sql
                SELECT "arena_capacity" FROM "teams" WHERE "previous_season"='6';
```
## Task
Generate a SQL query to answer the following question:
`Who was the head coach in season 2?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "teams" (
  "previous_season" text,
  "team" text,
  "town" text,
  "arena_capacity" text,
  "website" text,
  "head_coach" text,
  "foreign_players_max_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the head coach in season 2?`:
```sql
                SELECT "head_coach" FROM "teams" WHERE "previous_season"='2';
```
## Task
Generate a SQL query to answer the following question:
`On what circuit was the City of Ipswich 400 race  held?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "race_calendar" (
  "rd" real,
  "race_title" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "winner" text,
  "team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what circuit was the City of Ipswich 400 race  held?`:
```sql
                SELECT "circuit" FROM "race_calendar" WHERE "race_title"='City of Ipswich 400';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner on the Symmons Plains Raceway?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "race_calendar" (
  "rd" real,
  "race_title" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "winner" text,
  "team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner on the Symmons Plains Raceway?`:
```sql
                SELECT "winner" FROM "race_calendar" WHERE "circuit"='Symmons Plains Raceway';
```
## Task
Generate a SQL query to answer the following question:
`What were the dates for Round 8?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "race_calendar" (
  "rd" real,
  "race_title" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "winner" text,
  "team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the dates for Round 8?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "rd"=8;
```
## Task
Generate a SQL query to answer the following question:
`What was the number of rounds on the Hidden Valley Raceway?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "race_calendar" (
  "rd" real,
  "race_title" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "winner" text,
  "team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of rounds on the Hidden Valley Raceway?`:
```sql
                SELECT COUNT("rd") FROM "race_calendar" WHERE "circuit"='Hidden Valley Raceway';
```
## Task
Generate a SQL query to answer the following question:
`What round was held at the Queensland Raceway?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "race_calendar" (
  "rd" real,
  "race_title" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "winner" text,
  "team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round was held at the Queensland Raceway?`:
```sql
                SELECT "rd" FROM "race_calendar" WHERE "circuit"='Queensland Raceway';
```
## Task
Generate a SQL query to answer the following question:
`what the highest number for the opposite of offense for the green bay packers`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "nfl_defensive_players_of_the_year" (
  "year" real,
  "player_name" text,
  "nfl_team" text,
  "position" text,
  "team_defense_rank" real,
  "team_performance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what the highest number for the opposite of offense for the green bay packers`:
```sql
                SELECT MAX("team_defense_rank") FROM "nfl_defensive_players_of_the_year" WHERE "nfl_team"='Green Bay Packers';
```
## Task
Generate a SQL query to answer the following question:
`How many counties have an area of 1,205.4 km2?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404414_2" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many counties have an area of 1,205.4 km2?`:
```sql
                SELECT COUNT("code") FROM "table1_1404414_2" WHERE "area_km_2"='1,205.4';
```
## Task
Generate a SQL query to answer the following question:
`What capital has a population of 596268?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404414_2" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `What capital has a population of 596268?`:
```sql
                SELECT "capital" FROM "table1_1404414_2" WHERE "population_census_2009"=596268;
```
## Task
Generate a SQL query to answer the following question:
`what's the capital with area (km 2 ) being 12,245.9`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404456_1" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the capital with area (km 2 ) being 12,245.9`:
```sql
                SELECT "capital" FROM "table1_1404456_1" WHERE "area_km_2"='12,245.9';
```
## Task
Generate a SQL query to answer the following question:
`what's the former province with area (km 2 ) being 12,245.9`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404456_1" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the former province with area (km 2 ) being 12,245.9`:
```sql
                SELECT "former_province" FROM "table1_1404456_1" WHERE "area_km_2"='12,245.9';
```
## Task
Generate a SQL query to answer the following question:
` how many capital with population census 2009 being 284657`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404456_1" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many capital with population census 2009 being 284657`:
```sql
                SELECT COUNT("capital") FROM "table1_1404456_1" WHERE "population_census_2009"=284657;
```
## Task
Generate a SQL query to answer the following question:
`what's the area (km 2 ) with population census 2009 being 939370`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404456_1" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the area (km 2 ) with population census 2009 being 939370`:
```sql
                SELECT "area_km_2" FROM "table1_1404456_1" WHERE "population_census_2009"=939370;
```
## Task
Generate a SQL query to answer the following question:
`what is the minimum code with area (km 2 ) being 12,245.9`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404456_1" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the minimum code with area (km 2 ) being 12,245.9`:
```sql
                SELECT MIN("code") FROM "table1_1404456_1" WHERE "area_km_2"='12,245.9';
```
## Task
Generate a SQL query to answer the following question:
`what's the county with code being 2`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1404456_1" (
  "code" real,
  "county" text,
  "former_province" text,
  "area_km_2" text,
  "population_census_2009" real,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the county with code being 2`:
```sql
                SELECT "county" FROM "table1_1404456_1" WHERE "code"=2;
```
## Task
Generate a SQL query to answer the following question:
`In what year did Tom Sneva win a race?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1405704_1" (
  "season" real,
  "race_name" text,
  "winning_driver" text,
  "chassis" text,
  "engine" text,
  "tires" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year did Tom Sneva win a race?`:
```sql
                SELECT "season" FROM "table1_1405704_1" WHERE "winning_driver"='Tom Sneva';
```
## Task
Generate a SQL query to answer the following question:
`What kind of chassis did a winning car with a Foyt engine have in 1979?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1405704_1" (
  "season" real,
  "race_name" text,
  "winning_driver" text,
  "chassis" text,
  "engine" text,
  "tires" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of chassis did a winning car with a Foyt engine have in 1979?`:
```sql
                SELECT "chassis" FROM "table1_1405704_1" WHERE "season"=1979 AND "engine"='Foyt';
```
## Task
Generate a SQL query to answer the following question:
`What team does Al Unser drive for?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1405704_1" (
  "season" real,
  "race_name" text,
  "winning_driver" text,
  "chassis" text,
  "engine" text,
  "tires" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team does Al Unser drive for?`:
```sql
                SELECT "team" FROM "table1_1405704_1" WHERE "winning_driver"='Al Unser';
```
## Task
Generate a SQL query to answer the following question:
`What team has a vehicle with an Offenhauser engine and a McLaren chassis?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1405704_1" (
  "season" real,
  "race_name" text,
  "winning_driver" text,
  "chassis" text,
  "engine" text,
  "tires" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has a vehicle with an Offenhauser engine and a McLaren chassis?`:
```sql
                SELECT "team" FROM "table1_1405704_1" WHERE "chassis"='McLaren' AND "engine"='Offenhauser';
```
## Task
Generate a SQL query to answer the following question:
`What team raced with a Foyt engine in the Texas Grand Prix?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_1405704_1" (
  "season" real,
  "race_name" text,
  "winning_driver" text,
  "chassis" text,
  "engine" text,
  "tires" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team raced with a Foyt engine in the Texas Grand Prix?`:
```sql
                SELECT "team" FROM "table1_1405704_1" WHERE "race_name"='Texas Grand Prix' AND "engine"='Foyt';
```
## Task
Generate a SQL query to answer the following question:
`What network is virtual channel 9.1 linked to?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "broadcast" (
  "call_sign" text,
  "analog_channel" text,
  "digital_channel" text,
  "virtual_channel" text,
  "network" text,
  "station_ownership" text
);
### SQL
Given the database schema, here is the SQL query that answers `What network is virtual channel 9.1 linked to?`:
```sql
                SELECT "network" FROM "broadcast" WHERE "virtual_channel"='9.1';
```
## Task
Generate a SQL query to answer the following question:
`Who owns the station on channel 33.3?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "broadcast" (
  "call_sign" text,
  "analog_channel" text,
  "digital_channel" text,
  "virtual_channel" text,
  "network" text,
  "station_ownership" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who owns the station on channel 33.3?`:
```sql
                SELECT "station_ownership" FROM "broadcast" WHERE "virtual_channel"='33.3';
```
## Task
Generate a SQL query to answer the following question:
`What is JCTV's digital channel?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "broadcast" (
  "call_sign" text,
  "analog_channel" text,
  "digital_channel" text,
  "virtual_channel" text,
  "network" text,
  "station_ownership" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is JCTV's digital channel?`:
```sql
                SELECT "digital_channel" FROM "broadcast" WHERE "network"='JCTV';
```
## Task
Generate a SQL query to answer the following question:
`What is channel 33.7's official call sign?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "broadcast" (
  "call_sign" text,
  "analog_channel" text,
  "digital_channel" text,
  "virtual_channel" text,
  "network" text,
  "station_ownership" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is channel 33.7's official call sign?`:
```sql
                SELECT "call_sign" FROM "broadcast" WHERE "virtual_channel"='33.7';
```
## Task
Generate a SQL query to answer the following question:
`What is HSN's official virtual channel in Minneapolis-St. Paul?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "broadcast" (
  "call_sign" text,
  "analog_channel" text,
  "digital_channel" text,
  "virtual_channel" text,
  "network" text,
  "station_ownership" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is HSN's official virtual channel in Minneapolis-St. Paul?`:
```sql
                SELECT "virtual_channel" FROM "broadcast" WHERE "network"='HSN';
```
## Task
Generate a SQL query to answer the following question:
`How many stations own Bounce TV?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "broadcast" (
  "call_sign" text,
  "analog_channel" text,
  "digital_channel" text,
  "virtual_channel" text,
  "network" text,
  "station_ownership" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many stations own Bounce TV?`:
```sql
                SELECT COUNT("station_ownership") FROM "broadcast" WHERE "network"='Bounce TV';
```
## Task
Generate a SQL query to answer the following question:
`How many points were made when the tries for was 83?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points were made when the tries for was 83?`:
```sql
                SELECT "points" FROM "2009_2010_table" WHERE "tries_for"='83';
```
## Task
Generate a SQL query to answer the following question:
`How many points are there when the lost is 7?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points are there when the lost is 7?`:
```sql
                SELECT "points_for" FROM "2009_2010_table" WHERE "lost"='7';
```
## Task
Generate a SQL query to answer the following question:
`What is the losing bonus when the points are 24?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the losing bonus when the points are 24?`:
```sql
                SELECT "losing_bonus" FROM "2009_2010_table" WHERE "points"='24';
```
## Task
Generate a SQL query to answer the following question:
`How many losing points does Llandudno RFC have?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many losing points does Llandudno RFC have?`:
```sql
                SELECT "losing_bonus" FROM "2009_2010_table" WHERE "club"='Llandudno RFC';
```
## Task
Generate a SQL query to answer the following question:
`What is the try bonus for Ruthin RFC?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the try bonus for Ruthin RFC?`:
```sql
                SELECT "try_bonus" FROM "2009_2010_table" WHERE "club"='Ruthin RFC';
```
## Task
Generate a SQL query to answer the following question:
` how many tries against with lost being 11`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many tries against with lost being 11`:
```sql
                SELECT COUNT("tries_against") FROM "2008_2009_table" WHERE "lost"='11';
```
## Task
Generate a SQL query to answer the following question:
`what's the won with try bonus being 12`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the won with try bonus being 12`:
```sql
                SELECT "won" FROM "2008_2009_table" WHERE "try_bonus"='12';
```
## Task
Generate a SQL query to answer the following question:
`what's the drawn with lost being 4`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the drawn with lost being 4`:
```sql
                SELECT "drawn" FROM "2008_2009_table" WHERE "lost"='4';
```
## Task
Generate a SQL query to answer the following question:
`what's the points against with lost being 13`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the points against with lost being 13`:
```sql
                SELECT "points_against" FROM "2008_2009_table" WHERE "lost"='13';
```
## Task
Generate a SQL query to answer the following question:
`what's the points against with won being 11`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the points against with won being 11`:
```sql
                SELECT "points_against" FROM "2008_2009_table" WHERE "won"='11';
```
## Task
Generate a SQL query to answer the following question:
`what's the drawn with points for being 350`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the drawn with points for being 350`:
```sql
                SELECT "drawn" FROM "2008_2009_table" WHERE "points_for"='350';
```
## Task
Generate a SQL query to answer the following question:
` how many points for with points against being 177`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2007_2008_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many points for with points against being 177`:
```sql
                SELECT COUNT("points_for") FROM "2007_2008_table" WHERE "points_against"='177';
```
## Task
Generate a SQL query to answer the following question:
`what's the lost with club being colwyn bay rfc`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2007_2008_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the lost with club being colwyn bay rfc`:
```sql
                SELECT "lost" FROM "2007_2008_table" WHERE "club"='Colwyn Bay RFC';
```
## Task
Generate a SQL query to answer the following question:
`what's the won with tries for being 84`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2007_2008_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the won with tries for being 84`:
```sql
                SELECT "won" FROM "2007_2008_table" WHERE "tries_for"='84';
```
## Task
Generate a SQL query to answer the following question:
`what's the won with points for being 596`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2007_2008_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the won with points for being 596`:
```sql
                SELECT "won" FROM "2007_2008_table" WHERE "points_for"='596';
```
## Task
Generate a SQL query to answer the following question:
`what's the points for with lost being 4`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2007_2008_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the points for with lost being 4`:
```sql
                SELECT "points_for" FROM "2007_2008_table" WHERE "lost"='4';
```
## Task
Generate a SQL query to answer the following question:
`what's the won with points for being 643`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2007_2008_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the won with points for being 643`:
```sql
                SELECT "won" FROM "2007_2008_table" WHERE "points_for"='643';
```
## Task
Generate a SQL query to answer the following question:
`What is the Telugu word for хонгорцог in Mongolian?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "names_in_modern_languages" (
  "num" real,
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Telugu word for хонгорцог in Mongolian?`:
```sql
                SELECT "telugu" FROM "names_in_modern_languages" WHERE "mongolian"='Хонгорцог';
```
## Task
Generate a SQL query to answer the following question:
`What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "names_in_modern_languages" (
  "num" real,
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada?`:
```sql
                SELECT "malayalam" FROM "names_in_modern_languages" WHERE "kannada"='Punarvasu ಪುನರ್ವಸು';
```
## Task
Generate a SQL query to answer the following question:
`What is the Malayalam word that is listed as #10 in the table?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "names_in_modern_languages" (
  "num" real,
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Malayalam word that is listed as #10 in the table?`:
```sql
                SELECT "malayalam" FROM "names_in_modern_languages" WHERE "num"=10;
```
## Task
Generate a SQL query to answer the following question:
`tell the score when the times gone was 75`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `tell the score when the times gone was 75`:
```sql
                SELECT "points_against" FROM "2008_2009_table" WHERE "tries_against"='75';
```
## Task
Generate a SQL query to answer the following question:
`was the the score when the tries was 743`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `was the the score when the tries was 743`:
```sql
                SELECT "points_against" FROM "2008_2009_table" WHERE "points_for"='743';
```
## Task
Generate a SQL query to answer the following question:
`tell how many wins there was when the score was 490`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `tell how many wins there was when the score was 490`:
```sql
                SELECT COUNT("won") FROM "2008_2009_table" WHERE "points_for"='490';
```
## Task
Generate a SQL query to answer the following question:
`how many extra points were there when the score was 48`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many extra points were there when the score was 48`:
```sql
                SELECT "try_bonus" FROM "2008_2009_table" WHERE "points"='48';
```
## Task
Generate a SQL query to answer the following question:
`what was the extra score when the overall score was 52`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what was the extra score when the overall score was 52`:
```sql
                SELECT "losing_bonus" FROM "2008_2009_table" WHERE "tries_for"='52';
```
## Task
Generate a SQL query to answer the following question:
`what was the score when the extras were 6`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what was the score when the extras were 6`:
```sql
                SELECT "points" FROM "2008_2009_table" WHERE "try_bonus"='6';
```
## Task
Generate a SQL query to answer the following question:
`What country's capital is buenos aires?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_14098_1" (
  "country_or_territory_with_flag" text,
  "area_km_per_sqmi" text,
  "population_july_2009_est" real,
  "population_density_per_km" text,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country's capital is buenos aires?`:
```sql
                SELECT "country_or_territory_with_flag" FROM "table1_14098_1" WHERE "capital"='Buenos Aires';
```
## Task
Generate a SQL query to answer the following question:
`What unit of measurement for uruguay?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_14098_1" (
  "country_or_territory_with_flag" text,
  "area_km_per_sqmi" text,
  "population_july_2009_est" real,
  "population_density_per_km" text,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `What unit of measurement for uruguay?`:
```sql
                SELECT "area_km_per_sqmi" FROM "table1_14098_1" WHERE "country_or_territory_with_flag"='Uruguay';
```
## Task
Generate a SQL query to answer the following question:
`What country'c capital is santiago?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_14098_1" (
  "country_or_territory_with_flag" text,
  "area_km_per_sqmi" text,
  "population_july_2009_est" real,
  "population_density_per_km" text,
  "capital" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country'c capital is santiago?`:
```sql
                SELECT "country_or_territory_with_flag" FROM "table1_14098_1" WHERE "capital"='Santiago';
```
## Task
Generate a SQL query to answer the following question:
`who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "cast" (
  "character_name" text,
  "voice_actor_japanese" text,
  "voice_actor_english_1997_saban" text,
  "voice_actor_english_1998_pioneer" text,
  "voice_actor_english_2006_fu_nimation" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin`:
```sql
                SELECT "voice_actor_english_1998_pioneer" FROM "cast" WHERE "voice_actor_english_1997_saban"='Alec Willows' AND "voice_actor_english_2006_fu_nimation"='Andy McAvin';
```
## Task
Generate a SQL query to answer the following question:
`what's the character name with voice actor (englbeingh 1997 / saban) being ian james corlett`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "cast" (
  "character_name" text,
  "voice_actor_japanese" text,
  "voice_actor_english_1997_saban" text,
  "voice_actor_english_1998_pioneer" text,
  "voice_actor_english_2006_fu_nimation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the character name with voice actor (englbeingh 1997 / saban) being ian james corlett`:
```sql
                SELECT "character_name" FROM "cast" WHERE "voice_actor_english_1997_saban"='Ian James Corlett';
```
## Task
Generate a SQL query to answer the following question:
`what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "cast" (
  "character_name" text,
  "voice_actor_japanese" text,
  "voice_actor_english_1997_saban" text,
  "voice_actor_english_1998_pioneer" text,
  "voice_actor_english_2006_fu_nimation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson`:
```sql
                SELECT "character_name" FROM "cast" WHERE "voice_actor_english_1998_pioneer"='Paul Dobson';
```
## Task
Generate a SQL query to answer the following question:
` how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "cast" (
  "character_name" text,
  "voice_actor_japanese" text,
  "voice_actor_english_1997_saban" text,
  "voice_actor_english_1998_pioneer" text,
  "voice_actor_english_2006_fu_nimation" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi`:
```sql
                SELECT COUNT("voice_actor_english_1998_pioneer") FROM "cast" WHERE "voice_actor_japanese"='Shinobu Satouchi';
```
## Task
Generate a SQL query to answer the following question:
`who is the the voice actor (japanese) with character name being goku`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "cast" (
  "character_name" text,
  "voice_actor_japanese" text,
  "voice_actor_english_1997_saban" text,
  "voice_actor_english_1998_pioneer" text,
  "voice_actor_english_2006_fu_nimation" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the voice actor (japanese) with character name being goku`:
```sql
                SELECT "voice_actor_japanese" FROM "cast" WHERE "character_name"='Goku';
```
## Task
Generate a SQL query to answer the following question:
`how many big wins does peru state college have`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "college_sports" (
  "school" text,
  "mascot" text,
  "conference" text,
  "national_titles" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many big wins does peru state college have`:
```sql
                SELECT COUNT("national_titles") FROM "college_sports" WHERE "school"='Peru State College';
```
## Task
Generate a SQL query to answer the following question:
`which school has 14 large championships`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "college_sports" (
  "school" text,
  "mascot" text,
  "conference" text,
  "national_titles" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `which school has 14 large championships`:
```sql
                SELECT "school" FROM "college_sports" WHERE "national_titles"=14;
```
## Task
Generate a SQL query to answer the following question:
`how many overall championships does concordia university have`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "college_sports" (
  "school" text,
  "mascot" text,
  "conference" text,
  "national_titles" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many overall championships does concordia university have`:
```sql
                SELECT MIN("national_titles") FROM "college_sports" WHERE "school"='Concordia University';
```
## Task
Generate a SQL query to answer the following question:
`what's the duration with mission being sts-87`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "use" (
  "edo_flight" real,
  "shuttle" text,
  "mission" text,
  "launch_date" text,
  "duration" text,
  "primary_payload_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the duration with mission being sts-87`:
```sql
                SELECT "duration" FROM "use" WHERE "mission"='STS-87';
```