cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many losses were there when the record was 4-0?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "tar_heels_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses were there when the record was 4-0?`:
```sql
                SELECT MAX("opponents") FROM "schedule" WHERE "record"='4-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the game #7, at or versus (home or at)?`

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

CREATE TABLE "game_log" (
  "num" text,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the game #7, at or versus (home or at)?`:
```sql
                SELECT "at_vs" FROM "game_log" WHERE "num"='7';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play against in game 7?`

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

CREATE TABLE "game_log" (
  "num" text,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play against in game 7?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "num"='7';
```
## Task
Generate a SQL query to answer the following question:
`What game number had an attendance of 2813?`

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

CREATE TABLE "game_log" (
  "num" text,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game number had an attendance of 2813?`:
```sql
                SELECT "num" FROM "game_log" WHERE "attendance"=2813;
```
## Task
Generate a SQL query to answer the following question:
`What day did the play game number 9?`

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

CREATE TABLE "table1_20746062_1" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "thundering_herd_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day did the play game number 9?`:
```sql
                SELECT "date" FROM "table1_20746062_1" WHERE "game"=9;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game when they were 2-1?`

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

CREATE TABLE "table1_20746062_1" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "thundering_herd_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game when they were 2-1?`:
```sql
                SELECT "result" FROM "table1_20746062_1" WHERE "record"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the Bruins had 41 points?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the Bruins had 41 points?`:
```sql
                SELECT "record" FROM "schedule" WHERE "bruins_points"=41;
```
## Task
Generate a SQL query to answer the following question:
`What was the date for game 9?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date for game 9?`:
```sql
                SELECT "date" FROM "schedule" WHERE "game"=9;
```
## Task
Generate a SQL query to answer the following question:
`What game did the Bruins have 56 points?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game did the Bruins have 56 points?`:
```sql
                SELECT MAX("game") FROM "schedule" WHERE "bruins_points"=56;
```
## Task
Generate a SQL query to answer the following question:
`What is the total of played where lost equals 4 and drawn equals 1?`

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

CREATE TABLE "table1_20760802_1" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of played where lost equals 4 and drawn equals 1?`:
```sql
                SELECT "played" FROM "table1_20760802_1" WHERE "lost"='4' AND "drawn"='1';
```
## Task
Generate a SQL query to answer the following question:
`How many drawn are there where the Club is new ross?`

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

CREATE TABLE "table1_20760802_1" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many drawn are there where the Club is new ross?`:
```sql
                SELECT "drawn" FROM "table1_20760802_1" WHERE "club"='New Ross';
```
## Task
Generate a SQL query to answer the following question:
`How may drawn equal points against at 129?`

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

CREATE TABLE "table1_20760802_1" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How may drawn equal points against at 129?`:
```sql
                SELECT "drawn" FROM "table1_20760802_1" WHERE "points_against"='129';
```
## Task
Generate a SQL query to answer the following question:
`How many points differ from 134?`

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

CREATE TABLE "table1_20760802_1" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points differ from 134?`:
```sql
                SELECT "points_difference" FROM "table1_20760802_1" WHERE "points_for"='134';
```
## Task
Generate a SQL query to answer the following question:
`How many of the points difference lost equal 10?`

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

CREATE TABLE "table1_20760802_1" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the points difference lost equal 10?`:
```sql
                SELECT "points_difference" FROM "table1_20760802_1" WHERE "lost"='10';
```
## Task
Generate a SQL query to answer the following question:
`How many teams that played won 0 games?`

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

CREATE TABLE "table1_20760802_1" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams that played won 0 games?`:
```sql
                SELECT "played" FROM "table1_20760802_1" WHERE "won"='0';
```
## Task
Generate a SQL query to answer the following question:
`What are the public schools with a master's university?`

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

CREATE TABLE "institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_2009" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the public schools with a master's university?`:
```sql
                SELECT "location_s" FROM "institutions" WHERE "control"='Public' AND "type"='Master''s university';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum enrollment for Plainfield?`

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

CREATE TABLE "institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_2009" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum enrollment for Plainfield?`:
```sql
                SELECT MIN("enrollment_2009") FROM "institutions" WHERE "location_s"='Plainfield';
```
## Task
Generate a SQL query to answer the following question:
`What type of school had an enrollment in 2009 of 224?`

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

CREATE TABLE "institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_2009" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What type of school had an enrollment in 2009 of 224?`:
```sql
                SELECT "type" FROM "institutions" WHERE "enrollment_2009"=224;
```
## Task
Generate a SQL query to answer the following question:
`When was Southern Vermont College founded?`

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

CREATE TABLE "institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_2009" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was Southern Vermont College founded?`:
```sql
                SELECT MAX("founded") FROM "institutions" WHERE "school"='Southern Vermont College';
```
## Task
Generate a SQL query to answer the following question:
`Is art school public or private?`

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

CREATE TABLE "institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_2009" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `Is art school public or private?`:
```sql
                SELECT "control" FROM "institutions" WHERE "type"='Art school';
```
## Task
Generate a SQL query to answer the following question:
`What school was founded in 1791?`

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

CREATE TABLE "institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_2009" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What school was founded in 1791?`:
```sql
                SELECT "school" FROM "institutions" WHERE "founded"=1791;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of spring enrollment for sioux falls seminary`

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

CREATE TABLE "active_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_spring_2012" real,
  "founded" real,
  "accreditation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of spring enrollment for sioux falls seminary`:
```sql
                SELECT COUNT("enrollment_spring_2012") FROM "active_institutions" WHERE "school"='Sioux Falls Seminary';
```
## Task
Generate a SQL query to answer the following question:
`Name the accrediatation for southeast technical institute`

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

CREATE TABLE "active_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_spring_2012" real,
  "founded" real,
  "accreditation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the accrediatation for southeast technical institute`:
```sql
                SELECT "accreditation" FROM "active_institutions" WHERE "school"='Southeast Technical Institute';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of founded for yankton`

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

CREATE TABLE "active_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "enrollment_spring_2012" real,
  "founded" real,
  "accreditation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of founded for yankton`:
```sql
                SELECT COUNT("founded") FROM "active_institutions" WHERE "location_s"='Yankton';
```
## Task
Generate a SQL query to answer the following question:
`What is the Italian word for the English word "otter"?`

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

CREATE TABLE "central_and_southern_calabrian" (
  "central_southern_calabrian" text,
  "phonetic_greek" text,
  "italian" text,
  "french" text,
  "english" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Italian word for the English word "otter"?`:
```sql
                SELECT "italian" FROM "central_and_southern_calabrian" WHERE "english"='otter';
```
## Task
Generate a SQL query to answer the following question:
`How many French words does zinnapòtamu in Central-Southern Calabrian translate to?`

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

CREATE TABLE "central_and_southern_calabrian" (
  "central_southern_calabrian" text,
  "phonetic_greek" text,
  "italian" text,
  "french" text,
  "english" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many French words does zinnapòtamu in Central-Southern Calabrian translate to?`:
```sql
                SELECT COUNT("french") FROM "central_and_southern_calabrian" WHERE "central_southern_calabrian"='zinnapòtamu';
```
## Task
Generate a SQL query to answer the following question:
`What is the French translation for the English word "orange"?`

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

CREATE TABLE "central_and_southern_calabrian" (
  "central_southern_calabrian" text,
  "phonetic_greek" text,
  "italian" text,
  "french" text,
  "english" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the French translation for the English word "orange"?`:
```sql
                SELECT "french" FROM "central_and_southern_calabrian" WHERE "english"='orange';
```
## Task
Generate a SQL query to answer the following question:
`What is the Italian word for "orange" in English?`

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

CREATE TABLE "central_and_southern_calabrian" (
  "central_southern_calabrian" text,
  "phonetic_greek" text,
  "italian" text,
  "french" text,
  "english" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Italian word for "orange" in English?`:
```sql
                SELECT "italian" FROM "central_and_southern_calabrian" WHERE "english"='orange';
```
## Task
Generate a SQL query to answer the following question:
`How many Phonetic Greek words translate to grenouille in French?`

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

CREATE TABLE "central_and_southern_calabrian" (
  "central_southern_calabrian" text,
  "phonetic_greek" text,
  "italian" text,
  "french" text,
  "english" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Phonetic Greek words translate to grenouille in French?`:
```sql
                SELECT COUNT("phonetic_greek") FROM "central_and_southern_calabrian" WHERE "french"='grenouille';
```
## Task
Generate a SQL query to answer the following question:
`What does the word "frog"in English translate to in Italian?`

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

CREATE TABLE "central_and_southern_calabrian" (
  "central_southern_calabrian" text,
  "phonetic_greek" text,
  "italian" text,
  "french" text,
  "english" text
);
### SQL
Given the database schema, here is the SQL query that answers `What does the word "frog"in English translate to in Italian?`:
```sql
                SELECT "italian" FROM "central_and_southern_calabrian" WHERE "english"='frog';
```
## Task
Generate a SQL query to answer the following question:
`Where are the Alexandria enrollment locations?`

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

CREATE TABLE "primarily_religious_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" text,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where are the Alexandria enrollment locations?`:
```sql
                SELECT "enrollment" FROM "primarily_religious_institutions" WHERE "location_s"='Alexandria';
```
## Task
Generate a SQL query to answer the following question:
`What is the control type which was founded in 1991?`

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

CREATE TABLE "primarily_religious_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" text,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the control type which was founded in 1991?`:
```sql
                SELECT "control" FROM "primarily_religious_institutions" WHERE "founded"='1991';
```
## Task
Generate a SQL query to answer the following question:
`What is the control type which was founded in 1818?`

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

CREATE TABLE "primarily_religious_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" text,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the control type which was founded in 1818?`:
```sql
                SELECT "control" FROM "primarily_religious_institutions" WHERE "founded"='1818';
```
## Task
Generate a SQL query to answer the following question:
`What year was Hartland College founded?`

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

CREATE TABLE "primarily_religious_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" text,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Hartland College founded?`:
```sql
                SELECT "founded" FROM "primarily_religious_institutions" WHERE "school"='Hartland College';
```
## Task
Generate a SQL query to answer the following question:
`What type of school is Cordoba University?`

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

CREATE TABLE "primarily_religious_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" text,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of school is Cordoba University?`:
```sql
                SELECT "type" FROM "primarily_religious_institutions" WHERE "school"='Cordoba University';
```
## Task
Generate a SQL query to answer the following question:
`What school is in Richmond?`

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

CREATE TABLE "primarily_religious_institutions" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" text,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school is in Richmond?`:
```sql
                SELECT "school" FROM "primarily_religious_institutions" WHERE "location_s"='Richmond';
```
## Task
Generate a SQL query to answer the following question:
`What accreditation does Hollins University have?`

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

CREATE TABLE "public_and_established_private_instituti" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" real,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What accreditation does Hollins University have?`:
```sql
                SELECT "accreditation" FROM "public_and_established_private_instituti" WHERE "school"='Hollins University';
```
## Task
Generate a SQL query to answer the following question:
`What was the largest founded year for schools having enrollment of exactly 696?`

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

CREATE TABLE "public_and_established_private_instituti" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" real,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the largest founded year for schools having enrollment of exactly 696?`:
```sql
                SELECT MAX("founded") FROM "public_and_established_private_instituti" WHERE "enrollment"='696';
```
## Task
Generate a SQL query to answer the following question:
`What is the control for Christopher Newport University?`

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

CREATE TABLE "public_and_established_private_instituti" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" real,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the control for Christopher Newport University?`:
```sql
                SELECT "control" FROM "public_and_established_private_instituti" WHERE "school"='Christopher Newport University';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of schools founded that have an enrollment of 5634?`

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

CREATE TABLE "public_and_established_private_instituti" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" real,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of schools founded that have an enrollment of 5634?`:
```sql
                SELECT COUNT("founded") FROM "public_and_established_private_instituti" WHERE "enrollment"='5634';
```
## Task
Generate a SQL query to answer the following question:
`What type of school is Stratford University?`

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

CREATE TABLE "public_and_established_private_instituti" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" real,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of school is Stratford University?`:
```sql
                SELECT "type" FROM "public_and_established_private_instituti" WHERE "school"='Stratford University';
```
## Task
Generate a SQL query to answer the following question:
`What type of school is Jefferson College of Health Sciences?`

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

CREATE TABLE "public_and_established_private_instituti" (
  "school" text,
  "location_s" text,
  "control" text,
  "type" text,
  "accreditation" text,
  "founded" real,
  "enrollment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of school is Jefferson College of Health Sciences?`:
```sql
                SELECT "type" FROM "public_and_established_private_instituti" WHERE "school"='Jefferson College of Health Sciences';
```
## Task
Generate a SQL query to answer the following question:
`Name the nec record for 11th standing`

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

CREATE TABLE "st_francis_college_lady_terriers_northea" (
  "year" text,
  "head_coach" text,
  "regular_season_record_w_l" text,
  "nec_record" text,
  "standing" text,
  "nec_tournament_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nec record for 11th standing`:
```sql
                SELECT "nec_record" FROM "st_francis_college_lady_terriers_northea" WHERE "standing"='11th';
```
## Task
Generate a SQL query to answer the following question:
`Name the year for standing 9th`

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

CREATE TABLE "st_francis_college_lady_terriers_northea" (
  "year" text,
  "head_coach" text,
  "regular_season_record_w_l" text,
  "nec_record" text,
  "standing" text,
  "nec_tournament_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for standing 9th`:
```sql
                SELECT "year" FROM "st_francis_college_lady_terriers_northea" WHERE "standing"='9th';
```
## Task
Generate a SQL query to answer the following question:
`Name the year for t-10th`

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

CREATE TABLE "st_francis_college_lady_terriers_northea" (
  "year" text,
  "head_coach" text,
  "regular_season_record_w_l" text,
  "nec_record" text,
  "standing" text,
  "nec_tournament_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for t-10th`:
```sql
                SELECT "year" FROM "st_francis_college_lady_terriers_northea" WHERE "standing"='T-10th';
```
## Task
Generate a SQL query to answer the following question:
`Name the regular season record for standing 11th`

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

CREATE TABLE "st_francis_college_lady_terriers_northea" (
  "year" text,
  "head_coach" text,
  "regular_season_record_w_l" text,
  "nec_record" text,
  "standing" text,
  "nec_tournament_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the regular season record for standing 11th`:
```sql
                SELECT "regular_season_record_w_l" FROM "st_francis_college_lady_terriers_northea" WHERE "standing"='11th';
```
## Task
Generate a SQL query to answer the following question:
`Name the most previous br number`

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

CREATE TABLE "departmental_service" (
  "number" text,
  "previous_br_no" real,
  "taken_into_deptal_stock" real,
  "withdrawn" real,
  "disposal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most previous br number`:
```sql
                SELECT MAX("previous_br_no") FROM "departmental_service";
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of previous br number for number 21`

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

CREATE TABLE "departmental_service" (
  "number" text,
  "previous_br_no" real,
  "taken_into_deptal_stock" real,
  "withdrawn" real,
  "disposal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of previous br number for number 21`:
```sql
                SELECT COUNT("previous_br_no") FROM "departmental_service" WHERE "number"='21';
```
## Task
Generate a SQL query to answer the following question:
`What country uses the title Marele Câștigător The Big Winner?`

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

CREATE TABLE "table1_20780285_1" (
  "country_region" text,
  "title" text,
  "television_network" text,
  "winners" text,
  "presenters" text,
  "trainers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country uses the title Marele Câștigător The Big Winner?`:
```sql
                SELECT "country_region" FROM "table1_20780285_1" WHERE "title"='Marele câștigător The Big Winner';
```
## Task
Generate a SQL query to answer the following question:
`Silvio Santos is the presenter in what country?`

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

CREATE TABLE "table1_20780285_1" (
  "country_region" text,
  "title" text,
  "television_network" text,
  "winners" text,
  "presenters" text,
  "trainers" text
);
### SQL
Given the database schema, here is the SQL query that answers `Silvio Santos is the presenter in what country?`:
```sql
                SELECT "country_region" FROM "table1_20780285_1" WHERE "presenters"='Silvio Santos';
```
## Task
Generate a SQL query to answer the following question:
`What is the home town of David Noel?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "height" text,
  "weight" real,
  "position" text,
  "year" text,
  "home_town" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home town of David Noel?`:
```sql
                SELECT "home_town" FROM "roster" WHERE "name"='David Noel';
```
## Task
Generate a SQL query to answer the following question:
`What is the high school for the player who's hometown is Blue Island, Il?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "height" text,
  "weight" real,
  "position" text,
  "year" text,
  "home_town" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the high school for the player who's hometown is Blue Island, Il?`:
```sql
                SELECT "high_school" FROM "roster" WHERE "home_town"='Blue Island, IL';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player who's hometown is North Babylon, NY?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "height" text,
  "weight" real,
  "position" text,
  "year" text,
  "home_town" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player who's hometown is North Babylon, NY?`:
```sql
                SELECT "position" FROM "roster" WHERE "home_town"='North Babylon, NY';
```
## Task
Generate a SQL query to answer the following question:
`What position is the player from Chapel Hill, NC?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "height" text,
  "weight" real,
  "position" text,
  "year" text,
  "home_town" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position is the player from Chapel Hill, NC?`:
```sql
                SELECT "position" FROM "roster" WHERE "home_town"='Chapel Hill, NC';
```
## Task
Generate a SQL query to answer the following question:
`What is the height of the player from Gulfport, MS?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "height" text,
  "weight" real,
  "position" text,
  "year" text,
  "home_town" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the height of the player from Gulfport, MS?`:
```sql
                SELECT "height" FROM "roster" WHERE "home_town"='Gulfport, MS';
```
## Task
Generate a SQL query to answer the following question:
`In what county did McCain get 57.8%?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamanum" real,
  "obamapct" text,
  "mc_cainnum" real,
  "mc_cainpct" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what county did McCain get 57.8%?`:
```sql
                SELECT "county" FROM "by_county" WHERE "mc_cainpct"='57.8%';
```
## Task
Generate a SQL query to answer the following question:
`How many figures are given for McCain's % in Davidson county?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamanum" real,
  "obamapct" text,
  "mc_cainnum" real,
  "mc_cainpct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many figures are given for McCain's % in Davidson county?`:
```sql
                SELECT COUNT("mc_cainpct") FROM "by_county" WHERE "county"='DAVIDSON';
```
## Task
Generate a SQL query to answer the following question:
`What percentage did Obama get in Rutherford county?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamanum" real,
  "obamapct" text,
  "mc_cainnum" real,
  "mc_cainpct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage did Obama get in Rutherford county?`:
```sql
                SELECT "obamapct" FROM "by_county" WHERE "county"='RUTHERFORD';
```
## Task
Generate a SQL query to answer the following question:
`What percentage did McCain get in Hamilton county?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamanum" real,
  "obamapct" text,
  "mc_cainnum" real,
  "mc_cainpct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage did McCain get in Hamilton county?`:
```sql
                SELECT "mc_cainpct" FROM "by_county" WHERE "county"='HAMILTON';
```
## Task
Generate a SQL query to answer the following question:
`What percentage did Obama get when McCain got 52.8%?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamanum" real,
  "obamapct" text,
  "mc_cainnum" real,
  "mc_cainpct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage did Obama get when McCain got 52.8%?`:
```sql
                SELECT "obamapct" FROM "by_county" WHERE "mc_cainpct"='52.8%';
```
## Task
Generate a SQL query to answer the following question:
`How many votes did Obama get in Lake County?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamanum" real,
  "obamapct" text,
  "mc_cainnum" real,
  "mc_cainpct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes did Obama get in Lake County?`:
```sql
                SELECT MIN("obamanum") FROM "by_county" WHERE "county"='LAKE';
```
## Task
Generate a SQL query to answer the following question:
`In how many counties did McCain get 65.72% of the votes?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real
);
### SQL
Given the database schema, here is the SQL query that answers `In how many counties did McCain get 65.72% of the votes?`:
```sql
                SELECT COUNT("county") FROM "by_county" WHERE "mc_cainpct"='65.72%';
```
## Task
Generate a SQL query to answer the following question:
`How many people voted for Obama in the county where McCain got 72.75% of the votes?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people voted for Obama in the county where McCain got 72.75% of the votes?`:
```sql
                SELECT MIN("obamanum") FROM "by_county" WHERE "mc_cainpct"='72.75%';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of the votes did McCain get in Hinds?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of the votes did McCain get in Hinds?`:
```sql
                SELECT "mc_cainpct" FROM "by_county" WHERE "county"='Hinds';
```
## Task
Generate a SQL query to answer the following question:
`How many votes did McCain get in Scott?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes did McCain get in Scott?`:
```sql
                SELECT MIN("mc_cainnum") FROM "by_county" WHERE "county"='Scott';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of the votes in Tippah did Obama get?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of the votes in Tippah did Obama get?`:
```sql
                SELECT "obamapct" FROM "by_county" WHERE "county"='Tippah';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of the votes in Copiah did McCain get?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of the votes in Copiah did McCain get?`:
```sql
                SELECT "mc_cainpct" FROM "by_county" WHERE "county"='Copiah';
```
## Task
Generate a SQL query to answer the following question:
`When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?`

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

CREATE TABLE "fares" (
  "type_of_fare" text,
  "cash_fare" text,
  "day_pass" text,
  "31_day_pass" text,
  "monthly_pass" text
);
### SQL
Given the database schema, here is the SQL query that answers `When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?`:
```sql
                SELECT COUNT("type_of_fare") FROM "fares" WHERE "31_day_pass"='N/A' AND "cash_fare"='N/A';
```
## Task
Generate a SQL query to answer the following question:
`When fixed route is the type of fare how much is the 31-day pass?`

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

CREATE TABLE "fares" (
  "type_of_fare" text,
  "cash_fare" text,
  "day_pass" text,
  "31_day_pass" text,
  "monthly_pass" text
);
### SQL
Given the database schema, here is the SQL query that answers `When fixed route is the type of fare how much is the 31-day pass?`:
```sql
                SELECT "31_day_pass" FROM "fares" WHERE "type_of_fare"='Fixed Route';
```
## Task
Generate a SQL query to answer the following question:
`When mega pass* (senior/disabled) is the type of fare what is the cash fare?`

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

CREATE TABLE "fares" (
  "type_of_fare" text,
  "cash_fare" text,
  "day_pass" text,
  "31_day_pass" text,
  "monthly_pass" text
);
### SQL
Given the database schema, here is the SQL query that answers `When mega pass* (senior/disabled) is the type of fare what is the cash fare?`:
```sql
                SELECT "cash_fare" FROM "fares" WHERE "type_of_fare"='Mega Pass* (Senior/Disabled)';
```
## Task
Generate a SQL query to answer the following question:
`When mega pass* (senior/disabled) is the type of fare what is the day pass?`

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

CREATE TABLE "fares" (
  "type_of_fare" text,
  "cash_fare" text,
  "day_pass" text,
  "31_day_pass" text,
  "monthly_pass" text
);
### SQL
Given the database schema, here is the SQL query that answers `When mega pass* (senior/disabled) is the type of fare what is the day pass?`:
```sql
                SELECT "day_pass" FROM "fares" WHERE "type_of_fare"='Mega Pass* (Senior/Disabled)';
```
## Task
Generate a SQL query to answer the following question:
`When  fort irwin-barstow/victorville is the type of fare what is the cash fare?`

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

CREATE TABLE "fares" (
  "type_of_fare" text,
  "cash_fare" text,
  "day_pass" text,
  "31_day_pass" text,
  "monthly_pass" text
);
### SQL
Given the database schema, here is the SQL query that answers `When  fort irwin-barstow/victorville is the type of fare what is the cash fare?`:
```sql
                SELECT "cash_fare" FROM "fares" WHERE "type_of_fare"='Fort Irwin-Barstow/Victorville';
```
## Task
Generate a SQL query to answer the following question:
`Where total goals is 1 and total apps is 33, what is the smallest no.?`

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

CREATE TABLE "player_statistics" (
  "no" real,
  "player" text,
  "league_apps" real,
  "league_goals" real,
  "cup_apps" real,
  "cup_goals" real,
  "total_apps" real,
  "total_goals" real,
  "yc" real,
  "rc" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where total goals is 1 and total apps is 33, what is the smallest no.?`:
```sql
                SELECT MIN("no") FROM "player_statistics" WHERE "total_goals"=1 AND "total_apps"=33;
```
## Task
Generate a SQL query to answer the following question:
`What is every residential monthly usage if large power demand is 6.86?`

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

CREATE TABLE "table1_2082992_5" (
  "city_utility" text,
  "residential_monthly_usage_1000_k_wh" text,
  "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
  "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text,
  "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every residential monthly usage if large power demand is 6.86?`:
```sql
                SELECT "residential_monthly_usage_1000_k_wh" FROM "table1_2082992_5" WHERE "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct"='6.86';
```
## Task
Generate a SQL query to answer the following question:
`How many values for small power demand occur when medium power demand is 11.07?`

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

CREATE TABLE "table1_2082992_5" (
  "city_utility" text,
  "residential_monthly_usage_1000_k_wh" text,
  "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
  "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text,
  "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values for small power demand occur when medium power demand is 11.07?`:
```sql
                SELECT COUNT("small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct") FROM "table1_2082992_5" WHERE "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct"='11.07';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for large power demand when small power demand is 13.41?`

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

CREATE TABLE "table1_2082992_5" (
  "city_utility" text,
  "residential_monthly_usage_1000_k_wh" text,
  "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
  "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text,
  "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for large power demand when small power demand is 13.41?`:
```sql
                SELECT "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct" FROM "table1_2082992_5" WHERE "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct"='13.41';
```
## Task
Generate a SQL query to answer the following question:
`What is every city with a residential monthly usage of 11.80?`

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

CREATE TABLE "table1_2082992_5" (
  "city_utility" text,
  "residential_monthly_usage_1000_k_wh" text,
  "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
  "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text,
  "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every city with a residential monthly usage of 11.80?`:
```sql
                SELECT "city_utility" FROM "table1_2082992_5" WHERE "residential_monthly_usage_1000_k_wh"='11.80';
```