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_24 (game VARCHAR, score VARCHAR)
Question: How many games had a score of l 91–95 (ot)?
Here is the SQLite query to answer to the question: How many games had ... | Your provided SQLite query is correct for counting the number of games with a specific score. Here it is wrapped in code format:
```
SELECT COUNT(game) FROM table_name_24 WHERE score = "l 91–95 (ot)";
```
This query selects the count of entries in the `table_name_24` table where the score matches "l 91–95 (ot)". | 10,800 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (game VARCHAR, score VARCHAR)\n\n Question: How many games had a score of l 91–95 (ot)?\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_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR)
Question: What is the name of the player for the 2010-2011 season, from a Free Agenc... | Here is the SQLite query to answer the question regarding the player for the 2010-2011 season, from Free Agency and is Number 14:
```
SELECT name FROM table_name_13 WHERE season = "2010-2011" AND acquisition_via = "Free Agency" AND number = "14"
``` | 10,801 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR)\n\n Question: What is the name of the player... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)
Question: Which season had a trade with the school/club team La Salle?
Here is the SQLit... | Here is the SQLite query to answer the question regarding which season had a trade with the school/club team La Salle:
```
SELECT season FROM table_name_5 WHERE acquisition_via = "trade" AND school_club_team = "La Salle";
``` | 10,802 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)\n\n Question: Which season had a trade with 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_26 (position VARCHAR, season VARCHAR, number VARCHAR)
Question: Who is the position for the 2009-2010 season, number 1?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question: Who is the position for the 2009-2010 season, number 1?:
```
SELECT position FROM table_name_26 WHERE season = "2009-2010" AND number = "1";
``` | 10,803 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (position VARCHAR, season VARCHAR, number VARCHAR)\n\n Question: Who is the position for the 2009-2010 season, numbe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (name VARCHAR, position VARCHAR, season VARCHAR)
Question: What is the name for the forward in the 2009-2010 season?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the name for the forward in the 2009-2010 season:
```
SELECT name FROM table_name_63 WHERE position = "forward" AND season = "2009-2010"
``` | 10,804 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (name VARCHAR, position VARCHAR, season VARCHAR)\n\n Question: What is the name for the forward in the 2009-2010 sea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (number VARCHAR, position VARCHAR, school_club_team VARCHAR)
Question: What is the number for the forward position from the school/club team La Salle?
Here... | Here is the SQLite query to answer the question:
```
SELECT number FROM table_name_90 WHERE position = "forward" AND school_club_team = "La Salle";
``` | 10,805 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (number VARCHAR, position VARCHAR, school_club_team VARCHAR)\n\n Question: What is the number for the forward positi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (position VARCHAR, school_club_team VARCHAR)
Question: Who is the position from the school/club Far Eastern?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the position from the school/club Far Eastern:
```sql
SELECT position FROM table_name_73 WHERE school_club_team = "Far Eastern";
``` | 10,806 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (position VARCHAR, school_club_team VARCHAR)\n\n Question: Who is the position from the school/club Far Eastern?\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_64 (games_played INTEGER, points VARCHAR, draws VARCHAR, loses VARCHAR)
Question: What is the highest number of games played for teams with 3 draws, 5 losses, ... | Here is the SQLite query to answer the question:
```
SELECT MAX(games_played) FROM table_name_64 WHERE draws = '3' AND loses = '5' AND points < '39';
```
Please note that in this query, the `points`, `draws`, and `loses` fields are treated as strings since they are defined as `VARCHAR` in the schema. Thus, we are ch... | 10,807 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (games_played INTEGER, points VARCHAR, draws VARCHAR, loses VARCHAR)\n\n Question: What is the highest number of gam... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (loses INTEGER, draws VARCHAR, points VARCHAR)
Question: What is the highest number of losses for teams with under 3 draws and 51 points?
Here is the SQLit... | Your SQLite query needs a little adjustment to correctly evaluate the conditions based on the data types. Since `draws` is defined as a `VARCHAR`, you should convert it to an integer for comparison. Here's the corrected version of the query:
```
SELECT MAX(loses)
FROM table_name_49
WHERE CAST(draws AS INTEGER) < 3 A... | 10,808 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (loses INTEGER, draws VARCHAR, points VARCHAR)\n\n Question: What is the highest number of losses for teams with und... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)
Question: Tell me the record for a time in seconds smaller than 5.22.
Here is the SQLite query to answer to the qu... | Your SQLite query is correct. Here it is wrapped in code format:
```
SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22
``` | 10,809 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)\n\n Question: Tell me the record for a time in seconds smaller than 5.22.\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (sport VARCHAR, date VARCHAR)
Question: What sport was played on November 14, 2009?
Here is the SQLite query to answer to the question: What sport was play... | Here is the SQLite query to answer the question about what sport was played on November 14, 2009:
```
SELECT sport FROM table_name_27 WHERE date = "November 14, 2009";
``` | 10,810 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (sport VARCHAR, date VARCHAR)\n\n Question: What sport was played on November 14, 2009?\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_20 (visitor VARCHAR, record VARCHAR)
Question: Whose Visitor has a Record of 3–18?
Here is the SQLite query to answer to the question: Whose Visitor has a Rec... | Here is the SQLite query to answer the question: Whose Visitor has a Record of 3–18?:
```
SELECT visitor FROM table_name_20 WHERE record = '3–18';
``` | 10,811 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (visitor VARCHAR, record VARCHAR)\n\n Question: Whose Visitor has a Record of 3–18?\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_48 (date VARCHAR, leading_scorer VARCHAR)
Question: When has a Leading scorer of ricky davis (20)?
Here is the SQLite query to answer to the question: When ha... | The SQLite query you've provided is mostly correct, but it seems unnecessary to include the number "(20)" if you are only checking for the leading scorer's name "ricky davis." However, if "(20)" is indeed part of the leading scorer's designation in your database, then your query is appropriate. Here's the formatted que... | 10,812 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (date VARCHAR, leading_scorer VARCHAR)\n\n Question: When has a Leading scorer of ricky davis (20)?\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_79 (home VARCHAR, leading_scorer VARCHAR, score VARCHAR)
Question: Which Home has a Leading scorer of dajuan wagner (25) and a Score of 89–82? Question 3
Her... | Here is the SQLite query to answer the question regarding which Home has a Leading scorer of dajuan wagner (25) and a Score of 89–82:
```
SELECT home FROM table_name_79 WHERE leading_scorer = "dajuan wagner (25)" AND score = "89–82";
``` | 10,813 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (home VARCHAR, leading_scorer VARCHAR, score VARCHAR)\n\n Question: Which Home has a Leading scorer of dajuan wagne... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (date VARCHAR, visitor VARCHAR)
Question: When has a Visitor of bulls?
Here is the SQLite query to answer to the question: When has a Visitor of bulls?:
```... | Here is the SQLite query to answer the question: When has a Visitor of bulls?:
```
SELECT date FROM table_name_1 WHERE visitor = "bulls"
``` | 10,814 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (date VARCHAR, visitor VARCHAR)\n\n Question: When has a Visitor of bulls?\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR)
Question: Which Visitor has a Home of bulls?
Here is the SQLite query to answer to the question: Which Visitor has a Home o... | Here is the SQLite query to answer the question: Which Visitor has a Home of bulls?:
```
SELECT visitor FROM table_name_64 WHERE home = "bulls";
``` | 10,815 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR)\n\n Question: Which Visitor has a Home of bulls?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (home VARCHAR, date VARCHAR)
Question: WHich Home is on 14 december 2002?
Here is the SQLite query to answer to the question: WHich Home is on 14 december ... | Here is the SQLite query to answer the question "Which Home is on 14 December 2002?":
```
SELECT home FROM table_name_18 WHERE date = "14 december 2002";
``` | 10,816 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (home VARCHAR, date VARCHAR)\n\n Question: WHich Home is on 14 december 2002?\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_1 (profession VARCHAR, name VARCHAR, entered_the_house VARCHAR, evicted VARCHAR)
Question: What is the profession of Skaj Vikler, who entered the house on day ... | Here is the SQLite query to answer the question about the profession of Skaj Vikler:
```
SELECT profession FROM table_name_1 WHERE entered_the_house = "day 1" AND evicted = "day 29" AND name = "Skaj Vikler"
``` | 10,817 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (profession VARCHAR, name VARCHAR, entered_the_house VARCHAR, evicted VARCHAR)\n\n Question: What is the profession o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (profession VARCHAR, city VARCHAR)
Question: What is the profession of the housemate from Leskovac city?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the profession of the housemate from Leskovac city:
```sql
SELECT profession FROM table_name_90 WHERE city = "Leskovac";
``` | 10,818 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (profession VARCHAR, city VARCHAR)\n\n Question: What is the profession of the housemate from Leskovac city?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (entered_the_house VARCHAR, evicted VARCHAR, name VARCHAR)
Question: When did slađana pejić, who was evicted on day 29, enter the house?
Here is the SQLite... | Here's the SQLite query you can use to retrieve the entry date for "slađana pejić" who was evicted on "day 29":
```
SELECT entered_the_house FROM table_name_82 WHERE evicted = "day 29" AND name = "slađana pejić"
``` | 10,819 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (entered_the_house VARCHAR, evicted VARCHAR, name VARCHAR)\n\n Question: When did slađana pejić, who was evicted on ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (profession VARCHAR, name VARCHAR)
Question: What is slađana pejić's profession?
Here is the SQLite query to answer to the question: What is slađana pejić's... | Here is the SQLite query to answer the question: What is slađana pejić's profession?:
```
SELECT profession FROM table_name_4 WHERE name = "slađana pejić"
``` | 10,820 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (profession VARCHAR, name VARCHAR)\n\n Question: What is slađana pejić's profession?\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_84 (city VARCHAR, entered_the_house VARCHAR, profession VARCHAR)
Question: What city is the housemate who entered the house on day 1 and whose profession was a... | Here is the SQLite query to answer the question:
```
SELECT city FROM table_name_84 WHERE entered_the_house = "day 1" AND profession = "tv presenter"
``` | 10,821 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (city VARCHAR, entered_the_house VARCHAR, profession VARCHAR)\n\n Question: What city is the housemate who entered t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR)
Question: What is the profession of the housemate from Leskovac city?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the profession of the housemate from Leskovac city:
```sql
SELECT profession FROM table_name_87 WHERE city = 'Leskovac';
``` | 10,822 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR)\n\n Question: What is the profession of the housemate from Leskovac city?\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_93 (home VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR)
Question: What is the home team of the UEFA cup in the 2000-2001 season with a second rou... | Your SQLite query to find the home team of the UEFA cup in the 2000-2001 season with a second round is correctly structured. Here it is wrapped in code format:
```
SELECT home FROM table_name_93 WHERE competition = "uefa cup" AND season = "2000-2001" AND round = "second round";
``` | 10,823 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (home VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR)\n\n Question: What is the home team of the UEFA c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (away VARCHAR, competition VARCHAR)
Question: What is the away team of the UEFA champions league?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question:
```
SELECT away FROM table_name_67 WHERE competition = "uefa champions league"
``` | 10,824 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (away VARCHAR, competition VARCHAR)\n\n Question: What is the away team of the UEFA champions league?\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_90 (position VARCHAR, league VARCHAR, season VARCHAR)
Question: Which Position has a League of southern league premier division, and a Season of 2004–05?
Here... | Your SQLite query is correctly structured to retrieve the desired information. Here it is wrapped as requested:
```
SELECT position FROM table_name_90 WHERE league = "southern league premier division" AND season = "2004–05";
``` | 10,825 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (position VARCHAR, league VARCHAR, season VARCHAR)\n\n Question: Which Position has a League of southern league prem... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (draw INTEGER, season VARCHAR, points VARCHAR)
Question: Which Draw has a Season of 2001–02, and Points larger than 47?
Here is the SQLite query to answer ... | Your query aims to find the sum of draws for a specific season and points condition. However, it seems the original question is likely asking for the specific draws that meet the criteria instead of their sum.
Here’s the corrected query to find the draws that have a Season of 2001–02 and Points larger than 47:
```
SE... | 10,826 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (draw INTEGER, season VARCHAR, points VARCHAR)\n\n Question: Which Draw has a Season of 2001–02, and Points larger t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (lost INTEGER, season VARCHAR, points VARCHAR)
Question: Which Lost is the highest one that has a Season of 2001–02, and Points larger than 47?
Here is the... | Here is the SQLite query to answer the question:
```
SELECT MAX(lost) FROM table_name_58 WHERE season = '2001–02' AND points > '47'
``` | 10,827 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (lost INTEGER, season VARCHAR, points VARCHAR)\n\n Question: Which Lost is the highest one that has a Season of 2001... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, nation VARCHAR, total VARCHAR, rank VARCHAR)
Question: How many bronze numbers had a total of more than 4 when the rank is ... | Here's the corrected SQLite query to answer the specified question:
```sql
SELECT COUNT(bronze)
FROM table_name_67
WHERE CAST(total AS INTEGER) > 4
AND CAST(rank AS INTEGER) < 4
AND nation = 'germany'
AND CAST(silver AS INTEGER) < 5;
```
This query takes into account that the columns `total`, `rank`, and ... | 10,828 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, nation VARCHAR, total VARCHAR, rank VARCHAR)\n\n Question: How many bronze numbers ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR)
Question: Which Place has Phil Mickelson as the Player?
Here is the SQLite query to answer to the question: Which Place has... | Here is the SQLite query to answer the question: Which Place has Phil Mickelson as the Player?:
```
SELECT place FROM table_name_67 WHERE player = "Phil Mickelson"
``` | 10,829 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR)\n\n Question: Which Place has Phil Mickelson as the Player?\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_62 (to_par VARCHAR, player VARCHAR)
Question: What is the To Par for Player Chris Riley?
Here is the SQLite query to answer to the question: What is the To Pa... | ```sql
SELECT to_par FROM table_name_62 WHERE player = "Chris Riley";
``` | 10,830 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR)\n\n Question: What is the To Par for Player Chris Riley?\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_33 (player VARCHAR, place VARCHAR, country VARCHAR)
Question: Which Player has a Place of T2 and a Country listed as Fiji?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question about which player has a place of T2 and a country listed as Fiji:
```
SELECT player FROM table_name_33 WHERE place = "T2" AND country = "Fiji"
``` | 10,831 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)\n\n Question: Which Player has a Place of T2 and a Country listed a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR)
Question: What is the average Height when the weight is less than 91 and the... | Here is the SQLite query formatted as requested:
```
SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = "d" AND birthdate = "july 4, 1975"
``` | 10,832 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR)\n\n Question: What is the average He... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (weight__kg_ INTEGER, birthplace VARCHAR)
Question: What is the sum of Weight for the person born in virginia, minnesota?
Here is the SQLite query to answe... | Your SQLite query is correct for summing the weights of persons born in "virginia, minnesota". Here it is wrapped in the code block as requested:
```
SELECT SUM(weight__kg_) FROM table_name_39 WHERE birthplace = "virginia, minnesota";
```
This query will return the total weight of all individuals from that specific ... | 10,833 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (weight__kg_ INTEGER, birthplace VARCHAR)\n\n Question: What is the sum of Weight for the person born in virginia, m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
Question: What is the Birthdate for the person with a height less than 191, and weight of 84 k... | Here is the SQLite query to answer the question about the Birthdate for the person with a height less than 191 cm and weight of 84 kg:
```
SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = '84'
```
Note: In SQL, numerical values can often be compared directly, but since the fields are VAR... | 10,834 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)\n\n Question: What is the Birthdate for the person wit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (position VARCHAR, birthplace VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
Question: What is the Position with a height of less than 183, and a weight... | Here is the SQLite query to answer the question:
```
SELECT position FROM table_name_73 WHERE height__cm_ < 183 AND weight__kg_ < 91 AND birthplace = "bloomington, minnesota"
``` | 10,835 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (position VARCHAR, birthplace VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)\n\n Question: What is the Position ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (claimant VARCHAR, rank VARCHAR)
Question: Which claimant's rank is 200?
Here is the SQLite query to answer to the question: Which claimant's rank is 200?:
... | Here is the SQLite query to answer the question: Which claimant's rank is 200?:
```
SELECT claimant FROM table_name_7 WHERE rank = '200'
```
**Note:** The rank is defined as a VARCHAR in the schema, so '200' should be in quotes to match the data type. | 10,836 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (claimant VARCHAR, rank VARCHAR)\n\n Question: Which claimant's rank is 200?\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_46 (highest_point VARCHAR, country VARCHAR)
Question: What is the most points for South Ossetia?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer the question about the highest point for South Ossetia:
```sql
SELECT highest_point FROM table_name_46 WHERE country = "South Ossetia";
``` | 10,837 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (highest_point VARCHAR, country VARCHAR)\n\n Question: What is the most points for South Ossetia?\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_85 (rank INTEGER, country VARCHAR)
Question: Which highest rank belongs to the palestinian territories?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding the highest rank belonging to the Palestinian territories:
```
SELECT MAX(rank) FROM table_name_85 WHERE country = "palestinian territories"
``` | 10,838 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (rank INTEGER, country VARCHAR)\n\n Question: Which highest rank belongs to the palestinian territories?\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 (highest_point VARCHAR, rank VARCHAR)
Question: What is the highest amount of points for rank 95?
Here is the SQLite query to answer to the question: What ... | The provided query will return all the highest points for ranks equal to 95, but to specifically get the highest amount of points (assuming you want the maximum value), you should use the `MAX` function. Here is the corrected SQLite query:
```
SELECT MAX(highest_point) FROM table_name_49 WHERE rank = '95'
```
This wi... | 10,839 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (highest_point VARCHAR, rank VARCHAR)\n\n Question: What is the highest amount of points for rank 95?\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_39 (season VARCHAR, win_percentage VARCHAR, team VARCHAR)
Question: What season had a .439 Win% in the 1996-97 Team?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about which season had a .439 Win% for the 1996-97 Team:
```sql
SELECT season FROM table_name_39 WHERE win_percentage = ".439" AND team = "1996-97";
``` | 10,840 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (season VARCHAR, win_percentage VARCHAR, team VARCHAR)\n\n Question: What season had a .439 Win% in the 1996-97 Team... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR)
Question: What conference is the 1973-74 team in the Atlantic Division (Div.)?
Here is th... | Here is the SQLite query to answer the question about the conference of the 1973-74 team in the Atlantic Division:
```
SELECT conference__conf_ FROM table_name_95 WHERE division__div_ = "atlantic" AND team = "1973-74";
``` | 10,841 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR)\n\n Question: What conference is the 1973-74 team ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR)
Question: Which season has a .354 Win%?
Here is the SQLite query to answer to the question: Which season has a .354... | Here is the SQLite query to answer the question about which season has a .354 Win%:
```sql
SELECT season FROM table_name_6 WHERE win_percentage = '.354';
``` | 10,842 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR)\n\n Question: Which season has a .354 Win%?\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_44 (win_percentage VARCHAR, team VARCHAR)
Question: What is the Win% of the 1989-90 Team?
Here is the SQLite query to answer to the question: What is the Win%... | Here is the SQLite query to answer the question about the Win% of the 1989-90 Team:
```
SELECT win_percentage FROM table_name_44 WHERE team = '1989-90';
``` | 10,843 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (win_percentage VARCHAR, team VARCHAR)\n\n Question: What is the Win% of the 1989-90 Team?\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_68 (high_rebounds VARCHAR, team VARCHAR)
Question: What is the High rebounds with a Team that is charlotte?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about High rebounds with a Team that is Charlotte:
```
SELECT high_rebounds FROM table_name_68 WHERE team = "charlotte";
``` | 10,844 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (high_rebounds VARCHAR, team VARCHAR)\n\n Question: What is the High rebounds with a Team that is charlotte?\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_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR)
Question: On what date was the rocket a TBD with a satellite of GPS IIIA-1?
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding the date when the rocket was a TBD with a satellite of GPS IIIA-1:
```
SELECT date FROM table_name_16 WHERE rocket = "TBD" AND satellite = "GPS IIIA-1";
``` | 10,845 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR)\n\n Question: On what date was the rocket a TBD with a satellite o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (type VARCHAR, satellite VARCHAR)
Question: Which type is a satellite of GPS IIIA-2?
Here is the SQLite query to answer to the question: Which type is a sa... | ```sql
SELECT type FROM table_name_54 WHERE satellite = "GPS IIIA-2";
``` | 10,846 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (type VARCHAR, satellite VARCHAR)\n\n Question: Which type is a satellite of GPS IIIA-2?\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_74 (launch_site VARCHAR, satellite VARCHAR)
Question: What was the launch site for a satellite of GPS IIIA-2?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the launch site for the satellite GPS IIIA-2:
```
SELECT launch_site FROM table_name_74 WHERE satellite = "GPS IIIA-2";
``` | 10,847 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (launch_site VARCHAR, satellite VARCHAR)\n\n Question: What was the launch site for a satellite of GPS IIIA-2?\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_36 (choreographer_s_ VARCHAR, chosen_by VARCHAR, style VARCHAR)
Question: What is Choreographer(s), when Chosen is Mary Murphy, and when Style is Contemporary?... | Here is the SQLite query to answer the question regarding the choreographer(s) when chosen by Mary Murphy and with the style Contemporary:
```
SELECT choreographer_s_ FROM table_name_36 WHERE chosen_by = "Mary Murphy" AND style = "Contemporary"
``` | 10,848 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (choreographer_s_ VARCHAR, chosen_by VARCHAR, style VARCHAR)\n\n Question: What is Choreographer(s), when Chosen is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR)
Question: What is Chosen By, when Couple is Katee Shean Joshua Allen, and when Choreographer(s... | Here is the SQLite query to answer the question:
```
SELECT chosen_by FROM table_name_10 WHERE couple = "Katee Shean Joshua Allen" AND choreographer_s_ = "Nakul Dev Mahajan";
``` | 10,849 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR)\n\n Question: What is Chosen By, when Couple is Katee ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (style VARCHAR, choreographer_s_ VARCHAR)
Question: What is Style, when Choreographer(s) is Dave Scott?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the style when the choreographer is Dave Scott:
```
SELECT style FROM table_name_17 WHERE choreographer_s_ = "Dave Scott";
``` | 10,850 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (style VARCHAR, choreographer_s_ VARCHAR)\n\n Question: What is Style, when Choreographer(s) is Dave Scott?\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_13 (couple VARCHAR, choreographer_s_ VARCHAR)
Question: What is Couple, when Choreographer(s) is Nakul Dev Mahajan?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the couple when the choreographer(s) is Nakul Dev Mahajan:
```
SELECT couple FROM table_name_13 WHERE choreographer_s_ = "Nakul Dev Mahajan";
``` | 10,851 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (couple VARCHAR, choreographer_s_ VARCHAR)\n\n Question: What is Couple, when Choreographer(s) is Nakul Dev Mahajan?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (number_on_map INTEGER, name VARCHAR, construction_commenced VARCHAR)
Question: What is the average number for Northgate which commenced its construction be... | Here is the SQLite query to calculate the average number for Northgate which commenced its construction before 1951:
```
SELECT AVG(number_on_map) FROM table_name_42 WHERE name = "northgate" AND construction_commenced < '1951'
``` | 10,852 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (number_on_map INTEGER, name VARCHAR, construction_commenced VARCHAR)\n\n Question: What is the average number for N... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (population INTEGER, colour VARCHAR, construction_commenced VARCHAR)
Question: What is the lowest population for the neighborhood with the color blue that c... | Here is the correct SQLite query to find the lowest population for neighborhoods with the color blue that commenced construction before 1987:
```
SELECT MIN(population)
FROM table_name_20
WHERE colour = "blue"
AND construction_commenced < '1987-01-01';
``` | 10,853 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (population INTEGER, colour VARCHAR, construction_commenced VARCHAR)\n\n Question: What is the lowest population for... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (top_25 INTEGER, wins INTEGER)
Question: What is the sum of Top-25 when there are more than 0 wins?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question:
```
SELECT SUM(top_25) FROM table_name_46 WHERE wins > 0
``` | 10,854 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (top_25 INTEGER, wins INTEGER)\n\n Question: What is the sum of Top-25 when there are more than 0 wins?\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_44 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, tournament VARCHAR)
Question: What is the lowest Top-10 when the Top-25 is 6, and a Tournament of u.s. o... | Here is the SQLite query you need to answer the question:
```
SELECT MIN(top_10) FROM table_name_44 WHERE top_25 = 6 AND tournament = "u.s. open" AND cuts_made > 9
``` | 10,855 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, tournament VARCHAR)\n\n Question: What is the lowest Top-10 when... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)
Question: What is the lowest Top-25 when events shows 12, the top-5 is 1, and less than 1... | Here is the SQLite query to answer the question based on the given schema:
```
SELECT MIN(top_25) FROM table_name_63 WHERE events = '12' AND top_5 = '1' AND cuts_made < '11';
``` | 10,856 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)\n\n Question: What is the lowest Top-25 when even... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (enrollment INTEGER, location VARCHAR)
Question: What is the Enrollment at Onalaska?
Here is the SQLite query to answer to the question: What is the Enroll... | Here is the SQLite query to answer the question about the Enrollment at Onalaska:
```
SELECT MAX(enrollment) FROM table_name_93 WHERE location = "Onalaska";
``` | 10,857 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (enrollment INTEGER, location VARCHAR)\n\n Question: What is the Enrollment at Onalaska?\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_80 (institution VARCHAR, affiliation VARCHAR, location VARCHAR)
Question: What Public Institution is in Black River Falls?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question "What Public Institution is in Black River Falls?":
```
SELECT institution FROM table_name_80 WHERE affiliation = "public" AND location = "Black River Falls";
``` | 10,858 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (institution VARCHAR, affiliation VARCHAR, location VARCHAR)\n\n Question: What Public Institution is in Black River... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (block VARCHAR, weight VARCHAR, height VARCHAR)
Question: What is the total number of Block for the Player with less than 85 Weight and more than 187 Height... | Your provided SQLite query is almost correct, but there's a small issue with data types. Since the columns 'weight' and 'height' are defined as VARCHAR, you need to cast them to a numeric type for comparison. Here's the corrected SQL query:
```
SELECT COUNT(block) FROM table_name_73 WHERE CAST(weight AS REAL) < 85 AND... | 10,859 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (block VARCHAR, weight VARCHAR, height VARCHAR)\n\n Question: What is the total number of Block for the Player with ... | |
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, height VARCHAR, block VARCHAR, weight VARCHAR)
Question: What is the Name of the player with less than 342 Block, less than 87 Weight and Hei... | Here is the SQLite query to answer the question about the player's name with specific conditions for block, weight, and height:
```
SELECT name FROM table_name_50 WHERE block < 342 AND weight < 87 AND height > 187;
``` | 10,860 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR)\n\n Question: What is the Name of the player with less... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (weight VARCHAR, spike VARCHAR, block VARCHAR, height VARCHAR)
Question: What is the Weight of the player with a Block larger than 328, Spike greater than 3... | The provided SQLite query seems to be counting the number of players that meet the criteria rather than retrieving the weight of the specific player. To get the weight of the player that meets the given conditions, the query should select the weight instead. Here is the corrected query:
```sql
SELECT weight FROM table... | 10,861 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (weight VARCHAR, spike VARCHAR, block VARCHAR, height VARCHAR)\n\n Question: What is the Weight of the player with a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (result VARCHAR, category VARCHAR, year VARCHAR)
Question: What is the Result with a Category of album of the year in a Year that is 2011?
Here is the SQLi... | Here is the SQLite query to answer the question regarding the Result with a Category of "album of the year" in the Year 2011:
```
SELECT result FROM table_name_47 WHERE category = 'album of the year' AND year = '2011';
``` | 10,862 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (result VARCHAR, category VARCHAR, year VARCHAR)\n\n Question: What is the Result with a Category of album of the ye... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (season VARCHAR, name VARCHAR)
Question: What is Season, when Name is Tony Boy Espinosa?
Here is the SQLite query to answer to the question: What is Season... | Here is the SQLite query to answer the question about the season when the name is Tony Boy Espinosa:
```
SELECT season FROM table_name_57 WHERE name = "Tony Boy Espinosa";
``` | 10,863 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (season VARCHAR, name VARCHAR)\n\n Question: What is Season, when Name is Tony Boy Espinosa?\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_13 (number INTEGER, position VARCHAR)
Question: What is the average Number, when Position is Forward?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question regarding the average number when the position is Forward:
```
SELECT AVG(number) FROM table_name_13 WHERE position = 'Forward';
``` | 10,864 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (number INTEGER, position VARCHAR)\n\n Question: What is the average Number, when Position is Forward?\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_30 (number INTEGER, school_club_team VARCHAR)
Question: What is the lowest Number, when School/Club Team is Misamis Institute?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the lowest number when the School/Club Team is Misamis Institute:
```
SELECT MIN(number) FROM table_name_30 WHERE school_club_team = "Misamis Institute";
``` | 10,865 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (number INTEGER, school_club_team VARCHAR)\n\n Question: What is the lowest Number, when School/Club Team is Misamis... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (school_club_team VARCHAR, season VARCHAR)
Question: What is School/Club Team, when Season is 2006-2012?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about School/Club Team when Season is 2006-2012:
```
SELECT school_club_team FROM table_name_79 WHERE season = '2006-2012';
``` | 10,866 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (school_club_team VARCHAR, season VARCHAR)\n\n Question: What is School/Club Team, when Season is 2006-2012?\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_50 (acquisition_via VARCHAR, season VARCHAR)
Question: What is Acquisition via, when Season is 2006-2012?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about Acquisitions via when the Season is 2006-2012:
```sql
SELECT acquisition_via FROM table_name_50 WHERE season = "2006-2012";
``` | 10,867 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (acquisition_via VARCHAR, season VARCHAR)\n\n Question: What is Acquisition via, when Season is 2006-2012?\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_33 (set_4 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)
Question: What is Set 4, when Set 1 is 19-25, and when Set 2 is 23-25?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question:
```
SELECT set_4 FROM table_name_33 WHERE set_1 = "19-25" AND set_2 = "23-25"
``` | 10,868 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (set_4 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)\n\n Question: What is Set 4, when Set 1 is 19-25, and when Set 2 is 23... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (set_1 VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)
Question: What is Set 1, when Set 4 is NA, when Score is 3-0, and when Set 2 is 29-27?
Here is... | ```sql
SELECT set_1 FROM table_name_30 WHERE set_4 = 'NA' AND score = '3-0' AND set_2 = '29-27';
``` | 10,869 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (set_1 VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)\n\n Question: What is Set 1, when Set 4 is NA, when Sco... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (set_2 VARCHAR, date VARCHAR)
Question: What is Set 2, when Date is May 31?
Here is the SQLite query to answer to the question: What is Set 2, when Date is... | Here is the SQLite query to answer the question about Set 2 when the Date is May 31:
```
SELECT set_2 FROM table_name_67 WHERE date = "May 31";
``` | 10,870 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (set_2 VARCHAR, date VARCHAR)\n\n Question: What is Set 2, when Date is May 31?\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_22 (set_1 VARCHAR, set_2 VARCHAR)
Question: What is Set 1, when Set 2 is 17-25?
Here is the SQLite query to answer to the question: What is Set 1, when Set 2 ... | Here is the SQLite query to answer the question regarding what Set 1 is when Set 2 is "17-25":
```
SELECT set_1 FROM table_name_22 WHERE set_2 = '17-25';
``` | 10,871 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (set_1 VARCHAR, set_2 VARCHAR)\n\n Question: What is Set 1, when Set 2 is 17-25?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (set_3 VARCHAR, set_4 VARCHAR, date VARCHAR)
Question: What is Set 3, when Set 4 is 25-21, and when Date is Jun 14?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about Set 3 when Set 4 is "25-21" and the date is "Jun 14":
```
SELECT set_3 FROM table_name_79 WHERE set_4 = "25-21" AND date = "Jun 14"
``` | 10,872 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (set_3 VARCHAR, set_4 VARCHAR, date VARCHAR)\n\n Question: What is Set 3, when Set 4 is 25-21, and when Date is Jun ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)
Question: What were the total number of Events, when the Top-5 was less than 2, and when the Top-25 was less... | Your SQLite query is almost correct, but there are a couple of minor adjustments needed for proper data comparison. Assuming `top_5` and `top_25` are stored as values that can be compared numerically (like integers), you should ensure they are being treated as such. Here's the revised query:
```sql
SELECT COUNT(events... | 10,873 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)\n\n Question: What were the total number of Events, when the Top-5 w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)
Question: What was the total number of Top-25 values, for which Cuts made was 62, and for which Wins were ... | The SQLite query you provided is correct for the given question. Here it is again for clarity:
```sql
SELECT COUNT(top_25) FROM table_name_37 WHERE cuts_made = '62' AND wins < '1'
```
Note: Ensure that the values for `cuts_made` and `wins` are treated as strings since the schema specifies them as VARCHAR. If you want... | 10,874 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)\n\n Question: What was the total number of Top-25 values, for whic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)
Question: What was the total number of Cuts made, when Top-5 was greater than 3, and when Events were 85?... | Here's the SQLite query to answer your question:
```
SELECT SUM(CAST(cuts_made AS INTEGER))
FROM table_name_79
WHERE CAST(top_5 AS INTEGER) > 3
AND events = 85;
```
In this query, we are summing the `cuts_made` while ensuring that `top_5` is greater than 3 and `events` are equal to 85. We also cast `cuts_made` and... | 10,875 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)\n\n Question: What was the total number of Cuts made, when Top-5 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (events INTEGER, top_5 VARCHAR, wins VARCHAR, top_25 VARCHAR)
Question: What was the sum of Events, when Wins were less than 1, when Top-25 was 3, and when ... | Your SQLite query looks correct for the given conditions. To clarify, here is the query wrapped in the requested code formatting:
```
SELECT SUM(events) FROM table_name_57 WHERE wins < 1 AND top_25 = 3 AND top_5 < 1;
```
This query will calculate the sum of the `events` column for all rows in `table_name_57` where t... | 10,876 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (events INTEGER, top_5 VARCHAR, wins VARCHAR, top_25 VARCHAR)\n\n Question: What was the sum of Events, when Wins we... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)
Question: What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts m... | Here is the SQLite query to answer your question:
```
SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = '20' AND top_25 > '10'
```
Note: Since `cuts_made` and `top_25` are defined as VARCHAR in the schema, I have wrapped the numerical values in single quotes. | 10,877 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)\n\n Question: What was the highest Top-10, when t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (top_10 INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR)
Question: What was the lowest Top-10, when the Wins were 0, when the Top-25 was 12, and when t... | Here is the SQLite query to answer the question specified:
```
SELECT MIN(top_10) FROM table_name_4 WHERE wins = '0' AND top_25 = '12' AND events < '23'
``` | 10,878 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (top_10 INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR)\n\n Question: What was the lowest Top-10, when the Win... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR)
Question: What is the average Against when the drawn is more than 2 and the Difference ... | Your SQLite query has a small error in the condition for the `difference` column. The value `"- 17"` might need adjustment based on data representation. Assuming the `difference` column is stored as a string and should match exactly as "- 17" (including the space), your query is mostly correct.
If the `difference` val... | 10,879 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR)\n\n Question: What is the average Against when ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR, against VARCHAR)
Question: What is the number of Position when the team was são paulo railway and the against is less than ... | Here is the SQLite query to answer the question:
```
SELECT COUNT(position) FROM table_name_28 WHERE team = "são paulo railway" AND against < 46
``` | 10,880 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR, against VARCHAR)\n\n Question: What is the number of Position when the team was são... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (team VARCHAR, difference VARCHAR, lost VARCHAR, position VARCHAR)
Question: What is the Team when the lost is less than 13, and the position is less than 4... | Here's the SQLite query you can use to answer the question based on the provided database schema:
```
SELECT team FROM table_name_58 WHERE lost < 13 AND position < 4 AND difference = "42"
``` | 10,881 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (team VARCHAR, difference VARCHAR, lost VARCHAR, position VARCHAR)\n\n Question: What is the Team when the lost is l... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (played INTEGER, drawn VARCHAR, against VARCHAR)
Question: What is the sum of Played when the drawn is less than 2 and against is more than 29?
Here is the... | Your SQL query looks almost correct, but there is a small issue with the `drawn` and `against` columns data types. Since `drawn` is defined as `VARCHAR`, comparing it to a number directly may not yield the expected results. Instead, it should be converted to an integer for numerical comparison. The same applies to the ... | 10,882 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (played INTEGER, drawn VARCHAR, against VARCHAR)\n\n Question: What is the sum of Played when the drawn is less than... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (wins INTEGER, byes INTEGER)
Question: Which Wins has a Byes larger than 0?
Here is the SQLite query to answer to the question: Which Wins has a Byes large... | Here is the SQLite query to answer the question: Which Wins has a Byes larger than 0?:
```
SELECT MAX(wins) FROM table_name_65 WHERE byes > 0
``` | 10,883 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (wins INTEGER, byes INTEGER)\n\n Question: Which Wins has a Byes larger than 0?\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_55 (against INTEGER, peel VARCHAR, byes VARCHAR)
Question: Which Against has a Peel of waroona, and a Byes larger than 0?
Here is the SQLite query to answer t... | Your SQLite query is correctly formed to retrieve the maximum value of `against` where `peel` is 'waroona' and `byes` is greater than 0. Here's the code wrapped as you requested:
```
SELECT MAX(against) FROM table_name_55 WHERE peel = "waroona" AND byes > 0;
```
This query will return the maximum value from the `aga... | 10,884 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (against INTEGER, peel VARCHAR, byes VARCHAR)\n\n Question: Which Against has a Peel of waroona, and a Byes larger 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 (draws VARCHAR, wins VARCHAR, against VARCHAR)
Question: Which Draws has a Wins smaller than 17, and an Against smaller than 1158?
Here is the SQLite query... | Your SQLite query is almost correct, but it seems that the columns `wins` and `against` are of type `VARCHAR`. You may need to cast these columns to integers in order to perform numerical comparisons. Here's the updated query:
```sql
SELECT COUNT(draws)
FROM table_name_64
WHERE CAST(wins AS INTEGER) < 17 AND CAST(ag... | 10,885 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)\n\n Question: Which Draws has a Wins smaller than 17, and an Against ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (draws INTEGER, losses VARCHAR, against VARCHAR, wins VARCHAR)
Question: Which Draws has an Against larger than 1158, and a Wins of 9, and a Losses smaller ... | Your SQLite query to answer the question is almost correct, but it should specifically select the rows that meet the criteria rather than summing the draws. If you're looking for the actual draws that meet the conditions, the query should select the draws directly without using `SUM()`. Here’s a revised version of your... | 10,886 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (draws INTEGER, losses VARCHAR, against VARCHAR, wins VARCHAR)\n\n Question: Which Draws has an Against larger than ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (losses INTEGER, wins VARCHAR, against VARCHAR)
Question: Which Losses has a Wins of 6, and an Against smaller than 1741?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question "Which Losses has a Wins of 6, and an Against smaller than 1741?":
```
SELECT MIN(losses) FROM table_name_56 WHERE wins = '6' AND against < '1741'
``` | 10,887 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (losses INTEGER, wins VARCHAR, against VARCHAR)\n\n Question: Which Losses has a Wins of 6, and an Against smaller t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (venue VARCHAR, winner VARCHAR)
Question: What venue was the game played in when the winner was the atlanta hawks (11)?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the venue where the winner was the Atlanta Hawks (11):
```
SELECT venue FROM table_name_81 WHERE winner = "atlanta hawks (11)";
``` | 10,888 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (venue VARCHAR, winner VARCHAR)\n\n Question: What venue was the game played in when the winner was the atlanta hawk... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (loser VARCHAR, result VARCHAR)
Question: What team was the loser when the result was 119–113?
Here is the SQLite query to answer to the question: What tea... | Here is the SQLite query to answer the question:
```
SELECT loser FROM table_name_83 WHERE result = "119–113"
``` | 10,889 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (loser VARCHAR, result VARCHAR)\n\n Question: What team was the loser when the result was 119–113?\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_18 (loser VARCHAR, winner VARCHAR)
Question: What is the Loser when the winner was los angeles lakers (10)?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the loser when the winner was "los angeles lakers (10)":
```
SELECT loser FROM table_name_18 WHERE winner = "los angeles lakers (10)"
``` | 10,890 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (loser VARCHAR, winner VARCHAR)\n\n Question: What is the Loser when the winner was los angeles lakers (10)?\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_78 (venue VARCHAR, result VARCHAR)
Question: What is the Venue when the result was 88–87?
Here is the SQLite query to answer to the question: What is the Venu... | Here is the SQLite query to answer the question about the Venue when the result was 88–87:
```
SELECT venue FROM table_name_78 WHERE result = "88–87"
``` | 10,891 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (venue VARCHAR, result VARCHAR)\n\n Question: What is the Venue when the result was 88–87?\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_35 (winner VARCHAR, result VARCHAR)
Question: What team was the winner when the result was 90–86?
Here is the SQLite query to answer to the question: What tea... | Here is the SQLite query to answer the question about which team was the winner when the result was 90–86:
```
SELECT winner FROM table_name_35 WHERE result = '90–86';
``` | 10,892 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (winner VARCHAR, result VARCHAR)\n\n Question: What team was the winner when the result was 90–86?\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_10 (result VARCHAR, loser VARCHAR)
Question: What is the Result when the memphis grizzlies ( 2) were the loser?
Here is the SQLite query to answer to the ques... | Here is the SQLite query formatted as requested:
```
SELECT result FROM table_name_10 WHERE loser = "memphis grizzlies ( 2)"
``` | 10,893 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (result VARCHAR, loser VARCHAR)\n\n Question: What is the Result when the memphis grizzlies ( 2) were the loser?\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_77 (years VARCHAR, win_percentage VARCHAR)
Question: What year was the Win percentage 60%?
Here is the SQLite query to answer to the question: What year was t... | Here is the SQLite query to answer the question of what year had a win percentage of 60%:
```
SELECT years FROM table_name_77 WHERE win_percentage = "60%"
``` | 10,894 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (years VARCHAR, win_percentage VARCHAR)\n\n Question: What year was the Win percentage 60%?\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_43 (tests VARCHAR, lost VARCHAR, name VARCHAR)
Question: What is the total number of Tests when the lost is less than 9 for sir fred allen?
Here is the SQLite... | Here is the SQLite query to answer the question regarding the total number of Tests when the lost is less than 9 for sir fred allen:
```
SELECT COUNT(tests) FROM table_name_43 WHERE lost < 9 AND name = 'sir fred allen'
``` | 10,895 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (tests VARCHAR, lost VARCHAR, name VARCHAR)\n\n Question: What is the total number of Tests when the lost is less th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (win_percentage VARCHAR, lost VARCHAR, drew VARCHAR)
Question: What is the Win percentage where there were 5 lost and 0 is drew?
Here is the SQLite query t... | Here is the SQLite query to answer the question about the win percentage where there were 5 lost and 0 drawn:
```
SELECT win_percentage FROM table_name_62 WHERE lost = '5' AND drew = '0'
``` | 10,896 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (win_percentage VARCHAR, lost VARCHAR, drew VARCHAR)\n\n Question: What is the Win percentage where there were 5 los... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (campeonato_paulista VARCHAR, copa_sudamericana VARCHAR, campeonato_brasileiro VARCHAR, others VARCHAR)
Question: How many Campeonato Paulistas had a campeo... | Here is the SQLite query to answer the question regarding the counts based on the specified conditions:
```
SELECT COUNT(campeonato_paulista)
FROM table_name_72
WHERE campeonato_brasileiro > 2
AND others > 0
AND copa_sudamericana > 5;
``` | 10,897 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (campeonato_paulista VARCHAR, copa_sudamericana VARCHAR, campeonato_brasileiro VARCHAR, others VARCHAR)\n\n Question... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (copa_sudamericana INTEGER, others INTEGER)
Question: What is the largest copa sudamericana number when the others number is less than 0?
Here is the SQLit... | Your provided SQLite query is correct and effectively retrieves the largest `copa_sudamericana` number from the `table_name_80` table where the `others` column has values less than 0. The query correctly uses the `MAX` function to find the maximum value under the specified condition.
Here is the SQL query again wrappe... | 10,898 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (copa_sudamericana INTEGER, others INTEGER)\n\n Question: What is the largest copa sudamericana number when the othe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (unit VARCHAR, authors VARCHAR)
Question: Which Unit has Authors of dalla vecchia, wild, & reitner?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query to find the Unit that has Authors of "dalla vecchia, wild, & reitner":
```
SELECT unit FROM table_name_65 WHERE authors = "dalla vecchia, wild, & reitner"
``` | 10,899 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (unit VARCHAR, authors VARCHAR)\n\n Question: Which Unit has Authors of dalla vecchia, wild, & reitner?\n\nHere is t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.