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_43 (wins VARCHAR, series VARCHAR, podiums VARCHAR)
Question: How many wins where there total for Series named formula 3 euro series as well as having more than... | Here's the SQLite query to answer the question about the total number of wins for the series named "formula 3 euro series" with more than 2 podiums:
```sql
SELECT SUM(wins) FROM table_name_43 WHERE series = "formula 3 euro series" AND podiums > 2
```
In the context of SQLite, ensure that the `wins` field can be summ... | 48,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_43 (wins VARCHAR, series VARCHAR, podiums VARCHAR)\n\n Question: How many wins where there total for Series named formu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (wins INTEGER, season VARCHAR, team VARCHAR)
Question: What is the largest amount of wins that was before the 2007 season, as well as the Team being silvers... | Here is the SQLite query to answer your question:
```
SELECT MAX(wins) FROM table_name_92 WHERE season < '2007' AND team = 'silverstone motorsport academy'
``` | 48,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_92 (wins INTEGER, season VARCHAR, team VARCHAR)\n\n Question: What is the largest amount of wins that was before the 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (season INTEGER, wins VARCHAR, podiums VARCHAR, races VARCHAR)
Question: What is the newest Season in which had 0 Podiums, and having 1 total of Races, as w... | Here is the corrected SQLite query based on your criteria:
```sql
SELECT MAX(season)
FROM table_name_65
WHERE podiums = '0' AND races = '1' AND CAST(wins AS INTEGER) > 0;
```
In this query:
- We ensure that `podiums` and `races` are compared as strings since they are defined as `VARCHAR` in the schema.
- We use `CA... | 48,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_65 (season INTEGER, wins VARCHAR, podiums VARCHAR, races VARCHAR)\n\n Question: What is the newest Season in which had ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (week VARCHAR, date VARCHAR)
Question: Name the week for december 4, 2009
Here is the SQLite query to answer to the question: Name the week for december 4,... | Here is the SQLite query to answer the question about naming the week for December 4, 2009:
```sql
SELECT week FROM table_name_80 WHERE date = "december 4, 2009";
``` | 48,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_80 (week VARCHAR, date VARCHAR)\n\n Question: Name the week for december 4, 2009\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_19 (opponent VARCHAR, record VARCHAR)
Question: Name the opponent with record of 6-2
Here is the SQLite query to answer to the question: Name the opponent wit... | Your provided SQLite query is correct. Here is the same query wrapped in the appropriate code formatting:
```
SELECT opponent FROM table_name_19 WHERE record = "6-2";
``` | 48,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_19 (opponent VARCHAR, record VARCHAR)\n\n Question: Name the opponent with record of 6-2\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_82 (opponent VARCHAR, result VARCHAR)
Question: Name the opponent with result of w 35-21
Here is the SQLite query to answer to the question: Name the opponent... | Here is the SQLite query to answer the question: Name the opponent with result of w 35-21:
```
SELECT opponent FROM table_name_82 WHERE result = "w 35-21";
``` | 48,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_82 (opponent VARCHAR, result VARCHAR)\n\n Question: Name the opponent with result of w 35-21\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_22 (date VARCHAR, result VARCHAR)
Question: Name the date with resultof w 35-7
Here is the SQLite query to answer to the question: Name the date with resultof... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_22 WHERE result = "w 35-7"
``` | 48,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_22 (date VARCHAR, result VARCHAR)\n\n Question: Name the date with resultof w 35-7\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_33 (date VARCHAR, record VARCHAR)
Question: Name the date with record of 3-1
Here is the SQLite query to answer to the question: Name the date with record of ... | Here is the SQLite query to answer the question of naming the date with a record of "3-1":
```
SELECT date FROM table_name_33 WHERE record = "3-1";
``` | 48,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_33 (date VARCHAR, record VARCHAR)\n\n Question: Name the date with record of 3-1\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_29 (week VARCHAR, date VARCHAR)
Question: Name the week for date of bye
Here is the SQLite query to answer to the question: Name the week for date of bye:
```... | Here is the SQLite query to answer the question: Name the week for date of bye:
```
SELECT week FROM table_name_29 WHERE date = "bye";
``` | 48,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_29 (week VARCHAR, date VARCHAR)\n\n Question: Name the week for date of bye\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_58 (friendly VARCHAR, germany VARCHAR)
Question: What is the friendly game for Germany of France?
Here is the SQLite query to answer to the question: What is ... | Here's the SQLite query to answer the question regarding the friendly game for Germany of France, formatted as you requested:
```
SELECT friendly FROM table_name_58 WHERE germany = "france"
``` | 48,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_58 (friendly VARCHAR, germany VARCHAR)\n\n Question: What is the friendly game for Germany of France?\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_84 (company VARCHAR, number VARCHAR, price VARCHAR)
Question: What company is numbered larger than 5 and priced at $389M?
Here is the SQLite query to answer t... | Here is the corrected SQLite query to answer the question about which company has a number larger than 5 and is priced at $389M:
```
SELECT company FROM table_name_84 WHERE CAST(number AS INTEGER) > 5 AND price = '$389M';
```
This query casts the `number` column to an integer for comparison and uses single quotes fo... | 48,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_84 (company VARCHAR, number VARCHAR, price VARCHAR)\n\n Question: What company is numbered larger than 5 and priced at ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)
Question: Which category was william ivey long a nominee and nominated in?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding which category William Ivey Long was a nominee and nominated in:
```
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"
``` | 48,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_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)\n\n Question: Which category was william ivey long a nominee and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (half_life VARCHAR, discovery_year VARCHAR)
Question: What is the half-life discovered in 2003?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question about the half-life discovered in 2003:
```
SELECT half_life FROM table_name_22 WHERE discovery_year = "2003";
``` | 48,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_22 (half_life VARCHAR, discovery_year VARCHAR)\n\n Question: What is the half-life discovered in 2003?\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_28 (decay_mode VARCHAR, discovery_year VARCHAR, isotope VARCHAR)
Question: What is the decay mode of the 265m hs isotope discovered in 1984?
Here is the SQLit... | Here is the SQLite query to answer the question about the decay mode of the 265m hs isotope discovered in 1984:
```
SELECT decay_mode FROM table_name_28 WHERE discovery_year = "1984" AND isotope = "265m hs";
``` | 48,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_28 (decay_mode VARCHAR, discovery_year VARCHAR, isotope VARCHAR)\n\n Question: What is the decay mode of the 265m hs is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: What is the Frequency MHz of Trinidad, Colorado?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the Frequency MHz of Trinidad, Colorado:
```
SELECT frequency_mhz FROM table_name_6 WHERE city_of_license = "Trinidad, Colorado";
``` | 48,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_6 (frequency_mhz VARCHAR, city_of_license VARCHAR)\n\n Question: What is the Frequency MHz of Trinidad, Colorado?\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_76 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR)
Question: What city of license has an ERP W smaller than 500, Class A, and Fr... | Your SQLite query looks good! However, please note that the `frequency_mhz` column is defined as a `VARCHAR`, which means it will be treated as a string. To compare numeric values correctly, you might want to cast it to a numeric type if the data is stored as strings. Here’s the revised query that ensures proper compar... | 48,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_76 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR)\n\n Question: What city of license ha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (capacity INTEGER, team VARCHAR)
Question: What is the smallest capacity for Fandok?
Here is the SQLite query to answer to the question: What is the smalle... | Here is the SQLite query to answer the question: What is the smallest capacity for Fandok?:
```
SELECT MIN(capacity) FROM table_name_84 WHERE team = "fandok";
``` | 48,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_84 (capacity INTEGER, team VARCHAR)\n\n Question: What is the smallest capacity for Fandok?\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_99 (pick__number INTEGER, overall VARCHAR, position VARCHAR)
Question: What is the highest pick number of a defensive back with less than 136 overall points?
... | Here is the SQLite query to answer the question regarding the highest pick number of a defensive back with less than 136 overall points:
```sql
SELECT MAX(pick__number) FROM table_name_99 WHERE overall < 136 AND position = "defensive back";
``` | 48,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_99 (pick__number INTEGER, overall VARCHAR, position VARCHAR)\n\n Question: What is the highest pick number of a defensi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (pick__number INTEGER, name VARCHAR)
Question: What is the lowest pick number of John Scully?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer the question regarding the lowest pick number of John Scully:
```
SELECT MIN(pick__number) FROM table_name_45 WHERE name = "John Scully";
``` | 48,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_45 (pick__number INTEGER, name VARCHAR)\n\n Question: What is the lowest pick number of John Scully?\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_28 (points VARCHAR, games INTEGER)
Question: What is the total points with less than 5 games?
Here is the SQLite query to answer to the question: What is the ... | Your query is very close, but if you want to calculate the total points, you need to sum the points instead of counting the number of points. However, since the `points` column is defined as `VARCHAR`, you will need to convert it to an integer for the summation. Here is the corrected query to calculate the total points... | 48,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_28 (points VARCHAR, games INTEGER)\n\n Question: What is the total points with less than 5 games?\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_34 (outcome VARCHAR, venue VARCHAR)
Question: What was the outcome for the India Open?
Here is the SQLite query to answer to the question: What was the outcom... | Here is the SQLite query to answer the question about the outcome for the India Open:
```
SELECT outcome FROM table_name_34 WHERE venue = "India Open";
``` | 48,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_34 (outcome VARCHAR, venue VARCHAR)\n\n Question: What was the outcome for the India Open?\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_16 (outcome VARCHAR, year VARCHAR, venue VARCHAR)
Question: What was the Outcome at the 1985 India Open?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer your question about the outcome at the 1985 India Open:
```
SELECT outcome FROM table_name_16 WHERE year = "1985" AND venue = "India Open";
``` | 48,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_16 (outcome VARCHAR, year VARCHAR, venue VARCHAR)\n\n Question: What was the Outcome at the 1985 India Open?\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_88 (outcome VARCHAR, partner VARCHAR, year VARCHAR)
Question: What was the outcome in 1982 with Kang Haeng-Suk as partner?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the outcome in 1982 with Kang Haeng-Suk as partner:
```
SELECT outcome FROM table_name_88 WHERE partner = "Kang Haeng-Suk" AND year = "1982"
``` | 48,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_88 (outcome VARCHAR, partner VARCHAR, year VARCHAR)\n\n Question: What was the outcome in 1982 with Kang Haeng-Suk as p... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (party VARCHAR, first_elected VARCHAR, district VARCHAR)
Question: Which Party has a First elected smaller than 1878, and a District of south carolina 3?
He... | Your SQLite query to find the party with a first elected year smaller than 1878 and belonging to the district of "south carolina 3" looks good. Here’s how you can present it:
```
SELECT party FROM table_name_4 WHERE first_elected < 1878 AND district = 'south carolina 3';
```
Just ensure that the `first_elected` colum... | 48,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_4 (party VARCHAR, first_elected VARCHAR, district VARCHAR)\n\n Question: Which Party has a First elected smaller 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_6 (result VARCHAR, first_elected VARCHAR, district VARCHAR)
Question: Which Result has a First elected of 1876, and a District of south carolina 3?
Here is th... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_name_6 WHERE first_elected = '1876' AND district = 'south carolina 3';
``` | 48,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_6 (result VARCHAR, first_elected VARCHAR, district VARCHAR)\n\n Question: Which Result has a First elected of 1876, and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
Question: Which Result has a First elected larger than 1876, and an Incumbent of john s. richards... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_name_98 WHERE first_elected > 1876 AND incumbent = "john s. richardson"
``` | 48,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_98 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)\n\n Question: Which Result has a First elected larger tha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: Who is the incumbent that is a republican and first elected before 1864?
Here is the SQ... | Here is the SQLite query to answer the question regarding the incumbent who is a Republican and was first elected before 1864:
```
SELECT incumbent FROM table_name_73 WHERE party = "republican" AND first_elected < 1864
``` | 48,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_73 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)\n\n Question: Who is the incumbent that is a republican an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (district VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: What district is the democratic Francis C. Le Blond from?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the district of the democratic Francis C. Le Blond:
```
SELECT district FROM table_name_69 WHERE party = "democratic" AND incumbent = "francis c. le blond";
``` | 48,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_69 (district VARCHAR, party VARCHAR, incumbent VARCHAR)\n\n Question: What district is the democratic Francis C. Le Blo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR)
Question: In the Ohio 4 district, that is the first elected date that has a result of re-elected?
... | The provided query seems to confuse summing `first_elected` with finding the minimum date when a candidate was re-elected. To find the first elected date with a result of "re-elected" in the Ohio 4 district, you should use the `MIN` function instead of `SUM`.
Here is the corrected SQLite query:
```sql
SELECT MIN(fir... | 48,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_66 (first_elected INTEGER, result VARCHAR, district VARCHAR)\n\n Question: In the Ohio 4 district, that is the first el... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (party VARCHAR, district VARCHAR)
Question: What is the party in Ohio 6 District?
Here is the SQLite query to answer to the question: What is the party in ... | Here is the SQLite query to answer the question: What is the party in Ohio 6 District?:
```
SELECT party FROM table_name_68 WHERE district = "Ohio 6";
``` | 48,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_68 (party VARCHAR, district VARCHAR)\n\n Question: What is the party in Ohio 6 District?\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_24 (to_par VARCHAR, year VARCHAR)
Question: Which To par has a Year of 1994?
Here is the SQLite query to answer to the question: Which To par has a Year of 19... | Here is the corrected SQLite query to answer the question about which `to_par` has a `Year` of 1994:
```sql
SELECT to_par FROM table_name_24 WHERE year = '1994';
```
Note that the year should be enclosed in quotes since it is stored as a VARCHAR. | 48,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_24 (to_par VARCHAR, year VARCHAR)\n\n Question: Which To par has a Year of 1994?\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_91 (country VARCHAR, margin_of_victory VARCHAR)
Question: Which Country has a Margin of victory of 2 strokes?
Here is the SQLite query to answer to the questi... | ```sql
SELECT country FROM table_name_91 WHERE margin_of_victory = '2 strokes';
``` | 48,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_91 (country VARCHAR, margin_of_victory VARCHAR)\n\n Question: Which Country has a Margin of victory of 2 strokes?\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_93 (year INTEGER, to_par VARCHAR)
Question: Which Year is the lowest one that has a To par of –1?
Here is the SQLite query to answer to the question: Which Ye... | Here is the SQLite query to answer the question about which year is the lowest one that has a To par of –1:
```sql
SELECT MIN(year) FROM table_name_93 WHERE to_par = "-1"
```
(Note: I've replaced the dash character in "–1" with a regular hyphen "-" for standard representation in SQL.) | 48,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_93 (year INTEGER, to_par VARCHAR)\n\n Question: Which Year is the lowest one that has a To par of –1?\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_25 (margin_of_victory VARCHAR, year VARCHAR, to_par VARCHAR, score VARCHAR)
Question: Which Margin of victory has a Year larger than 1994, and a To par of –14,... | Your SQLite query has a small issue with the calculation of the score. In SQL, you should not use arithmetic operations in the `WHERE` clause to check for a specific string value. Instead, you should directly compare the `score` column to the string "69-67-69-69=274".
Here is the corrected SQLite query:
```sql
SELEC... | 48,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_25 (margin_of_victory VARCHAR, year VARCHAR, to_par VARCHAR, score VARCHAR)\n\n Question: Which Margin of victory 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_37 (record VARCHAR, location VARCHAR)
Question: What was the record after the game at the Astrodome?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question "What was the record after the game at the Astrodome?":
```sql
SELECT record FROM table_name_37 WHERE location = "Astrodome";
``` | 48,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_37 (record VARCHAR, location VARCHAR)\n\n Question: What was the record after the game at the Astrodome?\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_98 (record VARCHAR, opponent VARCHAR)
Question: What was the record after the game against the Houston Oilers?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the record after the game against the Houston Oilers:
```
SELECT record FROM table_name_98 WHERE opponent = "houston oilers";
``` | 48,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_98 (record VARCHAR, opponent VARCHAR)\n\n Question: What was the record after the game against the Houston Oilers?\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_71 (total INTEGER, nation VARCHAR, e_score VARCHAR)
Question: What is the average total score of Belarus, which had an E score less than 8.2?
Here is the SQLi... | Here is the SQLite query to answer the question regarding the average total score of Belarus with an E score less than 8.2:
```
SELECT AVG(total) FROM table_name_71 WHERE nation = "belarus" AND e_score < 8.2;
``` | 48,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_71 (total INTEGER, nation VARCHAR, e_score VARCHAR)\n\n Question: What is the average total score of Belarus, which had... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)
Question: What is the total of the team with a T score greater than 8 and an E score less than 8.4?
Here ... | Here is the SQLite query to answer the question:
```
SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4;
``` | 48,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_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)\n\n Question: What is the total of the team with a T score greater... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (t_score VARCHAR, e_score VARCHAR)
Question: What is the T score of the team with an E score of 6.625?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query that answers the question regarding the T score of the team with an E score of 6.625:
```
SELECT t_score FROM table_name_52 WHERE e_score = '6.625'
```
Note: Since the `e_score` column is defined as `VARCHAR`, the value `6.625` should be treated as a string and enclosed in single quotes. | 48,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_52 (t_score VARCHAR, e_score VARCHAR)\n\n Question: What is the T score of the team with an E score of 6.625?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)
Question: What is the total of Poland, which has an E score greater than 7.725?
Here is the SQLite query t... | The query you provided is almost correct, but there is a small issue. You should select the `total` for Poland where the `e_score` is greater than 7.725, and you are trying to count it. If the `total` is a text value, you might want to sum it instead or just retrieve the specific entry if that's what you need.
If you ... | 48,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_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)\n\n Question: What is the total of Poland, which has an E score gre... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (total INTEGER, t_score INTEGER)
Question: What is the total of the team with a T score less than 6.8?
Here is the SQLite query to answer to the question: ... | Your provided SQLite query is correct for fetching the total of the team with a T score less than 6.8. Here’s the formatted query:
```
SELECT SUM(total) FROM table_name_88 WHERE t_score < 6.8;
```
This query sums the `total` column for all rows in `table_name_88` where the `t_score` is less than 6.8. | 48,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_88 (total INTEGER, t_score INTEGER)\n\n Question: What is the total of the team with a T score less than 6.8?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)
Question: What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmand... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu"
``` | 48,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_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)\n\n Question: What date has a competition of 2012 afc challenge c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)
Question: What opposition do 31.1% of Social Democrats have?
Here is the SQLite query to answer to the q... | It looks like you want to retrieve the opposition that corresponds to 31.1% of Social Democrats. However, your query syntax has a small issue since the condition should match the value exactly rather than using a wildcard "%" which is typically used in LIKE clauses. Assuming the value is stored exactly as "31.1", the f... | 48,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_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)\n\n Question: What opposition do 31.1% of Social Democrats have?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)
Question: Which Position has a Round larger than 14, and a School/Club Team of north texas?
Her... | Your SQLite query is correct for the given question. Here it is again, formatted appropriately:
```
SELECT position FROM table_name_22 WHERE round > 14 AND school_club_team = "north texas";
``` | 48,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_22 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)\n\n Question: Which Position has a Round larger than 14,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (round VARCHAR, player VARCHAR)
Question: Which Round has a Player of anthony christnovich?
Here is the SQLite query to answer to the question: Which Round... | Here is the SQLite query to answer the question regarding which Round has a Player of anthony christnovich:
```
SELECT round FROM table_name_72 WHERE player = "anthony christnovich";
``` | 48,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_72 (round VARCHAR, player VARCHAR)\n\n Question: Which Round has a Player of anthony christnovich?\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_20 (round INTEGER, school_club_team VARCHAR)
Question: Which Round is the lowest one that has a School/Club Team of virginia?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about the lowest round that has a School/Club Team of "virginia":
```
SELECT MIN(round) FROM table_name_20 WHERE school_club_team = 'virginia';
``` | 48,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_20 (round INTEGER, school_club_team VARCHAR)\n\n Question: Which Round is the lowest one that has a School/Club Team of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (leading_scorer VARCHAR, date VARCHAR)
Question: What is the name of the leading scorer on 2006-11-22?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the name of the leading scorer on 2006-11-22:
```
SELECT leading_scorer FROM table_name_5 WHERE date = "2006-11-22";
``` | 48,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_5 (leading_scorer VARCHAR, date VARCHAR)\n\n Question: What is the name of the leading scorer on 2006-11-22?\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 (leading_scorer VARCHAR, record VARCHAR)
Question: What is the name of the leading scorer when the record was 9–6?
Here is the SQLite query to answer to th... | Your SQLite query is correct for retrieving the name of the leading scorer when the record was 9–6. Here's the formatted query:
```
SELECT leading_scorer FROM table_name_18 WHERE record = "9–6";
``` | 48,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_18 (leading_scorer VARCHAR, record VARCHAR)\n\n Question: What is the name of the leading scorer when the record was 9–... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What is the number of people in Attendance when Visitor was the warriors on 2006-11-04?
Here ... | To count the number of people in Attendance when the Visitor was the "warriors" on "2006-11-04", you would want to modify the query to use the `COUNT` function. Here’s the corrected SQLite query:
```
SELECT COUNT(attendance) AS number_of_attendance
FROM table_name_40
WHERE visitor = "warriors" AND date = "2006-11-04... | 48,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_40 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)\n\n Question: What is the number of people in Attendance when Vi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (visitor VARCHAR, date VARCHAR)
Question: What is the name of the visitor on 2006-11-04?
Here is the SQLite query to answer to the question: What is the na... | Here is the SQLite query to answer the question about the name of the visitor on 2006-11-04:
```
SELECT visitor FROM table_name_46 WHERE date = "2006-11-04"
``` | 48,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_46 (visitor VARCHAR, date VARCHAR)\n\n Question: What is the name of the visitor on 2006-11-04?\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 (leading_scorer VARCHAR, score VARCHAR)
Question: What is the name of the Leading scorer when the Score was 89–102?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the name of the leading scorer when the score was 89–102:
```
SELECT leading_scorer FROM table_name_59 WHERE score = "89–102";
``` | 48,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 (leading_scorer VARCHAR, score VARCHAR)\n\n Question: What is the name of the Leading scorer when the Score was 89–1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (population INTEGER, town VARCHAR)
Question: How many people live in Norton?
Here is the SQLite query to answer to the question: How many people live in Nor... | Your SQLite query to find out how many people live in Norton is almost correct, but keep in mind that the town name may need to be case-sensitive, depending on how it's stored in the database. Here’s the corrected version:
```sql
SELECT SUM(population) FROM table_name_1 WHERE town = "Norton";
```
In this case, make ... | 48,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_1 (population INTEGER, town VARCHAR)\n\n Question: How many people live in Norton?\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 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR)
Question: Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definiti... | Here is the SQLite query to answer the question regarding the year with a borough of Harrogate, a rank smaller than 6, and a definition of civil parish:
```sql
SELECT year FROM table_name_59 WHERE borough = "harrogate" AND rank < 6 AND definition = "civil parish";
``` | 48,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_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR)\n\n Question: Which Year has a Borough of harrogat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (definition VARCHAR, rank VARCHAR, town VARCHAR)
Question: Which Definition has a Rank smaller than 12, and a Town of tadcaster?
Here is the SQLite query t... | Your SQLite query looks almost perfect! However, be cautious with the data type of the `rank` field. If `rank` is of type VARCHAR, you might need to ensure that the comparison is done correctly, since comparisons between strings may not yield the expected numeric results.
Assuming you're treating `rank` as a numeric ... | 48,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_63 (definition VARCHAR, rank VARCHAR, town VARCHAR)\n\n Question: Which Definition has a Rank smaller than 12, and a To... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (rank INTEGER, borough VARCHAR, population VARCHAR)
Question: Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than... | Your provided query has a small syntax error and also an issue with the way you're comparing the population. In SQLite, the `population` field is defined as a VARCHAR, so you need to cast it to an integer to perform a numeric comparison. Also, the use of `OFFSET` is not correct in this context. Here's the corrected que... | 48,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 (rank INTEGER, borough VARCHAR, population VARCHAR)\n\n Question: Which Rank is the lowest one that has a Borough of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (bronze VARCHAR, nation VARCHAR)
Question: How many bronze medals did Bulgaria receive?
Here is the SQLite query to answer to the question: How many bronze ... | The query you provided will retrieve the bronze medal counts, but it won't provide the count of how many bronze medals Bulgaria received. You need to use the `COUNT` function to get the total number of bronze medals. Here’s the corrected SQLite query:
```
SELECT COUNT(bronze) AS total_bronze_medals FROM table_name_1 W... | 48,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_1 (bronze VARCHAR, nation VARCHAR)\n\n Question: How many bronze medals did Bulgaria receive?\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_28 (to_par VARCHAR, player VARCHAR)
Question: What was Phil Mickelson's score to par?
Here is the SQLite query to answer to the question: What was Phil Mickel... | Here is the SQLite query you can use to find Phil Mickelson's score to par:
```
SELECT to_par FROM table_name_28 WHERE player = "Phil Mickelson"
``` | 48,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_28 (to_par VARCHAR, player VARCHAR)\n\n Question: What was Phil Mickelson's score to par?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (name VARCHAR, overall VARCHAR, round VARCHAR)
Question: What name has an overall less than 268, and 1 as the round?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about which name has an overall less than 268 and round equal to 1:
```
SELECT name FROM table_name_98 WHERE overall < 268 AND round = '1'
``` | 48,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_98 (name VARCHAR, overall VARCHAR, round VARCHAR)\n\n Question: What name has an overall less than 268, and 1 as the ro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (pick__number VARCHAR, name VARCHAR, round VARCHAR)
Question: How many pick #'s have james britt as the name, with a round greater than 2?
Here is the SQLi... | Here is the SQLite query to answer the question about how many pick #'s have "james britt" as the name, with a round greater than 2:
```
SELECT COUNT(pick__number) FROM table_name_91 WHERE name = "james britt" AND round > 2
``` | 48,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_91 (pick__number VARCHAR, name VARCHAR, round VARCHAR)\n\n Question: How many pick #'s have james britt as the name, wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR)
Question: what is the score on november 15
Here is the SQLite query to answer to the question: what is the score on november ... | Here is the SQLite query to answer the question regarding the score on November 15:
```
SELECT score FROM table_name_66 WHERE date = "november 15";
``` | 48,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_66 (score VARCHAR, date VARCHAR)\n\n Question: what is the score on november 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_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)
Question: Which Wins is the highest one that has a Country of united states, and a Player of a... | Your query is almost correct, but in SQLite, the `rank` column is a `VARCHAR`, so you should use the correct comparison for a string comparison of the rank values. Assuming the rank values are numerical strings (e.g., "1", "2", "3"), you can cast the rank to an integer for proper comparison. Here's the corrected query ... | 48,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_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)\n\n Question: Which Wins is the highest one that 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_23 (country VARCHAR, rank VARCHAR)
Question: Which Country has a Rank of 5?
Here is the SQLite query to answer to the question: Which Country has a Rank of 5?... | Here is the SQLite query to answer the question: Which Country has a Rank of 5?:
```
SELECT country FROM table_name_23 WHERE rank = '5'
``` | 48,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_23 (country VARCHAR, rank VARCHAR)\n\n Question: Which Country has a Rank of 5?\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_12 (earnings___ INTEGER, rank INTEGER)
Question: Which Earnings ($) is the lowest one that has a Rank smaller than 1?
Here is the SQLite query to answer to th... | Here is your SQLite query to find the lowest earnings that have a rank smaller than 1, wrapped as you requested:
```
SELECT MIN(earnings___) AS lowest_earnings FROM table_name_12 WHERE rank < 1
``` | 48,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_12 (earnings___ INTEGER, rank INTEGER)\n\n Question: Which Earnings ($) is the lowest one that has a Rank smaller than ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What is the score of the game on September 13 when the Expos were the opponent?
Here is the SQLit... | Here is the SQLite query to answer the question regarding the score of the game on September 13 when the Expos were the opponent:
```
SELECT score FROM table_name_49 WHERE opponent = "Expos" AND date = "September 13";
``` | 48,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_49 (score VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: What is the score of the game on September 13 when the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent on the September 3 game?
Here is the SQLite query to answer to the question: Who was the op... | Here is the SQLite query to answer the question of who was the opponent on the September 3 game:
```sql
SELECT opponent FROM table_name_38 WHERE date = 'September 3';
``` | 48,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_38 (opponent VARCHAR, date VARCHAR)\n\n Question: Who was the opponent on the September 3 game?\n\nHere is the SQLite q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (save VARCHAR, date VARCHAR)
Question: What is the save of the game on September 15?
Here is the SQLite query to answer to the question: What is the save o... | Here is the SQLite query to answer the question about the save of the game on September 15:
```
SELECT save FROM table_name_92 WHERE date = "September 15";
``` | 48,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_92 (save VARCHAR, date VARCHAR)\n\n Question: What is the save of the game on September 15?\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_44 (game_site VARCHAR, week INTEGER)
Question: Which Game site has a Week larger than 14?
Here is the SQLite query to answer to the question: Which Game site ... | Here is the SQLite query to answer the question of which game site has a Week larger than 14:
```
SELECT game_site FROM table_name_44 WHERE week > 14
``` | 48,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_44 (game_site VARCHAR, week INTEGER)\n\n Question: Which Game site has a Week larger than 14?\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_27 (date VARCHAR, game_site VARCHAR)
Question: Which Date has a Game site of jeppesen stadium?
Here is the SQLite query to answer to the question: Which Date ... | Here is the SQLite query to answer the question regarding which Date has a Game site of jeppesen stadium:
```
SELECT date FROM table_name_27 WHERE game_site = 'jeppesen stadium';
``` | 48,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_27 (date VARCHAR, game_site VARCHAR)\n\n Question: Which Date has a Game site of jeppesen stadium?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR)
Question: Which Game site has 27,189 Attendances ?
Here is the SQLite query to answer to the question: Which Game ... | Your provided SQLite query is correct for the question you're asking. Here it is wrapped in the requested code block:
```
SELECT game_site FROM table_name_99 WHERE attendance = "27,189";
``` | 48,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_99 (game_site VARCHAR, attendance VARCHAR)\n\n Question: Which Game site has 27,189 Attendances ?\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_35 (date VARCHAR, attendance VARCHAR)
Question: When is it has 15,557 Attendances?
Here is the SQLite query to answer to the question: When is it has 15,557 A... | Here is the SQLite query to answer the question regarding when there were 15,557 attendances:
```
SELECT date FROM table_name_35 WHERE attendance = "15,557"
``` | 48,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_35 (date VARCHAR, attendance VARCHAR)\n\n Question: When is it has 15,557 Attendances?\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_36 (round INTEGER, name VARCHAR, overall VARCHAR)
Question: With an Overall less than 171, what is the Round pick of Lance Moon?
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding the Round pick of Lance Moon with an Overall less than 171:
```
SELECT MIN(round) FROM table_name_36 WHERE name = "Lance Moon" AND overall < 171
``` | 48,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_36 (round INTEGER, name VARCHAR, overall VARCHAR)\n\n Question: With an Overall less than 171, what is the Round pick o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (name VARCHAR, pick__number VARCHAR)
Question: What is the Name of draft Pick #10?
Here is the SQLite query to answer to the question: What is the Name of ... | Here is the SQLite query to answer the question "What is the Name of draft Pick #10?":
```
SELECT name FROM table_name_19 WHERE pick__number = '10';
``` | 48,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_19 (name VARCHAR, pick__number VARCHAR)\n\n Question: What is the Name of draft Pick #10?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (round VARCHAR, position VARCHAR)
Question: How many Rounds have a Defensive End Pick?
Here is the SQLite query to answer to the question: How many Rounds ... | Your SQLite query looks almost correct. However, to ensure that you're specifically counting distinct rounds that have at least one "Defensive End" pick, you might want to use the `DISTINCT` keyword. Here’s the revised query:
```
SELECT COUNT(DISTINCT round) FROM table_name_16 WHERE position = "defensive end"
```
Th... | 48,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_16 (round VARCHAR, position VARCHAR)\n\n Question: How many Rounds have a Defensive End Pick?\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_57 (time VARCHAR, opponent VARCHAR)
Question: What was the time when Shinya Aoki was the opponent?
Here is the SQLite query to answer to the question: What wa... | Here's the SQLite query you're looking for:
```
SELECT time FROM table_name_57 WHERE opponent = "Shinya Aoki"
``` | 48,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_57 (time VARCHAR, opponent VARCHAR)\n\n Question: What was the time when Shinya Aoki was the opponent?\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 (method VARCHAR, round VARCHAR, record VARCHAR)
Question: Which method was used in round 1 with a record of 1-0?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about which method was used in round 1 with a record of 1-0:
```sql
SELECT method FROM table_name_89 WHERE round = '1' AND record = '1-0';
``` | 48,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_89 (method VARCHAR, round VARCHAR, record VARCHAR)\n\n Question: Which method was used in round 1 with a record of 1-0?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (rank VARCHAR, team VARCHAR, points VARCHAR)
Question: Which rank has a team of Suzuki with under 16 points?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Which rank has a team of Suzuki with under 16 points?:
```
SELECT rank FROM table_name_96 WHERE team = "Suzuki" AND points < 16;
``` | 48,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_96 (rank VARCHAR, team VARCHAR, points VARCHAR)\n\n Question: Which rank has a team of Suzuki with under 16 points?\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_79 (class VARCHAR, rank VARCHAR)
Question: Which class has a rank of 5th?
Here is the SQLite query to answer to the question: Which class has a rank of 5th?:
... | Here is the SQLite query to answer the question: Which class has a rank of 5th?:
```sql
SELECT class FROM table_name_79 WHERE rank = '5th';
``` | 48,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_79 (class VARCHAR, rank VARCHAR)\n\n Question: Which class has a rank of 5th?\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_88 (team VARCHAR, class VARCHAR, rank VARCHAR)
Question: Which team has a class of 500cc and rank of 16th?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question:
```
SELECT team FROM table_name_88 WHERE class = "500cc" AND rank = "16th";
``` | 48,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_88 (team VARCHAR, class VARCHAR, rank VARCHAR)\n\n Question: Which team has a class of 500cc and rank of 16th?\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_90 (team VARCHAR, points VARCHAR, rank VARCHAR)
Question: Which team has 16 points and ranks 14th?
Here is the SQLite query to answer to the question: Which t... | Here is the SQLite query to answer the question: Which team has 16 points and ranks 14th?:
```
SELECT team FROM table_name_90 WHERE points = '16' AND rank = '14th';
``` | 48,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_90 (team VARCHAR, points VARCHAR, rank VARCHAR)\n\n Question: Which team has 16 points and ranks 14th?\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_68 (dance VARCHAR, worst_dancer_s_ VARCHAR, worst_score VARCHAR)
Question: What is the dance that has priscilla presley is the worst dancer(s), and the worst s... | Here is the SQLite query to answer the question:
```
SELECT dance FROM table_name_68 WHERE worst_dancer_s_ = "priscilla presley" AND worst_score = "21"
``` | 48,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_68 (dance VARCHAR, worst_dancer_s_ VARCHAR, worst_score VARCHAR)\n\n Question: What is the dance that has priscilla pre... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (best_score VARCHAR, dance VARCHAR)
Question: What is the best score of the dance freestyle?
Here is the SQLite query to answer to the question: What is th... | The SQLite query to find the best score of the dance freestyle is as follows:
```
SELECT best_score FROM table_name_30 WHERE dance = "freestyle"
``` | 48,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_30 (best_score VARCHAR, dance VARCHAR)\n\n Question: What is the best score of the dance freestyle?\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_52 (dance VARCHAR, worst_dancer_s_ VARCHAR)
Question: Which dance has the worst dancer(s) as marissa jaret winokur?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding which dance has the worst dancer(s) as Marissa Jaret Winokur:
```
SELECT dance FROM table_name_52 WHERE worst_dancer_s_ = "marissa jaret winokur"
``` | 48,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_52 (dance VARCHAR, worst_dancer_s_ VARCHAR)\n\n Question: Which dance has the worst dancer(s) as marissa jaret winokur?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (points INTEGER, opponent VARCHAR)
Question: Which Points have an Opponent of vancouver canucks?
Here is the SQLite query to answer to the question: Which ... | Here is the SQLite query to answer the question: Which Points have an Opponent of vancouver canucks?:
```
SELECT points FROM table_name_91 WHERE opponent = "vancouver canucks"
``` | 48,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_91 (points INTEGER, opponent VARCHAR)\n\n Question: Which Points have an Opponent of vancouver canucks?\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_80 (points VARCHAR, score VARCHAR)
Question: How many Points have a Score of 3–0?
Here is the SQLite query to answer to the question: How many Points have a S... | Here is the SQLite query to answer the question about how many Points have a Score of 3–0:
```sql
SELECT COUNT(points) FROM table_name_80 WHERE score = '3–0';
``` | 48,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_80 (points VARCHAR, score VARCHAR)\n\n Question: How many Points have a Score of 3–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_5 (game INTEGER, opponent VARCHAR, points VARCHAR, october VARCHAR)
Question: Which Game has Points smaller than 10, and an October larger than 12, and an Oppo... | Your query is almost correct, but it appears you're trying to sum the game numbers. Typically, you would just want to retrieve the game number(s) that meet the specified conditions instead of summing them. If the goal is to get each game that matches the criteria, you might want to use a `SELECT` statement without `SUM... | 48,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_5 (game INTEGER, opponent VARCHAR, points VARCHAR, october VARCHAR)\n\n Question: Which Game has Points smaller than 10... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (record VARCHAR, points VARCHAR, score VARCHAR)
Question: Which Record has Points larger than 0, and a Score of 7–3?
Here is the SQLite query to answer to ... | Here is the correct SQLite query to answer the question:
```
SELECT record FROM table_name_96 WHERE points > 0 AND score = '7–3';
```
Make sure to use single quotes for string literals in SQL. | 48,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_96 (record VARCHAR, points VARCHAR, score VARCHAR)\n\n Question: Which Record has Points larger than 0, and a Score of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (date VARCHAR, game INTEGER)
Question: On what date was the game more than 5?
Here is the SQLite query to answer to the question: On what date was the game... | Here is the SQLite query to answer the question "On what date was the game more than 5?":
```
SELECT date FROM table_name_23 WHERE game > 5;
``` | 48,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_23 (date VARCHAR, game INTEGER)\n\n Question: On what date was the game more than 5?\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_4 (series VARCHAR, date VARCHAR)
Question: Which series was on May 16?
Here is the SQLite query to answer to the question: Which series was on May 16?:
```
SE... | Here is the SQLite query to answer the question "Which series was on May 16?":
```
SELECT series FROM table_name_4 WHERE date = "May 16";
``` | 48,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_4 (series VARCHAR, date VARCHAR)\n\n Question: Which series was on May 16?\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_92 (date VARCHAR, jurisdiction VARCHAR)
Question: Name the date for oregon jurisdiction
Here is the SQLite query to answer to the question: Name the date for ... | Here is the SQLite query to answer the question of naming the date for the Oregon jurisdiction:
```sql
SELECT date FROM table_name_92 WHERE jurisdiction = 'oregon';
``` | 48,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_92 (date VARCHAR, jurisdiction VARCHAR)\n\n Question: Name the date for oregon jurisdiction\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_21 (john_b_anderson VARCHAR, phil_crane VARCHAR, ronald_reagan VARCHAR)
Question: Name the john b. anderson for ronald reagan of 43% and phil crane of 0%
Here... | Here is the SQLite query to answer the question:
```
SELECT john_b_anderson FROM table_name_21 WHERE phil_crane = "0%" AND ronald_reagan = "43%"
``` | 48,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_21 (john_b_anderson VARCHAR, phil_crane VARCHAR, ronald_reagan VARCHAR)\n\n Question: Name the john b. anderson for ron... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (howard_baker VARCHAR, george_h_w_bush VARCHAR)
Question: Name the howard bake when bush had 66%
Here is the SQLite query to answer to the question: Name t... | Here is the corrected SQLite query to answer the question "Name the howard bake when bush had 66%":
```
SELECT howard_baker FROM table_name_64 WHERE george_h_w_bush = '66%';
``` | 48,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_64 (howard_baker VARCHAR, george_h_w_bush VARCHAR)\n\n Question: Name the howard bake when bush had 66%\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_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)
Question: Name the george bush for ronald reagan of 43%
Here is the SQLite query to answer to the question... | Your SQLite query is almost correct. However, the percentage symbol (%) is used in SQL as a wildcard character for the `LIKE` operator, not directly in an equality check. To search for values that end with "43%", you should use the `LIKE` operator. Here's the corrected query:
```
SELECT george_h_w_bush FROM table_name... | 48,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_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)\n\n Question: Name the george bush for ronald reagan of 43%\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (howard_baker VARCHAR, ronald_reagan VARCHAR)
Question: Name the howard baker for ronald reagan of 72%
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question "Name the howard baker for ronald reagan of 72%":
```
SELECT howard_baker FROM table_name_46 WHERE ronald_reagan = "72%"
``` | 48,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_46 (howard_baker VARCHAR, ronald_reagan VARCHAR)\n\n Question: Name the howard baker for ronald reagan of 72%\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (goals INTEGER, season VARCHAR)
Question: What is the sum of goals for the 2004/05 Season?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to answer the question regarding the sum of goals for the 2004/05 season:
```
SELECT SUM(goals) FROM table_name_48 WHERE season = "2004/05";
``` | 48,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_48 (goals INTEGER, season VARCHAR)\n\n Question: What is the sum of goals for the 2004/05 Season?\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_86 (caps INTEGER, club VARCHAR)
Question: What is the lowest caps for the Club of SBV Excelsior?
Here is the SQLite query to answer to the question: What is t... | Your SQLite query is correct. Here's the query wrapped in code format:
```
SELECT MIN(caps) FROM table_name_86 WHERE club = "sbv excelsior";
``` | 48,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_86 (caps INTEGER, club VARCHAR)\n\n Question: What is the lowest caps for the Club of SBV Excelsior?\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_35 (season VARCHAR, caps VARCHAR, club VARCHAR)
Question: Which season has Caps lower than 36 for the Club of NAC Breda?
Here is the SQLite query to answer to... | Here is the SQLite query wrapped in the code format as requested:
```
SELECT season FROM table_name_35 WHERE caps < 36 AND club = "NAC Breda";
``` | 48,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_35 (season VARCHAR, caps VARCHAR, club VARCHAR)\n\n Question: Which season has Caps lower than 36 for the Club of NAC B... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (opponents_in_the_final VARCHAR, partner VARCHAR)
Question: Which Opponents in the final have a Partner of daniella dominikovic?
Here is the SQLite query t... | Here is the SQLite query to answer the question:
```
SELECT opponents_in_the_final FROM table_name_91 WHERE partner = "daniella dominikovic";
``` | 48,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_91 (opponents_in_the_final VARCHAR, partner VARCHAR)\n\n Question: Which Opponents in the final have a Partner of danie... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (date VARCHAR, partner VARCHAR)
Question: Which Date has a Partner of daniella dominikovic?
Here is the SQLite query to answer to the question: Which Date ... | Here is the SQLite query to answer the question about which date has a partner of daniella dominikovic:
```
SELECT date FROM table_name_33 WHERE partner = "daniella dominikovic";
``` | 48,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_33 (date VARCHAR, partner VARCHAR)\n\n Question: Which Date has a Partner of daniella dominikovic?\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_89 (surface VARCHAR, partner VARCHAR)
Question: Which Surface has a Partner of pemra özgen?
Here is the SQLite query to answer to the question: Which Surface ... | Your SQLite query is correctly structured to answer the question you posed. Here it is wrapped in the specified format:
```
SELECT surface FROM table_name_89 WHERE partner = "pemra özgen";
``` | 48,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_89 (surface VARCHAR, partner VARCHAR)\n\n Question: Which Surface has a Partner of pemra özgen?\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 (date VARCHAR, opponents_in_the_final VARCHAR)
Question: Which Date has Opponents in the final of valeria casillo lilly raffa?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the date with opponents in the final of "valeria casillo lilly raffa":
```
SELECT date FROM table_name_59 WHERE opponents_in_the_final = "valeria casillo lilly raffa"
``` | 48,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_59 (date VARCHAR, opponents_in_the_final VARCHAR)\n\n Question: Which Date has Opponents in the final of valeria casill... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.