cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the nor 2 that has nor 1 as nor 1?`

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

CREATE TABLE "rookie_cup" (
  "driver" text,
  "nor_1" text,
  "nor_2" text,
  "zan_1" text,
  "zan_2" text,
  "n_r_1" text,
  "n_r_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nor 2 that has nor 1 as nor 1?`:
```sql
                SELECT "nor_2" FROM "rookie_cup" WHERE "nor_1"='nor 1';
```
## Task
Generate a SQL query to answer the following question:
`What driver has 22 as nor 1?`

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

CREATE TABLE "rookie_cup" (
  "driver" text,
  "nor_1" text,
  "nor_2" text,
  "zan_1" text,
  "zan_2" text,
  "n_r_1" text,
  "n_r_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What driver has 22 as nor 1?`:
```sql
                SELECT "driver" FROM "rookie_cup" WHERE "nor_1"='22';
```
## Task
Generate a SQL query to answer the following question:
`What Date had a Result of draw, and a Venue of lord's?`

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

CREATE TABLE "australia_in_england_1905" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Date had a Result of draw, and a Venue of lord's?`:
```sql
                SELECT "date" FROM "australia_in_england_1905" WHERE "result"='draw' AND "venue"='lord''s';
```
## Task
Generate a SQL query to answer the following question:
`What Date that had a Result of draw, with Oval as a venue?`

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

CREATE TABLE "australia_in_england_1905" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Date that had a Result of draw, with Oval as a venue?`:
```sql
                SELECT "date" FROM "australia_in_england_1905" WHERE "result"='draw' AND "venue"='oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the Away captain when the Result was draw, and a Venue of lord's?`

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

CREATE TABLE "australia_in_england_1905" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Away captain when the Result was draw, and a Venue of lord's?`:
```sql
                SELECT "away_captain" FROM "australia_in_england_1905" WHERE "result"='draw' AND "venue"='lord''s';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date when the match Resulted in a draw?`

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

CREATE TABLE "australia_in_england_1905" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date when the match Resulted in a draw?`:
```sql
                SELECT "date" FROM "australia_in_england_1905" WHERE "result"='draw';
```
## Task
Generate a SQL query to answer the following question:
`What was the margin of victory when the winning score was –10 (70-72-68-68=278)?`

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

CREATE TABLE "pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the margin of victory when the winning score was –10 (70-72-68-68=278)?`:
```sql
                SELECT "margin_of_victory" FROM "pga_tour_wins_11" WHERE "winning_score"='–10 (70-72-68-68=278)';
```
## Task
Generate a SQL query to answer the following question:
`When Gary Player was the runner-up, what was the margin of victory?`

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

CREATE TABLE "pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Gary Player was the runner-up, what was the margin of victory?`:
```sql
                SELECT "margin_of_victory" FROM "pga_tour_wins_11" WHERE "runner_s_up"='gary player';
```
## Task
Generate a SQL query to answer the following question:
`In what tournament was the winning score –10 (68-71-69-70=278)?`

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

CREATE TABLE "pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what tournament was the winning score –10 (68-71-69-70=278)?`:
```sql
                SELECT "tournament" FROM "pga_tour_wins_11" WHERE "winning_score"='–10 (68-71-69-70=278)';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of wins when earnings are larger than 150,643, more than 1 cut was made, there are more than 22 starts, and the money list rank is 32?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of wins when earnings are larger than 150,643, more than 1 cut was made, there are more than 22 starts, and the money list rank is 32?`:
```sql
                SELECT MAX("wins") FROM "european_tour_professional_career_summar" WHERE "earnings">'150,643' AND "cuts_made">1 AND "starts">22 AND "money_list_rank"='32';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of wins when more than 17 cuts and more than 25 starts were made, and the top 10 ranking is less than 8?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of wins when more than 17 cuts and more than 25 starts were made, and the top 10 ranking is less than 8?`:
```sql
                SELECT MAX("wins") FROM "european_tour_professional_career_summar" WHERE "cuts_made">17 AND "starts">25 AND "top_10"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?`:
```sql
                SELECT AVG("starts") FROM "european_tour_professional_career_summar" WHERE "money_list_rank"='108' AND "top_25">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the money list rank when the starts are less than 30, earnings are larger than 8,689, and the ranking is 2 in the top 25?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the money list rank when the starts are less than 30, earnings are larger than 8,689, and the ranking is 2 in the top 25?`:
```sql
                SELECT "money_list_rank" FROM "european_tour_professional_career_summar" WHERE "starts"<30 AND "earnings">'8,689' AND "top_25"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4?`:
```sql
                SELECT AVG("starts") FROM "european_tour_professional_career_summar" WHERE "cuts_made"=11 AND "top_10">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the Name when the position is g, and weight is 190 pounds?`

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

CREATE TABLE "roster" (
  "name" text,
  "height" text,
  "weight_lbs" real,
  "position" text,
  "class" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name when the position is g, and weight is 190 pounds?`:
```sql
                SELECT "name" FROM "roster" WHERE "position"='g' AND "weight_lbs"=190;
```
## Task
Generate a SQL query to answer the following question:
`What is the Position with a weight of more than 195 pounds, height of 6'5", and named David Hoskins 3?`

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

CREATE TABLE "roster" (
  "name" text,
  "height" text,
  "weight_lbs" real,
  "position" text,
  "class" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Position with a weight of more than 195 pounds, height of 6'5", and named David Hoskins 3?`:
```sql
                SELECT "position" FROM "roster" WHERE "weight_lbs">195 AND "height"='6''5\"' AND "name"='david hoskins 3';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Weight for the person with a height of 6'6"?`

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

CREATE TABLE "roster" (
  "name" text,
  "height" text,
  "weight_lbs" real,
  "position" text,
  "class" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Weight for the person with a height of 6'6"?`:
```sql
                SELECT SUM("weight_lbs") FROM "roster" WHERE "height"='6''6\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team of the game on 2 February 2006?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team of the game on 2 February 2006?`:
```sql
                SELECT "home" FROM "february" WHERE "date"='2 february 2006';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team of the game with Warriors as the visitor team?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team of the game with Warriors as the visitor team?`:
```sql
                SELECT "home" FROM "february" WHERE "visitor"='warriors';
```
## Task
Generate a SQL query to answer the following question:
`What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?`

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

CREATE TABLE "singles_10_7_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?`:
```sql
                SELECT "date" FROM "singles_10_7_3" WHERE "surface"='hard' AND "score"='6–4, 2–6, 3–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?`

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

CREATE TABLE "singles_10_7_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?`:
```sql
                SELECT "score" FROM "singles_10_7_3" WHERE "surface"='clay' AND "outcome"='winner' AND "tournament"='ciudad juárez' AND "opponent_in_the_final"='estefania craciún';
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome of the match with a Score of 6–3, 6–4?`

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

CREATE TABLE "singles_10_7_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Outcome of the match with a Score of 6–3, 6–4?`:
```sql
                SELECT "outcome" FROM "singles_10_7_3" WHERE "score"='6–3, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome of the match on 12 september 2004?`

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

CREATE TABLE "singles_10_7_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Outcome of the match on 12 september 2004?`:
```sql
                SELECT "outcome" FROM "singles_10_7_3" WHERE "date"='12 september 2004';
```
## Task
Generate a SQL query to answer the following question:
`What was the Surface when the Score was 6–4, 2–6, 3–6?`

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

CREATE TABLE "singles_10_7_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Surface when the Score was 6–4, 2–6, 3–6?`:
```sql
                SELECT "surface" FROM "singles_10_7_3" WHERE "score"='6–4, 2–6, 3–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2000 kwh p y with a 2400 kwh/kw p y less than 12.5, a 3.8 1600 kwh/kw p y, and a 1800 kwh/kw p y less than 3.3?`

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

CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
  "20_years" text,
  "2400_k_wh_k_w_p_y" real,
  "2200_k_wh_k_w_p_y" real,
  "2000_k_wh_k_w_p_y" real,
  "1800_k_wh_k_w_p_y" real,
  "1600_k_wh_k_w_p_y" real,
  "1400_k_wh_k_w_p_y" real,
  "1200_k_wh_k_w_p_y" real,
  "1000_k_wh_k_w_p_y" real,
  "800_k_wh_k_w_p_y" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2000 kwh p y with a 2400 kwh/kw p y less than 12.5, a 3.8 1600 kwh/kw p y, and a 1800 kwh/kw p y less than 3.3?`:
```sql
                SELECT MAX("2000_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "2400_k_wh_k_w_p_y"<12.5 AND "1600_k_wh_k_w_p_y"=3.8 AND "1800_k_wh_k_w_p_y"<3.3;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of 1800 kwk/kw p y with an 8.8 1600 kwh/kw p y, and a 1200 kwh/kw p y greater than 11.7?`

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

CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
  "20_years" text,
  "2400_k_wh_k_w_p_y" real,
  "2200_k_wh_k_w_p_y" real,
  "2000_k_wh_k_w_p_y" real,
  "1800_k_wh_k_w_p_y" real,
  "1600_k_wh_k_w_p_y" real,
  "1400_k_wh_k_w_p_y" real,
  "1200_k_wh_k_w_p_y" real,
  "1000_k_wh_k_w_p_y" real,
  "800_k_wh_k_w_p_y" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of 1800 kwk/kw p y with an 8.8 1600 kwh/kw p y, and a 1200 kwh/kw p y greater than 11.7?`:
```sql
                SELECT COUNT("1800_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1600_k_wh_k_w_p_y"=8.8 AND "1200_k_wh_k_w_p_y">11.7;
```
## Task
Generate a SQL query to answer the following question:
`What is the average 800 kwh/kw p y with a 1600 kwh/kw p y less than 6.3 and a 2000 kwh/kw p y less than 1?`

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

CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
  "20_years" text,
  "2400_k_wh_k_w_p_y" real,
  "2200_k_wh_k_w_p_y" real,
  "2000_k_wh_k_w_p_y" real,
  "1800_k_wh_k_w_p_y" real,
  "1600_k_wh_k_w_p_y" real,
  "1400_k_wh_k_w_p_y" real,
  "1200_k_wh_k_w_p_y" real,
  "1000_k_wh_k_w_p_y" real,
  "800_k_wh_k_w_p_y" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average 800 kwh/kw p y with a 1600 kwh/kw p y less than 6.3 and a 2000 kwh/kw p y less than 1?`:
```sql
                SELECT AVG("800_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1600_k_wh_k_w_p_y"<6.3 AND "2000_k_wh_k_w_p_y"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the average 2400 kwh/kw p y with a 1400 kwh/kw p y greater than 12.9, a 1200 kwh/kw p y greater than 21.7, and a 1600 kwh/kw p y greater than 18.8?`

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

CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
  "20_years" text,
  "2400_k_wh_k_w_p_y" real,
  "2200_k_wh_k_w_p_y" real,
  "2000_k_wh_k_w_p_y" real,
  "1800_k_wh_k_w_p_y" real,
  "1600_k_wh_k_w_p_y" real,
  "1400_k_wh_k_w_p_y" real,
  "1200_k_wh_k_w_p_y" real,
  "1000_k_wh_k_w_p_y" real,
  "800_k_wh_k_w_p_y" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average 2400 kwh/kw p y with a 1400 kwh/kw p y greater than 12.9, a 1200 kwh/kw p y greater than 21.7, and a 1600 kwh/kw p y greater than 18.8?`:
```sql
                SELECT AVG("2400_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1400_k_wh_k_w_p_y">12.9 AND "1200_k_wh_k_w_p_y">21.7 AND "1600_k_wh_k_w_p_y">18.8;
```
## Task
Generate a SQL query to answer the following question:
`What was the total attendance at a game against the Pittsburgh Steelers before week 4?`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total attendance at a game against the Pittsburgh Steelers before week 4?`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "opponent"='pittsburgh steelers' AND "week"<4;
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game held at the A venue with a result of 0-1 against the Rangers?`

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

CREATE TABLE "premier_division" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game held at the A venue with a result of 0-1 against the Rangers?`:
```sql
                SELECT "date" FROM "premier_division" WHERE "venue"='a' AND "result"='0-1' AND "opponent"='rangers';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent on November 11, 2001?`

### 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,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent on November 11, 2001?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='november 11, 2001';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent before week 5 that played on September 23, 2001?`

### 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,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent before week 5 that played on September 23, 2001?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"<5 AND "date"='september 23, 2001';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of the Turion 64 X2 TL-62?`

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

CREATE TABLE "tyler" (
  "model_number" text,
  "frequency" text,
  "l2_cache" text,
  "multiplier_1" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of the Turion 64 X2 TL-62?`:
```sql
                SELECT "frequency" FROM "tyler" WHERE "model_number"='turion 64 x2 tl-62';
```
## Task
Generate a SQL query to answer the following question:
`What is the socket for Order Part Number TMDTL68HAX5DM?`

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

CREATE TABLE "tyler" (
  "model_number" text,
  "frequency" text,
  "l2_cache" text,
  "multiplier_1" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the socket for Order Part Number TMDTL68HAX5DM?`:
```sql
                SELECT "socket" FROM "tyler" WHERE "order_part_number"='tmdtl68hax5dm';
```
## Task
Generate a SQL query to answer the following question:
`What is the multiplier 1 for chips with a frequency of 1800MHz?`

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

CREATE TABLE "tyler" (
  "model_number" text,
  "frequency" text,
  "l2_cache" text,
  "multiplier_1" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the multiplier 1 for chips with a frequency of 1800MHz?`:
```sql
                SELECT "multiplier_1" FROM "tyler" WHERE "frequency"='1800mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the socket type for the processor with a multiplier 1 of 11.5x?`

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

CREATE TABLE "tyler" (
  "model_number" text,
  "frequency" text,
  "l2_cache" text,
  "multiplier_1" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the socket type for the processor with a multiplier 1 of 11.5x?`:
```sql
                SELECT "socket" FROM "tyler" WHERE "multiplier_1"='11.5x';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest sample size administered on October 18?`

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

CREATE TABLE "polling" (
  "poll_source" text,
  "date_s_administered" text,
  "sample_size" real,
  "margin_of_error" text,
  "mel_martinez_r" text,
  "betty_castor_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest sample size administered on October 18?`:
```sql
                SELECT MAX("sample_size") FROM "polling" WHERE "date_s_administered"='october 18';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage for Mel Martinez when the sample size is 800?`

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

CREATE TABLE "polling" (
  "poll_source" text,
  "date_s_administered" text,
  "sample_size" real,
  "margin_of_error" text,
  "mel_martinez_r" text,
  "betty_castor_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage for Mel Martinez when the sample size is 800?`:
```sql
                SELECT "mel_martinez_r" FROM "polling" WHERE "sample_size"=800;
```
## Task
Generate a SQL query to answer the following question:
`How many games were played by the Scottish Wanderers where less than 5 Points were scored?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played by the Scottish Wanderers where less than 5 Points were scored?`:
```sql
                SELECT SUM("played") FROM "apea_s_campeonato_paulista" WHERE "team"='scottish wanderers' AND "points"<5;
```
## Task
Generate a SQL query to answer the following question:
`How many games were played where exactly 15 points were scored?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played where exactly 15 points were scored?`:
```sql
                SELECT SUM("played") FROM "apea_s_campeonato_paulista" WHERE "points"=15;
```
## Task
Generate a SQL query to answer the following question:
`What LINER class has a W.A. of 0-6-0st with a 2 No. Built?`

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

CREATE TABLE "1867_74" (
  "1st_built" real,
  "1913_class" text,
  "w_a" text,
  "no_built" real,
  "builder" text,
  "date" text,
  "lner_class" text
);
### SQL
Given the database schema, here is the SQL query that answers `What LINER class has a W.A. of 0-6-0st with a 2 No. Built?`:
```sql
                SELECT "lner_class" FROM "1867_74" WHERE "w_a"='0-6-0st' AND "no_built"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the pick number for Peter Moore of the Montreal Alouettes?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick number for Peter Moore of the Montreal Alouettes?`:
```sql
                SELECT "pick_num" FROM "round_four" WHERE "cfl_team"='montreal alouettes' AND "player"='peter moore';
```
## Task
Generate a SQL query to answer the following question:
`What CFL team did Kelly Bates play for?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What CFL team did Kelly Bates play for?`:
```sql
                SELECT "cfl_team" FROM "round_four" WHERE "player"='kelly bates';
```
## Task
Generate a SQL query to answer the following question:
`How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0?`

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

CREATE TABLE "most_derby_appearances" (
  "competition" text,
  "total_matches" real,
  "cardiff_win" real,
  "draw" real,
  "swansea_win" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0?`:
```sql
                SELECT AVG("total_matches") FROM "most_derby_appearances" WHERE "swansea_win"<3 AND "competition"='fa cup' AND "draw"<0;
```
## Task
Generate a SQL query to answer the following question:
`How many cardiff wins have a draw greater than 27?`

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

CREATE TABLE "most_derby_appearances" (
  "competition" text,
  "total_matches" real,
  "cardiff_win" real,
  "draw" real,
  "swansea_win" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many cardiff wins have a draw greater than 27?`:
```sql
                SELECT COUNT("cardiff_win") FROM "most_derby_appearances" WHERE "draw">27;
```
## Task
Generate a SQL query to answer the following question:
`How many average total matches have league cup as the competition, with a draw greater than 0?`

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

CREATE TABLE "most_derby_appearances" (
  "competition" text,
  "total_matches" real,
  "cardiff_win" real,
  "draw" real,
  "swansea_win" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many average total matches have league cup as the competition, with a draw greater than 0?`:
```sql
                SELECT AVG("total_matches") FROM "most_derby_appearances" WHERE "competition"='league cup' AND "draw">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of tries for when the try bonus is 0?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of tries for when the try bonus is 0?`:
```sql
                SELECT "tries_for" FROM "league_table" WHERE "try_bonus"='0';
```
## Task
Generate a SQL query to answer the following question:
`How many points is there when the lost is 6 and the try bonus is 9?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points is there when the lost is 6 and the try bonus is 9?`:
```sql
                SELECT "points_for" FROM "league_table" WHERE "lost"='6' AND "try_bonus"='9';
```
## Task
Generate a SQL query to answer the following question:
`How many pints does the Cambrian Welfare RFC have?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many pints does the Cambrian Welfare RFC have?`:
```sql
                SELECT "points_for" FROM "league_table" WHERE "club"='cambrian welfare rfc';
```
## Task
Generate a SQL query to answer the following question:
`When the try bonus is 9 and the lost 4, what is the drawn?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the try bonus is 9 and the lost 4, what is the drawn?`:
```sql
                SELECT "drawn" FROM "league_table" WHERE "try_bonus"='9' AND "lost"='4';
```
## Task
Generate a SQL query to answer the following question:
`Club Clwb Rygbi Cymru Caerdydd RFC has how many points?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Club Clwb Rygbi Cymru Caerdydd RFC has how many points?`:
```sql
                SELECT "points" FROM "league_table" WHERE "club"='clwb rygbi cymru caerdydd rfc';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?`

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

CREATE TABLE "by_population_density" (
  "rank" real,
  "province" text,
  "population" real,
  "area" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?`:
```sql
                SELECT MAX("rank") FROM "by_population_density" WHERE "density"<376.37 AND "province"='valverde' AND "area">823;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Density when the area is more than 1,185.8 with a population of 63,029?`

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

CREATE TABLE "by_population_density" (
  "rank" real,
  "province" text,
  "population" real,
  "area" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Density when the area is more than 1,185.8 with a population of 63,029?`:
```sql
                SELECT AVG("density") FROM "by_population_density" WHERE "area">'1,185.8' AND "population"='63,029';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Density for the independencia province, with an area smaller than 2,007.4?`

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

CREATE TABLE "by_population_density" (
  "rank" real,
  "province" text,
  "population" real,
  "area" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Density for the independencia province, with an area smaller than 2,007.4?`:
```sql
                SELECT MAX("density") FROM "by_population_density" WHERE "province"='independencia' AND "area"<'2,007.4';
```
## Task
Generate a SQL query to answer the following question:
`Which 2nd leg has pamesa valencia for team #2?`

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

CREATE TABLE "eighthfinals" (
  "team_num1" text,
  "agg" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2nd leg has pamesa valencia for team #2?`:
```sql
                SELECT "2nd_leg" FROM "eighthfinals" WHERE "team_num2"='pamesa valencia';
```
## Task
Generate a SQL query to answer the following question:
`What is the team #1 that has unics kazan for team #2?`

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

CREATE TABLE "eighthfinals" (
  "team_num1" text,
  "agg" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team #1 that has unics kazan for team #2?`:
```sql
                SELECT "team_num1" FROM "eighthfinals" WHERE "team_num2"='unics kazan';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st leg that has akasvayu girona as team #2?`

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

CREATE TABLE "eighthfinals" (
  "team_num1" text,
  "agg" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st leg that has akasvayu girona as team #2?`:
```sql
                SELECT "1st_leg" FROM "eighthfinals" WHERE "team_num2"='akasvayu girona';
```
## Task
Generate a SQL query to answer the following question:
`Which Wins has a Tournament of totals, and a Cuts made larger than 42?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wins has a Tournament of totals, and a Cuts made larger than 42?`:
```sql
                SELECT AVG("wins") FROM "summary" WHERE "tournament"='totals' AND "cuts_made">42;
```
## Task
Generate a SQL query to answer the following question:
`Which Top-10 has a Cuts made larger than 42?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top-10 has a Cuts made larger than 42?`:
```sql
                SELECT MIN("top_10") FROM "summary" WHERE "cuts_made">42;
```
## Task
Generate a SQL query to answer the following question:
`Which Wins has a Top-5 of 6?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wins has a Top-5 of 6?`:
```sql
                SELECT AVG("wins") FROM "summary" WHERE "top_5"=6;
```
## Task
Generate a SQL query to answer the following question:
`Which Cuts made has a Top-25 smaller than 3?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Cuts made has a Top-25 smaller than 3?`:
```sql
                SELECT MAX("cuts_made") FROM "summary" WHERE "top_25"<3;
```
## Task
Generate a SQL query to answer the following question:
`Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?`:
```sql
                SELECT MIN("top_10") FROM "summary" WHERE "cuts_made"=10 AND "top_5">1;
```
## Task
Generate a SQL query to answer the following question:
`Concerning protestantism by country, the ranking is out of how many total?`

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

CREATE TABLE "rankings" (
  "name" text,
  "rank" real,
  "out_of" text,
  "source" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Concerning protestantism by country, the ranking is out of how many total?`:
```sql
                SELECT "out_of" FROM "rankings" WHERE "source"='protestantism by country';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank that the protestants population holds?`

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

CREATE TABLE "rankings" (
  "name" text,
  "rank" real,
  "out_of" text,
  "source" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank that the protestants population holds?`:
```sql
                SELECT MIN("rank") FROM "rankings" WHERE "name"='protestants population';
```
## Task
Generate a SQL query to answer the following question:
`The album titled I had what chart positions?`

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

CREATE TABLE "albums" (
  "album_title" text,
  "format" text,
  "year" real,
  "original_label" text,
  "chart_positions" text
);
### SQL
Given the database schema, here is the SQL query that answers `The album titled I had what chart positions?`:
```sql
                SELECT "chart_positions" FROM "albums" WHERE "album_title"='i';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the album that has Popup has the original label?`

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

CREATE TABLE "albums" (
  "album_title" text,
  "format" text,
  "year" real,
  "original_label" text,
  "chart_positions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the album that has Popup has the original label?`:
```sql
                SELECT "album_title" FROM "albums" WHERE "original_label"='popup';
```
## Task
Generate a SQL query to answer the following question:
`What is the format of the album with a year less than 1992?`

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

CREATE TABLE "albums" (
  "album_title" text,
  "format" text,
  "year" real,
  "original_label" text,
  "chart_positions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the format of the album with a year less than 1992?`:
```sql
                SELECT "format" FROM "albums" WHERE "year"<1992;
```
## Task
Generate a SQL query to answer the following question:
`What chart positions did the album reach when ep was the format?`

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

CREATE TABLE "albums" (
  "album_title" text,
  "format" text,
  "year" real,
  "original_label" text,
  "chart_positions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What chart positions did the album reach when ep was the format?`:
```sql
                SELECT "chart_positions" FROM "albums" WHERE "format"='ep';
```
## Task
Generate a SQL query to answer the following question:
`What was the average pick with Ed O'Bannon and a round smaller than 1?`

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

CREATE TABLE "team_players_drafted_in_the_nba" (
  "year" real,
  "round" real,
  "pick" real,
  "player" text,
  "nba_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average pick with Ed O'Bannon and a round smaller than 1?`:
```sql
                SELECT AVG("pick") FROM "team_players_drafted_in_the_nba" WHERE "player"='ed o''bannon' AND "round"<1;
```
## Task
Generate a SQL query to answer the following question:
`What player was drafted for the Detroit Pistons?`

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

CREATE TABLE "team_players_drafted_in_the_nba" (
  "year" real,
  "round" real,
  "pick" real,
  "player" text,
  "nba_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player was drafted for the Detroit Pistons?`:
```sql
                SELECT "player" FROM "team_players_drafted_in_the_nba" WHERE "nba_team"='detroit pistons';
```
## Task
Generate a SQL query to answer the following question:
`Which Team 2 had a Team 1 of montreal impact?`

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

CREATE TABLE "preliminary_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 `Which Team 2 had a Team 1 of montreal impact?`:
```sql
                SELECT "team_2" FROM "preliminary_round" WHERE "team_1"='montreal impact';
```
## Task
Generate a SQL query to answer the following question:
`Which Team 2 had a Team 1of joe public?`

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

CREATE TABLE "preliminary_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 `Which Team 2 had a Team 1of joe public?`:
```sql
                SELECT "team_2" FROM "preliminary_round" WHERE "team_1"='joe public';
```
## Task
Generate a SQL query to answer the following question:
`Which team 1 had a Team 2 of hankook verdes?`

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

CREATE TABLE "preliminary_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 `Which team 1 had a Team 2 of hankook verdes?`:
```sql
                SELECT "team_1" FROM "preliminary_round" WHERE "team_2"='hankook verdes';
```
## Task
Generate a SQL query to answer the following question:
`What is the first leg score when team 2 is Wagad Mogadishu?`

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

CREATE TABLE "preliminary_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 is the first leg score when team 2 is Wagad Mogadishu?`:
```sql
                SELECT "1st_leg" FROM "preliminary_round" WHERE "team_2"='wagad mogadishu';
```