cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`what is the sponsor of motorola`

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

CREATE TABLE "drivers_and_constructors" (
  "team" text,
  "chassis" text,
  "engine" text,
  "tires" text,
  "drivers" text,
  "sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the sponsor of motorola`:
```sql
                SELECT "team" FROM "drivers_and_constructors" WHERE "sponsor"='motorola';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponent has the Event of Sengoku 1?`

### 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,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponent has the Event of Sengoku 1?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "event"='sengoku 1';
```
## Task
Generate a SQL query to answer the following question:
`What Record has an Event of Pride Shockwave 2004?`

### 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,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Record has an Event of Pride Shockwave 2004?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "event"='pride shockwave 2004';
```
## Task
Generate a SQL query to answer the following question:
`What's the average pole position for the driver that has a percentage of 44.81%?`

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

CREATE TABLE "percentage_starts_from_front_row" (
  "driver" text,
  "front_row_starts" real,
  "pole_positions" real,
  "entries" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average pole position for the driver that has a percentage of 44.81%?`:
```sql
                SELECT AVG("pole_positions") FROM "percentage_starts_from_front_row" WHERE "percentage"='44.81%';
```
## Task
Generate a SQL query to answer the following question:
`What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52?`

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

CREATE TABLE "percentage_starts_from_front_row" (
  "driver" text,
  "front_row_starts" real,
  "pole_positions" real,
  "entries" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52?`:
```sql
                SELECT AVG("front_row_starts") FROM "percentage_starts_from_front_row" WHERE "pole_positions"<68 AND "entries"<52;
```
## Task
Generate a SQL query to answer the following question:
`Attendance larger than 53,769, and a Opponent of at philadelphia eagles had what result?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Attendance larger than 53,769, and a Opponent of at philadelphia eagles had what result?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance">'53,769' AND "opponent"='at philadelphia eagles';
```
## Task
Generate a SQL query to answer the following question:
`Attendance of 60,671 had what average week?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Attendance of 60,671 had what average week?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "attendance"='60,671';
```
## Task
Generate a SQL query to answer the following question:
`Week of 7 had what average attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Week of 7 had what average attendance?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`How many legs were won when 6 legs were lost, the 180s was 0, and the 3-dart average was less than 69.72?`

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

CREATE TABLE "women_s_statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many legs were won when 6 legs were lost, the 180s was 0, and the 3-dart average was less than 69.72?`:
```sql
                SELECT COUNT("legs_won") FROM "women_s_statistics" WHERE "legs_lost"=6 AND "180s"=0 AND "3_dart_average"<69.72;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of all played when less than 4 sets were won and 3-dart average was 53.19?`

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

CREATE TABLE "women_s_statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of all played when less than 4 sets were won and 3-dart average was 53.19?`:
```sql
                SELECT SUM("played") FROM "women_s_statistics" WHERE "sets_won"<4 AND "3_dart_average"=53.19;
```
## Task
Generate a SQL query to answer the following question:
`How many values for 100+ for Trina Gulliver with a 3-dart Average smaller than 75.02?`

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

CREATE TABLE "women_s_statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many values for 100+ for Trina Gulliver with a 3-dart Average smaller than 75.02?`:
```sql
                SELECT COUNT("100") FROM "women_s_statistics" WHERE "player"='trina gulliver' AND "3_dart_average"<75.02;
```
## Task
Generate a SQL query to answer the following question:
`How many legs were lost for Trina Gulliver with more than 3 played?`

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

CREATE TABLE "women_s_statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many legs were lost for Trina Gulliver with more than 3 played?`:
```sql
                SELECT COUNT("legs_lost") FROM "women_s_statistics" WHERE "player"='trina gulliver' AND "played">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the most sets won with less than 1 legs won?`

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

CREATE TABLE "women_s_statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most sets won with less than 1 legs won?`:
```sql
                SELECT MAX("sets_won") FROM "women_s_statistics" WHERE "legs_won"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest value for 100+ when less than 1 set was won and more than 2 legs were won?`

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

CREATE TABLE "women_s_statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest value for 100+ when less than 1 set was won and more than 2 legs were won?`:
```sql
                SELECT MAX("100") FROM "women_s_statistics" WHERE "sets_won"<1 AND "legs_won">2;
```
## Task
Generate a SQL query to answer the following question:
`Yards of 45, and a Date of november 8, 1971 is what kicker?`

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

CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
  "date" text,
  "kicker" text,
  "kicking_team" text,
  "opponent" text,
  "yards" real,
  "result" text,
  "game_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Yards of 45, and a Date of november 8, 1971 is what kicker?`:
```sql
                SELECT "kicker" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "yards"=45 AND "date"='november 8, 1971';
```
## Task
Generate a SQL query to answer the following question:
`Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?`

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

CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
  "date" text,
  "kicker" text,
  "kicking_team" text,
  "opponent" text,
  "yards" real,
  "result" text,
  "game_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?`:
```sql
                SELECT AVG("yards") FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "game_time"='2nd quarter (0:00)' AND "date"='november 8, 1971';
```
## Task
Generate a SQL query to answer the following question:
`Opponent of new york giants, and a Yards smaller than 68 is what kicker?`

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

CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
  "date" text,
  "kicker" text,
  "kicking_team" text,
  "opponent" text,
  "yards" real,
  "result" text,
  "game_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Opponent of new york giants, and a Yards smaller than 68 is what kicker?`:
```sql
                SELECT "kicker" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "opponent"='new york giants' AND "yards"<68;
```
## Task
Generate a SQL query to answer the following question:
`Yards larger than 52, and a Opponent of san francisco 49ers is what kicker?`

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

CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
  "date" text,
  "kicker" text,
  "kicking_team" text,
  "opponent" text,
  "yards" real,
  "result" text,
  "game_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Yards larger than 52, and a Opponent of san francisco 49ers is what kicker?`:
```sql
                SELECT "kicker" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "yards">52 AND "opponent"='san francisco 49ers';
```
## Task
Generate a SQL query to answer the following question:
`Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date?`

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

CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
  "date" text,
  "kicker" text,
  "kicking_team" text,
  "opponent" text,
  "yards" real,
  "result" text,
  "game_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date?`:
```sql
                SELECT "date" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "result"='missed*' AND "game_time"='2nd quarter (0:00)' AND "kicker"='mason crosby';
```
## Task
Generate a SQL query to answer the following question:
`Opponent of houston texans had what result?`

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

CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
  "date" text,
  "kicker" text,
  "kicking_team" text,
  "opponent" text,
  "yards" real,
  "result" text,
  "game_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Opponent of houston texans had what result?`:
```sql
                SELECT "result" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "opponent"='houston texans';
```
## Task
Generate a SQL query to answer the following question:
`Which Nationality of the person has a Position on left wing?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Nationality of the person has a Position on left wing?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "position"='left wing';
```
## Task
Generate a SQL query to answer the following question:
`Which College/Junior/Club Team (League) are from sweden?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which College/Junior/Club Team (League) are from sweden?`:
```sql
                SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "nationality"='sweden';
```
## Task
Generate a SQL query to answer the following question:
`WHich Position is from russia?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Position is from russia?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "nationality"='russia';
```
## Task
Generate a SQL query to answer the following question:
`Which venue is with Ukraine?`

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

CREATE TABLE "women_outdoor" (
  "pos" real,
  "mark" text,
  "athlete" text,
  "nationality" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue is with Ukraine?`:
```sql
                SELECT "venue" FROM "women_outdoor" WHERE "nationality"='ukraine';
```
## Task
Generate a SQL query to answer the following question:
`Which venue had a nationality of Belgium?`

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

CREATE TABLE "women_outdoor" (
  "pos" real,
  "mark" text,
  "athlete" text,
  "nationality" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue had a nationality of Belgium?`:
```sql
                SELECT "venue" FROM "women_outdoor" WHERE "nationality"='belgium';
```
## Task
Generate a SQL query to answer the following question:
`Which Best Actor has a Best Film of mystery?`

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

CREATE TABLE "major_award_winners" (
  "year" text,
  "best_film" text,
  "best_director" text,
  "best_actor" text,
  "best_actress" text,
  "best_supporting_actress" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Best Actor has a Best Film of mystery?`:
```sql
                SELECT "best_actor" FROM "major_award_winners" WHERE "best_film"='mystery';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Best Film of mystery?`

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

CREATE TABLE "major_award_winners" (
  "year" text,
  "best_film" text,
  "best_director" text,
  "best_actor" text,
  "best_actress" text,
  "best_supporting_actress" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Best Film of mystery?`:
```sql
                SELECT "year" FROM "major_award_winners" WHERE "best_film"='mystery';
```
## Task
Generate a SQL query to answer the following question:
`Which Best Actress has a Year of 2012 6th?`

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

CREATE TABLE "major_award_winners" (
  "year" text,
  "best_film" text,
  "best_director" text,
  "best_actor" text,
  "best_actress" text,
  "best_supporting_actress" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Best Actress has a Year of 2012 6th?`:
```sql
                SELECT "best_actress" FROM "major_award_winners" WHERE "year"='2012 6th';
```
## Task
Generate a SQL query to answer the following question:
`Which Best Actor has a Best Director of takeshi kitano for outrage beyond?`

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

CREATE TABLE "major_award_winners" (
  "year" text,
  "best_film" text,
  "best_director" text,
  "best_actor" text,
  "best_actress" text,
  "best_supporting_actress" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Best Actor has a Best Director of takeshi kitano for outrage beyond?`:
```sql
                SELECT "best_actor" FROM "major_award_winners" WHERE "best_director"='takeshi kitano for outrage beyond';
```
## Task
Generate a SQL query to answer the following question:
`Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?`

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

CREATE TABLE "major_award_winners" (
  "year" text,
  "best_film" text,
  "best_director" text,
  "best_actor" text,
  "best_actress" text,
  "best_supporting_actress" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?`:
```sql
                SELECT "best_film" FROM "major_award_winners" WHERE "best_supporting_actress"='shamaine buencamino for niño';
```
## Task
Generate a SQL query to answer the following question:
`Score of 0–0, and a Date of 02-jan-64 had what result?`

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

CREATE TABLE "1960s" (
  "date" text,
  "result" text,
  "score" text,
  "venue" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Score of 0–0, and a Date of 02-jan-64 had what result?`:
```sql
                SELECT "result" FROM "1960s" WHERE "score"='0–0' AND "date"='02-jan-64';
```
## Task
Generate a SQL query to answer the following question:
`Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what date?`

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

CREATE TABLE "1960s" (
  "date" text,
  "result" text,
  "score" text,
  "venue" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what date?`:
```sql
                SELECT "date" FROM "1960s" WHERE "result"='l' AND "competition"='1966 asian games' AND "score"='0–1';
```
## Task
Generate a SQL query to answer the following question:
`Competition of friendly, and a Date of 03-jun-62 had what score?`

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

CREATE TABLE "1960s" (
  "date" text,
  "result" text,
  "score" text,
  "venue" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Competition of friendly, and a Date of 03-jun-62 had what score?`:
```sql
                SELECT "score" FROM "1960s" WHERE "competition"='friendly' AND "date"='03-jun-62';
```
## Task
Generate a SQL query to answer the following question:
`Result of w, and a Competition of 1968 asian cup happened on what date?`

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

CREATE TABLE "1960s" (
  "date" text,
  "result" text,
  "score" text,
  "venue" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Result of w, and a Competition of 1968 asian cup happened on what date?`:
```sql
                SELECT "date" FROM "1960s" WHERE "result"='w' AND "competition"='1968 asian cup';
```
## Task
Generate a SQL query to answer the following question:
`Result of l, and a Date of 15-oct-64 had what score?`

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

CREATE TABLE "1960s" (
  "date" text,
  "result" text,
  "score" text,
  "venue" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Result of l, and a Date of 15-oct-64 had what score?`:
```sql
                SELECT "score" FROM "1960s" WHERE "result"='l' AND "date"='15-oct-64';
```
## Task
Generate a SQL query to answer the following question:
`What incumbent was re-elected in the district in california 3?`

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

CREATE TABLE "california" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What incumbent was re-elected in the district in california 3?`:
```sql
                SELECT "incumbent" FROM "california" WHERE "result"='re-elected' AND "district"='california 3';
```
## Task
Generate a SQL query to answer the following question:
`What is the district of the incumbent Thomas Larkin Thompson?`

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

CREATE TABLE "california" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the district of the incumbent Thomas Larkin Thompson?`:
```sql
                SELECT "district" FROM "california" WHERE "incumbent"='thomas larkin thompson';
```
## Task
Generate a SQL query to answer the following question:
`What incumbent has a re-elected result and first elected larger than 1884?`

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

CREATE TABLE "california" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What incumbent has a re-elected result and first elected larger than 1884?`:
```sql
                SELECT "incumbent" FROM "california" WHERE "result"='re-elected' AND "first_elected">1884;
```
## Task
Generate a SQL query to answer the following question:
`Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ?`

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

CREATE TABLE "names_in_modern_languages" (
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ?`:
```sql
                SELECT "telugu" FROM "names_in_modern_languages" WHERE "kannada"='chitra ಚಿತ್ತ';
```
## Task
Generate a SQL query to answer the following question:
`Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்?`

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

CREATE TABLE "names_in_modern_languages" (
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்?`:
```sql
                SELECT "telugu" FROM "names_in_modern_languages" WHERE "tamil"='pūrāṭam பூராடம்';
```
## Task
Generate a SQL query to answer the following question:
`Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?`

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

CREATE TABLE "names_in_modern_languages" (
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?`:
```sql
                SELECT "telugu" FROM "names_in_modern_languages" WHERE "tamil"='pūsam பூசம்';
```
## Task
Generate a SQL query to answer the following question:
`Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?`

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

CREATE TABLE "names_in_modern_languages" (
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?`:
```sql
                SELECT "mongolian" FROM "names_in_modern_languages" WHERE "tamil"='pūrāṭam பூராடம்';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ?`

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

CREATE TABLE "names_in_modern_languages" (
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ?`:
```sql
                SELECT "sanskrit" FROM "names_in_modern_languages" WHERE "kannada"='uttara ಉತ್ತರಾ';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of rōkiṇi ரோகிணி?`

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

CREATE TABLE "names_in_modern_languages" (
  "sanskrit" text,
  "tamil" text,
  "telugu" text,
  "kannada" text,
  "malayalam" text,
  "mongolian" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of rōkiṇi ரோகிணி?`:
```sql
                SELECT "sanskrit" FROM "names_in_modern_languages" WHERE "tamil"='rōkiṇi ரோகிணி';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for katherine?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "frequency" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for katherine?`:
```sql
                SELECT "frequency" FROM "defunct_callsigns" WHERE "area_served"='katherine';
```
## Task
Generate a SQL query to answer the following question:
`Which band has a current freq of 8tab (hpon)?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "frequency" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which band has a current freq of 8tab (hpon)?`:
```sql
                SELECT "band" FROM "defunct_callsigns" WHERE "freq_currently"='8tab (hpon)';
```
## Task
Generate a SQL query to answer the following question:
`Which freq currently has 0 657?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "frequency" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which freq currently has 0 657?`:
```sql
                SELECT "freq_currently" FROM "defunct_callsigns" WHERE "frequency"='0 657';
```
## Task
Generate a SQL query to answer the following question:
`What is the purpose for the katherine freq of 8rn?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "frequency" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the purpose for the katherine freq of 8rn?`:
```sql
                SELECT "purpose" FROM "defunct_callsigns" WHERE "freq_currently"='8rn' AND "area_served"='katherine';
```
## Task
Generate a SQL query to answer the following question:
`Which freq currently has 0 684?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "frequency" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which freq currently has 0 684?`:
```sql
                SELECT "freq_currently" FROM "defunct_callsigns" WHERE "frequency"='0 684';
```
## Task
Generate a SQL query to answer the following question:
`Which band serves darwin for commercial purpose?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "frequency" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which band serves darwin for commercial purpose?`:
```sql
                SELECT "band" FROM "defunct_callsigns" WHERE "area_served"='darwin' AND "purpose"='commercial';
```
## Task
Generate a SQL query to answer the following question:
`What is the points difference for a loss less than 6, and points less than 11?`

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

CREATE TABLE "world_championship_group_c_france" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the points difference for a loss less than 6, and points less than 11?`:
```sql
                SELECT "points_difference" FROM "world_championship_group_c_france" WHERE "lost"<6 AND "points"<11;
```
## Task
Generate a SQL query to answer the following question:
`Which Opponent has a Loss of báez (5-5)?`

### 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 Opponent has a Loss of báez (5-5)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='báez (5-5)';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has an Opponent of @ rockies, and a Record of 33-35?`

### 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 Opponent of @ rockies, and a Record of 33-35?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='@ rockies' AND "record"='33-35';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has an Opponent of phillies, and a Record of 30-33?`

### 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 Attendance has an Opponent of phillies, and a Record of 30-33?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "opponent"='phillies' AND "record"='30-33';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance is the highest one that has a Loss of batista (4-5)?`

### 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 Attendance is the highest one that has a Loss of batista (4-5)?`:
```sql
                SELECT MAX("attendance") FROM "game_log" WHERE "loss"='batista (4-5)';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency MHz of the ERP W's greater than 250?`

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

CREATE TABLE "broadcast_translators_of_kanz" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency MHz of the ERP W's greater than 250?`:
```sql
                SELECT AVG("frequency_m_hz") FROM "broadcast_translators_of_kanz" WHERE "erp_w">250;
```
## Task
Generate a SQL query to answer the following question:
`What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170?`

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

CREATE TABLE "broadcast_translators_of_kanz" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170?`:
```sql
                SELECT "call_sign" FROM "broadcast_translators_of_kanz" WHERE "frequency_m_hz"<94.9 AND "erp_w"=170;
```
## Task
Generate a SQL query to answer the following question:
`What is the FCC info for the city of Tribune, Kansas?`

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

CREATE TABLE "broadcast_translators_of_kanz" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FCC info for the city of Tribune, Kansas?`:
```sql
                SELECT "fcc_info" FROM "broadcast_translators_of_kanz" WHERE "city_of_license"='tribune, kansas';
```
## Task
Generate a SQL query to answer the following question:
`What is the city of license with an ERP W less than 170?`

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

CREATE TABLE "broadcast_translators_of_kanz" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the city of license with an ERP W less than 170?`:
```sql
                SELECT "city_of_license" FROM "broadcast_translators_of_kanz" WHERE "erp_w"<170;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest ERP W with a frequency MHz of 94.9?`

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

CREATE TABLE "broadcast_translators_of_kanz" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest ERP W with a frequency MHz of 94.9?`:
```sql
                SELECT MIN("erp_w") FROM "broadcast_translators_of_kanz" WHERE "frequency_m_hz"=94.9;
```
## Task
Generate a SQL query to answer the following question:
`What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas?`

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

CREATE TABLE "broadcast_translators_of_kanz" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas?`:
```sql
                SELECT "erp_w" FROM "broadcast_translators_of_kanz" WHERE "frequency_m_hz">89.5 AND "city_of_license"='washburn, texas';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of bronze medals the U.S. Virgin Islands, which has less than 0 golds, has?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of bronze medals the U.S. Virgin Islands, which has less than 0 golds, has?`:
```sql
                SELECT COUNT("bronze") FROM "medal_table" WHERE "nation"='u.s. virgin islands' AND "gold"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of the team with 11 total medals and more than 4 silver medals has?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of the team with 11 total medals and more than 4 silver medals has?`:
```sql
                SELECT SUM("rank") FROM "medal_table" WHERE "total"=11 AND "silver">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has?`:
```sql
                SELECT MIN("total") FROM "medal_table" WHERE "bronze">0 AND "silver"=6 AND "rank"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rank of Venezuela, which has more than 9 bronze medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rank of Venezuela, which has more than 9 bronze medals?`:
```sql
                SELECT MIN("rank") FROM "medal_table" WHERE "nation"='venezuela' AND "bronze">9;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold?`:
```sql
                SELECT MIN("rank") FROM "medal_table" WHERE "bronze"=0 AND "silver"=1 AND "gold">0;
```
## Task
Generate a SQL query to answer the following question:
`What round has mathieu garon as the player?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round has mathieu garon as the player?`:
```sql
                SELECT "round" FROM "draft_picks" WHERE "player"='mathieu garon';
```
## Task
Generate a SQL query to answer the following question:
`What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "position"='left wing' AND "round">4 AND "player"='mattia baldi';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds have goalie as the position?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds have goalie as the position?`:
```sql
                SELECT SUM("round") FROM "draft_picks" WHERE "position"='goalie';
```
## Task
Generate a SQL query to answer the following question:
`Which Competition has a Date of may 2, 1993?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Competition has a Date of may 2, 1993?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "date"='may 2, 1993';
```
## Task
Generate a SQL query to answer the following question:
`Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "goal">6 AND "score"='1–0' AND "competition"='friendly' AND "date"='may 31, 1998';
```
## Task
Generate a SQL query to answer the following question:
`What was the score on april 4, 1993?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score on april 4, 1993?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "date"='april 4, 1993';
```
## Task
Generate a SQL query to answer the following question:
`What is listed for the 3 credits that also has a 2 credits of 99.7%?`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" text,
  "2_credits" text,
  "3_credits" text,
  "4_credits" text,
  "5_credits" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed for the 3 credits that also has a 2 credits of 99.7%?`:
```sql
                SELECT "3_credits" FROM "deuces_wild" WHERE "2_credits"='99.7%';
```
## Task
Generate a SQL query to answer the following question:
`What's the listed Hand has 3 credits of 6?`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" text,
  "2_credits" text,
  "3_credits" text,
  "4_credits" text,
  "5_credits" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the listed Hand has 3 credits of 6?`:
```sql
                SELECT "hand" FROM "deuces_wild" WHERE "3_credits"='6';
```
## Task
Generate a SQL query to answer the following question:
`What is listed for the 4 credits that has 5 credits of 125?`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" text,
  "2_credits" text,
  "3_credits" text,
  "4_credits" text,
  "5_credits" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed for the 4 credits that has 5 credits of 125?`:
```sql
                SELECT "4_credits" FROM "deuces_wild" WHERE "5_credits"='125';
```
## Task
Generate a SQL query to answer the following question:
`What is listed for 5 credits that has 1 credit of 300?`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" text,
  "2_credits" text,
  "3_credits" text,
  "4_credits" text,
  "5_credits" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed for 5 credits that has 1 credit of 300?`:
```sql
                SELECT "5_credits" FROM "deuces_wild" WHERE "1_credit"='300';
```
## Task
Generate a SQL query to answer the following question:
`What's the 1 credit with a Hand of Theoretical Return?`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" text,
  "2_credits" text,
  "3_credits" text,
  "4_credits" text,
  "5_credits" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the 1 credit with a Hand of Theoretical Return?`:
```sql
                SELECT "1_credit" FROM "deuces_wild" WHERE "hand"='theoretical return';
```