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 (score VARCHAR, record VARCHAR)
Question: What was the score of the game with a record of 33–25–9?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question about the score of the game with a record of 33–25–9:
```
SELECT score FROM table_name_13 WHERE record = "33–25–9";
``` | 47,000 | [
{
"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 (score VARCHAR, record VARCHAR)\n\n Question: What was the score of the game with a record of 33–25–9?\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_45 (attendance INTEGER, loss VARCHAR)
Question: Loss of francis (4–9) has what highest attendance figure?
Here is the SQLite query to answer to the question: ... | Your SQLite query to find the highest attendance figure for the loss of "francis (4–9)" is correct. Here it is wrapped in the requested format:
```
SELECT MAX(attendance) FROM table_name_45 WHERE loss = "francis (4–9)"
``` | 47,001 | [
{
"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, loss VARCHAR)\n\n Question: Loss of francis (4–9) has what highest attendance figure?\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_97 (attendance INTEGER, loss VARCHAR)
Question: Loss of de la rosa (8–8) has what average attendance?
Here is the SQLite query to answer to the question: Loss... | Here is the SQLite query to answer the question regarding the average attendance for "de la rosa (8–8)":
```
SELECT AVG(attendance) FROM table_name_97 WHERE loss = "de la rosa (8–8)"
``` | 47,002 | [
{
"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_97 (attendance INTEGER, loss VARCHAR)\n\n Question: Loss of de la rosa (8–8) has what average attendance?\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_71 (date VARCHAR, loss VARCHAR)
Question: Loss of francis (4–10) happened on what date?
Here is the SQLite query to answer to the question: Loss of francis (4... | Here is the SQLite query to answer the question regarding the loss of francis (4–10):
```
SELECT date FROM table_name_71 WHERE loss = "francis (4–10)"
``` | 47,003 | [
{
"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, loss VARCHAR)\n\n Question: Loss of francis (4–10) happened on what date?\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_93 (score VARCHAR, date VARCHAR)
Question: What was the score on 8 September 1999?
Here is the SQLite query to answer to the question: What was the score on 8... | Here is the SQLite query to answer the question: What was the score on 8 September 1999?:
```
SELECT score FROM table_name_93 WHERE date = "8 September 1999";
``` | 47,004 | [
{
"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 (score VARCHAR, date VARCHAR)\n\n Question: What was the score on 8 September 1999?\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_34 (result VARCHAR, date VARCHAR)
Question: What was the result on 16 November 2003?
Here is the SQLite query to answer to the question: What was the result o... | Here is the SQLite query to answer the question about the result on 16 November 2003:
```
SELECT result FROM table_name_34 WHERE date = "16 November 2003";
``` | 47,005 | [
{
"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 (result VARCHAR, date VARCHAR)\n\n Question: What was the result on 16 November 2003?\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_77 (set_1 VARCHAR, set_2 VARCHAR)
Question: Which Set 1 has a Set 2 of 26–24?
Here is the SQLite query to answer to the question: Which Set 1 has a Set 2 of 2... | Here is the SQLite query to answer the question: Which Set 1 has a Set 2 of 26–24?:
```
SELECT set_1 FROM table_name_77 WHERE set_2 = "26–24";
``` | 47,006 | [
{
"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 (set_1 VARCHAR, set_2 VARCHAR)\n\n Question: Which Set 1 has a Set 2 of 26–24?\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_45 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)
Question: Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question:
```
SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–25"
``` | 47,007 | [
{
"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 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)\n\n Question: Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?\n... | |
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, set_3 VARCHAR)
Question: Which Date has a Set 3 of 21–25?
Here is the SQLite query to answer to the question: Which Date has a Set 3 of 21–2... | Here's the SQLite query to answer the question of which date has a Set 3 of "21–25":
```
SELECT date FROM table_name_55 WHERE set_3 = '21–25';
``` | 47,008 | [
{
"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, set_3 VARCHAR)\n\n Question: Which Date has a Set 3 of 21–25?\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR)
Question: Which Set 1 has a Date of 24 may, and a Total of 57–75?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question:
```
SELECT set_1 FROM table_name_37 WHERE date = "24 may" AND total = "57–75"
``` | 47,009 | [
{
"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 (set_1 VARCHAR, date VARCHAR, total VARCHAR)\n\n Question: Which Set 1 has a Date of 24 may, and a Total of 57–75?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR)
Question: Which Set 2 has a Set 1 of 25–15, and a Score of 3–0?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question regarding Set 2, given the specified conditions:
```
SELECT set_2 FROM table_name_41 WHERE set_1 = "25–15" AND score = "3–0";
``` | 47,010 | [
{
"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 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR)\n\n Question: Which Set 2 has a Set 1 of 25–15, and a Score of 3–0?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (total VARCHAR, set_1 VARCHAR)
Question: Which Total has a Set 1 of 25–22?
Here is the SQLite query to answer to the question: Which Total has a Set 1 of 2... | Here is the SQLite query to answer the question: Which Total has a Set 1 of 25–22?:
```
SELECT total FROM table_name_12 WHERE set_1 = "25–22";
``` | 47,011 | [
{
"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 (total VARCHAR, set_1 VARCHAR)\n\n Question: Which Total has a Set 1 of 25–22?\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_34 (segment_b VARCHAR, netflix VARCHAR)
Question: What was the segment b for Netflix s01e21?
Here is the SQLite query to answer to the question: What was the ... | Here is the SQLite query to answer the question about the segment b for Netflix s01e21:
```
SELECT segment_b FROM table_name_34 WHERE netflix = 's01e21';
``` | 47,012 | [
{
"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 (segment_b VARCHAR, netflix VARCHAR)\n\n Question: What was the segment b for Netflix s01e21?\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_33 (segment_d VARCHAR, episode VARCHAR, segment_c VARCHAR)
Question: What segment d is associated with an episode number above 16 and a segment c of laser eye ... | Here is the SQLite query to answer the question regarding the association of segment d with an episode number above 16 and a segment c of laser eye surgery:
```
SELECT segment_d FROM table_name_33 WHERE episode > 16 AND segment_c = 'laser eye surgery';
``` | 47,013 | [
{
"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 (segment_d VARCHAR, episode VARCHAR, segment_c VARCHAR)\n\n Question: What segment d is associated with an episode n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What team had less than 291 total points whole having 76 bronze and over 21 gold?
H... | Here is the corrected SQLite query to answer the question about the team that had less than 291 total points while having 76 bronze and over 21 gold:
```sql
SELECT * FROM table_name_67 WHERE CAST(total AS INTEGER) < 291 AND CAST(bronze AS INTEGER) = 76 AND CAST(gold AS INTEGER) > 21;
```
This query selects all column... | 47,014 | [
{
"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 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n Question: What team had less than 291 total points... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: What was the average rank for team with more than 44 gold, more and 76 bronze and a hi... | Here's the SQLite query to answer the question regarding the average rank for teams with more than 44 gold, more than 76 bronze, and a higher total than 73:
```sql
SELECT AVG(rank)
FROM table_name_26
WHERE total > 73 AND gold > 44 AND bronze > 76;
``` | 47,015 | [
{
"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 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)\n\n Question: What was the average rank for team with mo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR)
Question: On what date was the team's record 61-66?
Here is the SQLite query to answer to the question: On what date was the... | Here is the SQLite query to answer the question: On what date was the team's record 61-66?:
```
SELECT date FROM table_name_28 WHERE record = "61-66";
``` | 47,016 | [
{
"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 (date VARCHAR, record VARCHAR)\n\n Question: On what date was the team's record 61-66?\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_81 (time VARCHAR, opponent VARCHAR, record VARCHAR)
Question: At what time was the game when they played the White Sox and had a record of 63-70?
Here is the ... | Here is the SQLite query to answer the question regarding the time of the game against the White Sox with a record of 63-70:
```
SELECT time FROM table_name_81 WHERE opponent = "White Sox" AND record = "63-70"
``` | 47,017 | [
{
"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 (time VARCHAR, opponent VARCHAR, record VARCHAR)\n\n Question: At what time was the game when they played the White ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (gold VARCHAR, bronze VARCHAR)
Question: What shows for gold when bronze is 1?
Here is the SQLite query to answer to the question: What shows for gold when... | Here is the corrected SQLite query wrapped in the appropriate formatting:
```
SELECT gold FROM table_name_28 WHERE bronze = '1'
```
Please note that since `bronze` is defined as a `VARCHAR`, it should be compared to the string '1', not the integer 1. | 47,018 | [
{
"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 (gold VARCHAR, bronze VARCHAR)\n\n Question: What shows for gold when bronze is 1?\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_40 (gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
Question: What is the gold number when the total is less than 8, silver less than 1 and the rank... | Here is the SQLite query you requested, properly formatted:
```
SELECT COUNT(gold) FROM table_name_40 WHERE total < 8 AND silver < 1 AND rank > 7
``` | 47,019 | [
{
"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 (gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)\n\n Question: What is the gold number when the total is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: What is the average Total for the Rank of 6, when Silver is smaller than 0?
Here is the SQLite quer... | Your SQLite query has the correct logic to calculate the average total for the specified conditions. However, make sure you have the correct data types for `rank` and `silver`. In your request, you stated that `rank` is a `VARCHAR`, which means comparisons should be done accordingly, and `silver` may also need to be co... | 47,020 | [
{
"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 (total INTEGER, rank VARCHAR, silver VARCHAR)\n\n Question: What is the average Total for the Rank of 6, when Silver... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (team_wins INTEGER, individual_winners VARCHAR, total_wins VARCHAR)
Question: Which Team wins has an Individual winner smaller than 1 and Total win larger t... | It looks like there are a couple of things to clarify regarding the data types in your schema and the intended query. The `individual_winners` and `total_wins` columns are defined as `VARCHAR`, meaning they will contain text data rather than numerical values. To perform numerical comparisons, you would need to convert ... | 47,021 | [
{
"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 (team_wins INTEGER, individual_winners VARCHAR, total_wins VARCHAR)\n\n Question: Which Team wins has an Individual ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (team_wins INTEGER, nation VARCHAR, individual_wins VARCHAR)
Question: Which Team Win is from sweden and has a Individual win smaller than 1
Here is the SQ... | Your SQLite query looks mostly correct, but if the `individual_wins` column is of type `VARCHAR`, you'll need to convert it to a numeric type for the comparison to work correctly. Here's the adjusted query with type conversion:
```sql
SELECT MAX(team_wins)
FROM table_name_48
WHERE nation = 'sweden' AND CAST(individu... | 47,022 | [
{
"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 (team_wins INTEGER, nation VARCHAR, individual_wins VARCHAR)\n\n Question: Which Team Win is from sweden and has a I... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR)
Question: Which channel did Going for Gold air on?
Here is the SQLite query to answer to the question: Which ... | Here is the SQLite query to answer the question about which channel "Going for Gold" aired on:
```sql
SELECT original_channel FROM table_name_19 WHERE programme = "Going for Gold";
``` | 47,023 | [
{
"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 (original_channel VARCHAR, programme VARCHAR)\n\n Question: Which channel did Going for Gold air on?\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_19 (new_channel_s_ VARCHAR, programme VARCHAR)
Question: What channel is Gladiators on?
Here is the SQLite query to answer to the question: What channel is Gl... | Here is the SQLite query to answer the question "What channel is Gladiators on?":
```
SELECT new_channel_s_ FROM table_name_19 WHERE programme = "Gladiators"
``` | 47,024 | [
{
"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 (new_channel_s_ VARCHAR, programme VARCHAR)\n\n Question: What channel is Gladiators on?\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_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR)
Question: When did Going for Gold return in BBC One?
Here is the SQLite query to a... | Here is the SQLite query to answer the question "When did Going for Gold return in BBC One?":
```
SELECT date_s__of_return
FROM table_name_67
WHERE original_channel = "bbc one"
AND programme = "going for gold";
``` | 47,025 | [
{
"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 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR)\n\n Question: When did Going for Gold retur... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)
Question: Which faith has a name of Belswains?
Here is the SQLite query to answer to the question: Which faith has a name of ... | Here is the SQLite query to answer the question "Which faith has a name of Belswains?":
```
SELECT faith FROM table_name_40 WHERE name = "Belswains";
``` | 47,026 | [
{
"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 (faith VARCHAR, name VARCHAR)\n\n Question: Which faith has a name of Belswains?\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_62 (name VARCHAR, type VARCHAR, dcsf_number VARCHAR)
Question: Which school is a primary school with DCSF number 2045?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question: Which school is a primary school with DCSF number 2045?:
```
SELECT name FROM table_name_62 WHERE type = "primary" AND dcsf_number = '2045'
```
Please note that DCSF numbers are typically treated as strings, so I've enclosed `2045` in quotes. | 47,027 | [
{
"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 (name VARCHAR, type VARCHAR, dcsf_number VARCHAR)\n\n Question: Which school is a primary school with DCSF number 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (position VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which position had fewer rounds than 3, and an overall of less than 48?
Here is the SQLite que... | The query you provided has a small mistake in how it checks for the number of rounds. The `round` column is likely a VARCHAR, so a direct comparison with an integer may not yield the intended results. We need to convert `round` to an integer for proper comparison.
Here’s the corrected SQLite query:
```sql
SELECT posi... | 47,028 | [
{
"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 (position VARCHAR, round VARCHAR, overall VARCHAR)\n\n Question: Which position had fewer rounds than 3, and an over... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
Question: Which highest pick number's name was Adam Podlesh, when the overall was less than 101?
Here ... | Your SQLite query looks almost correct, but the name "Adam Podlesh" should be case-sensitive if the database is set up to be case-sensitive. It may also be formatted differently (e.g., "Adam Podlesh" or "adam podlesh"). If you want to ensure that you are checking for the correct capitalization, you should use the exact... | 47,029 | [
{
"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 (pick__number INTEGER, name VARCHAR, overall VARCHAR)\n\n Question: Which highest pick number's name was Adam Podlesh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR)
Question: What is the IHSAA class in Batesville?
Here is the SQLite query to answer to the question: What is the IHSAA ... | Here is the SQLite query to answer the question: What is the IHSAA class in Batesville?:
```
SELECT ihsaa_class FROM table_name_97 WHERE city = "Batesville"
``` | 47,030 | [
{
"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_97 (ihsaa_class VARCHAR, city VARCHAR)\n\n Question: What is the IHSAA class in Batesville?\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_84 (city VARCHAR, school VARCHAR, ihsaa_football_class VARCHAR, enrollment VARCHAR)
Question: Which city is Lawrenceburg school, with an IHSAA football class o... | Here's the SQLite query to find out which city the Lawrenceburg school is located in, given the specified conditions:
```
SELECT city FROM table_name_84 WHERE ihsaa_football_class = "aaa" AND enrollment < 676 AND school = "Lawrenceburg";
```
Make sure to pay attention to the casing of the school name if the database... | 47,031 | [
{
"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_84 (city VARCHAR, school VARCHAR, ihsaa_football_class VARCHAR, enrollment VARCHAR)\n\n Question: Which city is Lawrenc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (school VARCHAR, city VARCHAR)
Question: What school is in Brookville?
Here is the SQLite query to answer to the question: What school is in Brookville?:
`... | Here is the SQLite query to answer the question: What school is in Brookville?:
```
SELECT school FROM table_name_34 WHERE city = "Brookville"
``` | 47,032 | [
{
"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 (school VARCHAR, city VARCHAR)\n\n Question: What school is in Brookville?\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_29 (score VARCHAR, record VARCHAR)
Question: Which Score has a Record of 36–61?
Here is the SQLite query to answer to the question: Which Score has a Record o... | Here is the SQLite query to answer the question "Which Score has a Record of 36–61?":
```
SELECT score FROM table_name_29 WHERE record = "36–61";
``` | 47,033 | [
{
"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 (score VARCHAR, record VARCHAR)\n\n Question: Which Score has a Record of 36–61?\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_63 (attendance INTEGER, record VARCHAR)
Question: Which Attendance has a Record of 34–51?
Here is the SQLite query to answer to the question: Which Attendance... | The SQLite query you provided is almost correct, but if you want to find all Attendance entries that have a Record of "34–51", you should select the attendance entries directly rather than using the MIN function. Here’s an adjusted version of your query:
```
SELECT attendance FROM table_name_63 WHERE record = "34–51";... | 47,034 | [
{
"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 (attendance INTEGER, record VARCHAR)\n\n Question: Which Attendance has a Record of 34–51?\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_71 (loss VARCHAR, date VARCHAR)
Question: Which Loss has a Date of july 2?
Here is the SQLite query to answer to the question: Which Loss has a Date of july 2... | Here is the SQLite query to answer the question: Which Loss has a Date of july 2?:
```
SELECT loss FROM table_name_71 WHERE date = "july 2";
``` | 47,035 | [
{
"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 (loss VARCHAR, date VARCHAR)\n\n Question: Which Loss has a Date of july 2?\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_4 (tournament VARCHAR)
Question: Which tournament's 2001 and 2008 were a when 2010 was qf?
Here is the SQLite query to answer to the question: Which tournamen... | The SQLite query you provided is close, but it contains an assumption that the columns for the years 2001, 2008, and 2010 are part of the schema. In the schema you've given (`CREATE TABLE table_name_4 (tournament VARCHAR)`), there are no specific columns for years or types like "a" or "qf".
If we assume that the struc... | 47,036 | [
{
"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 (tournament VARCHAR)\n\n Question: Which tournament's 2001 and 2008 were a when 2010 was qf?\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_25 (tournament VARCHAR)
Question: Which tournament's 2001 and 2006s were a?
Here is the SQLite query to answer to the question: Which tournament's 2001 and 20... | It looks like there's a misunderstanding in the query structure based on the given schema. Since the schema only has a single column for the tournament's name and does not include any columns for specific years (like 2001 or 2006), it's impossible to directly check for values associated with those years.
If you meant ... | 47,037 | [
{
"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 (tournament VARCHAR)\n\n Question: Which tournament's 2001 and 2006s were a?\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (Id VARCHAR)
Question: Which 2007 had a 2009 taht was qf when its 2000 was a?
Here is the SQLite query to answer to the question: Which 2007 had a 2009 tah... | The provided SQLite query is incorrect due to a couple of reasons. First, it attempts to directly use numerical years as column names without any context, which is not appropriate since the column names should correspond to the schema. Given that the schema consists of a single column named `Id`, we need to adjust the ... | 47,038 | [
{
"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 (Id VARCHAR)\n\n Question: Which 2007 had a 2009 taht was qf when its 2000 was a?\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_16 (Id VARCHAR)
Question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
Here is the SQLite query to answer to the question: Which 2008 had a 19... | The provided SQLite query contains an error regarding the column names. The table schema only indicates a single column named `Id`, and it does not specify any other columns such as 2008, 1998, or 2006. Given that the schema only has one column and the question seems to imply multiple conditions based on years, it's li... | 47,039 | [
{
"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 (Id VARCHAR)\n\n Question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf?\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_10 (floors INTEGER, name VARCHAR)
Question: What is the number of floors for the Citic Square?
Here is the SQLite query to answer to the question: What is the... | The provided SQLite query appears to use an aggregate function (AVG) which is not necessary for counting the number of floors for a specific building. Instead, you should use a simple SELECT statement. Here is the corrected query:
```
SELECT floors FROM table_name_10 WHERE name = "Citic Square";
``` | 47,040 | [
{
"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 (floors INTEGER, name VARCHAR)\n\n Question: What is the number of floors for the Citic Square?\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_26 (height_m___ft VARCHAR, name VARCHAR)
Question: What is the height for the Shanghai World Plaza?
Here is the SQLite query to answer to the question: What i... | Your SQLite query looks good, but be aware that string comparisons in SQL are case-sensitive by default. If the database might have different capitalizations for "Shanghai World Plaza", you might want to use `LOWER()` to ensure the query matches regardless of case. Here’s the query:
```sql
SELECT height_m___ft FROM ta... | 47,041 | [
{
"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 (height_m___ft VARCHAR, name VARCHAR)\n\n Question: What is the height for the Shanghai World Plaza?\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_76 (week INTEGER, attendance INTEGER)
Question: What week had a lower attendance than 51,423 but was still higher than the other weeks?
Here is the SQLite que... | It looks like there is a small mistake in your query. The `OFFSET` keyword is not appropriately used in this context. Instead, you want to find the highest attendance that is less than 51,423. You can achieve this by selecting the maximum attendance value that satisfies your condition, and then getting the correspondin... | 47,042 | [
{
"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 (week INTEGER, attendance INTEGER)\n\n Question: What week had a lower attendance than 51,423 but was still higher t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (vertices INTEGER, dual_archimedean_solid VARCHAR)
Question: Which Vertices have a Dual Archimedean solid of truncated dodecahedron?
Here is the SQLite que... | Your SQLite query looks good for retrieving the maximum number of vertices for a dual Archimedean solid of "truncated dodecahedron". However, if your intention is to list all the vertices that correspond to the "truncated dodecahedron", you may want to revise the query to simply select the vertices themselves. Here's a... | 47,043 | [
{
"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 (vertices INTEGER, dual_archimedean_solid VARCHAR)\n\n Question: Which Vertices have a Dual Archimedean solid of tru... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)
Question: Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Ve... | Your SQLite query is almost correct, but it seems you're using the `MIN` function, which returns the minimum value of the `edges` column, not all the edges that meet your criteria. Instead, if you want to select all edges with the specified dual Archimedean solid and the specified condition on vertices, you should not ... | 47,044 | [
{
"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 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)\n\n Question: Which Edges have a Dual Archimedean ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)
Question: Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices... | Your SQLite query is almost correct, but you are using `vertices` as if it is a numeric type, while it is defined as a VARCHAR. You need to convert the `vertices` column to an integer for comparison. Here's the corrected query:
```sql
SELECT AVG(faces) FROM table_name_39
WHERE dual_archimedean_solid = "truncated icos... | 47,045 | [
{
"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 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)\n\n Question: Which Faces have a Dual Archimedean ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (set_2 VARCHAR, set_3 VARCHAR)
Question: Which Set 2 has a Set 3 of 20–25?
Here is the SQLite query to answer to the question: Which Set 2 has a Set 3 of 2... | Here is the SQLite query to answer the question: Which Set 2 has a Set 3 of 20–25?:
```
SELECT set_2 FROM table_name_70 WHERE set_3 = "20–25";
``` | 47,046 | [
{
"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 (set_2 VARCHAR, set_3 VARCHAR)\n\n Question: Which Set 2 has a Set 3 of 20–25?\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_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR)
Question: Which Total has a Set 2 of 20–25, and a Score of 1–3?
Here is the SQLite query to answer to the que... | Your provided SQLite query looks good, but I should point out that the values "20–25" and "1–3" are likely to be stored as numeric ranges rather than exact string matches, depending on the actual data format. If they are stored as strings, your query is correct. However, if they are stored as numerical values, you migh... | 47,047 | [
{
"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 (total VARCHAR, set_2 VARCHAR, score VARCHAR)\n\n Question: Which Total has a Set 2 of 20–25, and a Score of 1–3?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (set_3 VARCHAR, time VARCHAR, score VARCHAR, set_2 VARCHAR)
Question: Which Set 3 has a Score of 3–2, and a Set 2 of 25–23, and a Time of 19:00?
Here is th... | Here is the SQLite query to answer the question regarding which Set 3 has a Score of 3–2, a Set 2 of 25–23, and a Time of 19:00:
```
SELECT set_3 FROM table_name_86 WHERE score = "3–2" AND set_2 = "25–23" AND time = "19:00"
``` | 47,048 | [
{
"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 (set_3 VARCHAR, time VARCHAR, score VARCHAR, set_2 VARCHAR)\n\n Question: Which Set 3 has a Score of 3–2, and a Set ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (total VARCHAR, score VARCHAR, set_1 VARCHAR)
Question: Which Total has a Score of 1–3, and a Set 1 of 29–31?
Here is the SQLite query to answer to the ques... | The provided SQLite query contains a logical error regarding the conditions specified in the question. Since "score" and "set_1" are defined as VARCHAR types, they need to be queried using the correct syntax for an inclusive range. Below is the corrected SQLite query to find the "Total" with a "Score" between 1 and 3 a... | 47,049 | [
{
"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 (total VARCHAR, score VARCHAR, set_1 VARCHAR)\n\n Question: Which Total has a Score of 1–3, and a Set 1 of 29–31?\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_62 (date VARCHAR, time VARCHAR, set_3 VARCHAR)
Question: Which Date has a Time of 11:00, and a Set 3 of 25–18?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_62 WHERE time = "11:00" AND set_3 = "25–18"
``` | 47,050 | [
{
"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 (date VARCHAR, time VARCHAR, set_3 VARCHAR)\n\n Question: Which Date has a Time of 11:00, and a Set 3 of 25–18?\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_53 (total VARCHAR, set_3 VARCHAR)
Question: Which Total has a Set 3 of 13–25?
Here is the SQLite query to answer to the question: Which Total has a Set 3 of 1... | Your provided SQLite query is correct for retrieving the `total` where the `set_3` is "13–25". Here it is, wrapped in the appropriate code block:
```
SELECT total FROM table_name_53 WHERE set_3 = "13–25";
```
If you want to make sure it returns records that fall into a specific range (e.g., if `set_3` were to contai... | 47,051 | [
{
"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 (total VARCHAR, set_3 VARCHAR)\n\n Question: Which Total has a Set 3 of 13–25?\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_98 (result VARCHAR, category VARCHAR)
Question: What was the result for the best musical revival category?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the result for the best musical revival category:
```
SELECT result FROM table_name_98 WHERE category = "best musical revival";
``` | 47,052 | [
{
"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 (result VARCHAR, category VARCHAR)\n\n Question: What was the result for the best musical revival category?\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_46 (area_served VARCHAR, on_air_id VARCHAR)
Question: Name the area served for on-air ID of abc canberra
Here is the SQLite query to answer to the question: N... | Here is the SQLite query to answer the question of naming the area served for the on-air ID of "abc canberra":
```
SELECT area_served FROM table_name_46 WHERE on_air_id = "abc canberra";
``` | 47,053 | [
{
"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 (area_served VARCHAR, on_air_id VARCHAR)\n\n Question: Name the area served for on-air ID of abc canberra\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_18 (frequency VARCHAR, on_air_id VARCHAR)
Question: Name the frequency with on-air ID of 1way fm
Here is the SQLite query to answer to the question: Name the ... | Here is the SQLite query to answer the question about naming the frequency with the on-air ID of "1way fm":
```
SELECT frequency FROM table_name_18 WHERE on_air_id = '1way fm';
``` | 47,054 | [
{
"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 (frequency VARCHAR, on_air_id VARCHAR)\n\n Question: Name the frequency with on-air ID of 1way fm\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_13 (purpose VARCHAR, on_air_id VARCHAR)
Question: Name the purpose for on-air ID of 2xx
Here is the SQLite query to answer to the question: Name the purpose f... | Here is the SQLite query to answer the question regarding the purpose for on-air ID of 2xx:
```
SELECT purpose FROM table_name_13 WHERE on_air_id = '2xx';
``` | 47,055 | [
{
"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 (purpose VARCHAR, on_air_id VARCHAR)\n\n Question: Name the purpose for on-air ID of 2xx\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 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR)
Question: Name the frequency for community purpose and callsign of 1vfm
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the frequency for community purpose and the callsign of 1vfm:
```
SELECT frequency FROM table_name_79 WHERE purpose = 'community' AND callsign = '1vfm';
``` | 47,056 | [
{
"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 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR)\n\n Question: Name the frequency for community purpose and ca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR)
Question: Name the band with frequency of 102.3
Here is the SQLite query to answer to the question: Name the band with fr... | Here is the SQLite query to answer the question: Name the band with frequency of 102.3:
```
SELECT band FROM table_name_88 WHERE frequency = '102.3';
``` | 47,057 | [
{
"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_88 (band VARCHAR, frequency VARCHAR)\n\n Question: Name the band with frequency of 102.3\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_4 (loss VARCHAR, opponent VARCHAR, save VARCHAR)
Question: What was the loss of the game against with LA New Bears with a save of Mac Suzuki?
Here is the SQLi... | Here is the SQLite query to answer the question about the loss of the game against LA New Bears with a save of Mac Suzuki:
```
SELECT loss FROM table_name_4 WHERE opponent = "la new bears" AND save = "mac suzuki"
``` | 47,058 | [
{
"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 (loss VARCHAR, opponent VARCHAR, save VARCHAR)\n\n Question: What was the loss of the game against with LA New Bears ... | |
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, save VARCHAR)
Question: What was the date of the game with a save of ||3,073?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question about the date of the game with a save of ||3,073:
```
SELECT date FROM table_name_74 WHERE save = "||3,073";
``` | 47,059 | [
{
"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, save VARCHAR)\n\n Question: What was the date of the game with a save of ||3,073?\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_41 (tournament VARCHAR)
Question: Which 2004 has a Tournament of french open?
Here is the SQLite query to answer to the question: Which 2004 has a Tournament ... | Here is the correct SQLite query to answer the question about which 2004 has a Tournament of French Open:
```
SELECT 2004 FROM table_name_41 WHERE tournament = 'french open';
```
Please note that I used single quotes for the string "french open" as is the standard practice in SQL. | 47,060 | [
{
"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 (tournament VARCHAR)\n\n Question: Which 2004 has a Tournament of french open?\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_99 (Id VARCHAR)
Question: Which 2003 has a 2013 of 1r, and a 2007 of 2r?
Here is the SQLite query to answer to the question: Which 2003 has a 2013 of 1r, and ... | It seems there might be a misunderstanding regarding the schema and the SQL query you provided. Your provided schema only contains one column named `Id` in `table_name_99`, and does not seem to include columns for the years 2003, 2007, or 2013.
If `2003`, `2007`, and `2013` refer to the values within the `Id` column a... | 47,061 | [
{
"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 (Id VARCHAR)\n\n Question: Which 2003 has a 2013 of 1r, and a 2007 of 2r?\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (tournament VARCHAR)
Question: Which 2007 has a Tournament of grand slam sr?
Here is the SQLite query to answer to the question: Which 2007 has a Tournamen... | The provided SQLite query has a small issue. In SQLite, you typically select columns from a table rather than a literal value like `2007`. If you're looking to retrieve records from the year 2007 with a tournament of "grand slam sr", you might want to include a date column or some means to specify the year explicitly. ... | 47,062 | [
{
"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 (tournament VARCHAR)\n\n Question: Which 2007 has a Tournament of grand slam sr?\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_54 (career_win_loss VARCHAR)
Question: Which 2008 has a Career Win-Loss of 25–40?
Here is the SQLite query to answer to the question: Which 2008 has a Career ... | The SQLite query you've provided has a small issue. In the context of SQL, the year "2008" is not directly associated with a column. Instead, if you want to retrieve data from a table, you typically select from columns that exist in it. Assuming that the `career_win_loss` column is the relevant one and you simply want ... | 47,063 | [
{
"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 (career_win_loss VARCHAR)\n\n Question: Which 2008 has a Career Win-Loss of 25–40?\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_76 (career_win_loss VARCHAR)
Question: Which Career Win-Loss has a 2001 of 1–1?
Here is the SQLite query to answer to the question: Which Career Win-Loss has ... | Here is the corrected SQLite query to answer the question:
```sql
SELECT career_win_loss FROM table_name_76 WHERE career_win_loss = "1–1"
```
Note: The original query incorrectly used "2001" as a column name, which does not exist based on the provided schema. The query should check against the `career_win_loss` colum... | 47,064 | [
{
"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 (career_win_loss VARCHAR)\n\n Question: Which Career Win-Loss has a 2001 of 1–1?\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_75 (Id VARCHAR)
Question: Which 2012 has a 2007 of 1r, and a 2008 of 1r, and a 2013 of 2r?
Here is the SQLite query to answer to the question: Which 2012 has ... | The query you've provided seems to reference columns by year (like `2007`, `2008`, etc.), but in the provided schema, there appears to be only one column named `Id`. Therefore, to answer the question accurately, we would need a schema that includes those year columns.
However, if we assume for the sake of this example... | 47,065 | [
{
"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 (Id VARCHAR)\n\n Question: Which 2012 has a 2007 of 1r, and a 2008 of 1r, and a 2013 of 2r?\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_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What college or club did the round 9 draft pick from Canada come f... | Here is the SQLite query to answer the question regarding the round 9 draft pick from Canada:
```
SELECT college_junior_club_team__league_
FROM table_name_11
WHERE round = '9' AND nationality = 'canada';
``` | 47,066 | [
{
"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 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)\n\n Question: What college or club d... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)
Question: Who is the player who was from Dynamo-2 moscow (rus) and was picked aft... | Here is the SQLite query to answer the question regarding the player from Dynamo-2 Moscow (rus) who was picked after round 5:
```
SELECT player FROM table_name_43 WHERE round > 5 AND college_junior_club_team__league_ = "dynamo-2 moscow (rus)"
``` | 47,067 | [
{
"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 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)\n\n Question: Who is the player who was f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (position VARCHAR, nationality VARCHAR)
Question: What position does the draft pick from Finland 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 draft pick from Finland:
```
SELECT position FROM table_name_72 WHERE nationality = 'Finland';
``` | 47,068 | [
{
"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 (position VARCHAR, nationality VARCHAR)\n\n Question: What position does the draft pick from Finland 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_43 (round INTEGER, player VARCHAR)
Question: What is the lowest round number that Ian Forbes was picked in the draft?
Here is the SQLite query to answer to th... | Your SQLite query to find the lowest round number that Ian Forbes was picked in the draft looks correct. Here it is wrapped in code format:
```
SELECT MIN(round) FROM table_name_43 WHERE player = "ian forbes";
``` | 47,069 | [
{
"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 (round INTEGER, player VARCHAR)\n\n Question: What is the lowest round number that Ian Forbes was picked in the draf... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (coach VARCHAR, year VARCHAR)
Question: Who was the coach in 1953?
Here is the SQLite query to answer to the question: Who was the coach in 1953?:
```
SELE... | Here is the SQLite query to answer the question: Who was the coach in 1953?:
```
SELECT coach FROM table_name_19 WHERE year = "1953";
``` | 47,070 | [
{
"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 (coach VARCHAR, year VARCHAR)\n\n Question: Who was the coach in 1953?\n\nHere is the SQLite query to answer to the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (time VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)
Question: What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap?
Here is the SQ... | Here is the SQLite query to answer the question regarding the time of the game at Arrowhead Stadium with an NFL recap of "recap":
```
SELECT time FROM table_name_82 WHERE nfl_recap = "recap" AND game_site = "arrowhead stadium";
``` | 47,071 | [
{
"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_82 (time VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)\n\n Question: What is the Time of the game at Arrowhead Stadium... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (opponent VARCHAR, game_site VARCHAR)
Question: What was the Opponent at Arrowhead Stadium?
Here is the SQLite query to answer to the question: What was th... | Here's the SQLite query to find the opponent at Arrowhead Stadium:
```
SELECT opponent FROM table_name_97 WHERE game_site = "arrowhead stadium";
``` | 47,072 | [
{
"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_97 (opponent VARCHAR, game_site VARCHAR)\n\n Question: What was the Opponent at Arrowhead Stadium?\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_88 (result VARCHAR, record VARCHAR, week VARCHAR, time VARCHAR)
Question: What was the Result of the game after Week 4 with a Time of 5:15 p.m. and a Record of... | Here is the SQLite query to answer the question about the Result of the game after Week 4 with a Time of 5:15 p.m. and a Record of 4–7:
```
SELECT result FROM table_name_88 WHERE week > 4 AND time = "5:15 p.m." AND record = "4–7"
``` | 47,073 | [
{
"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_88 (result VARCHAR, record VARCHAR, week VARCHAR, time VARCHAR)\n\n Question: What was the Result of the game after Wee... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR)
Question: When in November were they 11-7-3 with over 21 games?
Here is the SQLite query to answer to the ... | Your query looks almost correct, but it seems there is a small mistake in the condition for the number of games. The `game` column should represent the count of games played, which must be compared against the number 21.
In SQLite, to check if `game` is greater than 21, we use `game > 21`. Also, to ensure that the co... | 47,074 | [
{
"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 (november INTEGER, record VARCHAR, game VARCHAR)\n\n Question: When in November were they 11-7-3 with over 21 games?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (school VARCHAR, team_name VARCHAR)
Question: What school had a team name of the Trojans?
Here is the SQLite query to answer to the question: What school h... | Here is the SQLite query to answer the question about which school had a team name of the Trojans:
```
SELECT school FROM table_name_54 WHERE team_name = "Trojans";
``` | 47,075 | [
{
"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 (school VARCHAR, team_name VARCHAR)\n\n Question: What school had a team name of the Trojans?\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_50 (date VARCHAR, site VARCHAR)
Question: What date was the Site michigan stadium • ann arbor, mi?
Here is the SQLite query to answer to the question: What da... | Here is the SQLite query to answer the question about the date for the site "michigan stadium • ann arbor, mi":
```
SELECT date FROM table_name_50 WHERE site = "michigan stadium • ann arbor, mi";
``` | 47,076 | [
{
"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 (date VARCHAR, site VARCHAR)\n\n Question: What date was the Site michigan stadium • ann arbor, mi?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (site VARCHAR, result VARCHAR)
Question: What is the site of the game with a Result of l7-33?
Here is the SQLite query to answer to the question: What is t... | Your SQLite query is correctly formulated to retrieve the site of the game with a result of "l7-33". Here it is wrapped as requested:
```
SELECT site FROM table_name_34 WHERE result = "l7-33";
``` | 47,077 | [
{
"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 (site VARCHAR, result VARCHAR)\n\n Question: What is the site of the game with a Result of l7-33?\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_6 (opponent VARCHAR, result VARCHAR)
Question: What is the name of the Opponent when the Result was w48-0?
Here is the SQLite query to answer to the question:... | Here's the SQLite query you can use to find the name of the Opponent when the Result was "w48-0":
```
SELECT opponent FROM table_name_6 WHERE result = "w48-0"
``` | 47,078 | [
{
"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 (opponent VARCHAR, result VARCHAR)\n\n Question: What is the name of the Opponent when the Result was w48-0?\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_45 (date VARCHAR, site VARCHAR, opponent VARCHAR)
Question: What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern?
Here is t... | ```sql
SELECT date FROM table_name_45 WHERE site = "memorial stadium • minneapolis, mn" AND opponent = "northwestern";
``` | 47,079 | [
{
"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 (date VARCHAR, site VARCHAR, opponent VARCHAR)\n\n Question: What is the Date at memorial stadium • minneapolis, mn,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR)
Question: What is the Result of the game on 10/11/1930?
Here is the SQLite query to answer to the question: What is the Resu... | Here is the SQLite query to answer the question about the result of the game on 10/11/1930:
```
SELECT result FROM table_name_63 WHERE date = "10/11/1930";
``` | 47,080 | [
{
"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 (result VARCHAR, date VARCHAR)\n\n Question: What is the Result of the game on 10/11/1930?\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_65 (game VARCHAR, opponent VARCHAR)
Question: What is the total number of games played against the Buffalo Sabres?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question regarding the total number of games played against the Buffalo Sabres:
```sql
SELECT COUNT(game) FROM table_name_65 WHERE opponent = "Buffalo Sabres";
``` | 47,081 | [
{
"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 (game VARCHAR, opponent VARCHAR)\n\n Question: What is the total number of games played against the Buffalo Sabres?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (april INTEGER, game VARCHAR, points VARCHAR, record VARCHAR)
Question: Which April has Points of 95, and a Record of 41–25–10–3, and a Game smaller than 79... | Here is the SQLite query to answer the question regarding which April has Points of 95, a Record of 41–25–10–3, and a Game smaller than 79:
```
SELECT SUM(april) FROM table_name_50 WHERE points = '95' AND record = '41–25–10–3' AND game < '79'
``` | 47,082 | [
{
"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 (april INTEGER, game VARCHAR, points VARCHAR, record VARCHAR)\n\n Question: Which April has Points of 95, and a Reco... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (points VARCHAR, score VARCHAR, game VARCHAR)
Question: How many Points have a Score of 1–3, and a Game larger than 82?
Here is the SQLite query to answer ... | Your query is almost correct, but it should take into consideration how the score is defined in the database. Assuming "1–3" should be interpreted as a range of scores between 1 and 3 inclusive, you might want to adjust your query accordingly.
If you want to count the points where the score is between 1 and 3 and the ... | 47,083 | [
{
"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 (points VARCHAR, score VARCHAR, game VARCHAR)\n\n Question: How many Points have a Score of 1–3, and a Game larger t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (game INTEGER, points INTEGER)
Question: Which Game is the lowest one that has Points smaller than 92?
Here is the SQLite query to answer to the question: ... | Your SQL query looks correct for finding the lowest game with points smaller than 92. Here it is wrapped in code formatting as you requested:
```
SELECT MIN(game) FROM table_name_14 WHERE points < 92;
``` | 47,084 | [
{
"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 (game INTEGER, points INTEGER)\n\n Question: Which Game is the lowest one that has Points smaller than 92?\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_4 (april INTEGER, score VARCHAR, game VARCHAR)
Question: Which April is the smallest one that has a Score of 2–4, and a Game smaller than 76?
Here is the SQLi... | The query you provided is attempting to find the maximum value of "april" that meets the given conditions, but it seems you want the smallest value instead. You should use the `MIN` function instead of `MAX`. Here’s the corrected SQLite query:
```sql
SELECT MIN(april) FROM table_name_4 WHERE score = "2–4" AND game < 7... | 47,085 | [
{
"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 (april INTEGER, score VARCHAR, game VARCHAR)\n\n Question: Which April is the smallest one that has a Score of 2–4, a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR)
Question: What is the high point total associated with a difference of 1 and 0 draws?
Here is the SQLit... | Your SQLite query looks good, but it needs a small adjustment because the `drawn` column is of type VARCHAR, which means you should compare it to a string ('0') instead of an integer (0). Here’s the corrected query:
```sql
SELECT MAX(points) FROM table_name_88 WHERE difference = '1' AND drawn = '0'
```
This query wi... | 47,086 | [
{
"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_88 (points INTEGER, difference VARCHAR, drawn VARCHAR)\n\n Question: What is the high point total associated with a dif... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR)
Question: What position did the team finish in with a Difference of - 6, 3 losses, and o... | It looks like there is a small adjustment needed in your SQL query. Specifically, the condition for the "difference" column should correctly reference `'-6'` instead of `"- 6"`. Here’s the corrected query:
```sql
SELECT position FROM table_name_83 WHERE difference = '-6' AND lost = '3' AND drawn > '4';
```
This quer... | 47,087 | [
{
"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 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR)\n\n Question: What position did the team finish ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (round VARCHAR, scorers VARCHAR)
Question: Which round has the scorer of Di Matteo?
Here is the SQLite query to answer to the question: Which round has the... | Here is the SQL query to answer the question regarding which round has the scorer of Di Matteo:
```
SELECT round FROM table_name_56 WHERE scorers = "Di Matteo";
```
Note that the capitalization of "Di Matteo" may matter depending on how the data is stored in the database. If you want to perform a case-insensitive se... | 47,088 | [
{
"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 (round VARCHAR, scorers VARCHAR)\n\n Question: Which round has the scorer of Di Matteo?\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_59 (attendance INTEGER, result VARCHAR)
Question: What is the lowest attendance of a game that has the result of 2-0?
Here is the SQLite query to answer to th... | Here is the SQLite query to find the lowest attendance of a game that has the result of 2-0:
```sql
SELECT MIN(attendance) FROM table_name_59 WHERE result = "2-0";
``` | 47,089 | [
{
"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 (attendance INTEGER, result VARCHAR)\n\n Question: What is the lowest attendance of a game that has the result of 2-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (metric_value VARCHAR, unit VARCHAR)
Question: What Metric value has a Unit of dolia?
Here is the SQLite query to answer to the question: What Metric value ... | Here is the SQLite query to answer the question about the metric value that has a unit of "dolia":
```
SELECT metric_value FROM table_name_4 WHERE unit = "dolia";
``` | 47,090 | [
{
"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 (metric_value VARCHAR, unit VARCHAR)\n\n Question: What Metric value has a Unit of dolia?\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_60 (russian VARCHAR, ratio VARCHAR)
Question: What Russian has a Ratio of 40?
Here is the SQLite query to answer to the question: What Russian has a Ratio of ... | Here is the SQLite query to answer the question "What Russian has a Ratio of 40?":
```
SELECT russian FROM table_name_60 WHERE ratio = "40";
``` | 47,091 | [
{
"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 (russian VARCHAR, ratio VARCHAR)\n\n Question: What Russian has a Ratio of 40?\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_37 (avoirdupois_value VARCHAR, russian VARCHAR)
Question: What Avoirdupois value has a Russian of берковец?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the Avoirdupois value corresponding to the Russian term "берковец":
```
SELECT avoirdupois_value FROM table_name_37 WHERE russian = "берковец"
``` | 47,092 | [
{
"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 (avoirdupois_value VARCHAR, russian VARCHAR)\n\n Question: What Avoirdupois value has a Russian of берковец?\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_16 (russian VARCHAR, avoirdupois_value VARCHAR)
Question: What Russian has an Avoirdupois value of 0.686 gr?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about which Russian has an Avoirdupois value of 0.686 gr:
```
SELECT russian FROM table_name_16 WHERE avoirdupois_value = "0.686 gr"
``` | 47,093 | [
{
"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 (russian VARCHAR, avoirdupois_value VARCHAR)\n\n Question: What Russian has an Avoirdupois value of 0.686 gr?\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_55 (unit VARCHAR, ratio VARCHAR)
Question: What Unit has a Ratio of 1/32?
Here is the SQLite query to answer to the question: What Unit has a Ratio of 1/32?:
... | Here is the SQLite query to answer the question about which Unit has a Ratio of 1/32:
```
SELECT unit FROM table_name_55 WHERE ratio = "1/32";
``` | 47,094 | [
{
"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 (unit VARCHAR, ratio VARCHAR)\n\n Question: What Unit has a Ratio of 1/32?\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_57 (ratio VARCHAR, unit VARCHAR)
Question: What Ratio has a Unit of zolotnik?
Here is the SQLite query to answer to the question: What Ratio has a Unit of zol... | Here is the SQLite query to answer the question: What Ratio has a Unit of zolotnik?:
```
SELECT ratio FROM table_name_57 WHERE unit = "zolotnik";
``` | 47,095 | [
{
"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 (ratio VARCHAR, unit VARCHAR)\n\n Question: What Ratio has a Unit of zolotnik?\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_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
Question: What player from New Mexico plays the WR position?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the player from New Mexico who plays the WR position:
```
SELECT player FROM table_name_21 WHERE position = "WR" AND school_club_team = "New Mexico";
``` | 47,096 | [
{
"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 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)\n\n Question: What player from New Mexico plays the WR ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR)
Question: What's the Uni# of Timms, who has bats of R?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question: What's the Uni# of Timms, who has bats of R?:
```
SELECT uni_number FROM table_name_22 WHERE bats = "R" AND surname = "Timms"
``` | 47,097 | [
{
"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 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR)\n\n Question: What's the Uni# of Timms, who has bats of R?\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_37 (opponent VARCHAR, game VARCHAR)
Question: What team were the Opponent in Game 29?
Here is the SQLite query to answer to the question: What team were the O... | Here is the SQLite query to answer the question: What team were the Opponent in Game 29?:
```
SELECT opponent FROM table_name_37 WHERE game = '29';
``` | 47,098 | [
{
"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 (opponent VARCHAR, game VARCHAR)\n\n Question: What team were the Opponent in Game 29?\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_60 (first_contact_with_hitler VARCHAR, age_at_death VARCHAR)
Question: When did the woman who died at 31 first contact Hitlers?
Here is the SQLite query to an... | Your SQLite query is correctly structured to find the first contact date of the woman who died at the age of 31. Here it is wrapped in the appropriate code formatting:
```
SELECT first_contact_with_hitler FROM table_name_60 WHERE age_at_death = "31";
``` | 47,099 | [
{
"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 (first_contact_with_hitler VARCHAR, age_at_death VARCHAR)\n\n Question: When did the woman who died at 31 first cont... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.