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_88 (touchdowns INTEGER, player VARCHAR, field_goals VARCHAR)
Question: What is the smallest amount of touchdowns when there is a total player and a number of f... | Your SQL query is almost correct, but it seems there is a small misunderstanding regarding the condition for "total player". If you mean to check for a specific player with the name "total", then your current query is fine. However, if you are checking for any player and just need to include the case where the number o... | 47,200 | [
{
"from": "human",
"value": " 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 (touchdowns INTEGER, player VARCHAR, field_goals VARCHAR)\n\n Question: What is the smallest amount of touchdowns wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (date VARCHAR, results¹ VARCHAR)
Question: On what Date were the Results¹ 4:0?
Here is the SQLite query to answer to the question: On what Date were the Re... | Here is the SQLite query to answer the question about the date when the results were 4:0:
```
SELECT date FROM table_name_56 WHERE results¹ = "4:0"
``` | 47,201 | [
{
"from": "human",
"value": " 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 (date VARCHAR, results¹ VARCHAR)\n\n Question: On what Date were the Results¹ 4:0?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (date VARCHAR, results¹ VARCHAR)
Question: On what Date were the Results¹ 5:1?
Here is the SQLite query to answer to the question: On what Date were the Re... | Here is the SQLite query wrapped in the appropriate formatting to answer the question about when the Results¹ were 5:1:
```
SELECT date FROM table_name_72 WHERE results¹ = "5:1";
``` | 47,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (date VARCHAR, results¹ VARCHAR)\n\n Question: On what Date were the Results¹ 5: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_47 (date VARCHAR, results¹ VARCHAR)
Question: On what Date were the Results¹ 4:0?
Here is the SQLite query to answer to the question: On what Date were the Re... | Here is the SQLite query to answer the question: On what Date were the Results¹ 4:0?:
```
SELECT date FROM table_name_47 WHERE results¹ = "4:0";
``` | 47,203 | [
{
"from": "human",
"value": " 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 (date VARCHAR, results¹ VARCHAR)\n\n Question: On what Date were the Results¹ 4:0?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR)
Question: What is the pseudoknot prediction of the software named tfold?
Here is the SQLite query to answer ... | Your provided SQL query is almost correct but includes a minor issue with the use of the alias for columns. The alias should be an identifier that's not prefixed with a `:`. Here’s the corrected query:
```sql
SELECT knots_knots AS pseudoknot_prediction, _ FROM table_name_65 WHERE name = "tfold"
```
This corrected qu... | 47,204 | [
{
"from": "human",
"value": " 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 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR)\n\n Question: What is the pseudoknot prediction of the software named... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (chilean VARCHAR, castilian VARCHAR)
Question: What Chilean word is used for the Castilian word ordenador?
Here is the SQLite query to answer to the questi... | Your SQLite query to find the Chilean word corresponding to the Castilian word "ordenador" is correct. Here it is wrapped in code format:
```
SELECT chilean FROM table_name_78 WHERE castilian = "ordenador";
``` | 47,205 | [
{
"from": "human",
"value": " 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 (chilean VARCHAR, castilian VARCHAR)\n\n Question: What Chilean word is used for the Castilian word ordenador?\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_59 (italian VARCHAR, mexican VARCHAR)
Question: What is the Italian word for the Mexican word frijol?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question regarding the Italian word for the Mexican word "frijol":
```
SELECT italian FROM table_name_59 WHERE mexican = "frijol"
``` | 47,206 | [
{
"from": "human",
"value": " 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 (italian VARCHAR, mexican VARCHAR)\n\n Question: What is the Italian word for the Mexican word frijol?\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_95 (castilian VARCHAR, italian VARCHAR)
Question: What word would a Castilian speaker use for the Italian word auto(mobile)?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about what word a Castilian speaker would use for the Italian word "auto(mobile)":
```
SELECT castilian FROM table_name_95 WHERE italian = "auto(mobile)";
``` | 47,207 | [
{
"from": "human",
"value": " 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 (castilian VARCHAR, italian VARCHAR)\n\n Question: What word would a Castilian speaker use for the Italian word auto... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (castilian VARCHAR, italian VARCHAR)
Question: What word would a Castilian speaker use for the Italian word auto(mobile)?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question regarding what word a Castilian speaker would use for the Italian word "auto(mobile)":
```
SELECT castilian FROM table_name_17 WHERE italian = "auto(mobile)"
``` | 47,208 | [
{
"from": "human",
"value": " 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 (castilian VARCHAR, italian VARCHAR)\n\n Question: What word would a Castilian speaker use for the Italian word auto... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR)
Question: How would an Italian say the Andalusian word coche?
Here is the SQLite query to answer to the question: How... | Here is the SQLite query to answer the question: How would an Italian say the Andalusian word coche?:
```
SELECT italian FROM table_name_78 WHERE andalusian = "coche"
``` | 47,209 | [
{
"from": "human",
"value": " 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 (italian VARCHAR, andalusian VARCHAR)\n\n Question: How would an Italian say the Andalusian word coche?\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_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)
Question: Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
Here is the SQLite query ... | Here's the SQLite query wrapped in code formatting as you requested:
```
SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3"
``` | 47,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)\n\n Question: Which Home has a Visitor of ny rangers, and a Series o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (score VARCHAR, series VARCHAR)
Question: Which Score has a Series of flyers lead 3–2?
Here is the SQLite query to answer to the question: Which Score has ... | Here is the SQLite query to answer the question about which Score has a Series of "flyers lead 3–2":
```
SELECT score FROM table_name_17 WHERE series = 'flyers lead 3–2';
``` | 47,211 | [
{
"from": "human",
"value": " 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 (score VARCHAR, series VARCHAR)\n\n Question: Which Score has a Series of flyers lead 3–2?\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_85 (decision VARCHAR, date VARCHAR)
Question: Which Decision has a Date of april 25?
Here is the SQLite query to answer to the question: Which Decision has a ... | Here is the SQLite query to answer the question regarding which Decision has a Date of April 25:
```
SELECT decision FROM table_name_85 WHERE date = "april 25";
``` | 47,212 | [
{
"from": "human",
"value": " 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 (decision VARCHAR, date VARCHAR)\n\n Question: Which Decision has a Date of april 25?\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_95 (decision VARCHAR, date VARCHAR)
Question: Which Decision has a Date of april 30?
Here is the SQLite query to answer to the question: Which Decision has a ... | Your SQLite query is correctly formed to retrieve the decision associated with the date "april 30". Here it is wrapped as requested:
```
SELECT decision FROM table_name_95 WHERE date = "april 30";
```
This query will return the `decision` for any record in `table_name_95` where the `date` field matches "april 30". | 47,213 | [
{
"from": "human",
"value": " 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 (decision VARCHAR, date VARCHAR)\n\n Question: Which Decision has a Date of april 30?\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_92 (home VARCHAR, series VARCHAR)
Question: Which Home has a Series of series tied 3–3?
Here is the SQLite query to answer to the question: Which Home has a S... | Here is the SQLite query to answer the question "Which Home has a Series of series tied 3–3?":
```
SELECT home FROM table_name_92 WHERE series = 'series tied 3–3';
``` | 47,214 | [
{
"from": "human",
"value": " 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 (home VARCHAR, series VARCHAR)\n\n Question: Which Home has a Series of series tied 3–3?\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_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR)
Question: Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
Here is th... | Here is the SQLite query to answer the question about the lowest earnings for events of 22 and a rank smaller than 4:
```
SELECT MIN(earnings___) AS lowest_earnings
FROM table_name_91
WHERE events = '22' AND rank < '4';
``` | 47,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR)\n\n Question: Events of 22, and a Rank smaller than 4 involved w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
Question: Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)?
Here is ... | Your SQLite query looks mostly correct, but it has a small error in the condition for the rank, because `rank` is a `VARCHAR`, and comparing it directly to an integer might not work as expected. To compare ranks properly as numeric values, you should convert the `rank` to an integer using the `CAST` function. Here is t... | 47,216 | [
{
"from": "human",
"value": " 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 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)\n\n Question: Player of corey pavin, and a Rank larger than 4 in... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (mascot VARCHAR, enrollment__2010_ VARCHAR, school VARCHAR)
Question: What is the mascot with an enrollment (2010) less than 980, and heritage as the school... | Here is the SQLite query to answer the question you provided:
```
SELECT mascot FROM table_name_20 WHERE enrollment__2010_ < 980 AND school = "heritage";
``` | 47,217 | [
{
"from": "human",
"value": " 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 (mascot VARCHAR, enrollment__2010_ VARCHAR, school VARCHAR)\n\n Question: What is the mascot with an enrollment (201... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)
Question: What is the class of the player with a weight of 242 pounds?
Here is the SQLite query to answer to the question: W... | Here is the corrected SQLite query to answer the question regarding the class of the player with a weight of 242 pounds:
```
SELECT class FROM table_name_9 WHERE weight = '242';
```
In SQLite, since the `weight` column is of type `VARCHAR`, the weight value should be enclosed in quotes to ensure it is treated as a st... | 47,218 | [
{
"from": "human",
"value": " 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 (class VARCHAR, weight VARCHAR)\n\n Question: What is the class of the player with a weight of 242 pounds?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (games VARCHAR, position VARCHAR)
Question: How many games were played by the player at FB?
Here is the SQLite query to answer to the question: How many ga... | Here is the corrected SQLite query to answer the question about how many games were played by the player at FB:
```sql
SELECT COUNT(games) AS games_played FROM table_name_18 WHERE position = 'FB';
```
Make sure to use the correct case for the position value depending on the data stored in your table (i.e., 'FB' or '... | 47,219 | [
{
"from": "human",
"value": " 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 (games VARCHAR, position VARCHAR)\n\n Question: How many games were played by the player at FB?\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 (name VARCHAR, round VARCHAR, pick__number VARCHAR)
Question: Which Name has a Round smaller than 5, and a Pick # larger than 13?
Here is the SQLite query ... | Here is the corrected SQLite query:
```sql
SELECT name FROM table_name_50 WHERE CAST(round AS INTEGER) < 5 AND CAST(pick__number AS INTEGER) > 13;
```
This query selects the `name` from `table_name_50` where the `round` is smaller than 5 and the `pick__number` is larger than 13, converting the `round` and `pick__numb... | 47,220 | [
{
"from": "human",
"value": " 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 (name VARCHAR, round VARCHAR, pick__number VARCHAR)\n\n Question: Which Name has a Round smaller than 5, and a Pick ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (pick__number VARCHAR, college VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which Pick # has a Round smaller than 6, and an Overall larger than 13, and... | Here is the SQLite query to answer the question:
```
SELECT pick__number FROM table_name_6 WHERE round < 6 AND overall > 13 AND college = "penn state"
``` | 47,221 | [
{
"from": "human",
"value": " 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 (pick__number VARCHAR, college VARCHAR, round VARCHAR, overall VARCHAR)\n\n Question: Which Pick # has a Round smalle... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (name VARCHAR, overall VARCHAR)
Question: Which Name has an Overall of 235?
Here is the SQLite query to answer to the question: Which Name has an Overall o... | Your SQLite query has a small issue regarding the comparison value in the WHERE clause, as the 'overall' column is defined as VARCHAR. You need to wrap the numeric value in single quotes to treat it as a string.
Here is the corrected SQLite query:
```
SELECT name FROM table_name_78 WHERE overall = '235';
``` | 47,222 | [
{
"from": "human",
"value": " 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 (name VARCHAR, overall VARCHAR)\n\n Question: Which Name has an Overall of 235?\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_15 (_number_of_cosponsors VARCHAR, date_introduced VARCHAR)
Question: How many cosponsors have a Date introduced of may 22, 2008?
Here is the SQLite query to ... | Here is the SQLite query to determine how many cosponsors have a date introduced of May 22, 2008:
```sql
SELECT COUNT(_number_of_cosponsors) FROM table_name_15 WHERE date_introduced = 'may 22, 2008';
``` | 47,223 | [
{
"from": "human",
"value": " 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 (_number_of_cosponsors VARCHAR, date_introduced VARCHAR)\n\n Question: How many cosponsors have a Date introduced of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (congress VARCHAR, _number_of_cosponsors VARCHAR)
Question: Which Congress has a # of cosponsors of 19?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question of which Congress has a number of cosponsors of 19:
```sql
SELECT congress FROM table_name_51 WHERE _number_of_cosponsors = '19'
``` | 47,224 | [
{
"from": "human",
"value": " 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 (congress VARCHAR, _number_of_cosponsors VARCHAR)\n\n Question: Which Congress has a # of cosponsors of 19?\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_32 (date VARCHAR, competition VARCHAR, venue VARCHAR)
Question: On what date was a friendly match held at Auckland?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the date of a friendly match held at Auckland:
```
SELECT date FROM table_name_32 WHERE competition = "friendly match" AND venue = "Auckland";
``` | 47,225 | [
{
"from": "human",
"value": " 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 (date VARCHAR, competition VARCHAR, venue VARCHAR)\n\n Question: On what date was a friendly match held at Auckland?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (goals VARCHAR, venue VARCHAR)
Question: What were the goals at Sydney?
Here is the SQLite query to answer to the question: What were the goals at Sydney?:... | Here is the SQLite query to answer the question: What were the goals at Sydney?:
```
SELECT goals FROM table_name_16 WHERE venue = "Sydney"
``` | 47,226 | [
{
"from": "human",
"value": " 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 (goals VARCHAR, venue VARCHAR)\n\n Question: What were the goals at Sydney?\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (sets_lost VARCHAR, sets_won INTEGER)
Question: How many sets lost have a sets won less than 0?
Here is the SQLite query to answer to the question: How man... | Here is the SQLite query to answer the question "How many sets lost have a sets won less than 0?":
```
SELECT COUNT(sets_lost) FROM table_name_15 WHERE sets_won < 0
``` | 47,227 | [
{
"from": "human",
"value": " 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 (sets_lost VARCHAR, sets_won INTEGER)\n\n Question: How many sets lost have a sets won less than 0?\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_89 (iata VARCHAR, city VARCHAR)
Question: What shows for IATA for the City of sapporo?
Here is the SQLite query to answer to the question: What shows for IATA... | Here is the SQLite query to answer the question about the IATA code for the city of Sapporo:
```
SELECT iata FROM table_name_89 WHERE city = "sapporo"
``` | 47,228 | [
{
"from": "human",
"value": " 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 (iata VARCHAR, city VARCHAR)\n\n Question: What shows for IATA for the City of sapporo?\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_72 (icao VARCHAR, iata VARCHAR)
Question: What is the ICAO when the IATA shows cts?
Here is the SQLite query to answer to the question: What is the ICAO when ... | Here is the SQLite query to answer the question "What is the ICAO when the IATA shows cts?":
```
SELECT icao FROM table_name_72 WHERE iata = "cts";
``` | 47,229 | [
{
"from": "human",
"value": " 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 (icao VARCHAR, iata VARCHAR)\n\n Question: What is the ICAO when the IATA shows cts?\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_98 (country VARCHAR, iata VARCHAR)
Question: What is the Country when the IATA shows cju?
Here is the SQLite query to answer to the question: What is the Coun... | Here is the SQLite query to answer the question about the country corresponding to the IATA code "cju":
```sql
SELECT country FROM table_name_98 WHERE iata = "cju";
``` | 47,230 | [
{
"from": "human",
"value": " 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 (country VARCHAR, iata VARCHAR)\n\n Question: What is the Country when the IATA shows cju?\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_2 (icao VARCHAR, iata VARCHAR)
Question: What is the ICAO when the IATA shows mfm?
Here is the SQLite query to answer to the question: What is the ICAO when t... | Your SQLite query is correctly written to retrieve the ICAO code for the IATA code "mfm". Here it is wrapped as requested:
```
SELECT icao FROM table_name_2 WHERE iata = "mfm";
``` | 47,231 | [
{
"from": "human",
"value": " 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 (icao VARCHAR, iata VARCHAR)\n\n Question: What is the ICAO when the IATA shows mfm?\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_73 (icao VARCHAR, country VARCHAR)
Question: What is the ICAO for Hong Kong?
Here is the SQLite query to answer to the question: What is the ICAO for Hong Kon... | Here is the SQLite query to answer the question: What is the ICAO for Hong Kong?:
```
SELECT icao FROM table_name_73 WHERE country = "Hong Kong";
``` | 47,232 | [
{
"from": "human",
"value": " 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 (icao VARCHAR, country VARCHAR)\n\n Question: What is the ICAO for Hong Kong?\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_56 (airport VARCHAR, icao VARCHAR)
Question: What is the Airport when the ICAO shows rpvm?
Here is the SQLite query to answer to the question: What is the Air... | Your SQLite query is correct. Here is how it looks wrapped in code formatting:
```
SELECT airport FROM table_name_56 WHERE icao = "rpvm";
``` | 47,233 | [
{
"from": "human",
"value": " 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 (airport VARCHAR, icao VARCHAR)\n\n Question: What is the Airport when the ICAO shows rpvm?\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_88 (goals_for INTEGER, draw VARCHAR, points VARCHAR)
Question: What is the lowest goals for value with fewer than 5 draws and under 70 points?
Here is the SQL... | Here is the SQLite query that answers the question regarding the lowest goals for value with fewer than 5 draws and under 70 points:
```
SELECT MIN(goals_for) FROM table_name_88 WHERE CAST(draw AS INTEGER) < 5 AND CAST(points AS INTEGER) < 70;
```
Make sure to cast the `draw` and `points` values to integers, since t... | 47,234 | [
{
"from": "human",
"value": " 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 (goals_for INTEGER, draw VARCHAR, points VARCHAR)\n\n Question: What is the lowest goals for value with fewer than 5... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (goals_against INTEGER, points VARCHAR, goal_difference VARCHAR)
Question: What is the lowest goals against value for a team with 83 points and a difference... | The SQLite query you provided is almost correct, but there is a small issue regarding the data type of the `points` column, which is defined as `VARCHAR`. Therefore, you need to compare it as a string. Here is the corrected query wrapped as requested:
```
SELECT MIN(goals_against) FROM table_name_31 WHERE points = '83... | 47,235 | [
{
"from": "human",
"value": " 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 (goals_against INTEGER, points VARCHAR, goal_difference VARCHAR)\n\n Question: What is the lowest goals against valu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (season INTEGER, position INTEGER)
Question: What is the earliest season that has a position over 12?
Here is the SQLite query to answer to the question: W... | Your query to find the earliest season that has a position over 12 is correct. Here it is wrapped in code as requested:
```
SELECT MIN(season) FROM table_name_80 WHERE position > 12;
``` | 47,236 | [
{
"from": "human",
"value": " 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 (season INTEGER, position INTEGER)\n\n Question: What is the earliest season that has a position over 12?\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_49 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR)
Question: What is the average goals for with a position under 12, draws over 1, a... | Here is the SQLite query to answer the question about the average goals for under the specified conditions:
```
SELECT AVG(goals_for) FROM table_name_49 WHERE position < 12 AND draw > 1 AND goals_against < 28
``` | 47,237 | [
{
"from": "human",
"value": " 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 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR)\n\n Question: What is the average goals f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (opponent VARCHAR, result VARCHAR)
Question: Who was the Opponent with a Result of l 17–24?
Here is the SQLite query to answer to the question: Who was the... | Here is the SQLite query to answer the question about who the opponent was with a result of "l 17–24":
```
SELECT opponent FROM table_name_78 WHERE result = 'l 17–24';
``` | 47,238 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, result VARCHAR)\n\n Question: Who was the Opponent with a Result of l 17–24?\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_31 (date VARCHAR, result VARCHAR)
Question: What Date has a Result of l 21–34?
Here is the SQLite query to answer to the question: What Date has a Result of l... | Here is the SQLite query to answer the question "What Date has a Result of l 21–34?":
```
SELECT date FROM table_name_31 WHERE result = "l 21–34";
``` | 47,239 | [
{
"from": "human",
"value": " 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 (date VARCHAR, result VARCHAR)\n\n Question: What Date has a Result of l 21–34?\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_85 (game_site VARCHAR, week VARCHAR, date VARCHAR)
Question: What Game Site has a Week smaller than 11, and a Date of october 21, 1973?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the Game Site with a Week smaller than 11 and a Date of October 21, 1973:
```
SELECT game_site FROM table_name_85 WHERE week < 11 AND date = "october 21, 1973"
``` | 47,240 | [
{
"from": "human",
"value": " 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 (game_site VARCHAR, week VARCHAR, date VARCHAR)\n\n Question: What Game Site has a Week smaller than 11, and a Date ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (week INTEGER, record VARCHAR)
Question: What is the value of the lowest Week with a Record of 2–9?
Here is the SQLite query to answer to the question: Wha... | Your SQLite query is correct for finding the lowest week with a record of "2–9". However, ensure the representation of the record corresponds exactly to the value in your database, as databases can be case-sensitive and also sensitive to whitespace.
Here’s the query formatted correctly:
```
SELECT MIN(week) FROM tabl... | 47,241 | [
{
"from": "human",
"value": " 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 (week INTEGER, record VARCHAR)\n\n Question: What is the value of the lowest Week with a Record of 2–9?\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_12 (opponent VARCHAR, week INTEGER)
Question: Who is the opponent for the game that occurred after week 13?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the opponent for the game that occurred after week 13:
```
SELECT opponent FROM table_name_12 WHERE week > 13
``` | 47,242 | [
{
"from": "human",
"value": " 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, week INTEGER)\n\n Question: Who is the opponent for the game that occurred after week 13?\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_3 (date VARCHAR, week VARCHAR)
Question: What day did the play on week 6?
Here is the SQLite query to answer to the question: What day did the play on week 6?... | Here is the SQLite query to answer the question "What day did the play on week 6?":
```
SELECT date FROM table_name_3 WHERE week = '6'
``` | 47,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)\n\n Question: What day did the play on week 6?\n\nHere is the SQLite query to answer to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (tournament VARCHAR)
Question: Which tournament had a 2009 result of 1R?
Here is the SQLite query to answer to the question: Which tournament had a 2009 re... | It looks like there is a slight issue with the provided SQL query. The query is trying to compare a numeric value (2009) to a string ("1r"), which doesn't align with usual database structuring. Assuming there is a column that stores results as well, we might need to reference that properly.
If we needed to structure t... | 47,244 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR)\n\n Question: Which tournament had a 2009 result of 1R?\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_64 (tournament VARCHAR)
Question: Which tournament had a 2010 result of QF and a 2012 result of SF?
Here is the SQLite query to answer to the question: Which ... | It seems there is a misunderstanding in your SQLite query. The schema provided suggests that there is only a single column `tournament` in the table, which does not directly include result years or their corresponding values.
If the intention was to track results per tournament across different years, we would likely ... | 47,245 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR)\n\n Question: Which tournament had a 2010 result of QF and a 2012 result of SF?\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_49 (tournament VARCHAR)
Question: Which tournament had a result in 2010 and 2012 of a?
Here is the SQLite query to answer to the question: Which tournament ha... | It seems there might be a misunderstanding about how to query the data based on the provided schema. The schema only indicates a single column named `tournament`, and there are no columns specified for results in different years.
To correctly answer the question, we would typically expect a schema that includes resul... | 47,246 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR)\n\n Question: Which tournament had a result in 2010 and 2012 of a?\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_73 (third VARCHAR, venue VARCHAR, round VARCHAR)
Question: Who was third during round 6 in Rybinsk?
Here is the SQLite query to answer to the question: Who wa... | Your SQLite query is correct. Here it is wrapped as you requested:
```
SELECT third FROM table_name_73 WHERE venue = "rybinsk" AND round = "6";
``` | 47,247 | [
{
"from": "human",
"value": " 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 (third VARCHAR, venue VARCHAR, round VARCHAR)\n\n Question: Who was third during round 6 in Rybinsk?\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_43 (third VARCHAR, round VARCHAR)
Question: Who was third in round 14?
Here is the SQLite query to answer to the question: Who was third in round 14?:
```
SEL... | Here is the SQLite query to answer the question: Who was third in round 14?:
```
SELECT third FROM table_name_43 WHERE round = "14";
``` | 47,248 | [
{
"from": "human",
"value": " 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 (third VARCHAR, round VARCHAR)\n\n Question: Who was third in round 14?\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_95 (venue VARCHAR, discipline VARCHAR)
Question: What was the venue with a 3.3km c prologue discipline?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the venue with a 3.3km c prologue discipline:
```
SELECT venue FROM table_name_95 WHERE discipline = "3.3km c prologue";
``` | 47,249 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, discipline VARCHAR)\n\n Question: What was the venue with a 3.3km c prologue discipline?\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_59 (winner VARCHAR, date VARCHAR)
Question: Who was the winner on 28 December 2007?
Here is the SQLite query to answer to the question: Who was the winner on ... | Here is the SQLite query to answer the question: Who was the winner on 28 December 2007?:
```
SELECT winner FROM table_name_59 WHERE date = "28 December 2007";
``` | 47,250 | [
{
"from": "human",
"value": " 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 (winner VARCHAR, date VARCHAR)\n\n Question: Who was the winner on 28 December 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_32 (third VARCHAR, discipline VARCHAR)
Question: Who was third at the 0.8km f sprint discipline?
Here is the SQLite query to answer to the question: Who was t... | Here is the SQLite query to answer the question: Who was third at the 0.8km f sprint discipline?:
```
SELECT third FROM table_name_32 WHERE discipline = '0.8km f sprint';
``` | 47,251 | [
{
"from": "human",
"value": " 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 (third VARCHAR, discipline VARCHAR)\n\n Question: Who was third at the 0.8km f sprint discipline?\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_18 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)
Question: What is the highest total cargo of an airport ranked larger than 19 ... | Here is the SQLite query to answer the question about the highest total cargo of an airport ranked larger than 19 with the code BKK/VTBS:
```
SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_18 WHERE code__iata_icao_ = "BKK/VTBS" AND rank > 19;
``` | 47,252 | [
{
"from": "human",
"value": " 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 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)\n\n Question: What is the highest tota... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (rank VARCHAR, code__iata_icao_ VARCHAR)
Question: What is the rank of the airport with the BKK/VTBS code?
Here is the SQLite query to answer to the questi... | It looks like there is a small issue with the format of the code you are looking for in the SQLite query. The IATA and ICAO codes are typically not written as "bkk/vtbs" but rather should be treated separately or in uppercase. Assuming the correct matching format is "BKK" or "VTBS", you might want to check for just one... | 47,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (rank VARCHAR, code__iata_icao_ VARCHAR)\n\n Question: What is the rank of the airport with the BKK/VTBS code?\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_16 (matches_as_champion INTEGER, rank VARCHAR)
Question: Which Matches has champion Rank of 5?
Here is the SQLite query to answer to the question: Which Match... | Your query looks close, but there are a couple of minor issues. The `rank` column is of type `VARCHAR`, so you should compare it with a string value. Furthermore, if you wish to get the matches with a champion rank of 5, you might actually want to select all the relevant matches instead of just the maximum.
Here's th... | 47,254 | [
{
"from": "human",
"value": " 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 (matches_as_champion INTEGER, rank VARCHAR)\n\n Question: Which Matches has champion Rank of 5?\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_6 (matches_as_champion INTEGER, title_last_held VARCHAR, rank VARCHAR)
Question: Which Matches is on 24 march 1963 with a Rank larger than 44?
Here is the SQL... | The SQLite query you provided has a small mistake; the field `title_last_held` appears to indicate titles rather than date values. Since the schema doesn't actually include date information, I assume the `title_last_held` field could refer to something related to "matches" or events.
Given that we need to filter for m... | 47,255 | [
{
"from": "human",
"value": " 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 (matches_as_champion INTEGER, title_last_held VARCHAR, rank VARCHAR)\n\n Question: Which Matches is on 24 march 1963 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (game VARCHAR, date VARCHAR)
Question: what game was on may 24
Here is the SQLite query to answer to the question: what game was on may 24:
```
SELECT game... | Here is the SQLite query to answer the question about what game was on May 24:
```
SELECT game FROM table_name_27 WHERE date = "may 24";
``` | 47,256 | [
{
"from": "human",
"value": " 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 (game VARCHAR, date VARCHAR)\n\n Question: what game was on may 24\n\nHere is the SQLite query to answer to the ques... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
Question: what game was on may 29
Here is the SQLite query to answer to the question: what game was on may 29:
```
SELECT res... | Here is the SQLite query to answer the question "what game was on May 29":
```
SELECT result FROM table_name_5 WHERE date = "may 29";
``` | 47,257 | [
{
"from": "human",
"value": " 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 (result VARCHAR, date VARCHAR)\n\n Question: what game was on may 29\n\nHere is the SQLite query to answer to the que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (home_team VARCHAR, date VARCHAR)
Question: what team played on may 20 on the home side
Here is the SQLite query to answer to the question: what team playe... | Your SQLite query is almost correct, but you may want to use single quotes for the date value according to standard SQL syntax. However, SQLite is generally flexible with the use of quotes. Here is the corrected version:
```sql
SELECT home_team FROM table_name_50 WHERE date = 'may 20';
``` | 47,258 | [
{
"from": "human",
"value": " 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 (home_team VARCHAR, date VARCHAR)\n\n Question: what team played on may 20 on the home side\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_24 (road_team VARCHAR, game VARCHAR)
Question: what team played in game 2
Here is the SQLite query to answer to the question: what team played in game 2:
```
... | Here is the SQLite query to answer the question: what team played in game 2:
```
SELECT road_team FROM table_name_24 WHERE game = "game 2"
``` | 47,259 | [
{
"from": "human",
"value": " 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 (road_team VARCHAR, game VARCHAR)\n\n Question: what team played in game 2\n\nHere is the SQLite query to answer to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (nicotine INTEGER, name VARCHAR)
Question: Which Raison Blue has the highest nicotine?
Here is the SQLite query to answer to the question: Which Raison Blu... | Here is the SQLite query to answer the question regarding which Raison Blue has the highest nicotine:
```
SELECT MAX(nicotine) FROM table_name_40 WHERE name = "raison blue";
``` | 47,260 | [
{
"from": "human",
"value": " 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 (nicotine INTEGER, name VARCHAR)\n\n Question: Which Raison Blue has the highest nicotine?\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_60 (quantity INTEGER, name VARCHAR, nicotine VARCHAR)
Question: For Raison Blue with a nicotine larger than 0.30000000000000004, what's the lowest quantity?
H... | Here is the SQLite query that answers the question regarding Raison Blue with a nicotine level greater than 0.30000000000000004, returning the lowest quantity:
```
SELECT MIN(quantity) FROM table_name_60 WHERE name = "Raison Blue" AND nicotine > 0.30000000000000004;
``` | 47,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (quantity INTEGER, name VARCHAR, nicotine VARCHAR)\n\n Question: For Raison Blue with a nicotine larger than 0.30000... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (result VARCHAR, film_title VARCHAR)
Question: What was the result for the fil Paljas?
Here is the SQLite query to answer to the question: What was the resu... | Here is the SQLite query to answer the question: What was the result for the film Paljas?:
```
SELECT result FROM table_name_1 WHERE film_title = "Paljas";
``` | 47,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (result VARCHAR, film_title VARCHAR)\n\n Question: What was the result for the fil Paljas?\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_10 (year VARCHAR, rank VARCHAR, name VARCHAR)
Question: In what year was the rank less than 6 for Damac Heights?
Here is the SQLite query to answer to the que... | The SQLite query you provided has a small issue related to data types, as `rank` should be treated as an integer to properly compare it to 6. Here is the corrected query:
```
SELECT year FROM table_name_10 WHERE CAST(rank AS INTEGER) < 6 AND name = "Damac Heights"
```
This query will return the years when the rank f... | 47,263 | [
{
"from": "human",
"value": " 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 (year VARCHAR, rank VARCHAR, name VARCHAR)\n\n Question: In what year was the rank less than 6 for Damac Heights?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)
Question: What is the height for rank greater than 10 in Tameer Tower?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the height for rank greater than 10 in Tameer Tower:
```
SELECT height_m__ft_ FROM table_name_77 WHERE rank > 10 AND name = "Tameer Tower"
``` | 47,264 | [
{
"from": "human",
"value": " 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 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)\n\n Question: What is the height for rank greater than 10 in Tam... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (year INTEGER, rank VARCHAR, floors VARCHAR)
Question: What was the earliest year with rank 20 and less than 60 floors?
Here is the SQLite query to answer ... | Your SQLite query is correctly formulated to answer the question regarding the earliest year with rank 20 and less than 60 floors. Here it is wrapped in the required formatting:
```
SELECT MIN(year) FROM table_name_65 WHERE rank = '20' AND floors < '60'
```
Note: It is important to ensure that the data types in your ... | 47,265 | [
{
"from": "human",
"value": " 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 (year INTEGER, rank VARCHAR, floors VARCHAR)\n\n Question: What was the earliest year with rank 20 and less than 60 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (floors INTEGER, rank VARCHAR, name VARCHAR)
Question: What is the highest floors with rank greater than 1 in Conrad Dubai?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the highest number of floors with a rank greater than 1 in Conrad Dubai:
```
SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "Conrad Dubai";
``` | 47,266 | [
{
"from": "human",
"value": " 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 (floors INTEGER, rank VARCHAR, name VARCHAR)\n\n Question: What is the highest floors with rank greater than 1 in Co... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)
Question: How many Laps have a Driver of satrio hermanto?
Here is the SQLite query to answer to the question: How many Laps ... | Your SQLite query to find the total number of laps for the driver "satrio hermanto" is correct. Here it is wrapped in the specified format:
```
SELECT SUM(laps) FROM table_name_76 WHERE driver = "satrio hermanto";
``` | 47,267 | [
{
"from": "human",
"value": " 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 (laps INTEGER, driver VARCHAR)\n\n Question: How many Laps have a Driver of satrio hermanto?\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_59 (time VARCHAR, grid VARCHAR)
Question: Which Time has a Grid of 19?
Here is the SQLite query to answer to the question: Which Time has a Grid of 19?:
```
S... | Here is the SQLite query to answer the question: Which Time has a Grid of 19?:
```sql
SELECT time FROM table_name_59 WHERE grid = '19';
``` | 47,268 | [
{
"from": "human",
"value": " 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 (time VARCHAR, grid VARCHAR)\n\n Question: Which Time has a Grid of 19?\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_42 (grid INTEGER, team VARCHAR, laps VARCHAR)
Question: Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
Here is the SQLite ... | Your query is correct for retrieving the lowest grid with a team of "germany" and laps smaller than 45. Here it is wrapped in code formatting as requested:
```
SELECT MIN(grid) FROM table_name_42 WHERE team = 'germany' AND laps < 45;
```
Note that I used single quotes for the string 'germany', as that is the standar... | 47,269 | [
{
"from": "human",
"value": " 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 (grid INTEGER, team VARCHAR, laps VARCHAR)\n\n Question: Which Grid is the lowest one that has a Team of germany, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (nfl_team VARCHAR, college VARCHAR)
Question: WHich team draft the player who went to college in Washington?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about which team drafted the player who went to college in Washington:
```
SELECT nfl_team FROM table_name_19 WHERE college = "Washington";
``` | 47,270 | [
{
"from": "human",
"value": " 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 (nfl_team VARCHAR, college VARCHAR)\n\n Question: WHich team draft the player who went to college in Washington?\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_34 (position VARCHAR, college VARCHAR)
Question: What position did the palyer drafted out of Washington play?
Here is the SQLite query to answer to the questi... | Your SQLite query to find the position of the player drafted out of Washington looks good. Here it is wrapped correctly:
```
SELECT position FROM table_name_34 WHERE college = "washington"
```
This query will retrieve the position of any player from the table `table_name_34` whose college is "Washington". Make sure ... | 47,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (position VARCHAR, college VARCHAR)\n\n Question: What position did the palyer drafted out of Washington play?\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_82 (gold INTEGER, bronze VARCHAR)
Question: What is the average number of Gold medals when there are 5 bronze medals?
Here is the SQLite query to answer to th... | It looks like there's a small mistake in your query. The `bronze` column is defined as a `VARCHAR`, which means it holds string values, not integers. To find the average number of Gold medals when there are 5 bronze medals, you should either compare against the proper string representation or convert the comparison app... | 47,272 | [
{
"from": "human",
"value": " 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 (gold INTEGER, bronze VARCHAR)\n\n Question: What is the average number of Gold medals when there are 5 bronze medal... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (bronze INTEGER, rank INTEGER)
Question: What is the highest amount of bronze medals when the rank was larger than 9?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the highest amount of bronze medals when the rank was larger than 9:
```
SELECT MAX(bronze) FROM table_name_46 WHERE rank > 9
``` | 47,273 | [
{
"from": "human",
"value": " 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 (bronze INTEGER, rank INTEGER)\n\n Question: What is the highest amount of bronze medals when the rank was larger th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the leowest number of Bronze medals for Jamaica who ranked l... | Here is the corrected SQLite query to answer the question regarding the lowest number of Bronze medals for Jamaica under the specified conditions:
```sql
SELECT MIN(bronze)
FROM table_name_75
WHERE nation = "jamaica"
AND rank < 4
AND silver > 0
AND total < "22";
```
Please note that `total` is a VARCHAR, s... | 47,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)\n\n Question: What is the leowest numb... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (_2_ribbons VARCHAR, nation VARCHAR, place VARCHAR)
Question: Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?
Here is th... | Your SQLite query has a few issues that need to be addressed. Specifically, the usage of `MAX` and the way to select the highest values for the fields you're interested in. Here's the corrected version:
```sql
SELECT _2_ribbons, MAX(3) AS _balls
FROM table_name_16
WHERE nation = 'bulgaria' AND place > 1
GROUP BY _2_r... | 47,275 | [
{
"from": "human",
"value": " 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 (_2_ribbons VARCHAR, nation VARCHAR, place VARCHAR)\n\n Question: Nation of bulgaria, and a Place larger than 1 had ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (place VARCHAR, total VARCHAR)
Question: 5 Hoops that has a Place larger than 7, and a Total larger than 38.525 had what sum?
Here is the SQLite query to a... | Your SQL query has a small issue with the syntax. You're trying to sum a constant value (5) instead of summing the results based on the conditions. Since you want to count the rows meeting the criteria and then multiply by 5 (which represents the "5 Hoops"), I would suggest using `COUNT(*)` for the number of qualifying... | 47,276 | [
{
"from": "human",
"value": " 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 (place VARCHAR, total VARCHAR)\n\n Question: 5 Hoops that has a Place larger than 7, and a Total larger than 38.525 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (voice_actor__japanese_ VARCHAR, character_name VARCHAR)
Question: what voice acter played tien
Here is the SQLite query to answer to the question: what vo... | Here is the SQLite query you requested, wrapped as specified:
```
SELECT voice_actor__japanese_ FROM table_name_59 WHERE character_name = "tien"
``` | 47,277 | [
{
"from": "human",
"value": " 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 (voice_actor__japanese_ VARCHAR, character_name VARCHAR)\n\n Question: what voice acter played tien\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_50 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR)
Question: what character did Laara sadiq play
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question: what character did Laara Sadiq play:
```
SELECT character_name FROM table_name_50 WHERE voice_actor__english_1998___pioneer_ = "Laara Sadiq";
``` | 47,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR)\n\n Question: what character did Laara sadiq ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
Question: what character did Masaharu satou play
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question: what character did Masaharu Satou play:
```
SELECT character_name FROM table_name_76 WHERE voice_actor__japanese_ = "Masaharu Satou"
``` | 47,279 | [
{
"from": "human",
"value": " 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 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)\n\n Question: what character did Masaharu satou play\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_36 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR)
Question: what character did dave ward play
Here is the SQLite q... | Here is the SQLite query to answer the question: what character did dave ward play:
```
SELECT voice_actor__english_1998___pioneer_ FROM table_name_36 WHERE voice_actor__english_1997___saban_ = "dave ward"
``` | 47,280 | [
{
"from": "human",
"value": " 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 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR)\n\n Question: what charac... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
Question: what character did naoko watanabe play
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about what character Naoko Watanabe played:
```
SELECT character_name FROM table_name_82 WHERE voice_actor__japanese_ = 'naoko watanabe';
``` | 47,281 | [
{
"from": "human",
"value": " 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 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)\n\n Question: what character did naoko watanabe play\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_51 (location VARCHAR, year VARCHAR)
Question: At what Location was Miss World 2009?
Here is the SQLite query to answer to the question: At what Location was M... | ```sql
SELECT location FROM table_name_51 WHERE year = '2009'
``` | 47,282 | [
{
"from": "human",
"value": " 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 (location VARCHAR, year VARCHAR)\n\n Question: At what Location was Miss World 2009?\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_79 (score VARCHAR, competition VARCHAR, date VARCHAR)
Question: What is the score of the 1996 Emarate cup on March 25, 1996?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the score of the 1996 Emarate cup on March 25, 1996:
```
SELECT score FROM table_name_79 WHERE competition = "1996 emarate cup" AND date = "march 25, 1996"
``` | 47,283 | [
{
"from": "human",
"value": " 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 (score VARCHAR, competition VARCHAR, date VARCHAR)\n\n Question: What is the score of the 1996 Emarate cup on March ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)
Question: Which competition was on August 11, 1996?
Here is the SQLite query to answer to the question: Which competiti... | Here is the SQLite query to answer the question: Which competition was on August 11, 1996?:
```
SELECT competition FROM table_name_42 WHERE date = "August 11, 1996";
``` | 47,284 | [
{
"from": "human",
"value": " 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 (competition VARCHAR, date VARCHAR)\n\n Question: Which competition was on August 11, 1996?\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_80 (competition VARCHAR, venue VARCHAR)
Question: Which competition was in Dubai?
Here is the SQLite query to answer to the question: Which competition was in... | Here is the SQLite query to answer the question: Which competition was in Dubai?:
```
SELECT competition FROM table_name_80 WHERE venue = "Dubai";
``` | 47,285 | [
{
"from": "human",
"value": " 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 (competition VARCHAR, venue VARCHAR)\n\n Question: Which competition was in Dubai?\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_75 (result VARCHAR, venue VARCHAR)
Question: What is the result of the match in Bangkok?
Here is the SQLite query to answer to the question: What is the resul... | Here is the SQLite query to answer the question about the result of the match in Bangkok:
```
SELECT result FROM table_name_75 WHERE venue = "Bangkok"
``` | 47,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (result VARCHAR, venue VARCHAR)\n\n Question: What is the result of the match in Bangkok?\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_44 (date VARCHAR, result VARCHAR)
Question: What is the date of the match with a result of 4-0?
Here is the SQLite query to answer to the question: What is th... | Here is the SQLite query to answer the question of what is the date of the match with a result of 4-0:
```
SELECT date FROM table_name_44 WHERE result = "4-0"
``` | 47,287 | [
{
"from": "human",
"value": " 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 (date VARCHAR, result VARCHAR)\n\n Question: What is the date of the match with a result of 4-0?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (score VARCHAR, result VARCHAR)
Question: What is the score of the match with a 4-0 result?
Here is the SQLite query to answer to the question: What is the... | Here is the SQLite query to answer the question about the score of the match with a 4-0 result:
```
SELECT score FROM table_name_39 WHERE result = "4-0";
``` | 47,288 | [
{
"from": "human",
"value": " 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 (score VARCHAR, result VARCHAR)\n\n Question: What is the score of the match with a 4-0 result?\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_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)
Question: Which name has an overall number of more than 164, when the ... | Here is the SQLite query to answer the question:
```
SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = "running back" AND round = 16
``` | 47,289 | [
{
"from": "human",
"value": " 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 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)\n\n Question: Which name has a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which college's round is more than 4, when the overall is less than 237 and Ted Co... | Your SQLite query is almost correct, but there are a couple of minor adjustments needed: you should ensure that the comparison for the `round` column is properly applied to the appropriate data type (since `round` might be a string based on the schema). Also, you should appropriately handle case sensitivity for the nam... | 47,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)\n\n Question: Which college's round is more than 4, ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (overall INTEGER, college VARCHAR)
Question: What is the smallest overall for Oregon State?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query wrapped in the requested format:
```
SELECT MIN(overall) FROM table_name_7 WHERE college = "oregon state";
``` | 47,291 | [
{
"from": "human",
"value": " 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 (overall INTEGER, college VARCHAR)\n\n Question: What is the smallest overall for Oregon State?\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_45 (class VARCHAR, position VARCHAR, name VARCHAR)
Question: What is the class of the qb, Josh Riddell?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding the class of the qb, Josh Riddell:
```
SELECT class FROM table_name_45 WHERE position = 'qb' AND name = 'Josh Riddell';
``` | 47,292 | [
{
"from": "human",
"value": " 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 (class VARCHAR, position VARCHAR, name VARCHAR)\n\n Question: What is the class of the qb, Josh Riddell?\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_45 (position VARCHAR, name VARCHAR)
Question: What position does Jamar Chaney play?
Here is the SQLite query to answer to the question: What position does Jam... | Here is the SQLite query to answer the question: What position does Jamar Chaney play?:
```
SELECT position FROM table_name_45 WHERE name = "Jamar Chaney";
``` | 47,293 | [
{
"from": "human",
"value": " 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 (position VARCHAR, name VARCHAR)\n\n Question: What position does Jamar Chaney play?\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_47 (hometown VARCHAR, name VARCHAR)
Question: What hometown is Kyle love from?
Here is the SQLite query to answer to the question: What hometown is Kyle love ... | ```sql
SELECT hometown FROM table_name_47 WHERE name = "kyle love";
``` | 47,294 | [
{
"from": "human",
"value": " 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 (hometown VARCHAR, name VARCHAR)\n\n Question: What hometown is Kyle love from?\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_59 (attendance INTEGER, home VARCHAR, points VARCHAR)
Question: Which Attendance has a Home of philadelphia, and Points smaller than 23?
Here is the SQLite qu... | The provided SQLite query looks good, but it's important to clarify that the query will sum the attendance of records that match the specified conditions. If your intention was simply to list the attendance values rather than summing them, you would want to select the attendance directly. Here’s the SQL query as per yo... | 47,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, points VARCHAR)\n\n Question: Which Attendance has a Home of philadelphia, and Po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (visitor VARCHAR, record VARCHAR)
Question: Which Visitor has a Record of 9–12–5?
Here is the SQLite query to answer to the question: Which Visitor has a R... | Your SQLite query to find which visitor has a record of "9–12–5" is correct. Here it is wrapped in code formatting:
```
SELECT visitor FROM table_name_71 WHERE record = "9–12–5";
``` | 47,296 | [
{
"from": "human",
"value": " 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 (visitor VARCHAR, record VARCHAR)\n\n Question: Which Visitor has a Record of 9–12–5?\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_76 (date VARCHAR, visitor VARCHAR)
Question: Which Date has a Visitor of boston?
Here is the SQLite query to answer to the question: Which Date has a Visitor ... | Here is the SQLite query to answer the question regarding which date has a visitor of "boston":
```sql
SELECT date FROM table_name_76 WHERE visitor = 'boston';
``` | 47,297 | [
{
"from": "human",
"value": " 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 (date VARCHAR, visitor VARCHAR)\n\n Question: Which Date has a Visitor of boston?\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_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the date for the grass surface final against Nathan Healey?
Here is the SQ... | Here is the SQLite query to answer the question about the date for the grass surface final against Nathan Healey:
```
SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "Nathan Healey";
``` | 47,298 | [
{
"from": "human",
"value": " 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 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What is the date for the grass surface ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the score of the final against Dane Propoggia?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the score of the final against Dane Propoggia:
```
SELECT score FROM table_name_72 WHERE opponent_in_the_final = "Dane Propoggia"
``` | 47,299 | [
{
"from": "human",
"value": " 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 (score VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What was the score of the final against Dane Propoggia?... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.