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_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR)
Question: What's the transfer distance (km) larger than 36.5, at the station of guangximen?... | Here is the SQLite query to answer the question regarding the transfer distance larger than 36.5 km at the station of guangximen:
```sql
SELECT transfers FROM table_name_16 WHERE distance__km_ > 36.5 AND station_name = "guangximen"
``` | 18,100 | [
{
"from": "human",
"value": " 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 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR)\n\n Question: What's the transfer distance (km) lar... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (station_name VARCHAR, chinese_name VARCHAR)
Question: The Chinese Name of 上地 shàngdì belongs to what station?
Here is the SQLite query to answer to the qu... | Sure! Here is the SQLite query wrapped as you requested:
```
SELECT station_name FROM table_name_57 WHERE chinese_name = "上地 shàngdì"
``` | 18,101 | [
{
"from": "human",
"value": " 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 (station_name VARCHAR, chinese_name VARCHAR)\n\n Question: The Chinese Name of 上地 shàngdì belongs to what station?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
Question: Name the runner-up for margin of victory of 3 strokes
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question regarding the runner-up for a margin of victory of 3 strokes:
```sql
SELECT runner_s__up FROM table_name_37 WHERE margin_of_victory = "3 strokes"
``` | 18,102 | [
{
"from": "human",
"value": " 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR)\n\n Question: Name the runner-up for margin of victory of 3 stroke... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Question: Name the date with margin of victory of 1 stroke and tournament of legend financial ... | Here is the SQLite query to answer the question about the date with a margin of victory of 1 stroke and the tournament of legend financial group classic:
```sql
SELECT date FROM table_name_83 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic";
``` | 18,103 | [
{
"from": "human",
"value": " 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 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)\n\n Question: Name the date with margin of victory of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Question: Name the runner-up for margin of victory of 1 stroke and tournament of legen... | Here is the SQLite query to answer the question regarding the runner-up for a margin of victory of 1 stroke at the tournament "legend financial group classic":
```sql
SELECT runner_s__up
FROM table_name_10
WHERE margin_of_victory = "1 stroke"
AND tournament = "legend financial group classic"
``` | 18,104 | [
{
"from": "human",
"value": " 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)\n\n Question: Name the runner-up for margin of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Question: Name the margin of victory for jonas blixt
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the margin of victory for Jonas Blixt:
```
SELECT margin_of_victory FROM table_name_24 WHERE runner_s__up = "jonas blixt"
``` | 18,105 | [
{
"from": "human",
"value": " 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 (margin_of_victory VARCHAR, runner_s__up VARCHAR)\n\n Question: Name the margin of victory for jonas blixt\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_46 (party VARCHAR, office VARCHAR)
Question: Which Party has a Office of majority floor leader
Here is the SQLite query to answer to the question: Which Party... | Here is the SQLite query to answer the question about which Party has an Office of majority floor leader:
```
SELECT party FROM table_name_46 WHERE office = "majority floor leader";
``` | 18,106 | [
{
"from": "human",
"value": " 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 (party VARCHAR, office VARCHAR)\n\n Question: Which Party has a Office of majority floor leader\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_81 (office VARCHAR, representative VARCHAR)
Question: Which Office has a Representative of scott pelath?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question "Which Office has a Representative of scott pelath?":
```
SELECT office FROM table_name_81 WHERE representative = "scott pelath";
``` | 18,107 | [
{
"from": "human",
"value": " 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 (office VARCHAR, representative VARCHAR)\n\n Question: Which Office has a Representative of scott pelath?\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_9 (office VARCHAR, party VARCHAR, representative VARCHAR)
Question: Which Office has a Party of rep, and a Representative of brian bosma?
Here is the SQLite q... | Here is the SQLite query to answer your question:
```sql
SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma";
``` | 18,108 | [
{
"from": "human",
"value": " 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 (office VARCHAR, party VARCHAR, representative VARCHAR)\n\n Question: Which Office has a Party of rep, and a Represen... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (residence VARCHAR, party VARCHAR, representative VARCHAR)
Question: Which Residence has a Party of dem, and a Representative of linda lawson?
Here is the ... | Here is the SQLite query wrapped in the specified format:
```
SELECT residence FROM table_name_20 WHERE party = "dem" AND representative = "linda lawson";
``` | 18,109 | [
{
"from": "human",
"value": " 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 (residence VARCHAR, party VARCHAR, representative VARCHAR)\n\n Question: Which Residence has a Party of dem, and a R... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (party VARCHAR, representative VARCHAR)
Question: Which Party has a Representative of brian bosma?
Here is the SQLite query to answer to the question: Whic... | Here is the SQLite query to answer the question "Which Party has a Representative of brian bosma?":
```
SELECT party FROM table_name_61 WHERE representative = "brian bosma";
``` | 18,110 | [
{
"from": "human",
"value": " 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 (party VARCHAR, representative VARCHAR)\n\n Question: Which Party has a Representative of brian bosma?\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_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: Which Office has a Party of dem, and a First Elected of 1991†?
Here is the SQLite query to ... | It looks like there's a small issue with the year in the query, specifically the "1991†" part. If "†" is not part of the actual data, it should be removed. Here’s the corrected SQLite query:
```sql
SELECT office FROM table_name_2 WHERE party = "dem" AND first_elected = "1991";
```
This query will correctly retrieve ... | 18,111 | [
{
"from": "human",
"value": " 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 (office VARCHAR, party VARCHAR, first_elected VARCHAR)\n\n Question: Which Office has a Party of dem, and a First Ele... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (college VARCHAR, player VARCHAR)
Question: what college has paul seiler as a player?
Here is the SQLite query to answer to the question: what college has ... | Here is the SQLite query to answer the question: what college has Paul Seiler as a player?:
```
SELECT college FROM table_name_22 WHERE player = "paul seiler"
``` | 18,112 | [
{
"from": "human",
"value": " 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 (college VARCHAR, player VARCHAR)\n\n Question: what college has paul seiler as a player?\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_89 (laps VARCHAR, year VARCHAR)
Question: How many laps were in 1955?
Here is the SQLite query to answer to the question: How many laps were in 1955?:
```
SEL... | Here is the SQLite query to answer the question: How many laps were in 1955?:
```
SELECT COUNT(laps) FROM table_name_89 WHERE year = "1955"
``` | 18,113 | [
{
"from": "human",
"value": " 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 (laps VARCHAR, year VARCHAR)\n\n Question: How many laps were in 1955?\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_85 (finish VARCHAR, laps VARCHAR, year VARCHAR)
Question: What was the finish with less than 200 laps in 1953?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the finish with less than 200 laps in 1953:
```
SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "1953"
``` | 18,114 | [
{
"from": "human",
"value": " 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 (finish VARCHAR, laps VARCHAR, year VARCHAR)\n\n Question: What was the finish with less than 200 laps in 1953?\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_89 (rank VARCHAR, year VARCHAR)
Question: What was the rank in 1955?
Here is the SQLite query to answer to the question: What was the rank in 1955?:
```
SELEC... | Your SQLite query to find the rank in 1955 is correct. Here it is wrapped in code formatting:
```
SELECT rank FROM table_name_89 WHERE year = "1955";
``` | 18,115 | [
{
"from": "human",
"value": " 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 (rank VARCHAR, year VARCHAR)\n\n Question: What was the rank in 1955?\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_79 (laps INTEGER, year VARCHAR)
Question: What was the sum of laps in 1954?
Here is the SQLite query to answer to the question: What was the sum of laps in 19... | Here's the SQLite query to find the sum of laps in 1954:
```
SELECT SUM(laps) FROM table_name_79 WHERE year = "1954"
``` | 18,116 | [
{
"from": "human",
"value": " 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 (laps INTEGER, year VARCHAR)\n\n Question: What was the sum of laps in 1954?\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_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
Question: What rank had less than 200 laps with a finish of 26?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: What rank had less than 200 laps with a finish of 26?:
```
SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26"
``` | 18,117 | [
{
"from": "human",
"value": " 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 (rank VARCHAR, laps VARCHAR, finish VARCHAR)\n\n Question: What rank had less than 200 laps with a finish of 26?\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_42 (wins INTEGER, podiums VARCHAR)
Question: What's the average wins of those games with 3 podiums?
Here is the SQLite query to answer to the question: What's... | It looks like there may be a small issue with the data type of the `podiums` field in your question. Since `podiums` is defined as a `VARCHAR`, comparing it directly to the integer `3` is not correct. We should compare it to the string value `'3'`.
Here's the corrected query:
```
SELECT AVG(wins) FROM table_name_42 W... | 18,118 | [
{
"from": "human",
"value": " 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 (wins INTEGER, podiums VARCHAR)\n\n Question: What's the average wins of those games with 3 podiums?\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_65 (team_1 VARCHAR, team_2 VARCHAR)
Question: Who was team 1 when team 2 was Young Africans?
Here is the SQLite query to answer to the question: Who was team ... | Here is the SQLite query to answer the question: Who was team 1 when team 2 was Young Africans?:
```
SELECT team_1 FROM table_name_65 WHERE team_2 = "Young Africans"
``` | 18,119 | [
{
"from": "human",
"value": " 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 (team_1 VARCHAR, team_2 VARCHAR)\n\n Question: Who was team 1 when team 2 was Young Africans?\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_61 (team_2 VARCHAR)
Question: What was the 2nd leg score for Al-Merrikh as team 2?
Here is the SQLite query to answer to the question: What was the 2nd leg sc... | The SQL query you've provided is not retrieving the score for Al-Merrikh as team 2; rather, it is simply selecting a constant value of `2` where `team_2` equals "al-merrikh".
To correctly answer the question about the second leg score, you would typically need a different schema that includes score information. Howev... | 18,120 | [
{
"from": "human",
"value": " 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 (team_2 VARCHAR)\n\n Question: What was the 2nd leg score for Al-Merrikh as team 2?\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_74 (date VARCHAR, opponent VARCHAR)
Question: What is the Date, when the Opponent is Gisela Dulko?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question about the date when the opponent is Gisela Dulko:
```
SELECT date FROM table_name_74 WHERE opponent = "Gisela Dulko";
``` | 18,121 | [
{
"from": "human",
"value": " 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, opponent VARCHAR)\n\n Question: What is the Date, when the Opponent is Gisela Dulko?\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_83 (tournament VARCHAR, opponent VARCHAR)
Question: What is the Tournament, when the Opponent is Patricia Mayr-Achleitner?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question: What is the Tournament, when the Opponent is Patricia Mayr-Achleitner?:
```
SELECT tournament FROM table_name_83 WHERE opponent = "Patricia Mayr-Achleitner";
``` | 18,122 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR, opponent VARCHAR)\n\n Question: What is the Tournament, when the Opponent is Patricia Mayr-Achl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR)
Question: what is the result of the competition in 2006 world cup qualification?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the result of the competition in 2006 world cup qualification:
```
SELECT result FROM table_name_49 WHERE competition = "2006 world cup qualification"
``` | 18,123 | [
{
"from": "human",
"value": " 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 (result VARCHAR, competition VARCHAR)\n\n Question: what is the result of the competition in 2006 world cup qualific... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (nationality VARCHAR, heat VARCHAR, lane VARCHAR)
Question: What nation started in lane 3 of heat 2?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question: What nation started in lane 3 of heat 2?:
```
SELECT nationality FROM table_name_78 WHERE heat = '2' AND lane = '3';
``` | 18,124 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (nationality VARCHAR, heat VARCHAR, lane VARCHAR)\n\n Question: What nation started in lane 3 of heat 2?\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_95 (tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR)
Question: Which Tied has Matches of 1, and a Lost of 0, and a Team of durham?
Here is the SQLit... | Here is the SQLite query to answer the question:
```
SELECT tied FROM table_name_95 WHERE matches = "1" AND lost = "0" AND team = "durham"
``` | 18,125 | [
{
"from": "human",
"value": " 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 (tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR)\n\n Question: Which Tied has Matches of 1, and a Lost of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR)
Question: Which Team has a Winner of 1?
Here is the SQLite query to answer to the question: Which Team has a Winner of 1?:
``... | Here is the SQLite query to answer the question "Which Team has a Winner of 1?":
```
SELECT team FROM table_name_6 WHERE winner = '1';
``` | 18,126 | [
{
"from": "human",
"value": " 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 (team VARCHAR, winner VARCHAR)\n\n Question: Which Team has a Winner of 1?\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_12 (_percentage_won VARCHAR, team VARCHAR)
Question: What is the % Won of Team of durham
Here is the SQLite query to answer to the question: What is the % Won... | Here is the SQLite query to answer the question about the % Won of the team "durham":
```
SELECT _percentage_won FROM table_name_12 WHERE team = "durham"
``` | 18,127 | [
{
"from": "human",
"value": " 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 (_percentage_won VARCHAR, team VARCHAR)\n\n Question: What is the % Won of Team of durham\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_77 (matches VARCHAR, _percentage_won VARCHAR)
Question: Which Match has the percentage won 52.38?
Here is the SQLite query to answer to the question: Which Ma... | Here is the SQLite query to answer the question about which match has the percentage won of 52.38:
```
SELECT matches FROM table_name_77 WHERE _percentage_won = "52.38";
``` | 18,128 | [
{
"from": "human",
"value": " 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 (matches VARCHAR, _percentage_won VARCHAR)\n\n Question: Which Match has the percentage won 52.38?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (points VARCHAR, wins VARCHAR, losses VARCHAR)
Question: How many points has more than 15 wins and less than 10 losses?
Here is the SQLite query to answer ... | To accurately count the number of points with more than 15 wins and less than 10 losses in the specified schema, you should use the COUNT function in your SQL query. Here’s how you can structure your query:
```sql
SELECT COUNT(points)
FROM table_name_54
WHERE CAST(wins AS INTEGER) > 15 AND CAST(losses AS INTEGER) < ... | 18,129 | [
{
"from": "human",
"value": " 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 (points VARCHAR, wins VARCHAR, losses VARCHAR)\n\n Question: How many points has more than 15 wins and less than 10 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)
Question: What is the total goal difference with more than 38 played and more than 47 goals... | Your provided SQLite query is almost correct, but it needs to convert the relevant columns for comparison, as `played` is a VARCHAR and should be checked as an integer. The same goes for the `goals_against` column. Here is a modified version of your query:
```sql
SELECT SUM(goal_difference)
FROM table_name_73
WHERE ... | 18,130 | [
{
"from": "human",
"value": " 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 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)\n\n Question: What is the total goal difference wit... | |
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, played INTEGER)
Question: What is the average draws with more than 38 played?
Here is the SQLite query to answer to the question: What is t... | Your SQLite query to find the average draws with more than 38 played is correct. Here it is wrapped in code formatting:
```
SELECT AVG(draws) FROM table_name_25 WHERE played > 38
``` | 18,131 | [
{
"from": "human",
"value": " 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, played INTEGER)\n\n Question: What is the average draws with more than 38 played?\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 (partner VARCHAR, opponents_in_final VARCHAR)
Question: What is the name of the partner who played in the final against Lucas Arnold Ker Martín García?
Her... | Here is the SQLite query to answer the question:
```
SELECT partner FROM table_name_39 WHERE opponents_in_final = "Lucas Arnold Ker Martín García"
``` | 18,132 | [
{
"from": "human",
"value": " 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 (partner VARCHAR, opponents_in_final VARCHAR)\n\n Question: What is the name of the partner who played in the final ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR)
Question: Who swam in a lane less than 6 and finished with a time of 2:11.02?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question regarding swimmers in lanes less than 6 with a finish time of 2:11.02:
```
SELECT name FROM table_name_70 WHERE lane < '6' AND time = '2:11.02';
```
Note: In SQLite, since the 'lane' column is defined as VARCHAR, it's compared as strings, so '6' is used as a string in ... | 18,133 | [
{
"from": "human",
"value": " 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 (name VARCHAR, lane VARCHAR, time VARCHAR)\n\n Question: Who swam in a lane less than 6 and finished with a time of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
Question: What is the Film title used in nomination of Mig Og Charly?
Here is the SQLite que... | Here is the SQLite query to answer the question about the film title used in the nomination of "Mig Og Charly":
```sql
SELECT film_title_used_in_nomination FROM table_name_10 WHERE original_name = "Mig Og Charly";
``` | 18,134 | [
{
"from": "human",
"value": " 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 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)\n\n Question: What is the Film title used in nominati... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who is the Director that has a Film title of nick carter in prague?
Here is the SQLite ... | Here is the SQLite query to answer the question "Who is the Director that has a Film title of nick carter in prague?":
```
SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = "nick carter in prague"
``` | 18,135 | [
{
"from": "human",
"value": " 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 (director VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Who is the Director that has a Film title of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (language VARCHAR, director VARCHAR)
Question: Which Language Director of nagisa oshima use in his film?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about which language the director Nagisa Oshima used in his film:
```
SELECT language FROM table_name_54 WHERE director = "nagisa oshima"
``` | 18,136 | [
{
"from": "human",
"value": " 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 (language VARCHAR, director VARCHAR)\n\n Question: Which Language Director of nagisa oshima use in his film?\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_8 (director VARCHAR, language VARCHAR)
Question: Who is the Director that speaks dutch?
Here is the SQLite query to answer to the question: Who is the Directo... | Here is the SQLite query to answer the question: Who is the Director that speaks Dutch?:
```
SELECT director FROM table_name_8 WHERE language = "dutch"
``` | 18,137 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (director VARCHAR, language VARCHAR)\n\n Question: Who is the Director that speaks dutch?\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_17 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the Original name of empire of passion?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question: What is the Original name of empire of passion?:
```
SELECT original_name FROM table_name_17 WHERE film_title_used_in_nomination = "empire of passion";
``` | 18,138 | [
{
"from": "human",
"value": " 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 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: What is the Original name of empire of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (start_date VARCHAR, party VARCHAR)
Question: Name the start date with party of pd
Here is the SQLite query to answer to the question: Name the start date ... | Your SQLite query to find the start date with the party of "pd" is correct. Here it is wrapped in code formatting:
```
SELECT start_date FROM table_name_28 WHERE party = "pd";
``` | 18,139 | [
{
"from": "human",
"value": " 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 (start_date VARCHAR, party VARCHAR)\n\n Question: Name the start date with party of pd\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_12 (minister VARCHAR, end_date VARCHAR)
Question: Name the minister for end date of 31 july 2004
Here is the SQLite query to answer to the question: Name the ... | Here is the SQLite query to answer the question about naming the minister for the end date of 31 July 2004:
```
SELECT minister FROM table_name_12 WHERE end_date = "31 July 2004"
``` | 18,140 | [
{
"from": "human",
"value": " 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 (minister VARCHAR, end_date VARCHAR)\n\n Question: Name the minister for end date of 31 july 2004\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_2 (party VARCHAR, end_date VARCHAR)
Question: Name the party with end date of 22 november 1980
Here is the SQLite query to answer to the question: Name the pa... | Here is the SQLite query to answer the question:
```
SELECT party FROM table_name_2 WHERE end_date = "22 november 1980"
``` | 18,141 | [
{
"from": "human",
"value": " 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 (party VARCHAR, end_date VARCHAR)\n\n Question: Name the party with end date of 22 november 1980\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_50 (end_date VARCHAR, minister VARCHAR)
Question: Name the end date for robert goebbels
Here is the SQLite query to answer to the question: Name the end date ... | Here is the SQLite query to answer the question about the end date for Robert Goebbels:
```
SELECT end_date FROM table_name_50 WHERE minister = "robert goebbels";
``` | 18,142 | [
{
"from": "human",
"value": " 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 (end_date VARCHAR, minister VARCHAR)\n\n Question: Name the end date for robert goebbels\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_29 (start_date VARCHAR, party VARCHAR, end_date VARCHAR)
Question: Name the start date with lsap and end date of present day
Here is the SQLite query to answe... | The provided query needs a small modification to answer the question correctly, particularly regarding the handling of the "present day". In SQLite, we typically use the `CURRENT_DATE` function to represent the current date.
Here is the corrected SQLite query:
```
SELECT start_date FROM table_name_29 WHERE party = "l... | 18,143 | [
{
"from": "human",
"value": " 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 (start_date VARCHAR, party VARCHAR, end_date VARCHAR)\n\n Question: Name the start date with lsap and end date of pr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (acceleration_0_100km_h VARCHAR, name VARCHAR)
Question: What is the acceleration 1-100km/h when the name is 1.5 dci?
Here is the SQLite query to answer to... | Here is the SQLite query to answer your question about the acceleration 1-100km/h when the name is 1.5 dci:
```
SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = "1.5 dci"
``` | 18,144 | [
{
"from": "human",
"value": " 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 (acceleration_0_100km_h VARCHAR, name VARCHAR)\n\n Question: What is the acceleration 1-100km/h when the name is 1.5... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR)
Question: what is the power when the capacity is 898cc?
Here is the SQLite query to answer to the question: what is the p... | Here is the SQLite query to answer the question about the power when the capacity is 898cc:
```
SELECT power FROM table_name_43 WHERE capacity = "898cc";
``` | 18,145 | [
{
"from": "human",
"value": " 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 (power VARCHAR, capacity VARCHAR)\n\n Question: what is the power when the capacity is 898cc?\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_36 (capacity VARCHAR, code VARCHAR)
Question: what is the capacity when the code is d4f bi-fuel 732?
Here is the SQLite query to answer to the question: what ... | Here is the SQLite query to answer the question about the capacity when the code is "d4f bi-fuel 732":
```
SELECT capacity FROM table_name_36 WHERE code = "d4f bi-fuel 732";
``` | 18,146 | [
{
"from": "human",
"value": " 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 (capacity VARCHAR, code VARCHAR)\n\n Question: what is the capacity when the code is d4f bi-fuel 732?\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_13 (power VARCHAR, name VARCHAR)
Question: what is the power when the name is 1.2 16v lpg?
Here is the SQLite query to answer to the question: what is the pow... | Here is the SQLite query to answer the question: what is the power when the name is 1.2 16v lpg?:
```
SELECT power FROM table_name_13 WHERE name = "1.2 16v lpg"
``` | 18,147 | [
{
"from": "human",
"value": " 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 (power VARCHAR, name VARCHAR)\n\n Question: what is the power when the name is 1.2 16v lpg?\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_68 (capacity VARCHAR, name VARCHAR)
Question: what is the capacity when the name is 1.2 16v?
Here is the SQLite query to answer to the question: what is the c... | Here is the SQLite query to answer the question regarding the capacity when the name is "1.2 16v":
```
SELECT capacity FROM table_name_68 WHERE name = "1.2 16v";
``` | 18,148 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (capacity VARCHAR, name VARCHAR)\n\n Question: what is the capacity when the name is 1.2 16v?\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_39 (capacity VARCHAR, acceleration_0_100km_h VARCHAR)
Question: what is the capacity when the acceleration 1-100km/h is 11.1 s?
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT capacity FROM table_name_39 WHERE acceleration_0_100km_h = "11.1 s"
``` | 18,149 | [
{
"from": "human",
"value": " 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 (capacity VARCHAR, acceleration_0_100km_h VARCHAR)\n\n Question: what is the capacity when the acceleration 1-100km/... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR)
Question: Name the director for 1957
Here is the SQLite query to answer to the question: Name the director for 1957:
```
S... | Here is the SQLite query to answer the question: Name the director for 1957:
```
SELECT director FROM table_name_50 WHERE year = '1957'
``` | 18,150 | [
{
"from": "human",
"value": " 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 (director VARCHAR, year VARCHAR)\n\n Question: Name the director for 1957\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_47 (director VARCHAR, title VARCHAR)
Question: Name the director who has title of transylvania 6-5000
Here is the SQLite query to answer to the question: Name... | Here is the SQLite query to answer the question of naming the director who has the title "transylvania 6-5000":
```
SELECT director FROM table_name_47 WHERE title = 'transylvania 6-5000';
``` | 18,151 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (director VARCHAR, title VARCHAR)\n\n Question: Name the director who has title of transylvania 6-5000\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_21 (attendance VARCHAR, time VARCHAR)
Question: Name the attendance for time of 1:31
Here is the SQLite query to answer to the question: Name the attendance f... | Here is the SQLite query to answer the question regarding the attendance for the time of 1:31:
```
SELECT attendance FROM table_name_21 WHERE time = "1:31"
``` | 18,152 | [
{
"from": "human",
"value": " 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 (attendance VARCHAR, time VARCHAR)\n\n Question: Name the attendance for time of 1:31\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_20 (score VARCHAR, time VARCHAR)
Question: Name the score for 1:36 time
Here is the SQLite query to answer to the question: Name the score for 1:36 time:
```
... | Here is the SQLite query to answer the question about the score for the time of 1:36:
```
SELECT score FROM table_name_20 WHERE time = "1:36"
``` | 18,153 | [
{
"from": "human",
"value": " 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 (score VARCHAR, time VARCHAR)\n\n Question: Name the score for 1:36 time\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)
Question: Name the score for october 9
Here is the SQLite query to answer to the question: Name the score for october 9:
```
... | Here is the SQLite query to answer the question about the score for October 9:
```
SELECT score FROM table_name_92 WHERE date = "october 9"
``` | 18,154 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)\n\n Question: Name the score for october 9\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (round INTEGER, overall VARCHAR)
Question: What round did the overall pick of 91 occur in the 1982 NFL draft?
Here is the SQLite query to answer to the que... | Your provided SQLite query is almost correct, but it doesn't filter by the year of the draft (1982). Assuming the `round` and `overall` columns are sufficient to determine the round for the overall pick of 91 in the 1982 NFL draft, you should ensure you're only looking at the 1982 draft specifically.
Here is the revi... | 18,155 | [
{
"from": "human",
"value": " 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 (round INTEGER, overall VARCHAR)\n\n Question: What round did the overall pick of 91 occur in the 1982 NFL draft?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR)
Question: What Race 3 is Round 5?
Here is the SQLite query to answer to the question: What Race 3 is Round 5?:
```
SELECT ra... | Here is the SQLite query to answer the question: What Race 3 is Round 5?:
```
SELECT race_3 FROM table_name_4 WHERE round = 'Round 5';
``` | 18,156 | [
{
"from": "human",
"value": " 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 (race_3 VARCHAR, round VARCHAR)\n\n Question: What Race 3 is Round 5?\n\nHere is the SQLite query to answer to the qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (round VARCHAR, track VARCHAR)
Question: What Round has the Track Clipsal 500 Support?
Here is the SQLite query to answer to the question: What Round has t... | Here is the SQLite query to answer the question: What Round has the Track Clipsal 500 Support?:
```
SELECT round FROM table_name_42 WHERE track = "Clipsal 500 Support";
``` | 18,157 | [
{
"from": "human",
"value": " 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 (round VARCHAR, track VARCHAR)\n\n Question: What Round has the Track Clipsal 500 Support?\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_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR)
Question: What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton?
Here is t... | Here is the SQLite query to answer the question regarding Race 2, Race 1 of "dnf", Race 3 of "dnf", and the Track "Winton":
```
SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "Winton"
``` | 18,158 | [
{
"from": "human",
"value": " 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 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR)\n\n Question: What Race 2 has a Race 1 of dnf, a Rac... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (round VARCHAR, track VARCHAR)
Question: What Round has the Track Winton?
Here is the SQLite query to answer to the question: What Round has the Track Wint... | Here is the SQLite query to answer the question: What Round has the Track Winton?:
```
SELECT round FROM table_name_30 WHERE track = "Winton"
``` | 18,159 | [
{
"from": "human",
"value": " 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 (round VARCHAR, track VARCHAR)\n\n Question: What Round has the Track Winton?\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_4 (race_2 VARCHAR, round VARCHAR)
Question: What is the Race 2 result of Round 2?
Here is the SQLite query to answer to the question: What is the Race 2 resul... | Here is the SQLite query to answer the question "What is the Race 2 result of Round 2?":
```
SELECT race_2 FROM table_name_4 WHERE round = "round 2";
``` | 18,160 | [
{
"from": "human",
"value": " 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 (race_2 VARCHAR, round VARCHAR)\n\n Question: What is the Race 2 result of Round 2?\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 (race_1 VARCHAR, round VARCHAR)
Question: What is the Race 1 result of Round 2?
Here is the SQLite query to answer to the question: What is the Race 1 resu... | Here is the SQLite query to answer the question regarding the Race 1 result of Round 2:
```
SELECT race_1 FROM table_name_25 WHERE round = 'round 2';
``` | 18,161 | [
{
"from": "human",
"value": " 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 (race_1 VARCHAR, round VARCHAR)\n\n Question: What is the Race 1 result of Round 2?\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_71 (year INTEGER, mixed_doubles VARCHAR)
Question: What is the average year with Nathan Robertson Gail Emms in mixed doubles?
Here is the SQLite query to answ... | The SQLite query you provided is almost correct, but you might want to ensure that the mixed doubles entry matches the case and exact naming in your database. If the names are consistently formatted in your table, then the query should work as intended. Here’s the cleaned-up version of the query wrapped in code blocks:... | 18,162 | [
{
"from": "human",
"value": " 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 (year INTEGER, mixed_doubles VARCHAR)\n\n Question: What is the average year with Nathan Robertson Gail Emms in mixe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (player VARCHAR, score VARCHAR)
Question: Who is the player with a 76-67-71=214 score?
Here is the SQLite query to answer to the question: Who is the playe... | The SQLite query you provided contains a mistake in the condition used to filter the score. The score should be treated as a string in the database, and you should compare it directly to the string representation of the score.
Here is the corrected query:
```
SELECT player FROM table_name_59 WHERE score = '214';
```
... | 18,163 | [
{
"from": "human",
"value": " 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 (player VARCHAR, score VARCHAR)\n\n Question: Who is the player with a 76-67-71=214 score?\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_20 (score VARCHAR, player VARCHAR)
Question: What is Nick Price's score?
Here is the SQLite query to answer to the question: What is Nick Price's score?:
```
... | Here is the SQLite query to answer the question about Nick Price's score:
```
SELECT score FROM table_name_20 WHERE player = "Nick Price";
``` | 18,164 | [
{
"from": "human",
"value": " 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 (score VARCHAR, player VARCHAR)\n\n Question: What is Nick Price's score?\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_23 (country VARCHAR, score VARCHAR)
Question: What is the country of the player with a score of 69-74-71=214?
Here is the SQLite query to answer to the questi... | It looks like there's a mistake in your SQLite query regarding the score calculation. In SQL, you should directly use the resulting value for the score comparison. Here's how you can write the query correctly:
```sql
SELECT country FROM table_name_23 WHERE score = '214';
```
This assumes that the score is stored as a... | 18,165 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR)\n\n Question: What is the country of the player with a score of 69-74-71=214?\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_83 (to_par VARCHAR, player VARCHAR)
Question: What is the to par of Greg Norman?
Here is the SQLite query to answer to the question: What is the to par of Gre... | Here is the SQLite query to answer the question: What is the to par of Greg Norman?:
```
SELECT to_par FROM table_name_83 WHERE player = "Greg Norman";
``` | 18,166 | [
{
"from": "human",
"value": " 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 (to_par VARCHAR, player VARCHAR)\n\n Question: What is the to par of Greg Norman?\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_58 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What's the score for opponent @ Tigers on July 24?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the score for opponent "@ Tigers" on July 24:
```
SELECT score FROM table_name_58 WHERE opponent = "@ Tigers" AND date = "July 24";
``` | 18,167 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: What's the score for opponent @ Tigers on July 24?\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_12 (opponent VARCHAR, date VARCHAR)
Question: What's the opponent for July 2?
Here is the SQLite query to answer to the question: What's the opponent for July... | Here is the SQLite query to answer the question regarding the opponent for July 2:
```
SELECT opponent FROM table_name_12 WHERE date = "July 2";
``` | 18,168 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, date VARCHAR)\n\n Question: What's the opponent for July 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_80 (year VARCHAR, chassis VARCHAR)
Question: What's the year of the Chassis surtees ts19?
Here is the SQLite query to answer to the question: What's the year ... | Here is the SQLite query to answer the question: What's the year of the Chassis surtees ts19?:
```
SELECT year FROM table_name_80 WHERE chassis = "surtees ts19"
``` | 18,169 | [
{
"from": "human",
"value": " 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 (year VARCHAR, chassis VARCHAR)\n\n Question: What's the year of the Chassis surtees ts19?\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_51 (points INTEGER, year INTEGER)
Question: What are the lowest points past the year 1978?
Here is the SQLite query to answer to the question: What are the lo... | Your SQLite query to find the lowest points past the year 1978 is correct. Here it is, wrapped in code formatting:
```
SELECT MIN(points) FROM table_name_51 WHERE year > 1978;
``` | 18,170 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (points INTEGER, year INTEGER)\n\n Question: What are the lowest points past the year 1978?\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_33 (year INTEGER, chassis VARCHAR)
Question: What's the top year with the Chassis ats hs1?
Here is the SQLite query to answer to the question: What's the top ... | Here is the SQLite query to answer the question about the top year with the chassis "ats hs1":
```
SELECT MAX(year) FROM table_name_33 WHERE chassis = 'ats hs1'
``` | 18,171 | [
{
"from": "human",
"value": " 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 (year INTEGER, chassis VARCHAR)\n\n Question: What's the top year with the Chassis ats hs1?\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_46 (local_time VARCHAR, date VARCHAR)
Question: What was the time on September 1?
Here is the SQLite query to answer to the question: What was the time on Sep... | Certainly! Here is the SQLite query to answer the question "What was the time on September 1?" given the database schema:
```
SELECT local_time FROM table_name_46 WHERE date = "september 1";
``` | 18,172 | [
{
"from": "human",
"value": " 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 (local_time VARCHAR, date VARCHAR)\n\n Question: What was the time on September 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_25 (location VARCHAR, date VARCHAR)
Question: Where was September 5?
Here is the SQLite query to answer to the question: Where was September 5?:
```
SELECT lo... | Here is the SQLite query to answer the question "Where was September 5?":
```sql
SELECT location FROM table_name_25 WHERE date = "September 5";
``` | 18,173 | [
{
"from": "human",
"value": " 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 (location VARCHAR, date VARCHAR)\n\n Question: Where was September 5?\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_72 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: When the Winning score is 74-68-67-75=284, what was the Margin of victory?
Here is the SQLite ... | The query you're attempting to construct has a syntax issue regarding how you're handling the condition for `winning_score`. In SQLite, you should use the string that represents the winning score directly. The expression `74 - 68 - 67 - 75 = 284` is not valid in this context because `winning_score` is defined as a VARC... | 18,174 | [
{
"from": "human",
"value": " 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 (margin_of_victory VARCHAR, winning_score VARCHAR)\n\n Question: When the Winning score is 74-68-67-75=284, what was... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (to_par VARCHAR, winning_score VARCHAR)
Question: When the Winning is 71-71-70-69=281, what is the To par?
Here is the SQLite query to answer to the questio... | It looks like there is a misunderstanding in the query because the condition for `winning_score` is not properly structured. You need to compare the `winning_score` to the string representation of "71-71-70-69=281". Here's the corrected query:
```sql
SELECT to_par FROM table_name_7 WHERE winning_score = '71-71-70-69=2... | 18,175 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (to_par VARCHAR, winning_score VARCHAR)\n\n Question: When the Winning is 71-71-70-69=281, what is the To par?\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_59 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: When the Winning score is 68-65-65-68=266, what is the Margin of victory?
Here is the SQLite q... | The SQL query you provided is not formulated correctly because the condition you are attempting to check is not valid for SQLite syntax. You should compare the `winning_score` directly with the value rather than attempting to perform calculations directly in the WHERE clause.
Assuming that the `winning_score` is store... | 18,176 | [
{
"from": "human",
"value": " 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 (margin_of_victory VARCHAR, winning_score VARCHAR)\n\n Question: When the Winning score is 68-65-65-68=266, what is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (date VARCHAR, winning_score VARCHAR)
Question: On what Date was the Winning score of 72-67-68-67=274?
Here is the SQLite query to answer to the question: ... | The SQLite query you've written needs some adjustments to properly evaluate the winning score. The winning score should be interpreted as a string that represents the scores, and they should be compared to the calculated total of 274. The correct implementation does not include the mathematical operation in the `WHERE`... | 18,177 | [
{
"from": "human",
"value": " 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 (date VARCHAR, winning_score VARCHAR)\n\n Question: On what Date was the Winning score of 72-67-68-67=274?\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_83 (years_active VARCHAR, wins VARCHAR)
Question: What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins?
He... | It seems that there are a few issues with the provided query. The SUM function and the logic for filtering need clarification. We should first identify the active riders within the specified years who also have more than 0 wins, then correctly calculate the total for 2nd place finishes. However, the provided schema doe... | 18,178 | [
{
"from": "human",
"value": " 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 (years_active VARCHAR, wins VARCHAR)\n\n Question: What is the total number of 2nd place finishes for riders active ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (titles INTEGER)
Question: What is the total number of 3rd place finishes for racers with 0 titles?
Here is the SQLite query to answer to the question: Wha... | It looks like there are a couple of misunderstandings in the SQL query you've provided. First, the condition seems to be incorrect: we want racers with "0 titles" instead of a value less than 0. Additionally, your query doesn't reference a column related to 3rd place finishes because the schema provided only has one co... | 18,179 | [
{
"from": "human",
"value": " 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 (titles INTEGER)\n\n Question: What is the total number of 3rd place finishes for racers with 0 titles?\n\nHere is t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (years_active VARCHAR, titles VARCHAR)
Question: What is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles?... | It looks like there are a few issues with your SQL query. The `AVG` function typically requires a numerical column to calculate the average from, and the condition for titles should be corrected. Moreover, the reference to "2nd place finishes" seems to imply that you have a column indicating the number of such finishes... | 18,180 | [
{
"from": "human",
"value": " 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 (years_active VARCHAR, titles VARCHAR)\n\n Question: What is the average number of 2nd place finishes for racers act... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR)
Question: Name the sum of played for c.d. luis ángel firpo and place more than 3
Here is the SQLite query to ... | Here is the SQLite query to answer the question you provided:
```sql
SELECT SUM(played) FROM table_name_67 WHERE team = 'c.d. luis ángel firpo' AND place > 3;
``` | 18,181 | [
{
"from": "human",
"value": " 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 (played INTEGER, team VARCHAR, place VARCHAR)\n\n Question: Name the sum of played for c.d. luis ángel firpo and pla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (place VARCHAR, played INTEGER)
Question: Name the total number of places which has played more than 18
Here is the SQLite query to answer to the question:... | Your SQLite query is correct for counting the total number of places that have played more than 18. Here it is wrapped as requested:
```
SELECT COUNT(place) FROM table_name_59 WHERE played > 18;
``` | 18,182 | [
{
"from": "human",
"value": " 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 (place VARCHAR, played INTEGER)\n\n Question: Name the total number of places which has played more than 18\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_82 (lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
Question: Name the total number of lost when goals scored is less than 22 and goals conceded is... | Here is the corrected SQLite query to answer the question regarding the total number of lost when goals scored is less than 22 and goals conceded is more than 27:
```sql
SELECT COUNT(lost)
FROM table_name_82
WHERE CAST(goals_scored AS INTEGER) < 22
AND CAST(goals_conceded AS INTEGER) > 27;
```
In this query, we c... | 18,183 | [
{
"from": "human",
"value": " 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 (lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)\n\n Question: Name the total number of lost when goals ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR)
Question: Name the average goals conceded with draw bigger than 7 and goals scored more than 24... | Your SQLite query has a small error concerning the data types. The `draw` column is defined as a VARCHAR, so you should be comparing it as a string rather than a number. If `draw` contains numeric values stored as strings, you would need to cast it to an integer for the comparison. The same applies to the `goals_scored... | 18,184 | [
{
"from": "human",
"value": " 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 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR)\n\n Question: Name the average goals conceded with draw... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (goals_scored INTEGER, place VARCHAR, lost VARCHAR)
Question: Name the least goals scored with place more than 8 and lost less than 8
Here is the SQLite qu... | Here is the SQLite query to answer to the question: Name the least goals scored with place more than 8 and lost less than 8:
```
SELECT MIN(goals_scored) FROM table_name_36 WHERE place > 8 AND lost < 8;
``` | 18,185 | [
{
"from": "human",
"value": " 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 (goals_scored INTEGER, place VARCHAR, lost VARCHAR)\n\n Question: Name the least goals scored with place more than 8... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)
Question: Where does Mount Chamberlin, located in Alaska, rank on the chart?
Here is the SQLite query ... | The provided query incorrectly uses the `SUM` function when all you need is to retrieve the rank for Mount Chamberlin in Alaska. You should use the `SELECT` statement to directly retrieve the rank. Here is the corrected query:
```
SELECT rank FROM table_name_37 WHERE state = 'alaska' AND mountain_peak = 'mount chamber... | 18,186 | [
{
"from": "human",
"value": " 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 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)\n\n Question: Where does Mount Chamberlin, located in Alaska, r... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (location VARCHAR, rank VARCHAR)
Question: What is the location of the mountain ranked at 36?
Here is the SQLite query to answer to the question: What is t... | Your SQLite query is almost correct, but since the `rank` column is defined as `VARCHAR`, you should consider the rank as a string when querying. Here's the corrected version of the query:
```
SELECT location FROM table_name_20 WHERE rank = '36'
```
Make sure to wrap the rank in single quotes since it is a `VARCHAR`... | 18,187 | [
{
"from": "human",
"value": " 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 (location VARCHAR, rank VARCHAR)\n\n Question: What is the location of the mountain ranked at 36?\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_5 (rank INTEGER, mountain_range VARCHAR)
Question: Where does the Kuskokwim Mountains rank on the chart?
Here is the SQLite query to answer to the question: W... | Here is the corrected SQLite query to find the rank of the Kuskokwim Mountains:
```
SELECT rank FROM table_name_5 WHERE mountain_range = "Kuskokwim Mountains";
```
This query selects the rank of the mountain range named "Kuskokwim Mountains" from the specified table. | 18,188 | [
{
"from": "human",
"value": " 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 (rank INTEGER, mountain_range VARCHAR)\n\n Question: Where does the Kuskokwim Mountains rank on the chart?\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_38 (rank INTEGER, state VARCHAR)
Question: What is the average rank of a mountain range located in Maine?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the average rank of a mountain range located in Maine:
```
SELECT AVG(rank) FROM table_name_38 WHERE state = "Maine";
```
Note: The state name should match the case in which it is stored in the database; in this case, I used "Maine" with a capital "M." | 18,189 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR)\n\n Question: What is the average rank of a mountain range located in Maine?\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_82 (round VARCHAR, player VARCHAR)
Question: What round was matt roth drafted?
Here is the SQLite query to answer to the question: What round was matt roth dr... | The query you've provided counts the number of rounds that "matt roth" was associated with, rather than directly retrieving the specific round in which he was drafted. If you want to get the round in which "matt roth" was drafted, you should use the `SELECT` statement to directly fetch the round value. Here’s the corre... | 18,190 | [
{
"from": "human",
"value": " 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 (round VARCHAR, player VARCHAR)\n\n Question: What round was matt roth drafted?\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_35 (nfl_club VARCHAR, pick INTEGER)
Question: What team did the player represent that was picked after 196?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about which team the player represented that was picked after 196:
```
SELECT nfl_club FROM table_name_35 WHERE pick > 196
``` | 18,191 | [
{
"from": "human",
"value": " 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 (nfl_club VARCHAR, pick INTEGER)\n\n Question: What team did the player represent that was picked after 196?\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_41 (pos VARCHAR, european_competitions VARCHAR)
Question: Name the position for european competitions of eurocup regular season
Here is the SQLite query to an... | Here is the SQLite query to answer the question about the position for European competitions of the eurocup regular season:
```
SELECT pos FROM table_name_41 WHERE european_competitions = "eurocup regular season";
``` | 18,192 | [
{
"from": "human",
"value": " 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 (pos VARCHAR, european_competitions VARCHAR)\n\n Question: Name the position for european competitions of eurocup re... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (opponent VARCHAR, series VARCHAR)
Question: Who was the opponent with a series of 3-2?
Here is the SQLite query to answer to the question: Who was the opp... | Here is the SQLite query to answer the question about the opponent with a series of 3-2:
```
SELECT opponent FROM table_name_54 WHERE series = "3-2"
``` | 18,193 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, series VARCHAR)\n\n Question: Who was the opponent with a series of 3-2?\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_79 (opponent VARCHAR, series VARCHAR)
Question: Who was the opponent with a series of 1-0?
Here is the SQLite query to answer to the question: Who was the opp... | Here is the SQLite query to answer the question: Who was the opponent with a series of 1-0?:
```
SELECT opponent FROM table_name_79 WHERE series = "1-0"
``` | 18,194 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, series VARCHAR)\n\n Question: Who was the opponent with a series of 1-0?\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_93 (division_record VARCHAR, school VARCHAR)
Question: For the Delmar school what is the division record?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the division record for the Delmar school:
```
SELECT division_record FROM table_name_93 WHERE school = "Delmar"
``` | 18,195 | [
{
"from": "human",
"value": " 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 (division_record VARCHAR, school VARCHAR)\n\n Question: For the Delmar school what is the division record?\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_16 (school VARCHAR, team VARCHAR)
Question: What school does the Blue Raiders belong to?
Here is the SQLite query to answer to the question: What school does ... | Here is the SQLite query to answer the question: What school does the Blue Raiders belong to?:
```
SELECT school FROM table_name_16 WHERE team = "Blue Raiders"
``` | 18,196 | [
{
"from": "human",
"value": " 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 (school VARCHAR, team VARCHAR)\n\n Question: What school does the Blue Raiders belong to?\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_57 (team VARCHAR, school VARCHAR)
Question: What team name belongs to Seaford?
Here is the SQLite query to answer to the question: What team name belongs to S... | Here is the SQLite query to answer the question: What team name belongs to Seaford?:
```sql
SELECT team FROM table_name_57 WHERE school = "Seaford";
``` | 18,197 | [
{
"from": "human",
"value": " 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 (team VARCHAR, school VARCHAR)\n\n Question: What team name belongs to Seaford?\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_26 (division_record VARCHAR, team VARCHAR)
Question: What division record did the Spartans hold?
Here is the SQLite query to answer to the question: What divi... | Your SQLite query is correctly formatted to answer the question about the division record held by the Spartans. Here it is wrapped in code format:
```
SELECT division_record FROM table_name_26 WHERE team = "spartans";
``` | 18,198 | [
{
"from": "human",
"value": " 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 (division_record VARCHAR, team VARCHAR)\n\n Question: What division record did the Spartans hold?\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_38 (school VARCHAR, team VARCHAR)
Question: The wildcats belong to what school?
Here is the SQLite query to answer to the question: The wildcats belong to wha... | Here is the SQLite query to answer the question: The wildcats belong to what school?:
```
SELECT school FROM table_name_38 WHERE team = "wildcats";
``` | 18,199 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR)\n\n Question: The wildcats belong to what school?\n\nHere is the SQLite query to answ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.