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_15 (scores_by_each_individual_judge VARCHAR, status VARCHAR, date_performed VARCHAR)
Question: What Scores by each individual judge has a Status of eliminated,... | Here is the SQLite query to answer the question regarding the scores by each individual judge that have a status of "eliminated" and a date performed of "August 13":
```
SELECT scores_by_each_individual_judge
FROM table_name_15
WHERE status = "eliminated"
AND date_performed = "august 13";
``` | 15,800 | [
{
"from": "human",
"value": " 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 (scores_by_each_individual_judge VARCHAR, status VARCHAR, date_performed VARCHAR)\n\n Question: What Scores by each ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
Question: What Scores by each individual judge ha... | Here is the SQLite query to answer the question regarding the scores by each individual judge, given the specified conditions:
```
SELECT scores_by_each_individual_judge
FROM table_name_76
WHERE total_score_week = '51/60'
AND co_contestant__yaar_vs_pyaar_ = 'tina sachdev'
``` | 15,801 | [
{
"from": "human",
"value": " 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 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)\n\n Quest... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (co_contestant__yaar_vs_pyaar_ VARCHAR, total_score_week VARCHAR, date_performed VARCHAR)
Question: What Co-contestant (Yaar vs. Pyaar) has a Total score/we... | Here is the SQLite query to answer the question regarding the co-contestant with a total score of 48/60 and a date performed of August 14:
```
SELECT co_contestant__yaar_vs_pyaar_
FROM table_name_40
WHERE total_score_week = "48/60"
AND date_performed = "august 14";
``` | 15,802 | [
{
"from": "human",
"value": " 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 (co_contestant__yaar_vs_pyaar_ VARCHAR, total_score_week VARCHAR, date_performed VARCHAR)\n\n Question: What Co-cont... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
Question: What Date performed has a Scores by each individual jud... | It looks like there is a small issue with the condition in your SQL query. The comparison for the scores should be done using a string comparison rather than attempting to perform arithmetic directly in the WHERE clause, since `scores_by_each_individual_judge` is a VARCHAR field.
Here's the corrected query:
```sql
SE... | 15,803 | [
{
"from": "human",
"value": " 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 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)\n\n Question: What Date p... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (status VARCHAR, date_performed VARCHAR, position VARCHAR)
Question: What Status has a Date performed of august 13, and a Position of safe?
Here is the SQL... | Here is the SQLite query that answers the question regarding the status for a specific date and position:
```
SELECT status FROM table_name_42 WHERE date_performed = "august 13" AND position = "safe"
``` | 15,804 | [
{
"from": "human",
"value": " 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 (status VARCHAR, date_performed VARCHAR, position VARCHAR)\n\n Question: What Status has a Date performed of august ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
Question: What Scores by each individual judge has a Status... | Here is the SQLite query that answers the question you provided:
```
SELECT scores_by_each_individual_judge
FROM table_name_67
WHERE status = "current"
AND co_contestant__yaar_vs_pyaar_ = "krushna abhishek";
``` | 15,805 | [
{
"from": "human",
"value": " 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 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)\n\n Question: What ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
Question: Which Number of elect... | Here is the corrected SQLite query to answer the question:
```sql
SELECT number_of_electorates__2009_
FROM table_name_56
WHERE district = 'jhajjar'
AND reserved_for___sc___st__none_ = 'sc'
AND CAST(constituency_number AS INTEGER) < 66;
```
In this query, I have ensured that the `constituency_number` is cast to an... | 15,806 | [
{
"from": "human",
"value": " 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 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VAR... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)
Question: What is the highest rank of the athlete with a Taijiquan higher than 9.64 and a total more than 1... | Here is the SQLite query to answer the question regarding the highest rank of the athlete:
```
SELECT MAX(rank) FROM table_name_95 WHERE taijiquan > 9.64 AND total > 19.69
``` | 15,807 | [
{
"from": "human",
"value": " 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 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)\n\n Question: What is the highest rank of the athlete with a Taijiq... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR)
Question: What is the lowest Taijiquan of the athlete who has a Taijijian of 9.7 and a total more than... | Here is the SQLite query to answer the question:
```
SELECT MIN(taijiquan) FROM table_name_90 WHERE taijijian = '9.7' AND total > '19.34'
``` | 15,808 | [
{
"from": "human",
"value": " 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 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR)\n\n Question: What is the lowest Taijiquan of the athlete who ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (year VARCHAR, result VARCHAR, category VARCHAR)
Question: What are the years that had someone nominated for best supporting actress?
Here is the SQLite qu... | To find the years that had someone nominated for best supporting actress, you need to select the distinct years where the result is "nominated" and the category is "best supporting actress". Here is the correct SQLite query:
```
SELECT DISTINCT year FROM table_name_67 WHERE result = "nominated" AND category = "best su... | 15,809 | [
{
"from": "human",
"value": " 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 (year VARCHAR, result VARCHAR, category VARCHAR)\n\n Question: What are the years that had someone nominated for bes... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR)
Question: What's the nominee for best supporting actress?
Here is the SQLite query to answer to the question: What's th... | Here is the SQLite query to answer the question: What's the nominee for best supporting actress?:
```
SELECT nominee FROM table_name_86 WHERE category = "best supporting actress"
``` | 15,810 | [
{
"from": "human",
"value": " 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 (nominee VARCHAR, category VARCHAR)\n\n Question: What's the nominee for best supporting actress?\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_39 (tie_no VARCHAR, score VARCHAR)
Question: What is the Tie no of the game with a Score of 1–1?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to find the Tie no of the game with a Score of 1–1:
```
SELECT tie_no FROM table_name_39 WHERE score = "1–1"
``` | 15,811 | [
{
"from": "human",
"value": " 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 (tie_no VARCHAR, score VARCHAR)\n\n Question: What is the Tie no of the game with a Score of 1–1?\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_57 (score VARCHAR, home_team VARCHAR)
Question: What is the Score of the Burnley Home game?
Here is the SQLite query to answer to the question: What is the Sc... | Here's the SQLite query to answer the question about the score of the Burnley home game:
```
SELECT score FROM table_name_57 WHERE home_team = "burnley";
``` | 15,812 | [
{
"from": "human",
"value": " 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 (score VARCHAR, home_team VARCHAR)\n\n Question: What is the Score of the Burnley Home game?\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_93 (away_team VARCHAR, home_team VARCHAR)
Question: What is the Away team when Arsenal is the Home team?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question: What is the Away team when Arsenal is the Home team?:
```
SELECT away_team FROM table_name_93 WHERE home_team = "arsenal";
``` | 15,813 | [
{
"from": "human",
"value": " 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 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What is the Away team when Arsenal is 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_67 (date VARCHAR, tie_no VARCHAR)
Question: What is the Date of Tie no 3?
Here is the SQLite query to answer to the question: What is the Date of Tie no 3?:
`... | Your SQLite query to find the date of Tie no 3 is correctly structured. Here it is again wrapped in code formatting:
```
SELECT date FROM table_name_67 WHERE tie_no = "3";
``` | 15,814 | [
{
"from": "human",
"value": " 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 VARCHAR, tie_no VARCHAR)\n\n Question: What is the Date of Tie no 3?\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_94 (opponent VARCHAR, record VARCHAR)
Question: Which opponent has a record of 3–1?
Here is the SQLite query to answer to the question: Which opponent has a r... | Here is the SQLite query to answer the question regarding which opponent has a record of 3–1:
```
SELECT opponent FROM table_name_94 WHERE record = "3–1";
``` | 15,815 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)\n\n Question: Which opponent has a record of 3–1?\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_22 (event VARCHAR, record VARCHAR)
Question: What event has a Record of 4–2?
Here is the SQLite query to answer to the question: What event has a Record of 4–... | Here is the SQLite query to answer the question: What event has a Record of 4–2?:
```
SELECT event FROM table_name_22 WHERE record = "4–2"
``` | 15,816 | [
{
"from": "human",
"value": " 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 (event VARCHAR, record VARCHAR)\n\n Question: What event has a Record of 4–2?\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_18 (opponent VARCHAR, time VARCHAR)
Question: Which Opponent has a Time of 0:38?
Here is the SQLite query to answer to the question: Which Opponent has a Time... | Here is the SQLite query to answer the question: Which Opponent has a Time of 0:38?:
```
SELECT opponent FROM table_name_18 WHERE time = "0:38";
``` | 15,817 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, time VARCHAR)\n\n Question: Which Opponent has a Time of 0:38?\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_50 (score VARCHAR, competition VARCHAR, result VARCHAR, location VARCHAR)
Question: What was the score when the result was win, in Helsinki, competition was fr... | Here is the SQLite query to answer the question about the score when the result was "win", the location was "Helsinki", and the competition was "friendly":
```sql
SELECT score FROM table_name_50 WHERE result = "win" AND location = "Helsinki" AND competition = "friendly";
``` | 15,818 | [
{
"from": "human",
"value": " 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 (score VARCHAR, competition VARCHAR, result VARCHAR, location VARCHAR)\n\n Question: What was the score when the res... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (competition VARCHAR, score VARCHAR)
Question: What competition has a Score of 7–0?
Here is the SQLite query to answer to the question: What competition ha... | Here is the SQLite query to answer the question about which competition has a Score of 7–0:
```sql
SELECT competition FROM table_name_85 WHERE score = "7–0";
``` | 15,819 | [
{
"from": "human",
"value": " 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 (competition VARCHAR, score VARCHAR)\n\n Question: What competition has a Score of 7–0?\n\nHere is the SQLite query ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (date VARCHAR, location VARCHAR, result VARCHAR, competition VARCHAR)
Question: What date has a result of win, in a friendly competition in Porto?
Here is ... | Here is the SQLite query to answer the question regarding the date with a result of "win" in a friendly competition in Porto:
```
SELECT date FROM table_name_79 WHERE result = "win" AND competition = "friendly" AND location = "porto"
``` | 15,820 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (date VARCHAR, location VARCHAR, result VARCHAR, competition VARCHAR)\n\n Question: What date has a result of win, i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (name VARCHAR, city VARCHAR)
Question: Who has the city Santiago?
Here is the SQLite query to answer to the question: Who has the city Santiago?:
```
SELEC... | Here is the SQLite query to answer the question: Who has the city Santiago?:
```
SELECT name FROM table_name_41 WHERE city = "Santiago";
``` | 15,821 | [
{
"from": "human",
"value": " 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 (name VARCHAR, city VARCHAR)\n\n Question: Who has the city Santiago?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, set_2 VARCHAR)
Question: What is the score for Set 2 at 15:21?
Here is the SQLite query to answer to the question: What is the score for Se... | Here is the SQLite query to answer the question regarding the score for Set 2 at 15:21:
```
SELECT score FROM table_name_48 WHERE set_2 = "15:21"
``` | 15,822 | [
{
"from": "human",
"value": " 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 (score VARCHAR, set_2 VARCHAR)\n\n Question: What is the score for Set 2 at 15:21?\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_3 (set_2 VARCHAR, set_1 VARCHAR)
Question: What Set 2 has a set one at 19:21?
Here is the SQLite query to answer to the question: What Set 2 has a set one at ... | Here is the SQLite query to answer the question "What Set 2 has a set one at 19:21?":
```
SELECT set_2 FROM table_name_3 WHERE set_1 = "19:21";
``` | 15,823 | [
{
"from": "human",
"value": " 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 (set_2 VARCHAR, set_1 VARCHAR)\n\n Question: What Set 2 has a set one at 19:21?\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_59 (score VARCHAR, set_1 VARCHAR)
Question: What is the score for Set 1 at 19:21?
Here is the SQLite query to answer to the question: What is the score for Se... | Your provided query is almost correct; however, it seems that "set_1" is interpreted as a time in your question, and you want the score associated with that specific time. Let's ensure that we get the score for Set 1 at the specified time.
If the values in "set_1" do indeed correspond to times, your query is good as ... | 15,824 | [
{
"from": "human",
"value": " 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 (score VARCHAR, set_1 VARCHAR)\n\n Question: What is the score for Set 1 at 19:21?\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_93 (set_1 VARCHAR, set_2 VARCHAR)
Question: What is the Set 1 with set 2 at 21:17?
Here is the SQLite query to answer to the question: What is the Set 1 with ... | Your SQLite query is correctly structured to find the Set 1 associated with a specific Set 2 value of "21:17". Here it is wrapped in the code block as requested:
```
SELECT set_1 FROM table_name_93 WHERE set_2 = "21:17";
``` | 15,825 | [
{
"from": "human",
"value": " 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 (set_1 VARCHAR, set_2 VARCHAR)\n\n Question: What is the Set 1 with set 2 at 21:17?\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_92 (result_f___a VARCHAR, league_position VARCHAR, opponents VARCHAR)
Question: What Result F – A has a League position of 2nd, and Opponents of liverpool?
He... | Here is the SQLite query to answer the question regarding the Result F – A with a League position of 2nd and Opponents of Liverpool:
```
SELECT result_f___a FROM table_name_92 WHERE league_position = "2nd" AND opponents = "liverpool"
``` | 15,826 | [
{
"from": "human",
"value": " 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 (result_f___a VARCHAR, league_position VARCHAR, opponents VARCHAR)\n\n Question: What Result F – A has a League posi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (league_position VARCHAR, result_f___a VARCHAR, opponents VARCHAR)
Question: What League position has a Result F – A of 2 – 0, and Opponents of queens park ... | Here is the SQLite query to answer the question:
```
SELECT league_position FROM table_name_31 WHERE result_f___a = "2 – 0" AND opponents = "queens park rangers"
``` | 15,827 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (league_position VARCHAR, result_f___a VARCHAR, opponents VARCHAR)\n\n Question: What League position has a Result F... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)
Question: What is the smallest Attendance with H / A of h, and Opponents of nottingham forest?
Here i... | Your SQLite query is correctly formulated to find the smallest attendance with the specified conditions. Here's the query wrapped in code blocks:
```
SELECT MIN(attendance) FROM table_name_4 WHERE h___a = "h" AND opponents = "nottingham forest";
``` | 15,828 | [
{
"from": "human",
"value": " 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 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)\n\n Question: What is the smallest Attendance with H / A of h,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (country VARCHAR, place VARCHAR)
Question: What country has a place of 4?
Here is the SQLite query to answer to the question: What country has a place of 4... | Here is the SQLite query to answer the question: What country has a place of 4?:
```
SELECT country FROM table_name_66 WHERE place = "4";
``` | 15,829 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (country VARCHAR, place VARCHAR)\n\n Question: What country has a place of 4?\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_88 (score VARCHAR, country VARCHAR, place VARCHAR)
Question: What did the United States score in the T5?
Here is the SQLite query to answer to the question: W... | Here's the SQLite query to answer the question about what the United States scored in the T5:
```
SELECT score FROM table_name_88 WHERE country = "united states" AND place = "t5"
``` | 15,830 | [
{
"from": "human",
"value": " 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 (score VARCHAR, country VARCHAR, place VARCHAR)\n\n Question: What did the United States score in the T5?\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_39 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: What was the to par at the T5 for the player with a score of 74-69-66=209?
Here is the SQLite quer... | It seems that the SQL query you provided has a syntax issue regarding how to evaluate the score. The condition for the score needs to compare the score column directly to the string representation of the score. Here's the corrected version of the SQLite query:
```sql
SELECT to_par FROM table_name_39 WHERE place = 'T5'... | 15,831 | [
{
"from": "human",
"value": " 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 (to_par VARCHAR, place VARCHAR, score VARCHAR)\n\n Question: What was the to par at the T5 for the player with a sco... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)
Question: Where did Trinidad and Tobago play?
Here is the SQLite query to answer to the question: Where did Trinidad and T... | Here is the SQLite query to answer the question "Where did Trinidad and Tobago play?":
```
SELECT place FROM table_name_99 WHERE country = "trinidad and tobago";
``` | 15,832 | [
{
"from": "human",
"value": " 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 (place VARCHAR, country VARCHAR)\n\n Question: Where did Trinidad and Tobago play?\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_24 (to_par VARCHAR, score VARCHAR)
Question: What was the to par for the game with a score of 74-69-66=209?
Here is the SQLite query to answer to the question... | The provided query contains a misunderstanding of how to properly compare the score in the database. The score in the database should be treated as a string, and you should match it directly with '74-69-66=209'. Here is the corrected version of the SQL query:
```sql
SELECT to_par FROM table_name_24 WHERE score = '74-6... | 15,833 | [
{
"from": "human",
"value": " 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 (to_par VARCHAR, score VARCHAR)\n\n Question: What was the to par for the game with a score of 74-69-66=209?\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_64 (country VARCHAR, player VARCHAR)
Question: Where is Eduardo Romero from?
Here is the SQLite query to answer to the question: Where is Eduardo Romero from?... | Your query looks good, but just to ensure it works correctly with regard to case sensitivity in SQLite, it's commonly a good practice to use either upper or lower case for string comparisons. Here's a slightly adjusted version of your query that also considers this:
```sql
SELECT country FROM table_name_64 WHERE LOWER... | 15,834 | [
{
"from": "human",
"value": " 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 (country VARCHAR, player VARCHAR)\n\n Question: Where is Eduardo Romero from?\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_42 (city VARCHAR, name VARCHAR)
Question: In what city is the Estonian University of Life Sciences located?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the location of the Estonian University of Life Sciences:
```
SELECT city FROM table_name_42 WHERE name = "Estonian University of Life Sciences";
``` | 15,835 | [
{
"from": "human",
"value": " 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 (city VARCHAR, name VARCHAR)\n\n Question: In what city is the Estonian University of Life Sciences located?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR)
Question: What is the abbreviation for the University of Tartu?
Here is the SQLite query to answer to the question: What is th... | Here is the SQLite query to find the abbreviation for the University of Tartu:
```sql
SELECT abbr FROM table_name_43 WHERE name = "University of Tartu";
``` | 15,836 | [
{
"from": "human",
"value": " 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 (abbr VARCHAR, name VARCHAR)\n\n Question: What is the abbreviation for the University of Tartu?\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_30 (place VARCHAR, player VARCHAR)
Question: What place is Fred Funk in?
Here is the SQLite query to answer to the question: What place is Fred Funk in?:
```
... | Here is the SQLite query to answer the question: What place is Fred Funk in?:
```
SELECT place FROM table_name_30 WHERE player = "Fred Funk"
``` | 15,837 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (place VARCHAR, player VARCHAR)\n\n Question: What place is Fred Funk in?\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_67 (score VARCHAR, away_team VARCHAR)
Question: What is Score, when Away Team is "Thame United"?
Here is the SQLite query to answer to the question: What is S... | Here is the SQLite query to answer the question regarding the score when the away team is "Thame United":
```
SELECT score FROM table_name_67 WHERE away_team = "Thame United";
``` | 15,838 | [
{
"from": "human",
"value": " 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 (score VARCHAR, away_team VARCHAR)\n\n Question: What is Score, when Away Team is \"Thame United\"?\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_84 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)
Question: What is Score, when Attendance is "76", and when Home Team is "Meir Ka"?
Here is the SQLit... | Here is the SQLite query to answer the question regarding the score when attendance is "76" and when the home team is "Meir Ka":
```
SELECT score FROM table_name_84 WHERE attendance = "76" AND home_team = "Meir Ka"
``` | 15,839 | [
{
"from": "human",
"value": " 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 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)\n\n Question: What is Score, when Attendance is \"76\", and w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (tie_no VARCHAR, score VARCHAR)
Question: What is Tie No, when Score is "Marlow United won 4–2 on penalties"?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question:
```
SELECT tie_no FROM table_name_89 WHERE score = "Marlow United won 4–2 on penalties"
``` | 15,840 | [
{
"from": "human",
"value": " 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 (tie_no VARCHAR, score VARCHAR)\n\n Question: What is Tie No, when Score is \"Marlow United won 4–2 on penalties\"?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR)
Question: What is Home Team, when Attendance is "112", and when Away Team is "Kentish Town"?
Her... | Here is the SQLite query to answer the question regarding the Home Team when the Attendance is "112" and the Away Team is "Kentish Town":
```
SELECT home_team FROM table_name_94 WHERE attendance = "112" AND away_team = "Kentish Town"
``` | 15,841 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR)\n\n Question: What is Home Team, when Attendance is \"112... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (score VARCHAR, surface VARCHAR, date VARCHAR)
Question: What was the April 7, 2008 score on a clay surface?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the score on a clay surface for April 7, 2008:
```
SELECT score FROM table_name_71 WHERE surface = "clay" AND date = "April 7, 2008";
``` | 15,842 | [
{
"from": "human",
"value": " 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 (score VARCHAR, surface VARCHAR, date VARCHAR)\n\n Question: What was the April 7, 2008 score on a clay surface?\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_55 (date VARCHAR, score VARCHAR)
Question: What date was the score 6–3, 3–6, 6–0?
Here is the SQLite query to answer to the question: What date was the score ... | Here is the SQLite query to answer the question about the date for the score 6–3, 3–6, 6–0:
```
SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–0";
``` | 15,843 | [
{
"from": "human",
"value": " 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, score VARCHAR)\n\n Question: What date was the score 6–3, 3–6, 6–0?\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_25 (american VARCHAR)
Question: What is 17th c., when American is "ə"?
Here is the SQLite query to answer to the question: What is 17th c., when American is "... | Your SQLite query seems to be structured correctly based on the given schema. Here it is wrapped in proper code formatting:
```sql
SELECT 17 AS th_c FROM table_name_25 WHERE american = "ə";
```
This query will return a result with a single column labeled `th_c` containing the value `17` if there is at least one row i... | 15,844 | [
{
"from": "human",
"value": " 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 (american VARCHAR)\n\n Question: What is 17th c., when American is \"ə\"?\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_25 (australian VARCHAR, examples VARCHAR)
Question: What is 17th c., when Australian is "i, ɪ, ə", and when Examples is "œsophagus"?
Here is the SQLite query ... | Your query is almost correct, but to clarify based on the convention of how to represent the 17th century in SQL, it might be better to specify which column you are referring to. Usually, we use a more meaningful column name rather than a number. However, since you asked for a value like "17" to represent "17th c.", I ... | 15,845 | [
{
"from": "human",
"value": " 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 (australian VARCHAR, examples VARCHAR)\n\n Question: What is 17th c., when Australian is \"i, ɪ, ə\", and when Examp... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (australian VARCHAR, examples VARCHAR)
Question: What is Australian, when Examples is "amœba, anemone, ascesis"?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question:
```
SELECT australian FROM table_name_95 WHERE examples = "amœba, anemone, ascesis"
``` | 15,846 | [
{
"from": "human",
"value": " 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 (australian VARCHAR, examples VARCHAR)\n\n Question: What is Australian, when Examples is \"amœba, anemone, ascesis\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (british VARCHAR, australian VARCHAR, examples VARCHAR)
Question: What is British, when Australian is "i, ɪ, ə", and when Examples is "œsophagus"?
Here is ... | Here is the SQLite query to answer the question based on the provided schema:
```
SELECT british FROM table_name_83 WHERE australian = "i, ɪ, ə" AND examples = "œsophagus"
``` | 15,847 | [
{
"from": "human",
"value": " 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 (british VARCHAR, australian VARCHAR, examples VARCHAR)\n\n Question: What is British, when Australian is \"i, ɪ, ə\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (australian VARCHAR, examples VARCHAR)
Question: What is Australian, when Examples is "elysium, emeritus, epitome, erotica"?
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT australian FROM table_name_50 WHERE examples = "elysium, emeritus, epitome, erotica";
``` | 15,848 | [
{
"from": "human",
"value": " 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 (australian VARCHAR, examples VARCHAR)\n\n Question: What is Australian, when Examples is \"elysium, emeritus, epito... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (report VARCHAR, circuit VARCHAR)
Question: Which report had a circuit of Cagliari?
Here is the SQLite query to answer to the question: Which report had a ... | Your SQLite query is almost correct, but be aware that SQLite is case-sensitive depending on the collation used. If you want to ensure that the query is case-insensitive, you might consider using the `LOWER()` function or simply ensuring that the case matches the values in your database.
Here’s your query, wrapped in ... | 15,849 | [
{
"from": "human",
"value": " 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 (report VARCHAR, circuit VARCHAR)\n\n Question: Which report had a circuit of Cagliari?\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_49 (name VARCHAR, circuit VARCHAR)
Question: Which name had the circuit Monza?
Here is the SQLite query to answer to the question: Which name had the circuit ... | Here is the SQLite query to answer the question: Which name had the circuit Monza?:
```
SELECT name FROM table_name_49 WHERE circuit = "Monza";
``` | 15,850 | [
{
"from": "human",
"value": " 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, circuit VARCHAR)\n\n Question: Which name had the circuit Monza?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (date VARCHAR, circuit VARCHAR)
Question: What day was the circuit Isle of Man?
Here is the SQLite query to answer to the question: What day was the circui... | Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT date FROM table_name_72 WHERE circuit = "isle of man";
``` | 15,851 | [
{
"from": "human",
"value": " 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 (date VARCHAR, circuit VARCHAR)\n\n Question: What day was the circuit Isle of Man?\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_72 (team_2 VARCHAR)
Question: What is the 2nd leg for the team 2 Milano?
Here is the SQLite query to answer to the question: What is the 2nd leg for the team ... | Here is the SQLite query to answer the question about the 2nd leg for team 2 Milano:
```sql
SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = 'milano';
``` | 15,852 | [
{
"from": "human",
"value": " 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 (team_2 VARCHAR)\n\n Question: What is the 2nd leg for the team 2 Milano?\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 (position VARCHAR, pick INTEGER)
Question: What was the position of the player picked at 243?
Here is the SQLite query to answer to the question: What was ... | The query you provided to find the position of the player picked at 243 is not correct. It uses `pick > 243`, which does not appropriately seek the specific pick number.
Here is the corrected SQLite query to find the position of the player picked at 243:
```sql
SELECT position FROM table_name_32 WHERE pick = 243;
``` | 15,853 | [
{
"from": "human",
"value": " 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 (position VARCHAR, pick INTEGER)\n\n Question: What was the position of the player picked at 243?\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_69 (visitor VARCHAR, record VARCHAR)
Question: Who was the visitor when the record was 24–14–2?
Here is the SQLite query to answer to the question: Who was th... | ```
SELECT visitor FROM table_name_69 WHERE record = "24–14–2"
``` | 15,854 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (visitor VARCHAR, record VARCHAR)\n\n Question: Who was the visitor when the record was 24–14–2?\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_1 (date VARCHAR, score VARCHAR)
Question: On what date was the score 6–4?
Here is the SQLite query to answer to the question: On what date was the score 6–4?:... | Here is the SQLite query to answer the question "On what date was the score 6–4?":
```sql
SELECT date FROM table_name_1 WHERE score = "6–4";
``` | 15,855 | [
{
"from": "human",
"value": " 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 (date VARCHAR, score VARCHAR)\n\n Question: On what date was the score 6–4?\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_77 (score VARCHAR, date VARCHAR)
Question: What was the score on February 17?
Here is the SQLite query to answer to the question: What was the score on Februa... | Here is the SQLite query to answer the question about the score on February 17:
```sql
SELECT score FROM table_name_77 WHERE date = "February 17";
``` | 15,856 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR)\n\n Question: What was the score on February 17?\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_35 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the total number of Silver, when Gold is "1", and when Bronze is less than 0?
Here is the ... | Your query has a small issue with quoting the string "1". In SQL, numerical values should not be enclosed in quotes. Here is the corrected SQLite query:
```
SELECT COUNT(silver) FROM table_name_35 WHERE gold = '1' AND bronze < 0
```
This query will count the number of rows in the `table_name_35` table where the `gol... | 15,857 | [
{
"from": "human",
"value": " 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 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n Question: What is the total number of Silver, when Gold is \"1\",... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (bronze INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the highest Bronze, when Nation is "South Africa", and when Total is less than 20?
Here i... | Your query is almost correct, but it is important to note that the `total` column is of type `VARCHAR`. Since you're comparing it to an integer (20), you need to ensure that the values in `total` can be properly compared as integers. You can do this using the `CAST` function to convert `total` to an integer for the com... | 15,858 | [
{
"from": "human",
"value": " 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 (bronze INTEGER, nation VARCHAR, total VARCHAR)\n\n Question: What is the highest Bronze, when Nation is \"South Afr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the highest Silver, when Gold is "8", and when Total is greater than 31?
Here is the SQLite... | Your query has the right idea but there is a small issue with the data type for the `gold` column. Since `gold` is defined as `VARCHAR`, the value should be wrapped in quotes. Also, the `total` field is also defined as `VARCHAR`, and you might need to convert it to an integer for comparison. Here’s an updated version o... | 15,859 | [
{
"from": "human",
"value": " 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 (silver INTEGER, gold VARCHAR, total VARCHAR)\n\n Question: What is the highest Silver, when Gold is \"8\", and when... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
Question: What is the total number of Silver, when Gold is less than 34, when Rank is "6", and w... | Here is the SQLite query to answer the question regarding the total number of Silver, given the specified conditions:
```
SELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = "6" AND total > 10
``` | 15,860 | [
{
"from": "human",
"value": " 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 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)\n\n Question: What is the total number of Silver, when G... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
Question: What is Bronze, when Silver is less than 89, and when Total is "4"?
Here is the SQLite query to an... | The provided SQLite query needs a slight modification to ensure that the `total` is checked as a string since the column is defined as `VARCHAR`. Here’s the corrected query wrapped in code blocks:
```
SELECT bronze FROM table_name_6 WHERE silver < 89 AND total = '4'
```
This query retrieves the `bronze` values from ... | 15,861 | [
{
"from": "human",
"value": " 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 (bronze VARCHAR, silver VARCHAR, total VARCHAR)\n\n Question: What is Bronze, when Silver is less than 89, and when T... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (production_time VARCHAR, number_built VARCHAR, model VARCHAR)
Question: What's the production time with more than 2.737 built and a 280s model?
Here is th... | Here is the SQLite query you requested, formatted correctly:
```
SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = "280s";
``` | 15,862 | [
{
"from": "human",
"value": " 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 (production_time VARCHAR, number_built VARCHAR, model VARCHAR)\n\n Question: What's the production time with more 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 (number_built VARCHAR, chassis_code VARCHAR)
Question: What's the total number built with a chassis code of w108.057?
Here is the SQLite query to answer to... | Your SQLite query looks correct for counting the total number built with a specific chassis code. Here is the query formatted as you requested:
```
SELECT COUNT(number_built) FROM table_name_45 WHERE chassis_code = "w108.057"
``` | 15,863 | [
{
"from": "human",
"value": " 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 (number_built VARCHAR, chassis_code VARCHAR)\n\n Question: What's the total number built with a chassis code of w108... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (chassis_code VARCHAR, model VARCHAR)
Question: What's the chassis code for the 280s model?
Here is the SQLite query to answer to the question: What's the ... | Here is the SQLite query to answer the question about the chassis code for the 280s model:
```
SELECT chassis_code FROM table_name_17 WHERE model = "280s"
``` | 15,864 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (chassis_code VARCHAR, model VARCHAR)\n\n Question: What's the chassis code for the 280s model?\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_29 (jianshu INTEGER, athlete VARCHAR)
Question: What is the lowest Jianshu number for Liu Yang ( hkg )?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding the lowest Jianshu number for Liu Yang (hkg):
```
SELECT MIN(jianshu) FROM table_name_29 WHERE athlete = "liu yang ( hkg )"
``` | 15,865 | [
{
"from": "human",
"value": " 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 (jianshu INTEGER, athlete VARCHAR)\n\n Question: What is the lowest Jianshu number for Liu Yang ( hkg )?\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 (rank INTEGER, total VARCHAR, jianshu VARCHAR, athlete VARCHAR)
Question: What is the lowest rank when Jianshu is smaller than 9.66, for Richard Devine ( gb... | Here is the SQLite query wrapped in code blocks as you requested:
```
SELECT MIN(rank) FROM table_name_25 WHERE jianshu < 9.66 AND athlete = "richard devine ( gbr )" AND total < 19.02;
``` | 15,866 | [
{
"from": "human",
"value": " 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 (rank INTEGER, total VARCHAR, jianshu VARCHAR, athlete VARCHAR)\n\n Question: What is the lowest rank when Jianshu i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR)
Question: What is the number of Jianshu when the total is more than 19.16, for Nguyen Hu... | Here is the SQLite query you requested, wrapped as specified:
```
SELECT COUNT(jianshu) FROM table_name_76 WHERE total > 19.16 AND athlete = "Nguyen Huy Thanh ( vie )" AND qiangshu > 9.66;
``` | 15,867 | [
{
"from": "human",
"value": " 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 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR)\n\n Question: What is the number of Jianshu when... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (qiangshu VARCHAR, jianshu VARCHAR, rank VARCHAR, total VARCHAR)
Question: What is the number of Qiangshu when rank is less than 10, with a total of 18.97, ... | Here is the SQLite query to answer the question based on the provided schema:
```
SELECT COUNT(qiangshu) FROM table_name_73 WHERE rank < '10' AND total = '18.97' AND jianshu > '9.51';
```
Make sure to use quotes for string comparisons consistent with your database schema as `qiangshu`, `jianshu`, `rank`, and `total`... | 15,868 | [
{
"from": "human",
"value": " 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 (qiangshu VARCHAR, jianshu VARCHAR, rank VARCHAR, total VARCHAR)\n\n Question: What is the number of Qiangshu when r... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR)
Question: Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch?
... | Here is the SQLite query to answer to the question regarding the Place that has the Country of Australia and the Player of Ian Baker-Finch:
```
SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch";
``` | 15,869 | [
{
"from": "human",
"value": " 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 (place VARCHAR, country VARCHAR, player VARCHAR)\n\n Question: Can you tell me the Place that has the Country of aus... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (place VARCHAR, score VARCHAR, player VARCHAR)
Question: Can you tell me the Place that has the Score of 68, and the Player of christy o'connor jnr?
Here i... | Your SQLite query is mostly correct, but since the `score` column is defined as `VARCHAR`, it's good practice to ensure that the value being compared is also treated as a string. Here’s how you can write the query to answer your question:
```
SELECT place FROM table_name_70 WHERE score = '68' AND player = 'christy o''... | 15,870 | [
{
"from": "human",
"value": " 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 (place VARCHAR, score VARCHAR, player VARCHAR)\n\n Question: Can you tell me the Place that has the Score of 68, and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (player VARCHAR, score INTEGER)
Question: Can you tell me the Player that has the Score larger than 67?
Here is the SQLite query to answer to the question:... | Certainly! Here is the SQLite query to find the players with scores larger than 67, formatted as you requested:
```
SELECT player FROM table_name_60 WHERE score > 67
``` | 15,871 | [
{
"from": "human",
"value": " 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 (player VARCHAR, score INTEGER)\n\n Question: Can you tell me the Player that has the Score larger than 67?\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_31 (Id VARCHAR)
Question: What is the 2011 value with a 134 in 2008?
Here is the SQLite query to answer to the question: What is the 2011 value with a 134 in ... | The SQLite query you provided has a small mistake in its syntax. In SQLite, when you specify the columns you want to select, you must reference those columns correctly. Assuming you want to select 2011 based on a condition involving the value in 2008, here's the corrected version of your query:
```sql
SELECT "2011" FR... | 15,872 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (Id VARCHAR)\n\n Question: What is the 2011 value with a 134 in 2008?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (Id VARCHAR)
Question: What is the 2009 value with A in 2012 and q2 in 2011?
Here is the SQLite query to answer to the question: What is the 2009 value wit... | It seems there is some confusion regarding the schema provided and the query. The schema indicates that there is a single column "Id" in the table "table_name_32". There are no columns named for specific years (2009, 2011, 2012) or any conditions related to them.
To construct a proper SQL query, we need more informati... | 15,873 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: What is the 2009 value with A in 2012 and q2 in 2011?\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_5 (tournament VARCHAR)
Question: What is the 2011 value for the paris masters tournament with 1r in 2008?
Here is the SQLite query to answer to the question: ... | It looks like there might be a slight misunderstanding in the question and the SQL query you provided. Typically, you would query for a specific column to retrieve data rather than selecting a constant value like `2011`. Additionally, the schema doesn't specify how the data for 2008 and 2011 are stored.
Assuming "2011... | 15,874 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (tournament VARCHAR)\n\n Question: What is the 2011 value for the paris masters tournament with 1r in 2008?\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_54 (Id VARCHAR)
Question: What is the 2011 value with nms in 2008?
Here is the SQLite query to answer to the question: What is the 2011 value with nms in 2008... | The given SQLite query seems to contain some inaccuracies based on standard SQL syntax and the schema provided. Assuming you want to select a value related to "nms" in 2008 from the table, it would typically require a specified column for the years since the schema only indicates a single column named `Id`.
If we wer... | 15,875 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: What is the 2011 value with nms in 2008?\n\nHere is the SQLite query to answer to the que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (draws INTEGER, club VARCHAR, position VARCHAR)
Question: Which Draws have a Club of burgos cf, and a Position larger than 8?
Here is the SQLite query to a... | Here is the corrected SQLite query to answer the question regarding which draws have a club of "burgos cf" and a position larger than 8:
```
SELECT draws FROM table_name_98 WHERE club = 'burgos cf' AND position > '8'
```
Please note that in SQL, comparing numeric values is typically done without quotes. However, if t... | 15,876 | [
{
"from": "human",
"value": " 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 (draws INTEGER, club VARCHAR, position VARCHAR)\n\n Question: Which Draws have a Club of burgos cf, and a Position l... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (played INTEGER, goal_difference INTEGER)
Question: Which Played has a Goal Difference larger than 24?
Here is the SQLite query to answer to the question: ... | It looks like there may be a slight misunderstanding in your query. If you're looking to find which "played" has a "goal difference" larger than 24, you likely want to select the "played" values that meet this condition without calculating the average.
Here is the correct SQL query:
```
SELECT played FROM table_name... | 15,877 | [
{
"from": "human",
"value": " 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 (played INTEGER, goal_difference INTEGER)\n\n Question: Which Played has a Goal Difference larger than 24?\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_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)
Question: Which Goals against has Wins of 13, and Goals for larger than 42, and mor... | The SQLite query you've provided has some issues, particularly the treatment of the `wins` and `losses` columns. Since the `wins` and `losses` columns are defined as `VARCHAR`, you need to treat them as numeric values for comparison. Specifically, you should convert them to integers for comparisons in the WHERE clause.... | 15,878 | [
{
"from": "human",
"value": " 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 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)\n\n Question: Which Goals against has Wins ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (draws INTEGER, wins VARCHAR, goals_for VARCHAR)
Question: How many draws have less than 8 wins, and 31 goals for?
Here is the SQLite query to answer to th... | Your SQL query is almost correct, but there's a slight issue with the comparison for the "wins" field, as it is defined as a VARCHAR in your schema. You may need to cast it to an integer before making the comparison. Here's the revised query:
```
SELECT SUM(draws) FROM table_name_25 WHERE CAST(wins AS INTEGER) < 8 AND... | 15,879 | [
{
"from": "human",
"value": " 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 (draws INTEGER, wins VARCHAR, goals_for VARCHAR)\n\n Question: How many draws have less than 8 wins, and 31 goals fo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (event VARCHAR, time VARCHAR)
Question: What event of this season had a time of 2:43?
Here is the SQLite query to answer to the question: What event of thi... | Here is the SQLite query to answer the question: What event of this season had a time of 2:43?:
```
SELECT event FROM table_name_36 WHERE time = "2:43"
``` | 15,880 | [
{
"from": "human",
"value": " 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 (event VARCHAR, time VARCHAR)\n\n Question: What event of this season had a time of 2:43?\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_20 (penalties VARCHAR, gf VARCHAR)
Question: How many penalties were there in the game with a G.F. of 40?
Here is the SQLite query to answer to the question: ... | To count the number of penalties in the game with a G.F. of 40, you should use the `COUNT` function in your query. Here is the corrected SQLite query:
```
SELECT COUNT(penalties) FROM table_name_20 WHERE gf = '40';
``` | 15,881 | [
{
"from": "human",
"value": " 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 (penalties VARCHAR, gf VARCHAR)\n\n Question: How many penalties were there in the game with a G.F. of 40?\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_42 (pim VARCHAR, gf VARCHAR)
Question: What's the P.I.M. for the G.F. of 55?
Here is the SQLite query to answer to the question: What's the P.I.M. for the G.F... | Here is the SQLite query to answer the question: What's the P.I.M. for the G.F. of 55?:
```
SELECT pim FROM table_name_42 WHERE gf = "55"
``` | 15,882 | [
{
"from": "human",
"value": " 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 (pim VARCHAR, gf VARCHAR)\n\n Question: What's the P.I.M. for the G.F. of 55?\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_33 (ga VARCHAR, losses VARCHAR, team VARCHAR)
Question: What's the G.A. when there were 2 losses and Scotland played?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the G.A. when there were 2 losses and Scotland played:
```
SELECT ga FROM table_name_33 WHERE losses = "2" AND team = "Scotland"
``` | 15,883 | [
{
"from": "human",
"value": " 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 (ga VARCHAR, losses VARCHAR, team VARCHAR)\n\n Question: What's the G.A. when there were 2 losses and Scotland playe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (venue VARCHAR, notes VARCHAR)
Question: Which venue has 2:04.22 notes?
Here is the SQLite query to answer to the question: Which venue has 2:04.22 notes?:... | Here is the SQLite query to answer the question, formatted as requested:
```
SELECT venue FROM table_name_19 WHERE notes = "2:04.22"
``` | 15,884 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, notes VARCHAR)\n\n Question: Which venue has 2:04.22 notes?\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_62 (years_member VARCHAR, school VARCHAR)
Question: What years does Goreville High School have members?
Here is the SQLite query to answer to the question: Wh... | Here's the SQLite query to find the years that Goreville High School has members, based on the provided schema:
```
SELECT years_member FROM table_name_62 WHERE school = "Goreville High School";
``` | 15,885 | [
{
"from": "human",
"value": " 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 (years_member VARCHAR, school VARCHAR)\n\n Question: What years does Goreville High School have members?\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_41 (school VARCHAR, nickname_s_ VARCHAR)
Question: What is the name of the school with the Tornadoes Lady Tornadoes?
Here is the SQLite query to answer to the... | Your SQLite query looks mostly correct, but consider the case sensitivity of the nickname. SQLite is case-insensitive for text comparison by default, but it's good practice to ensure your query matches the exact case as it appears in your database if you are searching for a specific nickname.
Here is the refined quer... | 15,886 | [
{
"from": "human",
"value": " 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 (school VARCHAR, nickname_s_ VARCHAR)\n\n Question: What is the name of the school with the Tornadoes Lady Tornadoes... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (school VARCHAR, nickname_s_ VARCHAR)
Question: What is the school with the nickname Tornadoes Lady Tornadoes?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question: What is the school with the nickname Tornadoes Lady Tornadoes?:
```
SELECT school FROM table_name_65 WHERE nickname_s_ = "Tornadoes Lady Tornadoes";
``` | 15,887 | [
{
"from": "human",
"value": " 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 (school VARCHAR, nickname_s_ VARCHAR)\n\n Question: What is the school with the nickname Tornadoes Lady Tornadoes?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)
Question: What is the nickname with an enrollment (2013/14) of 160?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the nickname with an enrollment of 160 for the year 2013/14:
```
SELECT nickname_s_ FROM table_name_59 WHERE enrollment__2013_14_ = '160';
``` | 15,888 | [
{
"from": "human",
"value": " 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 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)\n\n Question: What is the nickname with an enrollment (2013/14) ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (notes VARCHAR, bronze VARCHAR, gold VARCHAR, year VARCHAR)
Question: What is Notes, when Gold is "Thierry Gueorgiou", when Year is before 2008, and when Br... | Your SQLite query looks mostly correct, but it's important to ensure that string comparisons are case-sensitive based on the SQL settings. SQLite is generally case-insensitive for string comparisons unless specified otherwise. However, given your requirement, here's the corrected version that keeps the conditions in mi... | 15,889 | [
{
"from": "human",
"value": " 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 (notes VARCHAR, bronze VARCHAR, gold VARCHAR, year VARCHAR)\n\n Question: What is Notes, when Gold is \"Thierry Gueo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (notes VARCHAR, silver VARCHAR)
Question: What is Notes, when Silver is "Jarkko Huovila"?
Here is the SQLite query to answer to the question: What is Notes,... | Here is the SQLite query to answer the question regarding what Notes are when Silver is "Jarkko Huovila":
```
SELECT notes FROM table_name_3 WHERE silver = "Jarkko Huovila"
``` | 15,890 | [
{
"from": "human",
"value": " 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 (notes VARCHAR, silver VARCHAR)\n\n Question: What is Notes, when Silver is \"Jarkko Huovila\"?\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_90 (year VARCHAR, bronze VARCHAR)
Question: What is the total number of Year, when Bronze is "Jamie Stevenson"?
Here is the SQLite query to answer to the ques... | Your SQLite query to count the total number of years when the Bronze is "Jamie Stevenson" is well-formed. Here it is wrapped as you requested:
```
SELECT COUNT(year) FROM table_name_90 WHERE bronze = "Jamie Stevenson";
```
Please note that SQL is case-insensitive for string comparisons by default, but it's good prac... | 15,891 | [
{
"from": "human",
"value": " 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 (year VARCHAR, bronze VARCHAR)\n\n Question: What is the total number of Year, when Bronze is \"Jamie Stevenson\"?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (notes VARCHAR, bronze VARCHAR)
Question: What is Notes, when Bronze is "Pasi Ikonen"?
Here is the SQLite query to answer to the question: What is Notes, w... | Here is the corrected SQLite query to answer the question regarding what is "Notes" when "Bronze" is "Pasi Ikonen":
```
SELECT notes FROM table_name_20 WHERE bronze = "Pasi Ikonen"
``` | 15,892 | [
{
"from": "human",
"value": " 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 (notes VARCHAR, bronze VARCHAR)\n\n Question: What is Notes, when Bronze is \"Pasi Ikonen\"?\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_2 (bronze VARCHAR, notes VARCHAR)
Question: What is Bronze, when Notes is "6.7km, 22controls"?
Here is the SQLite query to answer to the question: What is Bro... | Your SQLite query to find the value of Bronze when Notes is "6.7km, 22controls" is correct. Here it is wrapped as requested:
```
SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls";
``` | 15,893 | [
{
"from": "human",
"value": " 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 (bronze VARCHAR, notes VARCHAR)\n\n Question: What is Bronze, when Notes is \"6.7km, 22controls\"?\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_86 (silver VARCHAR, notes VARCHAR)
Question: What is Silver, when Notes is "6.24km, 23controls"?
Here is the SQLite query to answer to the question: What is S... | Here is the SQLite query to answer the question:
```
SELECT silver FROM table_name_86 WHERE notes = "6.24km, 23controls"
``` | 15,894 | [
{
"from": "human",
"value": " 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 (silver VARCHAR, notes VARCHAR)\n\n Question: What is Silver, when Notes is \"6.24km, 23controls\"?\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_52 (position VARCHAR, player VARCHAR)
Question: What position has siim ennemuist as the player?
Here is the SQLite query to answer to the question: What posit... | Here's the SQLite query you requested:
```
SELECT position FROM table_name_52 WHERE player = "siim ennemuist"
``` | 15,895 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR)\n\n Question: What position has siim ennemuist as the player?\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_21 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: What Player has a To par less than 15 and a Total of 149?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question: What Player has a To par less than 15 and a Total of 149?:
```
SELECT player FROM table_name_21 WHERE to_par < 15 AND total = '149'
```
(Note: The total value is treated as a string based on the schema defined. If comparing as a number, ensure the data type is appropr... | 15,896 | [
{
"from": "human",
"value": " 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, to_par VARCHAR, total VARCHAR)\n\n Question: What Player has a To par less than 15 and a Total of 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (year_s__won VARCHAR, to_par VARCHAR)
Question: What is the Year(s) won of the Player with a To par of 5?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the Year(s) won of the Player with a To par of 5:
```
SELECT year_s__won FROM table_name_4 WHERE to_par = '5'
```
Please note that if `to_par` is stored as a VARCHAR, the value '5' should be treated as a string. | 15,897 | [
{
"from": "human",
"value": " 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 (year_s__won VARCHAR, to_par VARCHAR)\n\n Question: What is the Year(s) won of the Player with a To par of 5?\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_53 (english VARCHAR, german VARCHAR)
Question: What's the English word for apfel?
Here is the SQLite query to answer to the question: What's the English word ... | Here is the SQLite query to answer the question "What's the English word for apfel?":
```sql
SELECT english FROM table_name_53 WHERE german = "apfel";
``` | 15,898 | [
{
"from": "human",
"value": " 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 (english VARCHAR, german VARCHAR)\n\n Question: What's the English word for apfel?\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_48 (dutch VARCHAR, crimean_gothic VARCHAR)
Question: What's the Dutch word for Apel?
Here is the SQLite query to answer to the question: What's the Dutch word... | Here is the SQLite query to answer the question: What's the Dutch word for Apel?:
```
SELECT dutch FROM table_name_48 WHERE crimean_gothic = "apel"
``` | 15,899 | [
{
"from": "human",
"value": " 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 (dutch VARCHAR, crimean_gothic VARCHAR)\n\n Question: What's the Dutch word for Apel?\n\nHere is the SQLite query to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.