instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | response stringlengths 7 2.05k | __original_row_idx int64 0 50k | conversations listlengths 2 2 |
|---|---|---|---|---|
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (country VARCHAR, city VARCHAR)
Question: Where is the City of Douala?
Here is the SQLite query to answer to the question: Where is the City of Douala?:
``... | Here is the SQLite query to answer the question: Where is the City of Douala?:
```sql
SELECT country FROM table_name_59 WHERE city = "Douala";
``` | 42,700 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (country VARCHAR, city VARCHAR)\n\n Question: Where is the City of Douala?\n\nHere is the SQLite query to answer to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (airport VARCHAR, country VARCHAR, icao VARCHAR)
Question: Which airport is in South Africa and has a ICAO fajs?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question:
```
SELECT airport FROM table_name_44 WHERE country = "south africa" AND icao = "fajs"
``` | 42,701 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (airport VARCHAR, country VARCHAR, icao VARCHAR)\n\n Question: Which airport is in South Africa and has a ICAO fajs?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (icao VARCHAR, country VARCHAR)
Question: What is Cuba's ICAO?
Here is the SQLite query to answer to the question: What is Cuba's ICAO?:
```
SELECT icao FR... | Here is the SQLite query to answer the question about Cuba's ICAO:
```
SELECT icao FROM table_name_63 WHERE country = "Cuba"
``` | 42,702 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (icao VARCHAR, country VARCHAR)\n\n Question: What is Cuba's ICAO?\n\nHere is the SQLite query to answer to the ques... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (airport VARCHAR, country VARCHAR, icao VARCHAR)
Question: What is Angola's airport and ICAO of fnsa?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about Angola's airport and ICAO of fnsa:
```
SELECT airport, icao FROM table_name_75 WHERE country = "angola" AND icao = "fnsa"
``` | 42,703 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (airport VARCHAR, country VARCHAR, icao VARCHAR)\n\n Question: What is Angola's airport and ICAO of fnsa?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR)
Question: What team plays at home at Windy Hill?
Here is the SQLite query to answer to the question: What team plays at ... | Here is the SQLite query to answer the question: What team plays at home at Windy Hill?:
```sql
SELECT home_team FROM table_name_28 WHERE venue = "Windy Hill";
``` | 42,704 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR)\n\n Question: What team plays at home at Windy Hill?\n\nHere is the SQLite query ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (away_team VARCHAR)
Question: What was Footscray's score as an away team?
Here is the SQLite query to answer to the question: What was Footscray's score as... | Here is the corrected SQLite query to answer the question about Footscray's score as an away team:
```sql
SELECT away_team FROM table_name_45 WHERE away_team = "footscray";
```
Note: The original query was using `AS score`, which is unnecessary since you are simply selecting the `away_team`. The expected output shoul... | 42,705 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (away_team VARCHAR)\n\n Question: What was Footscray's score as an away team?\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (date VARCHAR, away_team VARCHAR)
Question: What day is richmond the away side?
Here is the SQLite query to answer to the question: What day is richmond th... | Here is the SQLite query to answer the question: What day is richmond the away side?:
```sql
SELECT date FROM table_name_71 WHERE away_team = "richmond";
``` | 42,706 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (date VARCHAR, away_team VARCHAR)\n\n Question: What day is richmond the away side?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when hawthorn is the away team?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question: Who is the home team when hawthorn is the away team?:
```
SELECT home_team FROM table_name_95 WHERE away_team = "hawthorn"
``` | 42,707 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)\n\n Question: Who is the home team when hawthorn is the away team?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (game_name VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR)
Question: What is the name of the game with odds of winning 1 in 4.23 with a top prize of $1... | Here is the SQLite query to answer the question about the specific game with the given odds of winning and top prize:
```
SELECT game_name FROM table_name_92 WHERE odds_of_winning = '1 in 4.23' AND top_prize = '$15,000';
``` | 42,708 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (game_name VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR)\n\n Question: What is the name of the game with odds... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (launch_date VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR)
Question: What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000?
... | Here is the SQLite query to answer the question:
```
SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000"
``` | 42,709 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (launch_date VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR)\n\n Question: What is the launch date odds of winn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR)
Question: What is the launch date odds of winning 1 in 4.54?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the launch date for the odds of winning 1 in 4.54:
```
SELECT launch_date FROM table_name_2 WHERE odds_of_winning = "1 in 4.54"
``` | 42,710 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR)\n\n Question: What is the launch date odds of winning 1 in 4.54?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (launch_date VARCHAR, odds_of_winning VARCHAR)
Question: What is the launch date odds of winning 1 in 4.44?
Here is the SQLite query to answer to the quest... | Your provided SQLite query is correct for retrieving the launch date corresponding to the odds of winning 1 in 4.44. Here it is wrapped in code format:
```
SELECT launch_date FROM table_name_92 WHERE odds_of_winning = "1 in 4.44"
``` | 42,711 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (launch_date VARCHAR, odds_of_winning VARCHAR)\n\n Question: What is the launch date odds of winning 1 in 4.44?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (game_name VARCHAR, top_prize VARCHAR)
Question: What is the name of the game with a top prize of $888?
Here is the SQLite query to answer to the question:... | Your SQLite query is mostly correct, but in SQL, it's better practice to use single quotes for string literals. Here's the corrected query wrapped in the appropriate code block:
```
SELECT game_name FROM table_name_55 WHERE top_prize = '$888';
``` | 42,712 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (game_name VARCHAR, top_prize VARCHAR)\n\n Question: What is the name of the game with a top prize of $888?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (top_prize VARCHAR, price VARCHAR, launch_date VARCHAR)
Question: What is the top price of $1 with a launch date on February 12, 2008?
Here is the SQLite qu... | Here is the SQLite query to answer the question about the top price of $1 with a launch date on February 12, 2008:
```
SELECT top_prize FROM table_name_3 WHERE price = "$1" AND launch_date = "February 12, 2008"
``` | 42,713 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (top_prize VARCHAR, price VARCHAR, launch_date VARCHAR)\n\n Question: What is the top price of $1 with a launch date ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)
Question: What is the highest number of laps when there are less than 5 points for team garry rog... | Here is the SQLite query to answer the question:
```
SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry rogers motorsport" AND grid < 23
``` | 42,714 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)\n\n Question: What is the highest number of laps when the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (name VARCHAR, grid VARCHAR, laps VARCHAR, points VARCHAR)
Question: What is the name of the driver who went 46 laps had less than 9 points and had a grid n... | Here is the SQLite query to answer the question regarding the driver who went 46 laps, had less than 9 points, and had a grid number under 12:
```
SELECT name FROM table_name_81 WHERE laps = '46' AND points < '9' AND grid < '12'
```
Please note that I enclosed the numeric values in quotes because they are defined as... | 42,715 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (name VARCHAR, grid VARCHAR, laps VARCHAR, points VARCHAR)\n\n Question: What is the name of the driver who went 46 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (finals_venue__surface_ VARCHAR, year VARCHAR)
Question: Where was the 1966 final played?
Here is the SQLite query to answer to the question: Where was the... | Here is the SQLite query to answer the question: Where was the 1966 final played?:
```
SELECT finals_venue__surface_ FROM table_name_12 WHERE year = '1966'
``` | 42,716 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (finals_venue__surface_ VARCHAR, year VARCHAR)\n\n Question: Where was the 1966 final played?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (worst_score INTEGER, best_dancer VARCHAR, dance VARCHAR)
Question: What is the average Worst score for Mario Lopez as the Best dancer and Tango as the Danc... | Here is the SQLite query to answer the question about the average Worst score for Mario Lopez as the Best dancer and Tango as the Dance:
```
SELECT AVG(worst_score) FROM table_name_81 WHERE best_dancer = "mario lopez" AND dance = "tango"
``` | 42,717 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (worst_score INTEGER, best_dancer VARCHAR, dance VARCHAR)\n\n Question: What is the average Worst score for Mario Lo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (best_score INTEGER, dance VARCHAR)
Question: What is the highest Best score for the Dance Mambo?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to find the highest best score for the dance "Mambo":
```
SELECT MAX(best_score) FROM table_name_47 WHERE dance = 'Mambo';
``` | 42,718 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (best_score INTEGER, dance VARCHAR)\n\n Question: What is the highest Best score for the Dance Mambo?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR)
Question: Who is the Best dancer with the Worst dancer of Jerry Springer, a B... | Here is the SQLite query to answer the question:
```
SELECT best_dancer FROM table_name_47 WHERE worst_dancer = 'Jerry Springer' AND best_score = '29' AND dance = 'Quickstep';
``` | 42,719 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR)\n\n Question: Who is the Best dancer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR)
Question: How many dances placed below 1 with a point total of 40?
Here is the SQLite query... | The correct SQLite query should use a count function to determine how many dances meet the criteria specified in the question. Here’s the revised query:
```
SELECT COUNT(*) AS num_dances FROM table_name_69 WHERE place < 1 AND total_points = '40'
```
In this query:
- `COUNT(*)` counts the number of rows that match th... | 42,720 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR)\n\n Question: How many dances placed below 1 with a ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR)
Question: What is the lowest number of dances with a rank larger than 4 and a place of 8?... | Here is the SQLite query to answer the question, wrapped appropriately:
```
SELECT MIN(number_of_dances) FROM table_name_93 WHERE CAST(rank_by_average AS INTEGER) > 4 AND place = 8;
``` | 42,721 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR)\n\n Question: What is the lowest number of dances... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)
Question: What is the lowest number of dances with a less than 2 place and an average smaller tha... | The SQLite query to find the lowest number of dances with a place less than 2 and an average smaller than 27.5 is as follows:
```
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < '2' AND average < '27.5'
```
Please note that in SQLite, the comparison of values in VARCHAR columns is lexicographical, so be... | 42,722 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)\n\n Question: What is the lowest number of dances with a ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (diff INTEGER, played INTEGER)
Question: What is the total difference for teams that played less than 6 games?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the total difference for teams that played less than 6 games:
```
SELECT SUM(diff) FROM table_name_38 WHERE played < 6
``` | 42,723 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (diff INTEGER, played INTEGER)\n\n Question: What is the total difference for teams that played less than 6 games?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (played INTEGER, lost VARCHAR, against VARCHAR)
Question: What is the highest number of games played for teams that lost over 5 games and had an against tot... | Your SQLite query has a small issue with how you're comparing the `lost` column. Since the `lost` column is defined as `VARCHAR`, you need to properly convert the string into an integer for comparison.
Here is the corrected SQLite query wrapped in code blocks:
```
SELECT MAX(played)
FROM table_name_52
WHERE CAST(l... | 42,724 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (played INTEGER, lost VARCHAR, against VARCHAR)\n\n Question: What is the highest number of games played for teams t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (lost VARCHAR, points VARCHAR, against VARCHAR)
Question: How many games lost for team(s) with less than 4 paints and against total of over 340?
Here is th... | It looks like there are a couple of issues in the query regarding the data types and how the conditions are specified. In the schema, both the `points` and `against` columns are of type `VARCHAR`, which means they are stored as text. To perform numeric comparisons, you need to cast them to a numeric type.
Here’s the c... | 42,725 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (lost VARCHAR, points VARCHAR, against VARCHAR)\n\n Question: How many games lost for team(s) with less than 4 paint... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR)
Question: What week was the game that had an attendance of 24,242?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question regarding the week of the game that had an attendance of 24,242:
```
SELECT week FROM table_name_34 WHERE attendance = "24,242";
``` | 42,726 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR)\n\n Question: What week was the game that had an attendance of 24,242?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (attendance VARCHAR, result VARCHAR)
Question: What was the attendance of the game that had a score of l 35–14?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the attendance of the game that had a score of "l 35–14":
```
SELECT attendance FROM table_name_8 WHERE result = "l 35–14"
``` | 42,727 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (attendance VARCHAR, result VARCHAR)\n\n Question: What was the attendance of the game that had a score of l 35–14?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: When was the pre-Week 10 game that had an attendance of over 38,865?
Here is the SQLite query to... | It looks like there is a slight modification needed in the attendance condition of your original query. Since attendance is represented as a string with a comma, you should compare it to a string value directly without the quotes around the number. Here's the corrected SQLite query:
```sql
SELECT date FROM table_name_... | 42,728 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (date VARCHAR, week VARCHAR, attendance VARCHAR)\n\n Question: When was the pre-Week 10 game that had an attendance ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (location VARCHAR, ppv_buyrate VARCHAR)
Question: Which Location has a PPV Buyrate of 775,000?
Here is the SQLite query to answer to the question: Which Lo... | Here is the SQLite query to answer the question regarding which location has a PPV buyrate of 775,000:
```
SELECT location FROM table_name_26 WHERE ppv_buyrate = "775,000"
``` | 42,729 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (location VARCHAR, ppv_buyrate VARCHAR)\n\n Question: Which Location has a PPV Buyrate of 775,000?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
Question: Where did Geelong play as the away team?
Here is the SQLite query to answer to the question: Where did Geelong... | Here is the SQLite query to answer the question of where Geelong played as the away team:
```
SELECT venue FROM table_name_62 WHERE away_team = "Geelong"
``` | 42,730 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)\n\n Question: Where did Geelong play as the away team?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (away_team VARCHAR)
Question: What was the away team's score against Hawthorn?
Here is the SQLite query to answer to the question: What was the away team's... | It looks like there might be a small misunderstanding in the way the question is structured. The query you provided does not actually retrieve the score of the away team against Hawthorn since the schema you've shared does not have a column for scores, nor does it specify the context of the data.
To accurately formula... | 42,731 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (away_team VARCHAR)\n\n Question: What was the away team's score against Hawthorn?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
Question: When Fitzroy was the home team, what was the away team's score?
Here is the SQLite query to answer to the ... | Your query needs to be amended slightly, as the query provided only retrieves the away team's name, not the score. Assuming there is a score associated with these match records (for example, if there was another table that stores scores), you would need to include that in your query.
However, with the provided schema,... | 42,732 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)\n\n Question: When Fitzroy was the home team, what was the away team's score?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR)
Question: How big was the largest crowd recorded at the Arden Street Oval venue?
Here is the SQLite query to answer to the q... | Your SQLite query looks good for retrieving the largest crowd recorded at the Arden Street Oval venue. Here it is, wrapped as requested:
```
SELECT MAX(crowd) FROM table_name_73 WHERE venue = "arden street oval";
``` | 42,733 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR)\n\n Question: How big was the largest crowd recorded at the Arden Street Oval venue?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (attendance INTEGER, week VARCHAR)
Question: What is the smallest attendance in week 1?
Here is the SQLite query to answer to the question: What is the sma... | Your query is almost correct, but the `week` column appears to be of type `VARCHAR`, which means you need to compare it with a string. Therefore, you should compare `week` with '1' instead of 1 (without quotes).
Here is the corrected SQLite query:
```
SELECT MIN(attendance) FROM table_name_76 WHERE week = '1'
```
T... | 42,734 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (attendance INTEGER, week VARCHAR)\n\n Question: What is the smallest attendance in week 1?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (week INTEGER, date VARCHAR, attendance VARCHAR)
Question: What is the larges week for the date august 9, 1968 and less than 64,020 in attendance?
Here is... | It seems there is a slight misunderstanding in your SQLite query regarding the usage of the `OFFSET` keyword and the comparison being made for `attendance`. The correct SQL syntax should not include `OFFSET` in the context you're using, and the `attendance` should be compared as an integer rather than a string.
Here’... | 42,735 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (week INTEGER, date VARCHAR, attendance VARCHAR)\n\n Question: What is the larges week for the date august 9, 1968 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR)
Question: What is the smallest attendance number for august 9, 1968?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the smallest attendance number for August 9, 1968:
```
SELECT MIN(attendance) FROM table_name_45 WHERE date = "august 9, 1968"
``` | 42,736 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR)\n\n Question: What is the smallest attendance number for august 9, 1968?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (result VARCHAR, date VARCHAR)
Question: What was the result of the game on august 30, 1968?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question about the result of the game on August 30, 1968:
```
SELECT result FROM table_name_69 WHERE date = "august 30, 1968"
``` | 42,737 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (result VARCHAR, date VARCHAR)\n\n Question: What was the result of the game on august 30, 1968?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (class VARCHAR, call_sign VARCHAR)
Question: What is the class of the w267an call sign?
Here is the SQLite query to answer to the question: What is the cla... | Here is the SQLite query to find the class of the call sign "w267an":
```
SELECT class FROM table_name_13 WHERE call_sign = "w267an"
``` | 42,738 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (class VARCHAR, call_sign VARCHAR)\n\n Question: What is the class of the w267an call sign?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)
Question: What is the lowest ERP W of the 67829 Facility ID?
Here is the SQLite query to answer to the question: What ... | Your SQLite query has a small issue with the condition in the WHERE clause. Since `facility_id` is defined as a VARCHAR, the value should be enclosed in single quotes. Here’s the corrected query:
```
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = '67829'
``` | 42,739 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)\n\n Question: What is the lowest ERP W of the 67829 Facility ID?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Question: What is the FCC info for the call sign with a frequency MHz of 101.3... | Here is the SQLite query to answer the question:
```sql
SELECT fcc_info FROM table_name_52
WHERE frequency_mhz = '101.3'
AND erp_w > '10'
AND facility_id < '87027';
``` | 42,740 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)\n\n Question: What is the FCC info for... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR)
Question: What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17?
Here is the ... | Your SQLite query is almost correct, but you need to ensure that the `steals` column is treated as an integer for the comparison and be cautious about the format used in `ftm_fta`. Here is the corrected version:
```sql
SELECT AVG(off_reb)
FROM table_name_29
WHERE ftm_fta = '16-17' AND CAST(steals AS INTEGER) < 8;
``... | 42,741 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR)\n\n Question: What was the average of the Off Reb with steals les... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (song VARCHAR, release_info VARCHAR)
Question: Which song released on heavenly (hvn152)?
Here is the SQLite query to answer to the question: Which song rel... | Here is the SQLite query to answer the question: Which song released on heavenly (hvn152)?:
```
SELECT song FROM table_name_86 WHERE release_info = "heavenly (hvn152)"
``` | 42,742 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (song VARCHAR, release_info VARCHAR)\n\n Question: Which song released on heavenly (hvn152)?\n\nHere is the SQLite q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR)
Question: Which album had a release of heavenly (hvn95)?
Here is the SQLite query to answer to the question: Which al... | Here is the SQLite query to answer the question about which album had a release of heavenly (hvn95):
```
SELECT album FROM table_name_56 WHERE release_info = "heavenly (hvn95)"
``` | 42,743 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR)\n\n Question: Which album had a release of heavenly (hvn95)?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (round VARCHAR, college VARCHAR)
Question: What is the sum of all the rounds when a Florida State player was drafted?
Here is the SQLite query to answer to ... | The query provided counts the number of rounds instead of summing the round numbers. To sum the rounds for Florida State players, assuming the `round` column contains numeric values, you should use the `SUM` function instead of `COUNT`. Here’s the corrected SQLite query:
```sql
SELECT SUM(CAST(round AS INTEGER)) FROM ... | 42,744 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (round VARCHAR, college VARCHAR)\n\n Question: What is the sum of all the rounds when a Florida State player was draf... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: What is the average round in which a Safety with an overall rank higher than 89 was drafted?
H... | Here is the SQLite query to find the average round in which a Safety with an overall rank higher than 89 was drafted:
```
SELECT AVG(round) FROM table_name_41 WHERE position = "safety" AND overall > 89
``` | 42,745 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (round INTEGER, position VARCHAR, overall VARCHAR)\n\n Question: What is the average round in which a Safety with an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)
Question: Where was 2010 tournament where the United States received the silver?
Here is the SQLite query to ... | Here is the corrected SQLite query to answer the question about the 2010 tournament where the United States received the silver:
```sql
SELECT venue FROM table_name_18 WHERE silver = "United States" AND year = "2010";
``` | 42,746 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)\n\n Question: Where was 2010 tournament where the United States receiv... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (venue VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: Where was the tournament where Finland received the bronze and the United States received the silv... | Here is the SQLite query to answer the question regarding the tournament where Finland received the bronze and the United States received the silver:
```
SELECT venue FROM table_name_22 WHERE bronze = "finland" AND silver = "united states"
``` | 42,747 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (venue VARCHAR, bronze VARCHAR, silver VARCHAR)\n\n Question: Where was the tournament where Finland received the br... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (gold VARCHAR, silver VARCHAR, venue VARCHAR)
Question: Who received the gold at the tournament at bratislava where the Czech Republic received the silver?
... | Here is the SQLite query to answer the question: Who received the gold at the tournament at Bratislava where the Czech Republic received the silver?:
```
SELECT gold FROM table_name_58 WHERE silver = "Czech Republic" AND venue = "Bratislava"
``` | 42,748 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (gold VARCHAR, silver VARCHAR, venue VARCHAR)\n\n Question: Who received the gold at the tournament at bratislava wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (venue VARCHAR, silver VARCHAR, year VARCHAR, bronze VARCHAR)
Question: Where was the post 1991 tournament where the Czech Republic received the bronze and ... | Here is the SQLite query to answer the question regarding the post-1991 tournament where the Czech Republic received the bronze and Russia received the silver:
```
SELECT venue FROM table_name_40 WHERE year > 1991 AND bronze = "Czech Republic" AND silver = "Russia"
``` | 42,749 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (venue VARCHAR, silver VARCHAR, year VARCHAR, bronze VARCHAR)\n\n Question: Where was the post 1991 tournament where... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at the game at Kardinia Park?
Here is the SQLite query to answer to the question: Who wa... | Here is the SQLite query to answer the question: Who was the away team at the game at Kardinia Park?:
```
SELECT away_team FROM table_name_99 WHERE venue = "Kardinia Park";
``` | 42,750 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)\n\n Question: Who was the away team at the game at Kardinia Park?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR)
Question: What was the smallest crowd for a Melbourne away game?
Here is the SQLite query to answer to the question: Wha... | Your SQLite query looks good for retrieving the smallest crowd for a Melbourne away game. However, in SQLite, it's common practice to ensure the case sensitivity of string comparisons, and typically the teams' names are in a consistent case. Assuming "Melbourne" could be in various cases in your database, you might wan... | 42,751 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR)\n\n Question: What was the smallest crowd for a Melbourne away game?\n\nHere is t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, week VARCHAR)
Question: What day did the team play on week 8?
Here is the SQLite query to answer to the question: What day did the team play... | Your SQLite query to find out what day the team played in week 8 is correct. Here's the code wrapped in triple backticks for clarity:
```
SELECT date FROM table_name_55 WHERE week = '8';
```
Note that I changed 8 to '8' to match the VARCHAR type used in the week column. This is important because in a database, the d... | 42,752 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (date VARCHAR, week VARCHAR)\n\n Question: What day did the team play on week 8?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR)
Question: What was the average size of the crowd for matches held at Corio Oval?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question regarding the average size of the crowd for matches held at Corio Oval:
```
SELECT AVG(crowd) FROM table_name_28 WHERE venue = "Corio Oval";
``` | 42,753 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR)\n\n Question: What was the average size of the crowd for matches held at Corio Oval?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played against St Kilda?
Here is the SQLite query to answer to the question: What home team... | Here is the SQLite query to answer the question: What home team played against St Kilda?:
```sql
SELECT home_team FROM table_name_68 WHERE away_team = "St Kilda";
``` | 42,754 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR)\n\n Question: What home team played against St Kilda?\n\nHere is the SQLite q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR)
Question: At what venue was South Melbourne the home team?
Here is the SQLite query to answer to the question: At what v... | Here is the SQLite query that answers the question regarding the venue where South Melbourne was the home team:
```
SELECT venue FROM table_name_87 WHERE home_team = "South Melbourne";
``` | 42,755 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR)\n\n Question: At what venue was South Melbourne the home team?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (home_team VARCHAR)
Question: What was Hawthorn's score when they were the home team?
Here is the SQLite query to answer to the question: What was Hawthorn... | To answer your question correctly regarding the score, it seems you need to include the score associated with the home team in your database schema. Assuming there is a score column available in the schema, the correct query would involve selecting the score for the home team "Hawthorn". However, since your provided sc... | 42,756 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (home_team VARCHAR)\n\n Question: What was Hawthorn's score when they were the home team?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team's score when they played at Lake Oval?
Here is the SQLite query to answer to the questi... | It looks like the query you've provided does not actually select a score, but rather the home team name from the specified venue. Since there is no column for scores in the given schema, we need to clarify that based on the provided schema (`CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)`), there is no i... | 42,757 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)\n\n Question: What was the home team's score when they played at Lake Oval?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (income_inequality_1994_2011__latest_available_ VARCHAR, population_2011 VARCHAR)
Question: What is the latest available income inequality for the country w... | Here is the SQLite query to answer the question regarding the latest available income inequality for the country with a population of 21,315,135:
```
SELECT income_inequality_1994_2011__latest_available_ FROM table_name_91 WHERE population_2011 = "21,315,135"
``` | 42,758 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (income_inequality_1994_2011__latest_available_ VARCHAR, population_2011 VARCHAR)\n\n Question: What is the latest a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR)
Question: What is the IEF 2011 of the country with an FSI 2012 of 99.2?
Here is the SQLite query to answer to the ques... | Here is the SQLite query you can use to find the IEF 2011 of the country with an FSI 2012 of 99.2:
```sql
SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2";
``` | 42,759 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR)\n\n Question: What is the IEF 2011 of the country with an FSI 2012 of 99.2?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (income_inequality_1994_2011__latest_available_ VARCHAR, country VARCHAR)
Question: What is the current income inequality for the country of Seychelles?
He... | Your SQLite query to find the current income inequality for Seychelles is correctly written. Here it is wrapped in code formatting:
```
SELECT income_inequality_1994_2011__latest_available_ FROM table_name_15 WHERE country = "seychelles";
``` | 42,760 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (income_inequality_1994_2011__latest_available_ VARCHAR, country VARCHAR)\n\n Question: What is the current income i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (hdi_2011 VARCHAR, di_2011 VARCHAR)
Question: What is the HDI 2011 of the country with a DI 2011 of 7.63?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question regarding the HDI 2011 of the country with a DI 2011 of 7.63:
```
SELECT hdi_2011 FROM table_name_54 WHERE di_2011 = "7.63";
``` | 42,761 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (hdi_2011 VARCHAR, di_2011 VARCHAR)\n\n Question: What is the HDI 2011 of the country with a DI 2011 of 7.63?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR)
Question: What country has an IEF 2011 of 45.3?
Here is the SQLite query to answer to the question: What country has an... | Here is the SQLite query to answer the question of which country has an IEF 2011 of 45.3:
```
SELECT country FROM table_name_46 WHERE ief_2011 = '45.3';
``` | 42,762 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR)\n\n Question: What country has an IEF 2011 of 45.3?\n\nHere is the SQLite query ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (date VARCHAR, away_team VARCHAR)
Question: What date did South Melbourne play as the Away team?
Here is the SQLite query to answer to the question: What d... | Here is the SQLite query to answer the question of what date South Melbourne played as the away team:
```
SELECT date FROM table_name_79 WHERE away_team = "South Melbourne";
``` | 42,763 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (date VARCHAR, away_team VARCHAR)\n\n Question: What date did South Melbourne play as the Away team?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (venue VARCHAR, home_team VARCHAR)
Question: Where did Essendon play as the home team?
Here is the SQLite query to answer to the question: Where did Essend... | Your provided SQLite query is correct for the given question. Here it is wrapped in the code block as requested:
```
SELECT venue FROM table_name_95 WHERE home_team = "essendon";
```
This query will return all the venues where Essendon played as the home team. | 42,764 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (venue VARCHAR, home_team VARCHAR)\n\n Question: Where did Essendon play as the home team?\n\nHere is the SQLite que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (position VARCHAR, school_country VARCHAR)
Question: What position does the player from arkansas play?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the position of the player from Arkansas:
```
SELECT position FROM table_name_54 WHERE school_country = "arkansas";
``` | 42,765 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (position VARCHAR, school_country VARCHAR)\n\n Question: What position does the player from arkansas play?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)
Question: Who is the away side at glenferrie oval?
Here is the SQLite query to answer to the question: Who is the away s... | Here is the SQLite query to answer the question: Who is the away side at glenferrie oval?:
```
SELECT away_team FROM table_name_90 WHERE venue = "glenferrie oval";
``` | 42,766 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)\n\n Question: Who is the away side at glenferrie oval?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away side's score when richmond is at home?
Here is the SQLite query to answer to the question:... | It seems there might be a misunderstanding regarding the schema provided and the question asked. The schema you provided only defines teams but does not include any scores. Therefore, we cannot retrieve away side scores based on the provided schema.
However, if we assume there is a field for scores in your schema, th... | 42,767 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What is the away side's score when richmond is at home?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd size at Collingwood's match?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question about the crowd size at Collingwood's match:
```
SELECT crowd FROM table_name_43 WHERE home_team = "collingwood";
``` | 42,768 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR)\n\n Question: What was the crowd size at Collingwood's match?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)
Question: What was the crowd size at Arden Street Oval?
Here is the SQLite query to answer to the question: What was the cro... | Here is the SQLite query to answer the question about the crowd size at Arden Street Oval:
```
SELECT crowd FROM table_name_51 WHERE venue = "Arden Street Oval";
``` | 42,769 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)\n\n Question: What was the crowd size at Arden Street Oval?\n\nHere is the SQLite que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (status_of_match VARCHAR, fixture VARCHAR)
Question: What is the status of the match between Scotland v Northern Ireland?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the status of the match between Scotland v Northern Ireland:
```
SELECT status_of_match FROM table_name_70 WHERE fixture = "Scotland v Northern Ireland";
``` | 42,770 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (status_of_match VARCHAR, fixture VARCHAR)\n\n Question: What is the status of the match between Scotland v Northern... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (week INTEGER, date VARCHAR)
Question: In what week was the game on August 10, 1956 played?
Here is the SQLite query to answer to the question: In what wee... | The SQLite query you've provided is not quite correct for the question you're trying to answer. Specifically, you do not need to use the `AVG` function, as you are simply looking to retrieve the week associated with a specific date. The correct way to formulate the query is to select the `week` directly where the `date... | 42,771 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (week INTEGER, date VARCHAR)\n\n Question: In what week was the game on August 10, 1956 played?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance of the game in week 6?
Here is the SQLite query to answer to the question: What was the... | Your SQL query is almost correct, but since the `week` column is defined as a `VARCHAR`, you should use quotes around the number 6 to match the data type. Here is the corrected version:
```
SELECT attendance FROM table_name_9 WHERE week = '6'
``` | 42,772 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR)\n\n Question: What was the attendance of the game in week 6?\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (week INTEGER, date VARCHAR, attendance VARCHAR)
Question: In what week was the game on August 24, 1956 played in front of 40,175 fans?
Here is the SQLite ... | It looks like there are a few mistakes in the provided SQL query. First, the comparison to `attendance` should check for equality (not greater than), and the date should be formatted correctly or consistently with how it is stored in the database. Assuming that the attendance is stored as a string and formatted correct... | 42,773 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (week INTEGER, date VARCHAR, attendance VARCHAR)\n\n Question: In what week was the game on August 24, 1956 played i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (signal_quality VARCHAR, station_call_letters VARCHAR)
Question: What signal quality does the KCAL-DT channel have?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the signal quality of the KCAL-DT channel:
```
SELECT signal_quality FROM table_name_96 WHERE station_call_letters = "KCAL-DT";
``` | 42,774 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (signal_quality VARCHAR, station_call_letters VARCHAR)\n\n Question: What signal quality does the KCAL-DT channel ha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (original_channel VARCHAR, b_mountain_channel VARCHAR)
Question: What original channel is associated with B Mountain Channel 9?
Here is the SQLite query to... | Here is the SQLite query to answer the question about the original channel associated with B Mountain Channel 9:
```
SELECT original_channel FROM table_name_39 WHERE b_mountain_channel = "9";
``` | 42,775 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (original_channel VARCHAR, b_mountain_channel VARCHAR)\n\n Question: What original channel is associated with B Moun... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (b_mountain_channel VARCHAR, station_call_letters VARCHAR)
Question: What B Mountain Channel has station call letters of k41go?
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding what B Mountain Channel has station call letters of k41go:
```
SELECT b_mountain_channel FROM table_name_75 WHERE station_call_letters = "k41go";
``` | 42,776 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (b_mountain_channel VARCHAR, station_call_letters VARCHAR)\n\n Question: What B Mountain Channel has station call le... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (laurel_mountain_channel VARCHAR, b_mountain_channel VARCHAR)
Question: What Laurel Mountain Channel is associated with B Mountain Channel of 7?
Here is th... | Your SQLite query is correctly written to retrieve the Laurel Mountain Channel associated with the B Mountain Channel of 7. Here it is, properly wrapped for clarity:
```
SELECT laurel_mountain_channel FROM table_name_51 WHERE b_mountain_channel = "7"
``` | 42,777 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (laurel_mountain_channel VARCHAR, b_mountain_channel VARCHAR)\n\n Question: What Laurel Mountain Channel is associat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (translator_call_letters VARCHAR, station_call_letters VARCHAR)
Question: What are the translator call letters for station call letters of KCOP-DT?
Here is... | Here is the SQLite query to find the translator call letters for the station call letters of KCOP-DT:
```
SELECT translator_call_letters FROM table_name_94 WHERE station_call_letters = "KCOP-DT";
``` | 42,778 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (translator_call_letters VARCHAR, station_call_letters VARCHAR)\n\n Question: What are the translator call letters f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR)
Question: What date was fitzroy the home team?
Here is the SQLite query to answer to the question: What date was fitzroy t... | Here is the SQLite query to answer the question about when Fitzroy was the home team:
```
SELECT date FROM table_name_2 WHERE home_team = "fitzroy"
``` | 42,779 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR)\n\n Question: What date was fitzroy the home team?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score for the away team when the home team was richmond?
Here is the SQLite query to answer t... | It looks like you want to retrieve the away team when the home team is Richmond. However, your question mentions "score," but the table schema you provided does not include any score-related columns. Assuming you just want to return the name of the away team for matches where Richmond is the home team, here’s the SQL q... | 42,780 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What was the score for the away team when the home team was ric... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR)
Question: What is the venue where the home team is Footscray?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about the venue where the home team is Footscray:
```
SELECT venue FROM table_name_57 WHERE home_team = "Footscray";
``` | 42,781 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR)\n\n Question: What is the venue where the home team is Footscray?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (venue VARCHAR, date VARCHAR, away_team VARCHAR)
Question: What is the venue for the game on 1 June 1929 where Richmond was the away team?
Here is the SQLi... | Here is the SQLite query to answer the question regarding the venue for the game on 1 June 1929 where Richmond was the away team:
```
SELECT venue FROM table_name_96 WHERE date = "1 June 1929" AND away_team = "Richmond";
``` | 42,782 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (venue VARCHAR, date VARCHAR, away_team VARCHAR)\n\n Question: What is the venue for the game on 1 June 1929 where R... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (speed VARCHAR, points VARCHAR)
Question: What was the speed of the rider that earned 1 point?
Here is the SQLite query to answer to the question: What was... | Here is the SQLite query to answer the question regarding the speed of the rider that earned 1 point:
```
SELECT speed FROM table_name_24 WHERE points = '1'
```
Note that the value in the `WHERE` clause is treated as a string since the `points` column is defined as `VARCHAR`. Adjust the query if the data type for po... | 42,783 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (speed VARCHAR, points VARCHAR)\n\n Question: What was the speed of the rider that earned 1 point?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)
Question: What away team is playing at the Brunswick Street Oval Venue?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about which away team is playing at the Brunswick Street Oval Venue:
```
SELECT away_team FROM table_name_22 WHERE venue = "Brunswick Street Oval";
``` | 42,784 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)\n\n Question: What away team is playing at the Brunswick Street Oval Venue?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (date VARCHAR, home_team VARCHAR)
Question: What date does the Home team of Richmond have?
Here is the SQLite query to answer to the question: What date do... | Here is the SQLite query to answer the question about the date when Richmond is the home team:
```
SELECT date FROM table_name_32 WHERE home_team = "Richmond";
``` | 42,785 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (date VARCHAR, home_team VARCHAR)\n\n Question: What date does the Home team of Richmond have?\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR)
Question: Who is the home team at Victoria Park on 20 April 1957?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question "Who is the home team at Victoria Park on 20 April 1957?":
```
SELECT home_team FROM table_name_62 WHERE date = "20 April 1957" AND venue = "Victoria Park";
``` | 42,786 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR)\n\n Question: Who is the home team at Victoria Park on 20 April 195... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (municipality VARCHAR, station VARCHAR)
Question: What municipality is the Harmon Cove station located in?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the municipality where the Harmon Cove station is located:
```
SELECT municipality FROM table_name_58 WHERE station = "Harmon Cove";
``` | 42,787 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (municipality VARCHAR, station VARCHAR)\n\n Question: What municipality is the Harmon Cove station located in?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR)
Question: What municipality is the Benson Street station located in?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the municipality where the Benson Street station is located:
```
SELECT municipality FROM table_name_53 WHERE station = "Benson Street";
``` | 42,788 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR)\n\n Question: What municipality is the Benson Street station located in?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, partner VARCHAR)
Question: What date shows corrado barazzutti's partner?
Here is the SQLite query to answer to the question: What date shows... | Here is the SQLite query to answer the question about the date showing Corrado Barazzutti's partner:
```
SELECT date FROM table_name_99 WHERE partner = "corrado barazzutti"
``` | 42,789 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (date VARCHAR, partner VARCHAR)\n\n Question: What date shows corrado barazzutti's partner?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
Question: Which date has the tom gullikson butch walts final, and who was the runner-up?
He... | Here is the correct SQLite query to answer the question regarding the date of the "tom gullikson butch walts" final and to find out who was the runner-up:
```
SELECT date, outcome FROM table_name_74 WHERE opponents_in_the_final = "tom gullikson butch walts";
```
In this query, you will retrieve the date of the final ... | 42,790 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)\n\n Question: Which date has the tom gullikson butch... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team of the game against Essendon?
Here is the SQLite query to answer to the question: Who... | Here is the SQLite query to answer the question about the home team of the game against Essendon:
```
SELECT home_team FROM table_name_96 WHERE away_team = "Essendon"
``` | 42,791 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (home_team VARCHAR, away_team VARCHAR)\n\n Question: Who is the home team of the game against Essendon?\n\nHere is t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR)
Question: Who is the color commentator for ESPN from 1990 to 1992?
Here is the SQLite query to answer to th... | To retrieve the color commentator for ESPN from 1990 to 1992, you would need to add a condition for the year in the SQL query. However, since the provided schema does not include a year column, I will assume that there is either a year column that wasn't mentioned, or you want to filter the results based on those years... | 42,792 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR)\n\n Question: Who is the color commentator for ESPN from 1990 to 199... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (sideline_reporter_s_ VARCHAR, year INTEGER)
Question: Who was the sideline reporter prior to 1993?
Here is the SQLite query to answer to the question: Who ... | Here is the SQLite query to answer the question: Who was the sideline reporter prior to 1993?:
```
SELECT sideline_reporter_s_ FROM table_name_8 WHERE year < 1993
``` | 42,793 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (sideline_reporter_s_ VARCHAR, year INTEGER)\n\n Question: Who was the sideline reporter prior to 1993?\n\nHere is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
Question: Who was the play by play commentator for ABC after 1998?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question of who was the play by play commentator for ABC after 1998:
```sql
SELECT play_by_play FROM table_name_61 WHERE network = "ABC" AND year > '1998'
``` | 42,794 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)\n\n Question: Who was the play by play commentator for ABC aft... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (year INTEGER, play_by_play VARCHAR, sideline_reporter_s_ VARCHAR)
Question: What's the earliest year that Al Michaels was the play-by-play commentator, in ... | To find the earliest year that Al Michaels was the play-by-play commentator and both Lesley Visser and Dan Fouts were sideline reporters, you need to adjust the WHERE clause to correctly handle the presence of both reporters. You should check for the presence of each sideline reporter in the `sideline_reporter_s_` colu... | 42,795 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (year INTEGER, play_by_play VARCHAR, sideline_reporter_s_ VARCHAR)\n\n Question: What's the earliest year that Al Mi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (year VARCHAR, color_commentator_s_ VARCHAR)
Question: For how many years combined were Frank Gifford and Dan Dierdorf color commentators?
Here is the SQLi... | The provided query is not accurate for the requirement to count the years where both Frank Gifford and Dan Dierdorf were color commentators. Instead, we should count the distinct years for each commentator individually and then sum those years, ensuring we do not double-count any year where both were commentators.
Her... | 42,796 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (year VARCHAR, color_commentator_s_ VARCHAR)\n\n Question: For how many years combined were Frank Gifford and Dan Di... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR)
Question: Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf?
Here is th... | The SQLite query you provided does not correctly represent the requirement to find sideline reporters who worked alongside both Frank Gifford and Dan Dierdorf. Instead, you'll need to check for records where the `color_commentator_s_` matches either "Frank Gifford" or "Dan Dierdorf". Unfortunately, standard SQL, includ... | 42,797 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR)\n\n Question: Which sideline reporters worked alongside... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (withdrawn VARCHAR, name VARCHAR)
Question: When was the Lundy withdrawn?
Here is the SQLite query to answer to the question: When was the Lundy withdrawn?... | Here's the SQLite query to find out when the Lundy was withdrawn, formatted as you requested:
```
SELECT withdrawn FROM table_name_49 WHERE name = "lundy"
``` | 42,798 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (withdrawn VARCHAR, name VARCHAR)\n\n Question: When was the Lundy withdrawn?\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR)
Question: When was the locomotive named fighter command built?
Here is the SQLite query to answer to the question: When w... | Your SQLite query is correctly formulated to answer the question about when the locomotive named "fighter command" was built. Here’s your query wrapped appropriately:
```
SELECT whenbuilt FROM table_name_28 WHERE name = "fighter command";
``` | 42,799 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR)\n\n Question: When was the locomotive named fighter command built?\n\nHere is the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.