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_13 (crowd INTEGER, away_team VARCHAR)
Question: What was the largest crowd at a game where Collingwood was the away team?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the largest crowd at a game where Collingwood was the away team:
```
SELECT MAX(crowd) FROM table_name_13 WHERE away_team = "Collingwood";
``` | 8,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_13 (crowd INTEGER, away_team VARCHAR)\n\n Question: What was the largest crowd at a game where Collingwood was the away... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
Question: For the group with 1.92% population in 1981, what was their percentage ... | Here is the SQLite query wrapped in the requested format:
```
SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%"
``` | 8,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_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)\n\n Question: For the group with 1.92% po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR)
Question: For the group with 1.79% population in 1961, what was their percentage ... | Here is the SQLite query to answer the question:
```
SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%"
``` | 8,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_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR)\n\n Question: For the group with 1.79% po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
Question: What is the rice amount when the potato amount is 79?
Here is the SQLite query to answer ... | It looks like there are some issues with the syntax in your provided query. Here's the corrected SQLite query to find the rice amount when the potato amount is 79:
```sql
SELECT rice_ FROM table_name_7 WHERE potato_ = "79";
```
This query selects the `rice_` column from the `table_name_7` table where the `potato_` co... | 8,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_7 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)\n\n Question: What is the rice amount when the potato amount... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (yam_ VARCHAR, y_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
Question: What is the yam amount with amount of soybean 0 and ... | It seems like there are some inconsistencies in the column names that you provided in your question and the SQL query based on the schema. The correct column names should be referenced accurately in the query.
Given your task, the correct SQLite query to find the `yam_` amount with `soybean__green__` amount of `0` and... | 8,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_48 (yam_ VARCHAR, y_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)\n\n Question: What is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)
Question: What is the yam amount when the Cassava amount is 0.11?
Here is the SQLite query to answ... | It looks like there's a slight inconsistency in the way column names are referenced in your query. Based on the schema you provided, the correct columns should align with their definitions. Here's the corrected version of your SQLite query, formatted properly:
```sql
SELECT yam_ FROM table_name_34 WHERE cassava_ = '0.... | 8,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_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)\n\n Question: What is the yam amount when the Cassava amoun... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (wheat_ VARCHAR, c_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
Question: What is the wheat amount when the potato amount of 1.9?
Here is the SQLite query to ans... | It looks like there are a couple of issues in your SQL query that need to be addressed, such as incorrect column references and the use of quotes around the numeric value. Here's the correct SQL query:
```sql
SELECT wheat_ FROM table_name_20 WHERE potato_ = '1.9';
```
This query selects the `wheat_` column from `tabl... | 8,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_20 (wheat_ VARCHAR, c_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)\n\n Question: What is the wheat amount when the potato amo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
Question: What is the Sweet Potato amount when the soybean amount is 1.65?
Here i... | Here is the corrected SQLite query to answer the question about the Sweet Potato amount when the soybean amount is 1.65:
```sql
SELECT sweet_potato_ FROM table_name_92 WHERE soybean__green__ = "1.65";
```
This query selects the `sweet_potato_` column from `table_name_92` where the `soybean__green__` column matches t... | 8,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_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)\n\n Question: What is the Sweet Potato amo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (yam_ VARCHAR, y_ VARCHAR, maize___corn_ VARCHAR, a_ VARCHAR)
Question: What is the Yam amount when the Maze/Corn amount is 1355?
Here is the SQLite query ... | It looks like there's a small error in your query's syntax, specifically in how you are referencing the column names. Here is the corrected SQLite query to answer the question:
```sql
SELECT yam_ FROM table_name_80 WHERE maize___corn_ = '1355';
```
This query selects the `yam_` column from `table_name_80` where the `... | 8,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_80 (yam_ VARCHAR, y_ VARCHAR, maize___corn_ VARCHAR, a_ VARCHAR)\n\n Question: What is the Yam amount when the Maze/Cor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (name_and_flag VARCHAR, water_area__km_2__ VARCHAR)
Question: Which province and flag has a water area (km 2) of 0?
Here is the SQLite query to answer to t... | It looks like your SQLite query has a small issue. The `water_area__km_2__` column is defined as a `VARCHAR`, so a comparison with `0` (an integer) will not work correctly. You should compare it with the string `'0'`. Here's the corrected query:
```
SELECT name_and_flag FROM table_name_40 WHERE water_area__km_2__ = '0... | 8,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_40 (name_and_flag VARCHAR, water_area__km_2__ VARCHAR)\n\n Question: Which province and flag has a water area (km 2) of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR)
Question: When did the Browns play the Pittsburgh Steelers?
Here is the SQLite query to answer to the question: When did t... | Here is the SQLite query to answer the question: When did the Browns play the Pittsburgh Steelers?:
```
SELECT date FROM table_name_80 WHERE opponent = "pittsburgh steelers" AND opponent = "browns";
```
However, to correctly find the dates when the Browns played against the Steelers, you should ensure that both the ... | 8,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_80 (date VARCHAR, opponent VARCHAR)\n\n Question: When did the Browns play the Pittsburgh Steelers?\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 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home side when north melbourne is the away side?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Who is the home side when north melbourne is the away side?:
```
SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne"
``` | 8,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_51 (home_team VARCHAR, away_team VARCHAR)\n\n Question: Who is the home side when north melbourne is the away side?\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 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game played where Collingwood was the away team?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question: Where was the game played where Collingwood was the away team?:
```
SELECT venue FROM table_name_99 WHERE away_team = "collingwood";
``` | 8,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_99 (venue VARCHAR, away_team VARCHAR)\n\n Question: Where was the game played where Collingwood was the away team?\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_3 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR)
Question: What was the total tenure time with a rank of 49?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the total tenure time with a rank of 49:
```
SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = '49'
``` | 8,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 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR)\n\n Question: What was the total tenure time with a rank of 49... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (winning_team VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
Question: Who did Teo Fabi drive for when he won and had pole position?
Here is the S... | ```sql
SELECT winning_team FROM table_name_74 WHERE winning_driver = "Teo Fabi" AND pole_position = "Teo Fabi";
``` | 8,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_74 (winning_team VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)\n\n Question: Who did Teo Fabi drive for when ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: Who won for Forsythe Racing when Bobby Rahal had pole position?
Here is the SQLite qu... | Here is the SQLite query to answer the question about who won for Forsythe Racing when Bobby Rahal had pole position:
```
SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal";
``` | 8,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_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)\n\n Question: Who won for Forsythe Racing when Bobby Rah... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (winning_team VARCHAR, fastest_lap VARCHAR)
Question: Which team had the fastest lap of 1:13.516?
Here is the SQLite query to answer to the question: Which... | Here is the SQLite query to answer the question of which team had the fastest lap of 1:13.516:
```
SELECT winning_team FROM table_name_47 WHERE fastest_lap = "1:13.516"
``` | 8,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_47 (winning_team VARCHAR, fastest_lap VARCHAR)\n\n Question: Which team had the fastest lap of 1:13.516?\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_40 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: Who had the fastest lap when Al Unser won?
Here is the SQLite query to answer to the question: Who ... | Your SQLite query looks great! Here it is properly formatted:
```sql
SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser";
```
This query will retrieve the `fastest_lap` for the races where Al Unser was the winning driver. | 8,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_40 (fastest_lap VARCHAR, winning_driver VARCHAR)\n\n Question: Who had the fastest lap when Al Unser won?\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_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)
Question: What is the maximum number of players for the sega ga... | The SQLite query you provided has a small issue. Instead of using `COUNT(max__number_of_players)`, you should directly select the `max__number_of_players`, since you want to retrieve that specific value rather than the count of rows.
Here is the corrected version of the query:
```
SELECT max__number_of_players FROM t... | 8,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_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)\n\n Question: What 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_33 (away_team VARCHAR, score VARCHAR)
Question: Which Away team has a Score of 4–2?
Here is the SQLite query to answer to the question: Which Away team has a ... | Here is the SQLite query to answer the question about which away team has a score of 4–2:
```
SELECT away_team FROM table_name_33 WHERE score = "4–2";
``` | 8,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_33 (away_team VARCHAR, score VARCHAR)\n\n Question: Which Away team has a Score of 4–2?\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR, year VARCHAR)
Question: Which Home team has an Away team of al-ain fc, and a Year of 2002/03?
Here is the SQLite que... | Here is the SQLite query to answer the question about which Home team has an Away team of al-ain fc, and a Year of 2002/03:
```
SELECT home_team FROM table_name_60 WHERE away_team = "al-ain fc" AND year = "2002/03"
``` | 8,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_60 (home_team VARCHAR, away_team VARCHAR, year VARCHAR)\n\n Question: Which Home team has an Away team of al-ain fc, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (home_team VARCHAR, year VARCHAR, venue VARCHAR)
Question: Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium?
Here is the S... | Here is the SQLite query to answer the question about which home team has a year of 2002/03 and a venue of tahnoun bin mohamed stadium:
```
SELECT home_team FROM table_name_35 WHERE year = "2002/03" AND venue = "tahnoun bin mohamed stadium";
``` | 8,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_35 (home_team VARCHAR, year VARCHAR, venue VARCHAR)\n\n Question: Which Home team has a Year of 2002/03, and a Venue of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)
Question: Which Away team has a Home team of al-ain fc, and a Score of 1–1?
Here is the SQLite query ... | Here is the SQLite query to answer the question about which Away team has a Home team of "al-ain fc" and a Score of "1–1":
```
SELECT away_team FROM table_name_58 WHERE home_team = 'al-ain fc' AND score = '1–1';
``` | 8,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_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)\n\n Question: Which Away team has a Home team of al-ain fc, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (attendance INTEGER, date VARCHAR)
Question: What is the attendance of the game that was played on September 27, 1964?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the attendance of the game that was played on September 27, 1964:
```
SELECT attendance FROM table_name_85 WHERE date = "September 27, 1964";
``` | 8,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_85 (attendance INTEGER, date VARCHAR)\n\n Question: What is the attendance of the game that was played on September 27,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
Question: What is the home side's score when geelong is the away team?
Here is the SQLite query to answer to the que... | It seems you are looking for the home side's score when Geelong is the away team, but the provided query does not align with the schema where there is no score column mentioned. However, if the score was to be incorporated into the schema, it would need a modification. Assuming we are also tracking scores, let’s consid... | 8,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_77 (home_team VARCHAR, away_team VARCHAR)\n\n Question: What is the home side's score when geelong is the away team?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score_in_the_final VARCHAR, date VARCHAR)
Question: What was the score of the tournament that was held in 1974?
Here is the SQLite query to answer to the ... | Your query needs a small adjustment to correctly filter based on the year 1974. Since the `date` field is stored as a VARCHAR, you should ensure that the year is compared as a string. Here is the corrected query:
```
SELECT score_in_the_final FROM table_name_92 WHERE date LIKE '1974%'
```
This will return the `score... | 8,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_92 (score_in_the_final VARCHAR, date VARCHAR)\n\n Question: What was the score of the tournament that was held in 1974?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
Question: What was the date when South Melbourne was the home team?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the date when South Melbourne was the home team:
```
SELECT date FROM table_name_14 WHERE home_team = "South Melbourne";
``` | 8,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_14 (date VARCHAR, home_team VARCHAR)\n\n Question: What was the date when South Melbourne was the home 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_29 (venue VARCHAR, home_team VARCHAR)
Question: Where did Hawthorn play as home team?
Here is the SQLite query to answer to the question: Where did Hawthorn p... | Here is the SQLite query to answer the question "Where did Hawthorn play as home team?":
```
SELECT venue FROM table_name_29 WHERE home_team = 'Hawthorn';
``` | 8,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_29 (venue VARCHAR, home_team VARCHAR)\n\n Question: Where did Hawthorn play as home team?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)
Question: When the VFL played Brunswick Street Oval what was the home team score?
Here is the SQLite query to answer to ... | It looks like you're trying to query the home team information based on a specific venue. However, your question implies you're looking for a score, while the schema you provided only includes home team and venue without any score-related fields. Since there is no score field in the schema, it’s not possible to retriev... | 8,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_20 (home_team VARCHAR, venue VARCHAR)\n\n Question: When the VFL played Brunswick Street Oval what was the home team sc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (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 "Where did Geelong play as the away team?":
```
SELECT venue FROM table_name_9 WHERE away_team = "Geelong";
``` | 8,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_9 (venue VARCHAR, away_team VARCHAR)\n\n Question: Where did Geelong play as the away team?\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_2 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance when Fitzroy played as home team?
Here is the SQLite query to answer to the question: W... | To answer the question regarding the attendance when Fitzroy played as the home team, the correct SQLite query should actually count the distinct values in the `crowd` column for each match where Fitzroy is the home team. The query should look like this:
```
SELECT SUM(crowd) FROM table_name_2 WHERE home_team = "Fitzr... | 8,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_2 (crowd VARCHAR, home_team VARCHAR)\n\n Question: What was the attendance when Fitzroy played as home 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_25 (crowd INTEGER, home_team VARCHAR)
Question: What was the attendance when Hawthorn played as home team?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about attendance when Hawthorn played as the home team:
```
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn";
``` | 8,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_25 (crowd INTEGER, home_team VARCHAR)\n\n Question: What was the attendance when Hawthorn played as home team?\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_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
Question: What engine did Casey Mears use on the Reynard 01i Chassis?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question: What engine did Casey Mears use on the Reynard 01i Chassis?:
```
SELECT engine FROM table_name_24 WHERE chassis = "Reynard 01i" AND drivers = "Casey Mears";
``` | 8,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_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)\n\n Question: What engine did Casey Mears use on the Reynard 01i ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (chassis VARCHAR, drivers VARCHAR)
Question: What Chassis did Memo Gidley use?
Here is the SQLite query to answer to the question: What Chassis did Memo Gi... | Certainly! Here is the SQLite query to find out what chassis Memo Gidley used, wrapped as you requested:
```sql
SELECT chassis FROM table_name_37 WHERE drivers = "memo gidley"
``` | 8,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_37 (chassis VARCHAR, drivers VARCHAR)\n\n Question: What Chassis did Memo Gidley use?\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_34 (team VARCHAR, engine VARCHAR, races VARCHAR)
Question: Who used the Honda Engine for all the races?
Here is the SQLite query to answer to the question: Wh... | The query you've written is close, but it seems to imply that there is a specific value "all" for the `races` column, which might not be the correct interpretation of the question. To find out which teams used the Honda engine for all races, we would typically look for teams that only have records with the Honda engine... | 8,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_34 (team VARCHAR, engine VARCHAR, races VARCHAR)\n\n Question: Who used the Honda Engine for all the races?\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_75 (location VARCHAR, event VARCHAR)
Question: What is the location of the 200m backstroke?
Here is the SQLite query to answer to the question: What is the lo... | Here is the SQLite query to answer the question about the location of the 200m backstroke:
```
SELECT location FROM table_name_75 WHERE event = "200m backstroke";
``` | 8,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_75 (location VARCHAR, event VARCHAR)\n\n Question: What is the location of the 200m backstroke?\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_11 (circuit VARCHAR, winning_driver VARCHAR)
Question: Which circuit did Guy Edwards win?
Here is the SQLite query to answer to the question: Which circuit di... | Here is the SQLite query to answer the question: Which circuit did Guy Edwards win?:
```
SELECT circuit FROM table_name_11 WHERE winning_driver = "Guy Edwards";
``` | 8,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_11 (circuit VARCHAR, winning_driver VARCHAR)\n\n Question: Which circuit did Guy Edwards win?\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_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)
Question: What circuit did Rupert Keegan win in round 8?
Here is the SQLite query to answer to the... | Your SQLite query is almost correct; however, the round value should be written as a string since it's defined as a VARCHAR in your schema. Here's the corrected query:
```
SELECT circuit FROM table_name_21 WHERE winning_driver = 'rupert keegan' AND round = '8'
```
This will correctly return the circuit where Rupert ... | 8,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_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)\n\n Question: What circuit did Rupert Keegan win in round 8... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)
Question: Who won Silverstone in a round after 10?
Here is the SQLite query to answer to the question: Who w... | Your query is formulated correctly to find the names of the winners at Silverstone in rounds after 10. Here it is wrapped in code formatting:
```
SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"
``` | 8,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_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)\n\n Question: Who won Silverstone in a round after 10?\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_44 (rank VARCHAR, actor_actress VARCHAR)
Question: What rank did actor Aaron Pedersen's character have?
Here is the SQLite query to answer to the question: Wh... | Here's the SQLite query to answer the question about the rank of Aaron Pedersen's character:
```sql
SELECT rank FROM table_name_44 WHERE actor_actress = "Aaron Pedersen";
``` | 8,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_44 (rank VARCHAR, actor_actress VARCHAR)\n\n Question: What rank did actor Aaron Pedersen's character have?\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_75 (tenure VARCHAR, actor_actress VARCHAR)
Question: What years were actress Nadine Garner on the show?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the years actress Nadine Garner was on the show:
```
SELECT tenure FROM table_name_75 WHERE actor_actress = "Nadine Garner";
``` | 8,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_75 (tenure VARCHAR, actor_actress VARCHAR)\n\n Question: What years were actress Nadine Garner on the show?\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_50 (character VARCHAR, actor_actress VARCHAR)
Question: What character did actor Damien Richardson play?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question: What character did actor Damien Richardson play?:
```
SELECT character FROM table_name_50 WHERE actor_actress = "Damien Richardson";
``` | 8,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_50 (character VARCHAR, actor_actress VARCHAR)\n\n Question: What character did actor Damien Richardson play?\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_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
Question: What episode did actor Daniel Macpherson's character have the rank of Detective Senior Con... | Here is the SQLite query to answer the question regarding the episode where actor Daniel Macpherson's character held the rank of Detective Senior Constable:
```
SELECT episodes FROM table_name_46 WHERE rank = "Detective Senior Constable" AND actor_actress = "Daniel Macpherson";
``` | 8,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_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)\n\n Question: What episode did actor Daniel Macpherson's cha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)
Question: Who are the sideline reporter(s) on NBC with al michaels on th... | Here is the SQLite query to answer the question about the sideline reporter(s) on NBC with Al Michaels on the play-by-play after 2013:
```
SELECT sideline_reporter_s_
FROM table_name_22
WHERE network = "nbc"
AND play_by_play = "al michaels"
AND year > "2013"
``` | 8,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_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)\n\n Question: Who are the sideli... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (year INTEGER, sideline_reporter_s_ VARCHAR)
Question: What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber?
Here i... | To answer the question regarding the earliest year featuring Sideline reporters Michelle Tafoya and Suzy Kolber, an SQL query must be executed that checks for the presence of both reporters in the dataset. Since you want to find the earliest year with either or both reporters, the query should use the `WHERE` clause ac... | 8,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_64 (year INTEGER, sideline_reporter_s_ VARCHAR)\n\n Question: What was the earliest year featuring Sideline reporter(s)... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR)
Question: What network is working in 2014?
Here is the SQLite query to answer to the question: What network is working in 2... | Here is the SQLite query to answer the question "What network is working in 2014?":
```
SELECT network FROM table_name_19 WHERE year = '2014'
``` | 8,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_19 (network VARCHAR, year VARCHAR)\n\n Question: What network is working in 2014?\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_72 (sideline_reporter_s_ VARCHAR, year VARCHAR)
Question: Who were the sideline reporter(s) in 2011?
Here is the SQLite query to answer to the question: Who w... | Your provided SQLite query to answer the question is almost correct, but you should ensure that the year is treated as a string in the query since the `year` column is defined as a VARCHAR. Here is the adjusted query wrapped in the appropriate code block:
```
SELECT sideline_reporter_s_ FROM table_name_72 WHERE year =... | 8,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_72 (sideline_reporter_s_ VARCHAR, year VARCHAR)\n\n Question: Who were the sideline reporter(s) in 2011?\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_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)
Question: Who were the collor commentator(s) for ESPN before 2012?
Here is the SQLite query t... | Here is the SQLite query to answer the question about who the color commentators were for ESPN before 2012:
```
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = 'ESPN';
``` | 8,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_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)\n\n Question: Who were the collor commentator(s) for E... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (higher_harmonics VARCHAR, noaa VARCHAR)
Question: What higher harmonics have an NOAA of 8?
Here is the SQLite query to answer to the question: What higher... | Your query is correct. Here it is formatted as requested:
```
SELECT higher_harmonics FROM table_name_19 WHERE noaa = "8";
``` | 8,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_19 (higher_harmonics VARCHAR, noaa VARCHAR)\n\n Question: What higher harmonics have an NOAA of 8?\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_95 (speed VARCHAR, noaa VARCHAR)
Question: What is the speed of the higher harmonics that have an NOAA of 37?
Here is the SQLite query to answer to the questi... | Your SQLite query is correctly structured to retrieve the speed of records where the NOAA value is 37. Here it is wrapped in code formatting as you requested:
```
SELECT speed FROM table_name_95 WHERE noaa = '37';
```
Note that I changed the double quotes around '37' to single quotes, which is the standard for strin... | 8,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_95 (speed VARCHAR, noaa VARCHAR)\n\n Question: What is the speed of the higher harmonics that have an NOAA of 37?\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_49 (noaa VARCHAR, darwin VARCHAR)
Question: What is the NOAA of the higher harmonics that have a Darwin of mn 4?
Here is the SQLite query to answer to the que... | The SQLite query you've provided is correct for retrieving the NOAA of the higher harmonics that have a Darwin value of "mn 4". Here it is wrapped in the requested format:
```
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4";
```
Make sure that the database and table contain the appropriate data to match this qu... | 8,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_49 (noaa VARCHAR, darwin VARCHAR)\n\n Question: What is the NOAA of the higher harmonics that have a Darwin of mn 4?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (noaa VARCHAR, darwin VARCHAR)
Question: What is the NOAA of the higher harmonics that have a Darwin of m sf?
Here is the SQLite query to answer to the que... | Your provided SQLite query is correct for retrieving the NOAA values for the rows where the Darwin field has the value "m sf". However, to ensure the query explicitly targets "higher harmonics," you may want to clarify what "higher harmonics" refers to in the context of your dataset. If it needs to filter or sort by a ... | 8,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_27 (noaa VARCHAR, darwin VARCHAR)\n\n Question: What is the NOAA of the higher harmonics that have a Darwin of m sf?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)
Question: Which higher harmonics have a speed of 0.0821373?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about which higher harmonics have a speed of 0.0821373:
```
SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373";
``` | 8,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_36 (higher_harmonics VARCHAR, speed VARCHAR)\n\n Question: Which higher harmonics have a speed of 0.0821373?\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_7 (home_team VARCHAR, venue VARCHAR)
Question: What is the Home team score for the Lake Oval Venue?
Here is the SQLite query to answer to the question: What i... | Your provided query is almost correct, but it seems like there's a misunderstanding regarding what "Home team score" means, since the schema you provided does not contain a score field. The schema only includes `home_team` and `venue`. If we only want to select the `home_team` for the specified `venue`, we can do that,... | 8,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_7 (home_team VARCHAR, venue VARCHAR)\n\n Question: What is the Home team score for the Lake Oval Venue?\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 (commodity VARCHAR)
Question: What is the 2005-05 production for milk?
Here is the SQLite query to answer to the question: What is the 2005-05 production f... | The provided SQL query seems to be incorrect in addressing the question about the production for milk in May 2005. It appears to incorrectly select the year 2004 instead of obtaining specific production data for May 2005.
If we assume there is another table or a method to gather production data by commodity and date,... | 8,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_83 (commodity VARCHAR)\n\n Question: What is the 2005-05 production for milk?\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_42 (home_team VARCHAR, venue VARCHAR)
Question: Which home team score occurred at Victoria Park?
Here is the SQLite query to answer to the question: Which hom... | Here is the SQLite query to answer the question about which home team score occurred at Victoria Park:
```sql
SELECT home_team AS score FROM table_name_42 WHERE venue = "Victoria Park";
``` | 8,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_42 (home_team VARCHAR, venue VARCHAR)\n\n Question: Which home team score occurred at Victoria Park?\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_67 (home_team VARCHAR, venue VARCHAR)
Question: Which home team played at Glenferrie Oval?
Here is the SQLite query to answer to the question: Which home team... | Here's the SQLite query to answer the question regarding which home team played at Glenferrie Oval:
```
SELECT home_team FROM table_name_67 WHERE venue = "Glenferrie Oval";
``` | 8,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_67 (home_team VARCHAR, venue VARCHAR)\n\n Question: Which home team played at Glenferrie Oval?\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_61 (date VARCHAR, venue VARCHAR)
Question: On which date was the venue at Windy Hill?
Here is the SQLite query to answer to the question: On which date was th... | Here is the SQLite query to answer the question: On which date was the venue at Windy Hill?:
```
SELECT date FROM table_name_61 WHERE venue = "Windy Hill";
``` | 8,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_61 (date VARCHAR, venue VARCHAR)\n\n Question: On which date was the venue at Windy Hill?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)
Question: Who has a round of 3 with a method of decision?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question: Who has a round of 3 with a method of decision?:
```
SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision"
``` | 8,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_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)\n\n Question: Who has a round of 3 with a method of decision?\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_63 (time VARCHAR, stage VARCHAR)
Question: What was the finishing time of Stage SS6?
Here is the SQLite query to answer to the question: What was the finishin... | Here is the SQLite query that retrieves the finishing time of Stage SS6:
```
SELECT time FROM table_name_63 WHERE stage = "SS6"
``` | 8,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_63 (time VARCHAR, stage VARCHAR)\n\n Question: What was the finishing time of Stage SS6?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
Question: What was the finishing time of the stage that featured a distance of 18.25km and a start time... | Here is the SQLite query to answer the question about the finishing time of the stage that featured a distance of 18.25km and a start time of 11:31:
```
SELECT time FROM table_name_16 WHERE distance = "18.25km" AND start_time = "11:31"
``` | 8,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_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR)\n\n Question: What was the finishing time of the stage that fea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)
Question: What was the average speed over 18.00km for winning driver Jean-Claude Andruet?
Her... | Here is the SQLite query to answer the question about the average speed over 18.00km for winning driver Jean-Claude Andruet:
```
SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "Jean-Claude Andruet"
``` | 8,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_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)\n\n Question: What was the average speed over 18.00km ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
Question: What was the finishing time of the Stage that featured a distance of 24.00km and a start time... | Here is the SQLite query that answers the question:
```
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27";
``` | 8,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_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR)\n\n Question: What was the finishing time of the Stage that fea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)
Question: Which name is 51.89 (2.043) long?
Here is the SQLite query to answer to the question: Which name is 51.89 (2.043) ... | Here is the SQLite query to answer the question: Which name is 51.89 (2.043) long?:
```
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"
``` | 8,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_57 (name VARCHAR, length VARCHAR)\n\n Question: Which name is 51.89 (2.043) long?\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_25 (bullet VARCHAR, shoulder VARCHAR)
Question: Which bullet has a Shoulder of 10.92 (.430)?
Here is the SQLite query to answer to the question: Which bullet ... | Your provided SQLite query is correct for answering the question regarding which bullet has a shoulder of 10.92 (.430). Here's the query wrapped in code format:
```
SELECT bullet FROM table_name_25 WHERE shoulder = "10.92 (.430)";
``` | 8,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_25 (bullet VARCHAR, shoulder VARCHAR)\n\n Question: Which bullet has a Shoulder of 10.92 (.430)?\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_41 (shoulder VARCHAR, neck VARCHAR)
Question: Which shoulder has a Neck of 7.3 (.288)?
Here is the SQLite query to answer to the question: Which shoulder has ... | Certainly! Here is your SQLite query wrapped as requested:
```
SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)";
``` | 8,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_41 (shoulder VARCHAR, neck VARCHAR)\n\n Question: Which shoulder has a Neck of 7.3 (.288)?\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_28 (bullet VARCHAR, length VARCHAR)
Question: Which bullet has a Length of 33.78 (1.33)?
Here is the SQLite query to answer to the question: Which bullet has ... | Here is the SQLite query to answer the question "Which bullet has a Length of 33.78 (1.33)?":
```
SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)"
``` | 8,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_28 (bullet VARCHAR, length VARCHAR)\n\n Question: Which bullet has a Length of 33.78 (1.33)?\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_26 (length VARCHAR, bullet VARCHAR)
Question: Which length has a Bullet of 6.5 (.257)?
Here is the SQLite query to answer to the question: Which length has a ... | Your SQLite query is correctly formulated to find the length associated with the bullet value of "6.5 (.257)". Here it is wrapped in code formatting for clarity:
```
SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)"
``` | 8,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_26 (length VARCHAR, bullet VARCHAR)\n\n Question: Which length has a Bullet of 6.5 (.257)?\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_11 (overall INTEGER, college VARCHAR)
Question: What is the lowest overall pick for a player from Washington?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to find the lowest overall pick for a player from Washington:
```
SELECT MIN(overall) FROM table_name_11 WHERE college = 'Washington';
``` | 8,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_11 (overall INTEGER, college VARCHAR)\n\n Question: What is the lowest overall pick for a player from Washington?\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_95 (position VARCHAR, round VARCHAR, college VARCHAR)
Question: What position does the player from Oklahoma who was drafted in round 7 play?
Here is the SQLit... | Here is the SQLite query to answer the question: What position does the player from Oklahoma who was drafted in round 7 play?:
```
SELECT position FROM table_name_95 WHERE round = '7' AND college = 'oklahoma';
``` | 8,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_95 (position VARCHAR, round VARCHAR, college VARCHAR)\n\n Question: What position does the player from Oklahoma who was... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (overall INTEGER, college VARCHAR)
Question: What is the highest overall number for a player from Kentucky State?
Here is the SQLite query to answer to the... | Here is the SQLite query to find the highest overall number for a player from Kentucky State:
```
SELECT MAX(overall) FROM table_name_36 WHERE college = "Kentucky State";
``` | 8,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_36 (overall INTEGER, college VARCHAR)\n\n Question: What is the highest overall number for a player from Kentucky State... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (round VARCHAR, position VARCHAR, overall VARCHAR)
Question: In what round was a defensive tackle drafted with an overall pick smaller than 149?
Here is th... | Your SQLite query is almost correct, but you need to select the round(s) instead of counting them. Here’s an updated query that returns the rounds in which defensive tackles were drafted with an overall pick smaller than 149:
```sql
SELECT DISTINCT round
FROM table_name_25
WHERE position = "defensive tackle" AND ove... | 8,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_25 (round VARCHAR, position VARCHAR, overall VARCHAR)\n\n Question: In what round was a defensive tackle drafted 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_99 (crowd VARCHAR, away_team VARCHAR)
Question: How many attended the game with north melbourne as the away side?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about how many attended the game with North Melbourne as the away side:
```
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "north melbourne"
``` | 8,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_99 (crowd VARCHAR, away_team VARCHAR)\n\n Question: How many attended the game with north melbourne as the away side?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
Question: What venue featured north melbourne as the away side?
Here is the SQLite query to answer to the question: What... | Your provided SQLite query is correctly structured to find the venue where North Melbourne played as the away team. Here it is wrapped again as requested:
```
SELECT venue FROM table_name_27 WHERE away_team = "north melbourne"
``` | 8,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_27 (venue VARCHAR, away_team VARCHAR)\n\n Question: What venue featured north melbourne as the away side?\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_58 (crowd VARCHAR, away_team VARCHAR)
Question: How many attended the game with north melbourne as the away side?
Here is the SQLite query to answer to the qu... | It seems there is a small mistake in your query. To answer the question about how many attended the game with "north melbourne" as the away side, you should count the number of entries in the crowd for that specific condition. Here is the corrected SQLite query:
```sql
SELECT COUNT(crowd) AS total_attendance
FROM tab... | 8,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_58 (crowd VARCHAR, away_team VARCHAR)\n\n Question: How many attended the game with north melbourne as the away side?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (elite_eight VARCHAR, conference VARCHAR)
Question: How many teams from the Atlantic 10 conference made it to the Elite Eight?
Here is the SQLite query to ... | The query you provided will return the names of teams from the Atlantic 10 conference that made it to the Elite Eight, but not the count of those teams. To get the count, you should use the `COUNT` function. Here’s the correct SQLite query:
```
SELECT COUNT(*) FROM table_name_47 WHERE conference = "atlantic 10";
``` | 8,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_47 (elite_eight VARCHAR, conference VARCHAR)\n\n Question: How many teams from the Atlantic 10 conference made it to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR)
Question: How many Big 12 teams made it to the Final Four?
Here is the SQLite query to answer to the question: How ... | To count the number of Big 12 teams that made it to the Final Four, you should use the `COUNT` function in your query. Here is the correct SQLite query:
```
SELECT COUNT(*) AS big_12_count
FROM table_name_1
WHERE conference = "Big 12";
``` | 8,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_1 (final_four VARCHAR, conference VARCHAR)\n\n Question: How many Big 12 teams made it to the Final Four?\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_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)
Question: What chassis did Gordon Johncock use with his cosworth engine?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about what chassis Gordon Johncock used with his Cosworth engine:
```
SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND LOWER(drivers) = "gordon johncock";
``` | 8,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_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)\n\n Question: What chassis did Gordon Johncock use with his coswo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR)
Question: Who drove the Chevrolet with the Eagle chassis?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Who drove the Chevrolet with the Eagle chassis?:
```
SELECT drivers FROM table_name_21 WHERE engine = "chevrolet" AND chassis = "eagle"
``` | 8,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_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR)\n\n Question: Who drove the Chevrolet with the Eagle chassis?\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 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)
Question: What tires did BFM Enterprises run on their Offy engine and manta chassis?
Here is... | Here is the SQLite query to answer the question about the tires used by BFM Enterprises on their Offy engine and manta chassis:
```sql
SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises";
``` | 8,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_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)\n\n Question: What tires did BFM Enterprises run on t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR)
Question: What chassis does Gary Bettenhausen use?
Here is the SQLite query to answer to the question: What chassis does... | Here is the SQLite query to answer the question: What chassis does Gary Bettenhausen use?:
```
SELECT chassis FROM table_name_13 WHERE drivers = "Gary Bettenhausen";
``` | 8,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_13 (chassis VARCHAR, drivers VARCHAR)\n\n Question: What chassis does Gary Bettenhausen use?\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_51 (chassis VARCHAR, drivers VARCHAR)
Question: What chassis doe Ross Davis use?
Here is the SQLite query to answer to the question: What chassis doe Ross Dav... | Here is the SQLite query to answer the question about what chassis Ross Davis uses:
```
SELECT chassis FROM table_name_51 WHERE drivers = "Ross Davis";
``` | 8,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_51 (chassis VARCHAR, drivers VARCHAR)\n\n Question: What chassis doe Ross Davis use?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR)
Question: What engine does Chip Mead of Parts Washer Service use?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the engine used by Chip Mead of Parts Washer Service:
```
SELECT engine FROM table_name_36 WHERE team = "Parts Washer Service" AND drivers = "Chip Mead";
``` | 8,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_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR)\n\n Question: What engine does Chip Mead of Parts Washer Service use... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (heat__lane_ VARCHAR, rank VARCHAR)
Question: Which heat and lane was in rank of 22?
Here is the SQLite query to answer to the question: Which heat and lan... | Your SQLite query is almost correct, but the column names are in the form of strings. You should also ensure that the rank comparison is done correctly, as it is stored as a VARCHAR. Here's the corrected version:
```sql
SELECT heat__lane_ FROM table_name_75 WHERE rank = '22';
```
This query will return the `heat__la... | 8,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_75 (heat__lane_ VARCHAR, rank VARCHAR)\n\n Question: Which heat and lane was in rank of 22?\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_32 (name VARCHAR, rank VARCHAR, time VARCHAR)
Question: Who has a rank below 125 and time of 00: 56.30?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about who has a rank below 125 and a time of 00:56.30:
```
SELECT name FROM table_name_32 WHERE rank < 125 AND time = "00:56.30";
``` | 8,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_32 (name VARCHAR, rank VARCHAR, time VARCHAR)\n\n Question: Who has a rank below 125 and time of 00: 56.30?\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_1 (terminus VARCHAR, line VARCHAR)
Question: Which Terminus is on line 10?
Here is the SQLite query to answer to the question: Which Terminus is on line 10?:
... | Here is the SQLite query to answer the question: Which Terminus is on line 10?:
```
SELECT terminus FROM table_name_1 WHERE line = "10";
``` | 8,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_1 (terminus VARCHAR, line VARCHAR)\n\n Question: Which Terminus is on line 10?\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_46 (terminus VARCHAR, color VARCHAR)
Question: The color diamond is assigned to which Terminus?
Here is the SQLite query to answer to the question: The color ... | Here is the SQLite query to answer the question about which Terminus is assigned the color diamond:
```
SELECT terminus FROM table_name_46 WHERE color = "diamond";
``` | 8,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_46 (terminus VARCHAR, color VARCHAR)\n\n Question: The color diamond is assigned to which Terminus?\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_89 (length VARCHAR, stations VARCHAR)
Question: Stations of 16 is assigned what length?
Here is the SQLite query to answer to the question: Stations of 16 is ... | Here is the SQLite query to answer the question regarding the length assigned to stations of 16:
```
SELECT length FROM table_name_89 WHERE stations = "16"
``` | 8,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_89 (length VARCHAR, stations VARCHAR)\n\n Question: Stations of 16 is assigned what length?\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_4 (terminus VARCHAR, color VARCHAR)
Question: The color sapphire is assigned to which Terminus?
Here is the SQLite query to answer to the question: The color ... | Here is the SQLite query to answer the question: The color sapphire is assigned to which Terminus?:
```sql
SELECT terminus FROM table_name_4 WHERE color = "sapphire";
``` | 8,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_4 (terminus VARCHAR, color VARCHAR)\n\n Question: The color sapphire is assigned to which Terminus?\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_60 (length VARCHAR, daily_ridership INTEGER)
Question: Daily ridership greater that 414 is associated with which length?
Here is the SQLite query to answer to... | Your SQLite query is correctly written to find the lengths associated with daily ridership greater than 414. Here it is wrapped in the requested format:
```
SELECT length FROM table_name_60 WHERE daily_ridership > 414;
``` | 8,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_60 (length VARCHAR, daily_ridership INTEGER)\n\n Question: Daily ridership greater that 414 is associated with which le... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (competition VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR)
Question: Which competition did Târlea come in 4th place, in 2003 at Budapest, Hungary?... | The given SQLite query has a minor error in the filtering criteria for the year. Specifically, it incorrectly uses `year > 2003` instead of `year = "2003"`. Here's the corrected version of the query:
```
SELECT competition FROM table_name_55 WHERE position = "4th" AND year = "2003" AND venue = "Budapest, Hungary";
```... | 8,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_55 (competition VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR)\n\n Question: Which competition did Târlea come... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)
Question: Prior to 2004, what was the name of the competition that took place in Johannesb... | Here is the SQLite query to answer the question you specified:
```
SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < '2004' AND venue = "johannesburg, south africa"
``` | 8,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_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)\n\n Question: Prior to 2004, what was the name of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
Question: What events did the competition that took place in 1997 have?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the events that took place during the competition in 1997:
```sql
SELECT notes FROM table_name_96 WHERE year = '1997'
``` | 8,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_96 (notes VARCHAR, year VARCHAR)\n\n Question: What events did the competition that took place in 1997 have?\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_6 (year INTEGER, position VARCHAR)
Question: What was the earliest year that Târlea took 7th place?
Here is the SQLite query to answer to the question: What w... | Here is the SQLite query to answer the question about the earliest year that Târlea took 7th place:
```
SELECT MIN(year) FROM table_name_6 WHERE position = '7th';
``` | 8,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_6 (year INTEGER, position VARCHAR)\n\n Question: What was the earliest year that Târlea took 7th place?\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_56 (position VARCHAR, competition VARCHAR)
Question: What place did Târlea come in at the European Indoor Championships?
Here is the SQLite query to answer to... | Here's the SQLite query to answer the question about Târlea's position at the European Indoor Championships:
```
SELECT position FROM table_name_56 WHERE competition = "European Indoor Championships" AND position = "Târlea";
```
Please ensure that the case of the competition name in the WHERE clause matches exactly ... | 8,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_56 (position VARCHAR, competition VARCHAR)\n\n Question: What place did Târlea come in at the European Indoor Champions... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
Question: What venue did the European Championships' 400 m Hurdles take place?
Here is the SQLite query ... | Here is the SQLite query to answer the question regarding the venue in which the European Championships' 400 m Hurdles took place:
```
SELECT venue FROM table_name_7 WHERE notes = "400 m Hurdles" AND competition = "European Championships";
``` | 8,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_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR)\n\n Question: What venue did the European Championships' 400 m Hu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR)
Question: what year has the highest marcel granollers champions?
Here is the SQLite query to answer to the question: what ... | Your provided query is almost correct, but it will only return the most recent year when Marcel Granollers was a champion without providing any information on the number of times he won. To find the year with the highest number of championships won by Marcel Granollers, you'll want to count the number of championships ... | 8,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_34 (year INTEGER, champion VARCHAR)\n\n Question: what year has the highest marcel granollers champions?\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_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
Question: What is the child sex ration for the population with 37.7% work participatio... | Here is the SQLite query to answer the question about the child sex ratio for the population with 37.7% work participation:
```
SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%"
``` | 8,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_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)\n\n Question: What is the child sex ration for... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, venue VARCHAR)
Question: What day does the team play at punt road oval?
Here is the SQLite query to answer to the question: What day does th... | Here is the SQLite query to answer the question about what day the team plays at Punt Road Oval:
```
SELECT date FROM table_name_26 WHERE venue = "punt road oval";
``` | 8,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_26 (date VARCHAR, venue VARCHAR)\n\n Question: What day does the team play at punt road 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_64 (venue VARCHAR, away_team VARCHAR)
Question: What venue features geelong as the away side?
Here is the SQLite query to answer to the question: What venue f... | Here is the SQLite query to answer the question about what venue features Geelong as the away side:
```
SELECT venue FROM table_name_64 WHERE away_team = "geelong";
``` | 8,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_64 (venue VARCHAR, away_team VARCHAR)\n\n Question: What venue features geelong as the away side?\n\nHere is the SQLite... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.