cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which Conference has a City of boca raton, and a School of florida atlantic university?`

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

CREATE TABLE "list_of_sports_teams_in_florida" (
  "school" text,
  "nickname" text,
  "city" text,
  "affiliation" text,
  "conference" text,
  "national_championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Conference has a City of boca raton, and a School of florida atlantic university?`:
```sql
                SELECT "conference" FROM "list_of_sports_teams_in_florida" WHERE "city"='boca raton' AND "school"='florida atlantic university';
```
## Task
Generate a SQL query to answer the following question:
`Which School has a National Championships of 2, and a City of orlando?`

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

CREATE TABLE "list_of_sports_teams_in_florida" (
  "school" text,
  "nickname" text,
  "city" text,
  "affiliation" text,
  "conference" text,
  "national_championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which School has a National Championships of 2, and a City of orlando?`:
```sql
                SELECT "school" FROM "list_of_sports_teams_in_florida" WHERE "national_championships"=2 AND "city"='orlando';
```
## Task
Generate a SQL query to answer the following question:
`Which school has National Championships smaller than 2, and a Nickname of lions?`

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

CREATE TABLE "list_of_sports_teams_in_florida" (
  "school" text,
  "nickname" text,
  "city" text,
  "affiliation" text,
  "conference" text,
  "national_championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which school has National Championships smaller than 2, and a Nickname of lions?`:
```sql
                SELECT "school" FROM "list_of_sports_teams_in_florida" WHERE "national_championships"<2 AND "nickname"='lions';
```
## Task
Generate a SQL query to answer the following question:
`What is the win percentage when 2011 shows 1r in the Paris tournament?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the win percentage when 2011 shows 1r in the Paris tournament?`:
```sql
                SELECT "win_pct" FROM "singles_performance_timeline" WHERE "2011"='1r' AND "tournament"='paris';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2009 when 25 shows for 2011?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2009 when 25 shows for 2011?`:
```sql
                SELECT "2009" FROM "singles_performance_timeline" WHERE "2011"='25';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2010 when 2011 is 1r at the US Open tournament?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2010 when 2011 is 1r at the US Open tournament?`:
```sql
                SELECT "2010" FROM "singles_performance_timeline" WHERE "2011"='1r' AND "tournament"='us open';
```
## Task
Generate a SQL query to answer the following question:
`What is the win percentage when 2010 was 98?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the win percentage when 2010 was 98?`:
```sql
                SELECT "win_pct" FROM "singles_performance_timeline" WHERE "2010"='98';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2008 at the Shanghai tournament?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2008 at the Shanghai tournament?`:
```sql
                SELECT "2008" FROM "singles_performance_timeline" WHERE "tournament"='shanghai';
```
## Task
Generate a SQL query to answer the following question:
`What is the win percentage for the 2012 of olympic games?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the win percentage for the 2012 of olympic games?`:
```sql
                SELECT "win_pct" FROM "singles_performance_timeline" WHERE "2012"='olympic games';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in the match that lasted 1:22?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent in the match that lasted 1:22?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:22';
```
## Task
Generate a SQL query to answer the following question:
`Which round did the bout against Jonatas Novaes end in?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round did the bout against Jonatas Novaes end in?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='jonatas novaes';
```
## Task
Generate a SQL query to answer the following question:
`Name the average established for championships less than 1 and club of erie seawolves`

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

CREATE TABLE "sports" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average established for championships less than 1 and club of erie seawolves`:
```sql
                SELECT AVG("established") FROM "sports" WHERE "championships"<1 AND "club"='erie seawolves';
```
## Task
Generate a SQL query to answer the following question:
`Name the most championships for club of erie seawolves`

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

CREATE TABLE "sports" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most championships for club of erie seawolves`:
```sql
                SELECT MAX("championships") FROM "sports" WHERE "club"='erie seawolves';
```
## Task
Generate a SQL query to answer the following question:
`Name the sport with championships less than 1 and club of erie bayhawks`

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

CREATE TABLE "sports" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sport with championships less than 1 and club of erie bayhawks`:
```sql
                SELECT "sport" FROM "sports" WHERE "championships"<1 AND "club"='erie bayhawks';
```
## Task
Generate a SQL query to answer the following question:
`what is the date for game 3?`

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

CREATE TABLE "summary" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date for game 3?`:
```sql
                SELECT "date" FROM "summary" WHERE "game"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the English title of 餓狼伝説バトルアーカイブズ２?`

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

CREATE TABLE "titles_in_the_neo_geo_online_collection_" (
  "vol" text,
  "english_title" text,
  "japanese_title" text,
  "release_date_japan" text,
  "sony_catalog_no" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English title of 餓狼伝説バトルアーカイブズ２?`:
```sql
                SELECT "english_title" FROM "titles_in_the_neo_geo_online_collection_" WHERE "japanese_title"='餓狼伝説バトルアーカイブズ２';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when there was a loss of Francisco (1-1)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when there was a loss of Francisco (1-1)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='francisco (1-1)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the attendance 17,136?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the attendance 17,136?`:
```sql
                SELECT "date" FROM "game_log" WHERE "attendance"='17,136';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "score"='6-5' AND "loss"='white (2-1)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for the game that had an attendance of 41,087?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for the game that had an attendance of 41,087?`:
```sql
                SELECT "score" FROM "game_log" WHERE "attendance"='41,087';
```
## Task
Generate a SQL query to answer the following question:
`When the game had a loss of Koch (0-1) what was the attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the game had a loss of Koch (0-1) what was the attendance?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "loss"='koch (0-1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the inegi code for mexicali with 13,700 km area?`

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

CREATE TABLE "list_of_mexican_municipalities" (
  "inegi_code" real,
  "municipality" text,
  "municipal_seat" text,
  "population_2010" real,
  "area_km2" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the inegi code for mexicali with 13,700 km area?`:
```sql
                SELECT AVG("inegi_code") FROM "list_of_mexican_municipalities" WHERE "municipal_seat"='mexicali' AND "area_km2">'13,700';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the away game when the team has a league position of 9th?`

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

CREATE TABLE "premier_league" (
  "date" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real,
  "league_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the away game when the team has a league position of 9th?`:
```sql
                SELECT "date" FROM "premier_league" WHERE "h_a"='a' AND "league_position"='9th';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has an Attendance larger than 13,175 and a Record of 18-16?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has an Attendance larger than 13,175 and a Record of 18-16?`:
```sql
                SELECT "score" FROM "game_log" WHERE "attendance">'13,175' AND "record"='18-16';
```
## Task
Generate a SQL query to answer the following question:
`On May 17, what is the highest Attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On May 17, what is the highest Attendance?`:
```sql
                SELECT MAX("attendance") FROM "game_log" WHERE "date"='may 17';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of points for the Modena Team Spa after 1991?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of points for the Modena Team Spa after 1991?`:
```sql
                SELECT MAX("points") FROM "complete_formula_one_results" WHERE "entrant"='modena team spa' AND "year">1991;
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest year for the Ligier Gitanes?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest year for the Ligier Gitanes?`:
```sql
                SELECT MIN("year") FROM "complete_formula_one_results" WHERE "entrant"='ligier gitanes';
```
## Task
Generate a SQL query to answer the following question:
`Which company or product was invested in by peter jones with more than £35,000 requested ?`

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

CREATE TABLE "series_5" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" real,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which company or product was invested in by peter jones with more than £35,000 requested ?`:
```sql
                SELECT "company_or_product_name" FROM "series_5" WHERE "money_requested">'35,000' AND "investing_dragon_s"='peter jones';
```
## Task
Generate a SQL query to answer the following question:
`In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ?`

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

CREATE TABLE "series_5" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" real,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ?`:
```sql
                SELECT MAX("money_requested") FROM "series_5" WHERE "episode"='episode 7' AND "entrepreneur_s"='jerry mantalvanos & paul merker';
```
## Task
Generate a SQL query to answer the following question:
`How much money did reestore request ?`

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

CREATE TABLE "series_5" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" real,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money did reestore request ?`:
```sql
                SELECT "money_requested" FROM "series_5" WHERE "company_or_product_name"='reestore';
```
## Task
Generate a SQL query to answer the following question:
`How much money did gaming alerts ask for?`

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

CREATE TABLE "series_5" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" real,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money did gaming alerts ask for?`:
```sql
                SELECT COUNT("money_requested") FROM "series_5" WHERE "company_or_product_name"='gaming alerts';
```
## Task
Generate a SQL query to answer the following question:
`Who is the winner of the prize of €93,000?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the winner of the prize of €93,000?`:
```sql
                SELECT "winner" FROM "european_poker_tour" WHERE "prize"='€93,000';
```
## Task
Generate a SQL query to answer the following question:
`Who is the winner of the prize of £200,000 as listed?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the winner of the prize of £200,000 as listed?`:
```sql
                SELECT "winner" FROM "european_poker_tour" WHERE "prize"='£200,000';
```
## Task
Generate a SQL query to answer the following question:
`Ram Vaswani was a winner on what date?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `Ram Vaswani was a winner on what date?`:
```sql
                SELECT "date" FROM "european_poker_tour" WHERE "winner"='ram vaswani';
```
## Task
Generate a SQL query to answer the following question:
`Which race resulted in 2nd place in the 1996 season on 20-Jan-1996?`

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

CREATE TABLE "race_podiums" (
  "season" real,
  "date" text,
  "location" text,
  "race" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which race resulted in 2nd place in the 1996 season on 20-Jan-1996?`:
```sql
                SELECT "race" FROM "race_podiums" WHERE "place"='2nd' AND "season"=1996 AND "date"='20-jan-1996';
```
## Task
Generate a SQL query to answer the following question:
`What is the place result of the downhill race before the 1996 season on 11-Mar-1995?`

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

CREATE TABLE "race_podiums" (
  "season" real,
  "date" text,
  "location" text,
  "race" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place result of the downhill race before the 1996 season on 11-Mar-1995?`:
```sql
                SELECT "place" FROM "race_podiums" WHERE "race"='downhill' AND "season"<1996 AND "date"='11-mar-1995';
```
## Task
Generate a SQL query to answer the following question:
`What place result was the 1996 season at Lake Louise, Canada?`

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

CREATE TABLE "race_podiums" (
  "season" real,
  "date" text,
  "location" text,
  "race" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place result was the 1996 season at Lake Louise, Canada?`:
```sql
                SELECT "place" FROM "race_podiums" WHERE "season"=1996 AND "location"='lake louise, canada';
```
## Task
Generate a SQL query to answer the following question:
`What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "home"='detroit red wings' AND "score"='1–2' AND "date"='december 29';
```
## Task
Generate a SQL query to answer the following question:
`Whose Visitor has a Record of 10–11–5?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Whose Visitor has a Record of 10–11–5?`:
```sql
                SELECT "visitor" FROM "regular_season" WHERE "record"='10–11–5';
```
## Task
Generate a SQL query to answer the following question:
`What is the typical match smaller than 2?`

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

CREATE TABLE "season" (
  "rank" real,
  "player" text,
  "county" text,
  "tally" text,
  "total" real,
  "matches" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the typical match smaller than 2?`:
```sql
                SELECT AVG("average") FROM "season" WHERE "matches"<2;
```
## Task
Generate a SQL query to answer the following question:
`What are the total number of matches smaller than 2 with a tally of 1-19?`

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

CREATE TABLE "season" (
  "rank" real,
  "player" text,
  "county" text,
  "tally" text,
  "total" real,
  "matches" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the total number of matches smaller than 2 with a tally of 1-19?`:
```sql
                SELECT COUNT("total") FROM "season" WHERE "tally"='1-19' AND "matches"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the average total in the county of tipperary with a rank less than 1?`

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

CREATE TABLE "season" (
  "rank" real,
  "player" text,
  "county" text,
  "tally" text,
  "total" real,
  "matches" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average total in the county of tipperary with a rank less than 1?`:
```sql
                SELECT COUNT("average") FROM "season" WHERE "county"='tipperary' AND "rank"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the Qual with less than 68 laps?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Qual with less than 68 laps?`:
```sql
                SELECT "qual" FROM "indy_500_results" WHERE "laps"<68;
```
## Task
Generate a SQL query to answer the following question:
`The 147.481 Qual, happened in what year?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `The 147.481 Qual, happened in what year?`:
```sql
                SELECT "year" FROM "indy_500_results" WHERE "qual"='147.481';
```
## Task
Generate a SQL query to answer the following question:
`Name the being for having things of language, religions, work, customs, values, norms?`

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

CREATE TABLE "classification_of_needs" (
  "need" text,
  "being_qualities" text,
  "having_things" text,
  "doing_actions" text,
  "interacting_settings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the being for having things of language, religions, work, customs, values, norms?`:
```sql
                SELECT "being_qualities" FROM "classification_of_needs" WHERE "having_things"='language, religions, work, customs, values, norms';
```
## Task
Generate a SQL query to answer the following question:
`Name the having things for privacy, intimate spaces of togetherness`

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

CREATE TABLE "classification_of_needs" (
  "need" text,
  "being_qualities" text,
  "having_things" text,
  "doing_actions" text,
  "interacting_settings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the having things for privacy, intimate spaces of togetherness`:
```sql
                SELECT "having_things" FROM "classification_of_needs" WHERE "interacting_settings"='privacy, intimate spaces of togetherness';
```
## Task
Generate a SQL query to answer the following question:
`Name the interacting for need of protection`

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

CREATE TABLE "classification_of_needs" (
  "need" text,
  "being_qualities" text,
  "having_things" text,
  "doing_actions" text,
  "interacting_settings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the interacting for need of protection`:
```sql
                SELECT "interacting_settings" FROM "classification_of_needs" WHERE "need"='protection';
```
## Task
Generate a SQL query to answer the following question:
`Name the interacting settings for co-operate, plan, take care of, help`

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

CREATE TABLE "classification_of_needs" (
  "need" text,
  "being_qualities" text,
  "having_things" text,
  "doing_actions" text,
  "interacting_settings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the interacting settings for co-operate, plan, take care of, help`:
```sql
                SELECT "interacting_settings" FROM "classification_of_needs" WHERE "doing_actions"='co-operate, plan, take care of, help';
```
## Task
Generate a SQL query to answer the following question:
`Name the being qualities for having things of language, religions, work, customs, values, norms`

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

CREATE TABLE "classification_of_needs" (
  "need" text,
  "being_qualities" text,
  "having_things" text,
  "doing_actions" text,
  "interacting_settings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the being qualities for having things of language, religions, work, customs, values, norms`:
```sql
                SELECT "being_qualities" FROM "classification_of_needs" WHERE "having_things"='language, religions, work, customs, values, norms';
```
## Task
Generate a SQL query to answer the following question:
`Name the being qualities for having things of friendships, family, relationships with nature`

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

CREATE TABLE "classification_of_needs" (
  "need" text,
  "being_qualities" text,
  "having_things" text,
  "doing_actions" text,
  "interacting_settings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the being qualities for having things of friendships, family, relationships with nature`:
```sql
                SELECT "being_qualities" FROM "classification_of_needs" WHERE "having_things"='friendships, family, relationships with nature';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for the game that went 2:42?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "time" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for the game that went 2:42?`:
```sql
                SELECT MAX("attendance") FROM "game_log" WHERE "time"='2:42';
```
## Task
Generate a SQL query to answer the following question:
`How many laps for sébastien bourdais, and a Grid smaller than 1?`

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

CREATE TABLE "race" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps for sébastien bourdais, and a Grid smaller than 1?`:
```sql
                SELECT SUM("laps") FROM "race" WHERE "name"='sébastien bourdais' AND "grid"<1;
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the match against Kim Tiilikainen?`

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

CREATE TABLE "challenger_and_futures_runner_up_5" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the match against Kim Tiilikainen?`:
```sql
                SELECT "score" FROM "challenger_and_futures_runner_up_5" WHERE "opponent"='kim tiilikainen';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the match against Jean-Julien Rojer, on a clay surface?`

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

CREATE TABLE "challenger_and_futures_runner_up_5" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the match against Jean-Julien Rojer, on a clay surface?`:
```sql
                SELECT "date" FROM "challenger_and_futures_runner_up_5" WHERE "surface"='clay' AND "opponent"='jean-julien rojer';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament had a hard surface?`

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

CREATE TABLE "challenger_and_futures_runner_up_5" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament had a hard surface?`:
```sql
                SELECT "tournament" FROM "challenger_and_futures_runner_up_5" WHERE "surface"='hard';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog?`

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

CREATE TABLE "doubles_5_13" (
  "outcome" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog?`:
```sql
                SELECT "surface" FROM "doubles_5_13" WHERE "outcome"='runner-up' AND "score"='julia görges polona hercog';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface of the match when the score was akgul amanmuradova chuang chia-jung?`

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

CREATE TABLE "doubles_5_13" (
  "outcome" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface of the match when the score was akgul amanmuradova chuang chia-jung?`:
```sql
                SELECT "surface" FROM "doubles_5_13" WHERE "score"='akgul amanmuradova chuang chia-jung';
```
## Task
Generate a SQL query to answer the following question:
`What date was the surface hard and Eva Hrdinová was the opponent?`

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

CREATE TABLE "doubles_5_13" (
  "outcome" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the surface hard and Eva Hrdinová was the opponent?`:
```sql
                SELECT "date" FROM "doubles_5_13" WHERE "surface"='hard' AND "opponent"='eva hrdinová';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface of the match against bethanie mattek-sands?`

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

CREATE TABLE "doubles_5_13" (
  "outcome" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface of the match against bethanie mattek-sands?`:
```sql
                SELECT "surface" FROM "doubles_5_13" WHERE "opponent"='bethanie mattek-sands';
```
## Task
Generate a SQL query to answer the following question:
`What series 1 has a Doug Richards in Series 2?`

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

CREATE TABLE "the_dragons" (
  "series_1" text,
  "series_2" text,
  "series_3" text,
  "series_5" text,
  "series_9" text,
  "series_11" text
);
### SQL
Given the database schema, here is the SQL query that answers `What series 1 has a Doug Richards in Series 2?`:
```sql
                SELECT "series_1" FROM "the_dragons" WHERE "series_2"='doug richards';
```
## Task
Generate a SQL query to answer the following question:
`Who in series 1 corresponds with Peter Jones in series 5?`

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

CREATE TABLE "the_dragons" (
  "series_1" text,
  "series_2" text,
  "series_3" text,
  "series_5" text,
  "series_9" text,
  "series_11" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who in series 1 corresponds with Peter Jones in series 5?`:
```sql
                SELECT "series_1" FROM "the_dragons" WHERE "series_5"='peter jones';
```
## Task
Generate a SQL query to answer the following question:
`Who in series 5 corresponds to Deborah Meaden in series 3?`

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

CREATE TABLE "the_dragons" (
  "series_1" text,
  "series_2" text,
  "series_3" text,
  "series_5" text,
  "series_9" text,
  "series_11" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who in series 5 corresponds to Deborah Meaden in series 3?`:
```sql
                SELECT "series_5" FROM "the_dragons" WHERE "series_3"='deborah meaden';
```
## Task
Generate a SQL query to answer the following question:
`Who in series 11 corresponds to Peter Jones in series 1?`

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

CREATE TABLE "the_dragons" (
  "series_1" text,
  "series_2" text,
  "series_3" text,
  "series_5" text,
  "series_9" text,
  "series_11" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who in series 11 corresponds to Peter Jones in series 1?`:
```sql
                SELECT "series_11" FROM "the_dragons" WHERE "series_1"='peter jones';
```
## Task
Generate a SQL query to answer the following question:
`Who in series 9 corresponds to Peter Jones in series 2?`

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

CREATE TABLE "the_dragons" (
  "series_1" text,
  "series_2" text,
  "series_3" text,
  "series_5" text,
  "series_9" text,
  "series_11" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who in series 9 corresponds to Peter Jones in series 2?`:
```sql
                SELECT "series_9" FROM "the_dragons" WHERE "series_2"='peter jones';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game when the Blue Jays were 55-39?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game when the Blue Jays were 55-39?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='55-39';
```
## Task
Generate a SQL query to answer the following question:
`Who was the individual in the event of 1998 Pokljuka?`

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

CREATE TABLE "world_championships" (
  "event" text,
  "individual" text,
  "sprint" text,
  "pursuit" text,
  "mass_start" text,
  "relay" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the individual in the event of 1998 Pokljuka?`:
```sql
                SELECT "individual" FROM "world_championships" WHERE "event"='1998 pokljuka';
```
## Task
Generate a SQL query to answer the following question:
`Which locomotive class had 5 items made?`

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

CREATE TABLE "west_donegal_railway" (
  "class" text,
  "type" text,
  "fleet_numbers" text,
  "quantity_made" real,
  "manufacturer" text,
  "date_made" real,
  "date_withdrawn" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which locomotive class had 5 items made?`:
```sql
                SELECT "class" FROM "west_donegal_railway" WHERE "quantity_made"=5;
```
## Task
Generate a SQL query to answer the following question:
`Which manufacturer made a locomotive with a type of 4-6-4t?`

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

CREATE TABLE "west_donegal_railway" (
  "class" text,
  "type" text,
  "fleet_numbers" text,
  "quantity_made" real,
  "manufacturer" text,
  "date_made" real,
  "date_withdrawn" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which manufacturer made a locomotive with a type of 4-6-4t?`:
```sql
                SELECT "manufacturer" FROM "west_donegal_railway" WHERE "type"='4-6-4t';
```
## Task
Generate a SQL query to answer the following question:
`What is the event year radek štěpánek was the round and there were less than 3 aces?`

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

CREATE TABLE "miscellaneous" (
  "aces" real,
  "player" real,
  "opponent" text,
  "round" text,
  "year" text,
  "event" real,
  "surface" text,
  "sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the event year radek štěpánek was the round and there were less than 3 aces?`:
```sql
                SELECT COUNT("event") FROM "miscellaneous" WHERE "round"='radek štěpánek' AND "aces"<3;
```
## Task
Generate a SQL query to answer the following question:
`How many players were in the event after 2011 with less than 9 aces?`

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

CREATE TABLE "miscellaneous" (
  "aces" real,
  "player" real,
  "opponent" text,
  "round" text,
  "year" text,
  "event" real,
  "surface" text,
  "sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players were in the event after 2011 with less than 9 aces?`:
```sql
                SELECT COUNT("player") FROM "miscellaneous" WHERE "event">2011 AND "aces"<9;
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in the 2011 event with less than 113 players?`

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

CREATE TABLE "miscellaneous" (
  "aces" real,
  "player" real,
  "opponent" text,
  "round" text,
  "year" text,
  "event" real,
  "surface" text,
  "sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent in the 2011 event with less than 113 players?`:
```sql
                SELECT "opponent" FROM "miscellaneous" WHERE "player"<113 AND "event"=2011;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of players during 1r year with a clay set and more than 4 aces?`

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

CREATE TABLE "miscellaneous" (
  "aces" real,
  "player" real,
  "opponent" text,
  "round" text,
  "year" text,
  "event" real,
  "surface" text,
  "sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of players during 1r year with a clay set and more than 4 aces?`:
```sql
                SELECT MAX("player") FROM "miscellaneous" WHERE "year"='1r' AND "sets"='clay' AND "aces">4;
```
## Task
Generate a SQL query to answer the following question:
`Who played as Team 2 against Team 1 SC Gagnoa?`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played as Team 2 against Team 1 SC Gagnoa?`:
```sql
                SELECT "team_2" FROM "second_round" WHERE "team_1"='sc gagnoa';
```
## Task
Generate a SQL query to answer the following question:
`What was the 1st leg score when Mufulira Wanderers played as Team 2?`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 1st leg score when Mufulira Wanderers played as Team 2?`:
```sql
                SELECT "1st_leg" FROM "second_round" WHERE "team_2"='mufulira wanderers';
```
## Task
Generate a SQL query to answer the following question:
`What's the score of the 1st leg when Water Corporation was Team 1?`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the score of the 1st leg when Water Corporation was Team 1?`:
```sql
                SELECT "1st_leg" FROM "second_round" WHERE "team_1"='water corporation';
```
## Task
Generate a SQL query to answer the following question:
`What's the 1st leg score when Team 1 was Gor Mahia?`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the 1st leg score when Team 1 was Gor Mahia?`:
```sql
                SELECT "1st_leg" FROM "second_round" WHERE "team_1"='gor mahia';
```
## Task
Generate a SQL query to answer the following question:
`Who played as Team 1 against Lomé i?`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played as Team 1 against Lomé i?`:
```sql
                SELECT "team_1" FROM "second_round" WHERE "team_2"='lomé i';
```
## Task
Generate a SQL query to answer the following question:
`Name the entrant for year of 1952`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the entrant for year of 1952`:
```sql
                SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"=1952;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of points for 1952`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of points for 1952`:
```sql
                SELECT COUNT("points") FROM "complete_formula_one_world_championship_" WHERE "year"=1952;
```