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_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Which Date had an Outcome of runner-up, and a Surface of carpet?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding which date had an outcome of "runner-up" and a surface of "carpet":
```sql
SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet";
``` | 10,700 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)\n\n Question: Which Date had an Outcome of runner-up, and a Surface... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (surface VARCHAR, opponent VARCHAR)
Question: Which Surface had an Opponent of fernanda hermenegildo monika kochanova?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about which surface had an opponent of "fernanda hermenegildo monika kochanova":
```
SELECT surface FROM table_name_57 WHERE opponent = "fernanda hermenegildo monika kochanova"
``` | 10,701 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (surface VARCHAR, opponent VARCHAR)\n\n Question: Which Surface had an Opponent of fernanda hermenegildo monika koch... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (opponent_number VARCHAR, attendance VARCHAR)
Question: Who was the opponent in the game that was attended by 42,000 people?
Here is the SQLite query to an... | Your SQLite query is correctly structured to answer the question. Here it is, wrapped as requested:
```
SELECT opponent_number FROM table_name_19 WHERE attendance = "42,000"
``` | 10,702 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (opponent_number VARCHAR, attendance VARCHAR)\n\n Question: Who was the opponent in the game that was attended by 42... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (opponent_number VARCHAR, attendance VARCHAR)
Question: Who was the opponent in the game that was attended by 48,000 people?
Here is the SQLite query to an... | Here's the SQLite query to find the opponent in the game that was attended by 48,000 people:
```
SELECT opponent_number FROM table_name_93 WHERE attendance = "48,000"
``` | 10,703 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (opponent_number VARCHAR, attendance VARCHAR)\n\n Question: Who was the opponent in the game that was attended by 48... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (date VARCHAR, opponent_number VARCHAR)
Question: On what day(s) did the Gophers play against Michigan?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the days the Gophers played against Michigan:
```
SELECT date FROM table_name_88 WHERE opponent_number = "michigan";
``` | 10,704 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (date VARCHAR, opponent_number VARCHAR)\n\n Question: On what day(s) did the Gophers play against Michigan?\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_47 (result VARCHAR, attendance VARCHAR)
Question: What was the result of the game that was attended by 16,000 people?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the result of the game that was attended by 16,000 people:
```
SELECT result FROM table_name_47 WHERE attendance = "16,000"
``` | 10,705 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (result VARCHAR, attendance VARCHAR)\n\n Question: What was the result of the game that was attended by 16,000 peopl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR)
Question: Which Season has an Agg of 4–1, and an Opponent of rapid wien?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question:
```sql
SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien";
``` | 10,706 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR)\n\n Question: Which Season has an Agg of 4–1, and an Opponent of rap... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR)
Question: Which Home has an Opponent of brøndby?
Here is the SQLite query to answer to the question: Which Home has an Opp... | Here's the SQLite query to answer the question regarding which Home has an Opponent of "brøndby":
```
SELECT home FROM table_name_15 WHERE opponent = "brøndby";
``` | 10,707 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR)\n\n Question: Which Home has an Opponent of brøndby?\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_7 (away VARCHAR, opponent VARCHAR)
Question: Which Away has an Opponent of slavia prague?
Here is the SQLite query to answer to the question: Which Away has a... | Here is the SQLite query to answer the question "Which Away has an Opponent of slavia prague?":
```
SELECT away FROM table_name_7 WHERE opponent = "slavia prague";
``` | 10,708 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (away VARCHAR, opponent VARCHAR)\n\n Question: Which Away has an Opponent of slavia prague?\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_93 (away VARCHAR, competition VARCHAR, opponent VARCHAR)
Question: Which Away has a Competition of uefa cup, and an Opponent of anderlecht?
Here is the SQLite... | Here is the SQLite query to answer the question:
```
SELECT away FROM table_name_93 WHERE competition = "uefa cup" AND opponent = "anderlecht"
``` | 10,709 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (away VARCHAR, competition VARCHAR, opponent VARCHAR)\n\n Question: Which Away has a Competition of uefa cup, and an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR)
Question: Which Away has a Home of 2–2?
Here is the SQLite query to answer to the question: Which Away has a Home of 2–2?:
```... | Here is the SQLite query to answer the question: Which Away has a Home of 2–2?:
```
SELECT away FROM table_name_84 WHERE home = "2–2";
``` | 10,710 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR)\n\n Question: Which Away has a Home of 2–2?\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_69 (away VARCHAR, season VARCHAR, opponent VARCHAR)
Question: Which Away has a Season of 2001–02, and an Opponent of dinaburg?
Here is the SQLite query to ans... | Here is the SQLite query to answer the given question:
```
SELECT away FROM table_name_69 WHERE season = "2001–02" AND opponent = "dinaburg"
``` | 10,711 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (away VARCHAR, season VARCHAR, opponent VARCHAR)\n\n Question: Which Away has a Season of 2001–02, and an Opponent o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR)
Question: What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283?
Here is the SQLite query to ... | Here is the SQLite query to answer the question about the total number for grid with a Suzuki GSX-R1000 K7 for +13.283:
```
SELECT COUNT(grid) FROM table_name_35 WHERE bike = "Suzuki GSX-R1000 K7" AND time = "+13.283"
``` | 10,712 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR)\n\n Question: What is the total number for grid with a Suzuki GSX-R1000 K... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (time VARCHAR, grid VARCHAR, rider VARCHAR)
Question: What was the time for a grid less than 6 for Noriyuki Haga?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the time for a grid less than 6 for Noriyuki Haga:
```
SELECT time FROM table_name_55 WHERE grid < 6 AND rider = "Noriyuki Haga"
``` | 10,713 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (time VARCHAR, grid VARCHAR, rider VARCHAR)\n\n Question: What was the time for a grid less than 6 for Noriyuki Haga... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR)
Question: What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR?
He... | Your SQLite query is almost correct, but keep in mind that SQLite is case-sensitive regarding string comparisons unless configured not to be. If there is any chance that the entries in the `bike` column might have different casing (e.g., "Honda CBR1000RR" instead of "honda cbr1000rr"), you might want to use the `LOWER`... | 10,714 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR)\n\n Question: What was the time for a grid more than 6 in l... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR)
Question: What is the sum of laps for Karl Muggeridge on a grid less than 16?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question regarding the sum of laps for Karl Muggeridge on a grid less than 16:
```
SELECT SUM(laps) FROM table_name_74 WHERE rider = "Karl Muggeridge" AND grid < 16
``` | 10,715 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR)\n\n Question: What is the sum of laps for Karl Muggeridge on a grid less... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR)
Question: Which album awarded Paul McGuinness a Lifetime Achievement Award?
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding which album awarded Paul McGuinness a Lifetime Achievement Award:
```
SELECT album FROM table_name_20 WHERE lifetime_achievement_award = "Paul McGuinness";
``` | 10,716 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR)\n\n Question: Which album awarded Paul McGuinness a Lifetime Ach... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (pop_act VARCHAR, album VARCHAR)
Question: Which act's album has a name of All That You Can't Leave Behind?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question:
```
SELECT pop_act FROM table_name_58 WHERE album = "All That You Can't Leave Behind";
``` | 10,717 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (pop_act VARCHAR, album VARCHAR)\n\n Question: Which act's album has a name of All That You Can't Leave Behind?\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_56 (year VARCHAR, band VARCHAR, lifetime_achievement_award VARCHAR)
Question: In what year did Aslan receive a Lifetime Achievement Award and Snow Patrol perfo... | It appears there is a small error in your provided SQL query logic. To find out in which year both Aslan received a Lifetime Achievement Award and Snow Patrol performed, we actually need to check if those events occurred in the same year.
Here's the corrected SQLite query:
```
SELECT year
FROM table_name_56
WHERE ... | 10,718 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (year VARCHAR, band VARCHAR, lifetime_achievement_award VARCHAR)\n\n Question: In what year did Aslan receive a Life... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR)
Question: Who won the Lifetime Achievement Award when Snow Patrol performed and Juliet Tu... | Here is the SQLite query to answer the question:
```
SELECT lifetime_achievement_award FROM table_name_38 WHERE band = "Snow Patrol" AND female = "Juliet Turner";
``` | 10,719 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR)\n\n Question: Who won the Lifetime Achievement Aw... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (band VARCHAR, female VARCHAR)
Question: What band performed when Samantha Mumba presented?
Here is the SQLite query to answer to the question: What band p... | Here is the SQLite query to answer the question: What band performed when Samantha Mumba presented?:
```
SELECT band FROM table_name_80 WHERE female = "samantha mumba"
``` | 10,720 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (band VARCHAR, female VARCHAR)\n\n Question: What band performed when Samantha Mumba presented?\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_86 (draws INTEGER, season VARCHAR, wins VARCHAR)
Question: What is the lowest Draws for a season later than 1919 with more than 0 wins?
Here is the SQLite que... | Here is the SQLite query to answer the question about the lowest Draws for a season later than 1919 with more than 0 wins:
```sql
SELECT MIN(draws) FROM table_name_86 WHERE season > 1919 AND wins > 0;
``` | 10,721 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (draws INTEGER, season VARCHAR, wins VARCHAR)\n\n Question: What is the lowest Draws for a season later than 1919 wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (draws INTEGER, season INTEGER)
Question: What is the sum of Draws for a season later than 1964?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding the sum of draws for a season later than 1964:
```
SELECT SUM(draws) FROM table_name_67 WHERE season > 1964
``` | 10,722 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (draws INTEGER, season INTEGER)\n\n Question: What is the sum of Draws for a season later than 1964?\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_46 (wins INTEGER, draws VARCHAR, season VARCHAR)
Question: What is the sum of Wins when draws shows 0 in 1964?
Here is the SQLite query to answer to the quest... | Your SQL query is almost correct, but since the `draws` column is defined as a `VARCHAR`, you should ensure that you are correctly comparing it to the string representation of 0. Here’s the corrected query wrapped properly:
```
SELECT SUM(wins) FROM table_name_46 WHERE draws = '0' AND season = '1964'
```
This SQL qu... | 10,723 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (wins INTEGER, draws VARCHAR, season VARCHAR)\n\n Question: What is the sum of Wins when draws shows 0 in 1964?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR)
Question: What is the highest Draws for a season later than 1926 with less than 0 wins?
Here is the SQLite qu... | Here is the correct SQLite query to answer the question regarding the highest Draws for a season later than 1926 with less than 0 wins:
```
SELECT MAX(draws) FROM table_name_63 WHERE season > '1926' AND wins < '0';
```
Please note that in SQL, string comparisons are done using quotes, so I have enclosed the year '19... | 10,724 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR)\n\n Question: What is the highest Draws for a season later than 1926 w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)
Question: What is the highest Draws with less than 18 losses for north melbourne later than 19... | Here is the SQLite query to answer the question about the highest draws with less than 18 losses for North Melbourne later than 1926:
```sql
SELECT MAX(draws)
FROM table_name_45
WHERE losses < 18 AND team = "north melbourne" AND season > '1926';
``` | 10,725 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)\n\n Question: What is the highest Draws with less than... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)
Question: what week had a player named zach
Here is the SQLite query to answer to the question: what week had a player na... | Here is the SQLite query to answer the question regarding which week had a player named Zach:
```
SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach"
``` | 10,726 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)\n\n Question: what week had a player named zach\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_23 (shts INTEGER, club VARCHAR, mins VARCHAR)
Question: What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700?
Here is t... | Here is the SQLite query to answer the question regarding the largest number for SHTS for the San Jose Earthquakes with MINS larger than 2700:
```
SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700
``` | 10,727 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (shts INTEGER, club VARCHAR, mins VARCHAR)\n\n Question: What is the largest number for SHTS for the San Jose earthq... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)
Question: What is the sum of Rank when Pat Onstad was the goalkeeper?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the sum of Rank when Pat Onstad was the goalkeeper:
```
SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "Pat Onstad"
``` | 10,728 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)\n\n Question: What is the sum of Rank when Pat Onstad was the goalkeeper?\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_98 (club VARCHAR, shts VARCHAR)
Question: What is the club for the 132 SHTS?
Here is the SQLite query to answer to the question: What is the club for the 132 ... | Here is the SQLite query to answer the question: What is the club for the 132 SHTS?:
```
SELECT club FROM table_name_98 WHERE shts = '132'
``` | 10,729 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (club VARCHAR, shts VARCHAR)\n\n Question: What is the club for the 132 SHTS?\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_87 (mins INTEGER, club VARCHAR, shts VARCHAR)
Question: What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166?
Here is the SQLite qu... | Here is the SQLite query to find the largest MINS for the San Jose Earthquakes with a SHTS less than 166:
```
SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166;
``` | 10,730 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR)\n\n Question: What is the largest MINS for the San Jose Earthquakes with ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
Question: When has a Surface of clay, and an Opponent in the final of andrés gómez javier sán... | Here is the SQLite query to answer the question about when there was a surface of clay and an opponent in the final of Andrés Gómez Javier Sánchez:
```sql
SELECT date
FROM table_name_98
WHERE surface = "clay"
AND opponent_in_the_final = "andrés gómez javier sánchez";
``` | 10,731 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: When has a Surface of clay, and an Oppo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)
Question: Which Tournament has a Partner of karel nováček?
Here is the SQLite query to answer to the question: Which ... | Here is the SQLite query to answer the question about the tournament that has a partner of karel nováček:
```sql
SELECT tournament FROM table_name_19 WHERE partner = "karel nováček";
``` | 10,732 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)\n\n Question: Which Tournament has a Partner of karel nováček?\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 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
Question: Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5?
Here is th... | Here is the SQLite query to answer the question regarding which tournament is in 1993 with a score in the final of 6–2, 2–6, 7–5:
```
SELECT tournament FROM table_name_13 WHERE date = '1993' AND score_in_the_final = '6–2, 2–6, 7–5';
``` | 10,733 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)\n\n Question: Which Tournament is in 1993 with a Scor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (ullrich VARCHAR, riggs VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR)
Question: Riggs of e, and a Buechel & Manhart spelling (pronun... | Your provided SQLite query has a small issue with the condition that combines `buechel_` and `_manhart_spelling__pronunciation_`. You need to use the correct operator for matching both columns against "e".
Here's the corrected SQLite query:
```sql
SELECT ullrich
FROM table_name_92
WHERE riggs = "e"
AND buechel_ =... | 10,734 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (ullrich VARCHAR, riggs VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR)\n\n Question: Riggs of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR)
Question: Rood & Taylor of o,... | It looks like you're trying to formulate an SQLite query, but there are a couple of issues in your current query and understanding of how to check for multiple conditions in the WHERE clause. To check if columns have specific values, you should use the equality operator for each individual column and combine them with ... | 10,735 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ V... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (white_hat VARCHAR, ullrich VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
Question: Dakota Mission of t, and a Deloria & Boas of tʽ, and... | It seems like you want to retrieve the `white_hat` value from `table_name_98` based on specific conditions for the columns. However, the condition `deloria_ & _boas = "tʽ"` looks incorrect because it employs the bitwise AND operator `&`, which isn't suitable for string comparison. Instead, you should use the logical AN... | 10,736 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (white_hat VARCHAR, ullrich VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)\n\n Question: Dakota M... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (university_of_minnesota VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
Question: Deloria & Boas of n included what university of Minnesota?
Here is the SQLite ... | Your initial SQLite query is on the right track but needs a small correction regarding the logical comparison for the fields `deloria_` and `_boas`. Assuming that you meant to check if both fields are equal to "n", you should use the `AND` operator rather than the `&` operator, which is more appropriate for bitwise ope... | 10,737 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (university_of_minnesota VARCHAR, deloria_ VARCHAR, _boas VARCHAR)\n\n Question: Deloria & Boas of n included what u... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
Question: Deloria & Boas of ų, and a ... | It looks like there are a couple of minor issues in your SQL syntax, particularly the use of the `&` operator, which is typically used for bitwise operations, not for logical conditions. Instead, we should use the `AND` operator to combine the conditions for `deloria_` and `_boas`. Here’s the corrected SQL query:
```s... | 10,738 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR)
Question: University of Minnesota of ṭ had what Deloria & Boas?
Here is the SQLite query... | Your SQLite query is almost correct, but the syntax for selecting and concatenating columns should be adjusted slightly. In SQLite, if you want to concatenate two column values, you can use the `||` operator. Here’s the corrected query wrapped with backticks:
```
SELECT deloria_ || ' ' || _boas AS combined_name FROM t... | 10,739 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR)\n\n Question: University of Minnesota of ṭ had wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR)
Question: Which November has a Game smaller than 16, and Points larger than 22?
Here is the SQLite query t... | The SQL query you provided has the right idea but requires some adjustments, particularly regarding data types and the way the conditions are applied. Assuming that "game" should be treated as an integer (for numeric comparison) and "points" can also be treated as an integer (since it's compared using relational operat... | 10,740 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR)\n\n Question: Which November has a Game smaller than 16, and Points... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (record VARCHAR, november VARCHAR, game VARCHAR, points VARCHAR)
Question: Which Record has a Game larger than 15, and Points smaller than 31, and a Novembe... | Here is the SQLite query that answers the question based on the provided schema:
```
SELECT record FROM table_name_36 WHERE game > 15 AND points < 31 AND november = '7'
```
(Note: Since the columns are of type VARCHAR, the value for November is enclosed in single quotes.) | 10,741 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (record VARCHAR, november VARCHAR, game VARCHAR, points VARCHAR)\n\n Question: Which Record has a Game larger than 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the highest number of bronze for the United States with more than 1 silver?
Here is the ... | Your query is almost correct, but there is a small issue with the condition on the `silver` column. Since `silver` is defined as a `VARCHAR`, comparing it directly to a number will not yield the expected results. Assuming that the `silver` column actually contains numeric values stored as strings, you should convert it... | 10,742 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)\n\n Question: What is the highest number of bronze for the United S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (silver INTEGER, bronze INTEGER)
Question: What is the sum of all silver medals with more than 2 bronze?
Here is the SQLite query to answer to the question... | Your SQLite query to sum all silver medals while considering only the rows with more than 2 bronze medals is correct. Here it is wrapped appropriately:
```
SELECT SUM(silver) FROM table_name_82 WHERE bronze > 2
``` | 10,743 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (silver INTEGER, bronze INTEGER)\n\n Question: What is the sum of all silver medals with more than 2 bronze?\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_68 (silver INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the lowest number of silver medals with a rank of 4 and total medals greater than 1?
Here i... | Here is the SQLite query to answer the question about the lowest number of silver medals with a rank of 4 and total medals greater than 1:
```
SELECT MIN(silver) FROM table_name_68 WHERE rank = '4' AND total > '1';
``` | 10,744 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR)\n\n Question: What is the lowest number of silver medals with a rank o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the average number of bronze medals with 1 silver, 5 gold, and over 6 total ... | The SQLite query you provided is incorrect because you are checking for `total < 6`, whereas you need to check for `total > 6` to meet the conditions specified in the question. Here is the corrected query:
```
SELECT AVG(bronze)
FROM table_name_85
WHERE silver = '1' AND gold = '5' AND total > '6';
```
Make sure to... | 10,745 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)\n\n Question: What is the average number of bronze med... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (rank INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: What is the highest rank with less than 2 bronze, more than 1 gold, and less than 1 s... | Your provided SQLite query has the right idea but contains a small issue with the conditions for counting bronze, gold, and silver. Since the columns `silver`, `bronze`, and `gold` are defined as `VARCHAR`, we need to convert them to integers to perform numeric comparisons. Here's the corrected query:
```sql
SELECT MA... | 10,746 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (rank INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)\n\n Question: What is the highest rank with less than 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (remixed_by VARCHAR, album VARCHAR)
Question: Who remixed an album of dance remixes?
Here is the SQLite query to answer to the question: Who remixed an alb... | Here is the SQLite query wrapped as requested:
```
SELECT remixed_by FROM table_name_50 WHERE album = "dance remixes"
``` | 10,747 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (remixed_by VARCHAR, album VARCHAR)\n\n Question: Who remixed an album of dance remixes?\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_22 (remixed_by VARCHAR, year VARCHAR, version VARCHAR)
Question: Who remixed a music video in 1985?
Here is the SQLite query to answer to the question: Who re... | Certainly! Here is the corrected SQLite query to answer the question:
```
SELECT remixed_by FROM table_name_22 WHERE year = '1985';
```
Please note that I have adjusted the query to only filter by the year since the original question doesn't mention version "music video" explicitly, which means we are only intereste... | 10,748 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (remixed_by VARCHAR, year VARCHAR, version VARCHAR)\n\n Question: Who remixed a music video in 1985?\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_46 (year INTEGER, version VARCHAR)
Question: What year was Mother's Live remix created?
Here is the SQLite query to answer to the question: What year was Moth... | It looks like your query is attempting to use the `SUM` function, which is not necessary for this specific question since we're only looking to retrieve a single year. Instead, you can use a simple `SELECT` statement to get the desired result. Here's the corrected query:
```sql
SELECT year FROM table_name_46 WHERE ver... | 10,749 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (year INTEGER, version VARCHAR)\n\n Question: What year was Mother's Live remix created?\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_7 (position VARCHAR, pick VARCHAR)
Question: Which position ranked 10th overall?
Here is the SQLite query to answer to the question: Which position ranked 10t... | The provided SQL query is not correctly structured to find the position ranked 10th overall. Instead, you should be selecting from the table ordered by some criteria. If you are dealing with rankings and want to find the position associated with the 10th overall pick, you might want to use a ranking function or an ORDE... | 10,750 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)\n\n Question: Which position ranked 10th overall?\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_17 (player VARCHAR, year VARCHAR, position VARCHAR)
Question: Which player played wide receiver after 2008?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question "Which player played wide receiver after 2008?":
```
SELECT player FROM table_name_17 WHERE year > 2008 AND position = "wide receiver";
``` | 10,751 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (player VARCHAR, year VARCHAR, position VARCHAR)\n\n Question: Which player played wide receiver after 2008?\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 (player VARCHAR, date VARCHAR)
Question: Which Player has a Date of 13 july 2007?
Here is the SQLite query to answer to the question: Which Player has a Da... | Here is the SQLite query to answer the question: Which Player has a Date of 13 July 2007?:
```sql
SELECT player FROM table_name_41 WHERE date = "13 july 2007";
``` | 10,752 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (player VARCHAR, date VARCHAR)\n\n Question: Which Player has a Date of 13 july 2007?\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_44 (player VARCHAR, date VARCHAR, transfer_fee VARCHAR)
Question: Which Player had a Date of 31 jan. 2008, and a Transfer fee of £3.87m?
Here is the SQLite qu... | Here is the SQLite query to answer the question about which player had a date of 31 jan. 2008, and a transfer fee of £3.87m:
```
SELECT player FROM table_name_44 WHERE date = "31 jan. 2008" AND transfer_fee = "£3.87m";
``` | 10,753 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (player VARCHAR, date VARCHAR, transfer_fee VARCHAR)\n\n Question: Which Player had a Date of 31 jan. 2008, and a Tr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (date VARCHAR, transfer_fee VARCHAR)
Question: Which Date had a Transfer fee of £8.8m?
Here is the SQLite query to answer to the question: Which Date had a... | Here is the SQLite query to answer the question "Which Date had a Transfer fee of £8.8m?":
```
SELECT date FROM table_name_45 WHERE transfer_fee = '£8.8m';
``` | 10,754 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (date VARCHAR, transfer_fee VARCHAR)\n\n Question: Which Date had a Transfer fee of £8.8m?\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_40 (from_club VARCHAR, transfer_fee VARCHAR)
Question: Which From club had a Transfer fee of £3.87m?
Here is the SQLite query to answer to the question: Which... | Here is the SQLite query you can use to answer the question regarding which "From club" had a transfer fee of £3.87m:
```
SELECT from_club FROM table_name_40 WHERE transfer_fee = '£3.87m';
``` | 10,755 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (from_club VARCHAR, transfer_fee VARCHAR)\n\n Question: Which From club had a Transfer fee of £3.87m?\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_36 (player VARCHAR, from_club VARCHAR)
Question: Which Player had a From club of atlético madrid?
Here is the SQLite query to answer to the question: Which Pl... | Your SQLite query is correct. Here it is wrapped in code format:
```
SELECT player FROM table_name_36 WHERE from_club = "atlético madrid";
``` | 10,756 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (player VARCHAR, from_club VARCHAR)\n\n Question: Which Player had a From club of atlético madrid?\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_82 (decision VARCHAR, game INTEGER)
Question: What is the decision of the game larger than 6.
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to answer the question:
```
SELECT decision FROM table_name_82 WHERE game > 6
``` | 10,757 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (decision VARCHAR, game INTEGER)\n\n Question: What is the decision of the game larger than 6.\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (series VARCHAR, date VARCHAR)
Question: On May 8 what series is it?
Here is the SQLite query to answer to the question: On May 8 what series is it?:
```
S... | Your SQLite query looks mostly correct for retrieving the series on May 8. However, ensure that the date format in your database is consistent with the query. Here is the refined query wrapped in the requested format:
```
SELECT series FROM table_name_41 WHERE date = "May 8";
```
Make sure that the case of the month... | 10,758 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (series VARCHAR, date VARCHAR)\n\n Question: On May 8 what series is it?\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_51 (korean VARCHAR, chinese VARCHAR)
Question: Which KOREAN has a CHINESE of 師子菩提 / shīzǐpútí?
Here is the SQLite query to answer to the question: Which KOREA... | Here is the SQLite query to answer the question:
```
SELECT korean FROM table_name_51 WHERE chinese = "師子菩提 / shīzǐpútí"
``` | 10,759 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (korean VARCHAR, chinese VARCHAR)\n\n Question: Which KOREAN has a CHINESE of 師子菩提 / shīzǐpútí?\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_92 (japanese VARCHAR, korean VARCHAR)
Question: Which JAPANESE has a KOREAN of 상나화수 / sanahwasa?
Here is the SQLite query to answer to the question: Which JAP... | Your SQLite query is correctly structured to answer the question. Here it is wrapped in the specified code format:
```
SELECT japanese FROM table_name_92 WHERE korean = "상나화수 / sanahwasa";
``` | 10,760 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (japanese VARCHAR, korean VARCHAR)\n\n Question: Which JAPANESE has a KOREAN of 상나화수 / sanahwasa?\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_76 (sanskrt VARCHAR, chinese VARCHAR)
Question: Which SANSKRT has a CHINESE of 摩拏羅 / mónáluó?
Here is the SQLite query to answer to the question: Which SANSKR... | Here is the SQLite query to answer the question about which SANSKRT corresponds to the CHINESE 摩拏羅 / mónáluó:
```
SELECT sanskrt FROM table_name_76 WHERE chinese = "摩拏羅 / mónáluó"
``` | 10,761 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (sanskrt VARCHAR, chinese VARCHAR)\n\n Question: Which SANSKRT has a CHINESE of 摩拏羅 / mónáluó?\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_38 (sanskrt VARCHAR, japanese VARCHAR)
Question: Which SANSKRT has a JAPANESE of jayana?
Here is the SQLite query to answer to the question: Which SANSKRT has... | Here is the SQLite query to answer the question: Which SANSKRT has a JAPANESE of jayana?:
```
SELECT sanskrt FROM table_name_38 WHERE japanese = "jayana";
``` | 10,762 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (sanskrt VARCHAR, japanese VARCHAR)\n\n Question: Which SANSKRT has a JAPANESE of jayana?\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_35 (vietnamese VARCHAR, chinese VARCHAR)
Question: Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì?
Here is the SQLite query to answer to the question: Which V... | Here's the SQLite query you requested, wrapped in the appropriate code block:
```
SELECT vietnamese FROM table_name_35 WHERE chinese = "婆須密 / póxūmì"
``` | 10,763 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (vietnamese VARCHAR, chinese VARCHAR)\n\n Question: Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì?\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_25 (vietnamese VARCHAR, chinese VARCHAR)
Question: Which VIETNAMESE has a CHINESE of 不如密多 / bùrúmìduō?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query to answer the question:
```
SELECT vietnamese FROM table_name_25 WHERE chinese = "不如密多 / bùrúmìduō"
``` | 10,764 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (vietnamese VARCHAR, chinese VARCHAR)\n\n Question: Which VIETNAMESE has a CHINESE of 不如密多 / bùrúmìduō?\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_77 (pick__number INTEGER, college VARCHAR, overall VARCHAR)
Question: What is the mean pick number for Iowa College when the overall is less than 200?
Here is... | Here is the SQLite query to answer the question:
```
SELECT AVG(pick__number) FROM table_name_77 WHERE college = "Iowa" AND overall < 200
``` | 10,765 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (pick__number INTEGER, college VARCHAR, overall VARCHAR)\n\n Question: What is the mean pick number for Iowa College... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)
Question: What was the result on 26 October 1993?
Here is the SQLite query to answer to the question: What was the result on... | Your SQLite query looks correct for retrieving the result on 26 October 1993. Here it is wrapped as requested:
```
SELECT result FROM table_name_36 WHERE date = "26 october 1993";
``` | 10,766 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)\n\n Question: What was the result on 26 October 1993?\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_61 (away VARCHAR, result VARCHAR)
Question: Who was the Away team on the result of 1-5 aet?
Here is the SQLite query to answer to the question: Who was the Aw... | Here is the SQLite query to answer the question about who was the away team on the result of 1-5 aet:
```
SELECT away FROM table_name_61 WHERE result = "1-5 aet"
``` | 10,767 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (away VARCHAR, result VARCHAR)\n\n Question: Who was the Away team on the result of 1-5 aet?\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_54 (season VARCHAR, date VARCHAR)
Question: What season had a date of 30 august 1980
Here is the SQLite query to answer to the question: What season had a dat... | Here is the SQLite query to answer the question: What season had a date of 30 August 1980?
```
SELECT season FROM table_name_54 WHERE date = "30 august 1980";
``` | 10,768 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (season VARCHAR, date VARCHAR)\n\n Question: What season had a date of 30 august 1980\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_9 (round VARCHAR, home VARCHAR, result VARCHAR)
Question: What round had a home of FC augsburg with the result of 3-0?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the round that had a home of FC Augsburg with the result of 3-0:
```
SELECT round FROM table_name_9 WHERE home = "FC Augsburg" AND result = "3-0"
``` | 10,769 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (round VARCHAR, home VARCHAR, result VARCHAR)\n\n Question: What round had a home of FC augsburg with the result of 3... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)
Question: What is the office held by member Mark Coulton?
Here is the SQLite query to answer to the question: What is t... | Your SQLite query is almost correct, but make sure to use the proper casing for the string comparison, unless case sensitivity is not a concern in your database configuration. Here is the correctly formatted query:
```
SELECT in_office FROM table_name_58 WHERE member = 'Mark Coulton';
```
Make sure to use single quot... | 10,770 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)\n\n Question: What is the office held by member Mark Coulton?\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_71 (in_office VARCHAR, electorate VARCHAR)
Question: What office is held by Electorate Hume?
Here is the SQLite query to answer to the question: What office i... | Here is the SQLite query to answer the question about what office is held by Electorate Hume:
```
SELECT in_office FROM table_name_71 WHERE electorate = "Hume";
``` | 10,771 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (in_office VARCHAR, electorate VARCHAR)\n\n Question: What office is held by Electorate Hume?\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_7 (member VARCHAR, state VARCHAR)
Question: Which memeber has nt as the state?
Here is the SQLite query to answer to the question: Which memeber has nt as the... | Here is the SQLite query to answer the question "Which member has nt as the state?":
```
SELECT member FROM table_name_7 WHERE state = 'nt';
``` | 10,772 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (member VARCHAR, state VARCHAR)\n\n Question: Which memeber has nt as the state?\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_64 (member VARCHAR, party VARCHAR, state VARCHAR, first_elected VARCHAR)
Question: Which memeber has nsw as the state, a first elected of 1952, and alp as the ... | Here is the SQLite query to answer the question:
```
SELECT member FROM table_name_64 WHERE state = "nsw" AND first_elected = "1952" AND party = "alp"
``` | 10,773 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (member VARCHAR, party VARCHAR, state VARCHAR, first_elected VARCHAR)\n\n Question: Which memeber has nsw as the sta... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (party VARCHAR, state VARCHAR, member VARCHAR)
Question: Which party has wa as the state, and hon victor garland as the memeber?
Here is the SQLite query t... | Here is the SQLite query to answer the question about which party has "wa" as the state and "hon victor garland" as the member:
```
SELECT party FROM table_name_14 WHERE state = "wa" AND member = "hon victor garland";
``` | 10,774 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (party VARCHAR, state VARCHAR, member VARCHAR)\n\n Question: Which party has wa as the state, and hon victor garland... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR)
Question: Which party has a first elected of 1966, qld as the state, and donald milner... | Here is the SQLite query to answer the question about which party has a first elected year of 1966, is from Queensland (qld), and has Donald Milner Cameron as the member:
```
SELECT party FROM table_name_25 WHERE first_elected = "1966" AND state = "qld" AND member = "donald milner cameron"
``` | 10,775 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR)\n\n Question: Which party has a first elected ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (member VARCHAR, electorate VARCHAR, state VARCHAR, first_elected VARCHAR, party VARCHAR)
Question: Which memeber has a first elected of 1972, alp as the pa... | Here is the SQLite query to answer the question about which member has a first elected of 1972, alp as the party, vic as the state, and an electorate of gellibrand:
```sql
SELECT member FROM table_name_70 WHERE first_elected = "1972" AND party = "alp" AND state = "vic" AND electorate = "gellibrand";
``` | 10,776 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (member VARCHAR, electorate VARCHAR, state VARCHAR, first_elected VARCHAR, party VARCHAR)\n\n Question: Which memebe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (location VARCHAR, left VARCHAR, nickname VARCHAR)
Question: Where was the game played with a 2013 left and Royals nickname?
Here is the SQLite query to an... | Here is the SQLite query to answer the question you provided:
```
SELECT location FROM table_name_13 WHERE left = "2013" AND nickname = "royals";
``` | 10,777 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (location VARCHAR, left VARCHAR, nickname VARCHAR)\n\n Question: Where was the game played with a 2013 left and Roya... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR)
Question: What joined that was founded prior to year 1856 and whose current conference is the B... | Here is the SQLite query to answer the question:
```
SELECT joined FROM table_name_2 WHERE founded < '1856' AND current_conference = 'Big South (NCAA Division I)';
``` | 10,778 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR)\n\n Question: What joined that was founded prior to yea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (founded INTEGER, left VARCHAR)
Question: What is the total number of teams founded that were left in 1976?
Here is the SQLite query to answer to the quest... | You seem to be trying to count the teams founded in a specific year that left in 1976. However, the column "founded" suggests it records the year a team was founded, and "left" records the year they left. To get the total count of teams founded in a specific year and that left in 1976, you should count the number of ro... | 10,779 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (founded INTEGER, left VARCHAR)\n\n Question: What is the total number of teams founded that were left in 1976?\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_33 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR)
Question: What is the Set 1 when the date is 08 jul, and a Set 2 of 25–21?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding Set 1 when the date is 08 jul, and a Set 2 of 25–21:
```
SELECT set_1 FROM table_name_33 WHERE date = "08 jul" AND set_2 = "25–21";
``` | 10,780 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR)\n\n Question: What is the Set 1 when the date is 08 jul, and a Set 2 of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (score VARCHAR, set_2 VARCHAR)
Question: What is the Score for Set 2 of 24–26?
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:
```
SELECT score FROM table_name_71 WHERE set_2 = "24–26"
``` | 10,781 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (score VARCHAR, set_2 VARCHAR)\n\n Question: What is the Score for Set 2 of 24–26?\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_15 (report VARCHAR, set_1 VARCHAR)
Question: What shows for Report hen there is a set 1 of 19–25?
Here is the SQLite query to answer to the question: What sho... | Your SQLite query is mostly correct, but it's important to ensure that the set_1 value matches the format accurately and also consider potential variations in representation, such as whitespace or punctuation.
Here's the refined version of the query:
```sql
SELECT report FROM table_name_15 WHERE set_1 = "19–25";
```... | 10,782 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (report VARCHAR, set_1 VARCHAR)\n\n Question: What shows for Report hen there is a set 1 of 19–25?\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_38 (date VARCHAR, time VARCHAR, set_4 VARCHAR)
Question: What is the Date with a Time of 17:37, and the Set 4 is 25–15?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question regarding the Date with a Time of 17:37 and the Set 4 value of 25–15:
```
SELECT date FROM table_name_38 WHERE time = "17:37" AND set_4 = "25–15"
``` | 10,783 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (date VARCHAR, time VARCHAR, set_4 VARCHAR)\n\n Question: What is the Date with a Time of 17:37, and the Set 4 is 25... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (report VARCHAR, score VARCHAR, set_1 VARCHAR)
Question: What is the Report with a Score of 3–1, and Set 1 is 19–25?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the report with a score of 3–1 and set 1 being 19–25:
```sql
SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25";
``` | 10,784 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (report VARCHAR, score VARCHAR, set_1 VARCHAR)\n\n Question: What is the Report with a Score of 3–1, and Set 1 is 19... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (report VARCHAR, date VARCHAR, score VARCHAR)
Question: What is the Report for 08 jul, and a Score of 3–1?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question "What is the Report for 08 jul, and a Score of 3–1?":
```
SELECT report FROM table_name_79 WHERE date = "08 jul" AND score = "3–1";
``` | 10,785 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (report VARCHAR, date VARCHAR, score VARCHAR)\n\n Question: What is the Report for 08 jul, and a Score of 3–1?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (nation VARCHAR, record VARCHAR)
Question: What is the Nation with a Record that is 7.39?
Here is the SQLite query to answer to the question: What is the N... | Here is the SQLite query to answer the question: What is the Nation with a Record that is 7.39?:
```
SELECT nation FROM table_name_37 WHERE record = '7.39';
``` | 10,786 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (nation VARCHAR, record VARCHAR)\n\n Question: What is the Nation with a Record that is 7.39?\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_87 (date VARCHAR, record VARCHAR)
Question: What is the Date with a Record that is 7.39?
Here is the SQLite query to answer to the question: What is the Date ... | Here is the SQLite query to answer the question about retrieving the date with a record of 7.39:
```
SELECT date FROM table_name_87 WHERE record = "7.39";
``` | 10,787 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (date VARCHAR, record VARCHAR)\n\n Question: What is the Date with a Record that is 7.39?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (episode VARCHAR, xii_season VARCHAR)
Question: What is Episode, when XII Season is 4 118 160 (26 september 2010)?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question regarding Episode for XII Season 4 118 160 (26 September 2010):
```
SELECT episode FROM table_name_23 WHERE xii_season = "4 118 160 (26 september 2010)"
``` | 10,788 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (episode VARCHAR, xii_season VARCHAR)\n\n Question: What is Episode, when XII Season is 4 118 160 (26 september 2010... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (vii_season VARCHAR, episode VARCHAR)
Question: What is VII Season, when Episode is 11?
Here is the SQLite query to answer to the question: What is VII Sea... | Your SQLite query is correct for retrieving the VII Season when Episode is 11. Here it is wrapped in code formatting:
```
SELECT vii_season FROM table_name_29 WHERE episode = "11";
``` | 10,789 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (vii_season VARCHAR, episode VARCHAR)\n\n Question: What is VII Season, when Episode is 11?\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_57 (xii_season VARCHAR, episode VARCHAR)
Question: What is XII Season, when Episode is 6?
Here is the SQLite query to answer to the question: What is XII Seas... | Here is the SQLite query to answer the question: What is XII Season, when Episode is 6?:
```
SELECT xii_season FROM table_name_57 WHERE episode = '6';
``` | 10,790 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (xii_season VARCHAR, episode VARCHAR)\n\n Question: What is XII Season, when Episode is 6?\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_83 (episode VARCHAR, viii_season VARCHAR)
Question: What is Episode, when VIII Season is 5 082 535 (19 October 2008)?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about retrieving the episode for VIII Season 5 082 535 (19 October 2008):
```sql
SELECT episode FROM table_name_83 WHERE viii_season = "5 082 535 (19 October 2008)"
``` | 10,791 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (episode VARCHAR, viii_season VARCHAR)\n\n Question: What is Episode, when VIII Season is 5 082 535 (19 October 2008... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (xiii_season VARCHAR, viii_season VARCHAR)
Question: What is XIII Season, when VIII Season is 4 780 743 (2 november 2008)?
Here is the SQLite query to answ... | Here's the SQLite query to answer your question based on the provided schema:
```
SELECT xiii_season FROM table_name_82 WHERE viii_season = "4 780 743 (2 november 2008)"
``` | 10,792 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (xiii_season VARCHAR, viii_season VARCHAR)\n\n Question: What is XIII Season, when VIII Season is 4 780 743 (2 novem... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (lost INTEGER, points VARCHAR, drawn VARCHAR)
Question: Which Lost has Points of 28 and a Drawn smaller than 8?
Here is the SQLite query to answer to the q... | The query you provided is not quite correct for the question asked. You are looking for the `lost` values that meet the criteria rather than the average of those values. Here is the corrected SQLite query:
```sql
SELECT lost FROM table_name_47 WHERE points = '28' AND CAST(drawn AS INTEGER) < 8;
```
In this query:
- W... | 10,793 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (lost INTEGER, points VARCHAR, drawn VARCHAR)\n\n Question: Which Lost has Points of 28 and a Drawn smaller 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_96 (against VARCHAR, points VARCHAR, drawn VARCHAR)
Question: How many Againsts have Points larger than 31 and a Drawn larger than 6?
Here is the SQLite query... | Your SQLite query is almost correct, but you'll need to ensure that the `points` and `drawn` columns are treated as integers for comparison. If they are stored as strings (VARCHAR), you'll need to cast them to integers. Here’s the corrected query:
```sql
SELECT COUNT(against)
FROM table_name_96
WHERE CAST(points AS ... | 10,794 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (against VARCHAR, points VARCHAR, drawn VARCHAR)\n\n Question: How many Againsts have Points larger than 31 and a Dr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)
Question: What is the highest number of votes for McCain... | Your query has a small mistake in the `WHERE` clause concerning the condition for the number of votes for Obama. Instead of `obama_number < 256 OFFSET 299`, it should be `obama_number < '256299'` (assuming `obama_number` is stored as a string, you should compare it properly).
Here is the corrected SQLite query:
```
S... | 10,795 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)\n\n Question: Wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (round VARCHAR, behinds VARCHAR)
Question: What is the Round with 1 Behinds?
Here is the SQLite query to answer to the question: What is the Round with 1 B... | Here is the SQLite query to answer the question: What is the Round with 1 Behinds?:
```
SELECT round FROM table_name_50 WHERE behinds = '1'
``` | 10,796 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (round VARCHAR, behinds VARCHAR)\n\n Question: What is the Round with 1 Behinds?\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_29 (goals VARCHAR, round VARCHAR)
Question: What is the goals for Round 15?
Here is the SQLite query to answer to the question: What is the goals for Round 15... | Here is the SQLite query to answer the question regarding the goals for Round 15:
```
SELECT goals FROM table_name_29 WHERE round = "Round 15";
``` | 10,797 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (goals VARCHAR, round VARCHAR)\n\n Question: What is the goals for Round 15?\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_44 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on 31 January 1987?
Here is the SQLite query to answer to the question: What was the A... | Here is the SQLite query to answer the question: What was the Attendance on 31 January 1987?:
```sql
SELECT attendance FROM table_name_44 WHERE date = "31 january 1987"
``` | 10,798 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)\n\n Question: What was the Attendance on 31 January 1987?\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_62 (location_attendance VARCHAR, score VARCHAR)
Question: What was the location and attendance with a score of w 89–86 (ot)?
Here is the SQLite query to answe... | Your SQLite query is mostly correct, but it might be helpful to clarify that you want both the `location_attendance` and the `score` to achieve the right context. However, since your question specifically asks for the location and attendance alongside the score, you may want to select both columns to provide complete i... | 10,799 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (location_attendance VARCHAR, score VARCHAR)\n\n Question: What was the location and attendance with a score of w 89... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.