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_56 (method VARCHAR, event VARCHAR)
Question: Which method did pride bushido 10 have ?
Here is the SQLite query to answer to the question: Which method did pri... | Here is the SQLite query to answer the question: Which method did pride bushido 10 have?:
```
SELECT method FROM table_name_56 WHERE event = "pride bushido 10";
``` | 47,600 | [
{
"from": "human",
"value": " 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 (method VARCHAR, event VARCHAR)\n\n Question: Which method did pride bushido 10 have ?\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_13 (event VARCHAR)
Question: Which 2008–09 has an Event of autumn gold?
Here is the SQLite query to answer to the question: Which 2008–09 has an Event of autu... | The provided SQLite query seems to have an incorrect structure for what you want to achieve. The phrase "Which 2008–09" seems to imply that you want to include the year as part of the result set in a meaningful way. A more appropriate query based on the schema provided might look like this:
```sql
SELECT event
FROM t... | 47,601 | [
{
"from": "human",
"value": " 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 (event VARCHAR)\n\n Question: Which 2008–09 has an Event of autumn gold?\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_77 (drawn INTEGER, team VARCHAR)
Question: Which Drawn has a Team of internacional-sp?
Here is the SQLite query to answer to the question: Which Drawn has a T... | Your provided query sums the `drawn` values for entries where the team is "internacional-sp". If you want to simply retrieve the distinct `drawn` values associated with that team, you might want to use `SELECT` instead. Here’s the correct query based on your question:
```sql
SELECT drawn FROM table_name_77 WHERE team ... | 47,602 | [
{
"from": "human",
"value": " 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 (drawn INTEGER, team VARCHAR)\n\n Question: Which Drawn has a Team of internacional-sp?\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_78 (lost INTEGER, drawn VARCHAR, played VARCHAR)
Question: How much Lost has a Drawn larger than 5, and a Played larger than 18?
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding "Lost" where "Drawn" is larger than 5 and "Played" is larger than 18:
```sql
SELECT SUM(lost)
FROM table_name_78
WHERE drawn > 5 AND played > 18;
``` | 47,603 | [
{
"from": "human",
"value": " 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 (lost INTEGER, drawn VARCHAR, played VARCHAR)\n\n Question: How much Lost has a Drawn larger than 5, and a Played la... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER)
Question: Which Drawn is the highest one that has a Played smaller than 18?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the highest Drawn value that has a Played value smaller than 18:
```
SELECT MAX(drawn) FROM table_name_36 WHERE played < 18
``` | 47,604 | [
{
"from": "human",
"value": " 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 (drawn INTEGER, played INTEGER)\n\n Question: Which Drawn is the highest one that has a Played smaller than 18?\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_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)
Question: Which Drawn is the highest one that has an Against larger than 15, and Points small... | Here is the SQLite query to answer the question:
```
SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 9
``` | 47,605 | [
{
"from": "human",
"value": " 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 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)\n\n Question: Which Drawn is the highest one that has... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (floors INTEGER, street_address VARCHAR)
Question: What's the least amount of floors at 921 sw sixth avenue?
Here is the SQLite query to answer to the ques... | Your SQLite query to determine the least amount of floors at 921 SW Sixth Avenue is correct. Here it is wrapped in code formatting:
```
SELECT MIN(floors) FROM table_name_41 WHERE street_address = "921 sw sixth avenue";
``` | 47,606 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (floors INTEGER, street_address VARCHAR)\n\n Question: What's the least amount of floors at 921 sw sixth avenue?\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_27 (street_address VARCHAR, name VARCHAR)
Question: What's the address of the union bank of California tower?
Here is the SQLite query to answer to the questi... | Here's the SQLite query to answer the question regarding the address of the union bank of California tower:
```
SELECT street_address FROM table_name_27 WHERE name = "union bank of california tower";
``` | 47,607 | [
{
"from": "human",
"value": " 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 (street_address VARCHAR, name VARCHAR)\n\n Question: What's the address of the union bank of California tower?\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_3 (years_as_tallest VARCHAR, street_address VARCHAR)
Question: What were the years that the building at 200 sw harrison was considered to be the tallest buildi... | Your SQLite query looks correct for fetching the years that the building at 200 SW Harrison was considered to be the tallest. Here it is wrapped properly:
```
SELECT years_as_tallest FROM table_name_3 WHERE street_address = "200 sw harrison"
```
This query selects the `years_as_tallest` from `table_name_3` where the... | 47,608 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (years_as_tallest VARCHAR, street_address VARCHAR)\n\n Question: What were the years that the building at 200 sw harr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR)
Question: What is the smallest position with less than 7 points piloted by Didier Hauss?
Here is the SQLi... | Your provided SQLite query is almost correct, but it should ensure that points are treated as integers when comparing with the number 7. Since the points column is defined as VARCHAR, it's a good practice to cast it. Here’s the refined query:
```sql
SELECT MIN(position)
FROM table_name_29
WHERE CAST(points AS INTEGE... | 47,609 | [
{
"from": "human",
"value": " 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 (position INTEGER, points VARCHAR, pilot VARCHAR)\n\n Question: What is the smallest position with less than 7 point... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (season VARCHAR, winner VARCHAR, final_venue VARCHAR)
Question: During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner?
Here ... | Your SQLite query is correct. Here is the same query wrapped in the specified code format:
```
SELECT season FROM table_name_62 WHERE winner = "kiveton park" AND final_venue = "sandy lane";
``` | 47,610 | [
{
"from": "human",
"value": " 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 (season VARCHAR, winner VARCHAR, final_venue VARCHAR)\n\n Question: During what Season was the Final Venue at Sandy ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR)
Question: What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner?
Here is the... | Here is the SQLite query to answer the question about the Runner-up during the 2005-06 Season with Kiveton Park as the Winner:
```
SELECT runner_up FROM table_name_88 WHERE winner = "Kiveton Park" AND season = "2005-06";
``` | 47,611 | [
{
"from": "human",
"value": " 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 (runner_up VARCHAR, winner VARCHAR, season VARCHAR)\n\n Question: What was the Runner-up during the 2005-06 Season w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR)
Question: What was the Result in Green Lane with Kirkburton as the Runner-up?
Here is the SQLite q... | Here is the SQLite query to answer the question regarding the result in Green Lane with Kirkburton as the runner-up:
```
SELECT result FROM table_name_94 WHERE runner_up = "kirkburton" AND final_venue = "green lane"
``` | 47,612 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR)\n\n Question: What was the Result in Green Lane with Kirkbu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR)
Question: What was the Result in the 2005-06 Season?
Here is the SQLite query to answer to the question: What was the Resul... | Here is the SQLite query to answer the question about the Result in the 2005-06 Season:
```
SELECT result FROM table_name_9 WHERE season = '2005-06';
``` | 47,613 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR)\n\n Question: What was the Result in the 2005-06 Season?\n\nHere is the SQLite query... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR)
Question: What was the Final Venue having Sheffield Reserves as the Winner?
Here is the SQLite query to answer to the... | Here is the SQLite query to find the Final Venue having Sheffield Reserves as the Winner:
```
SELECT final_venue FROM table_name_17 WHERE winner = "Sheffield Reserves";
``` | 47,614 | [
{
"from": "human",
"value": " 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 (final_venue VARCHAR, winner VARCHAR)\n\n Question: What was the Final Venue having Sheffield Reserves as the Winner... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (round INTEGER, time VARCHAR)
Question: What is the total number of Round that has a Time of 6:04?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question regarding the total number of Rounds that have a Time of 6:04:
```sql
SELECT COUNT(round) FROM table_name_85 WHERE time = '6:04';
``` | 47,615 | [
{
"from": "human",
"value": " 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 (round INTEGER, time VARCHAR)\n\n Question: What is the total number of Round that has a Time of 6:04?\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_55 (round VARCHAR, method VARCHAR)
Question: What Round has the Method of Submission (Single Wing Choke)?
Here is the SQLite query to answer to the question: ... | Your query is almost correct, but it contains a minor inconsistency regarding the method string in the question. The method in the query should match exactly as per the schema. Assuming you meant "Single Wing Choke" in the question and not "submission (single wing choke)", here’s the corrected query:
```
SELECT round ... | 47,616 | [
{
"from": "human",
"value": " 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 (round VARCHAR, method VARCHAR)\n\n Question: What Round has the Method of Submission (Single Wing Choke)?\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_12 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis... | Here is the SQLite query to answer the question about which Class has a Frequency MHz larger than 91.5 and a City of license of hyannis, nebraska:
```
SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska"
``` | 47,617 | [
{
"from": "human",
"value": " 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 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)\n\n Question: Which Class has a Frequency MHz larger... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
Question: Which Class has a ERP W larger than 205, and a Frequency MHz smaller than... | Here is the SQLite query to answer the question:
```
SELECT class FROM table_name_54 WHERE erp_w > 205 AND frequency_mhz < 93.9 AND call_sign = "k210cb";
``` | 47,618 | [
{
"from": "human",
"value": " 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 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)\n\n Question: Which Class has a ERP W large... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR)
Question: Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap?
Here i... | Your SQLite query is correct for finding the maximum frequency in MHz where the ERP in watts is greater than 205 and the call sign is "k230ap". Here it is wrapped in the requested format:
```
SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap";
```
If you want to retrieve all freq... | 47,619 | [
{
"from": "human",
"value": " 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 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR)\n\n Question: Which Frequency MHz that has a ERP W larger ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR)
Question: Which Frequency MHz has a ERP W of 250?
Here is the SQLite query to answer to the question: Which Frequenc... | Here's the SQLite query to answer the question regarding which Frequency MHz has an ERP W of 250:
```
SELECT frequency_mhz FROM table_name_36 WHERE erp_w = '250';
``` | 47,620 | [
{
"from": "human",
"value": " 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 (frequency_mhz INTEGER, erp_w VARCHAR)\n\n Question: Which Frequency MHz has a ERP W of 250?\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_40 (date VARCHAR, game VARCHAR)
Question: What was the date of game 81?
Here is the SQLite query to answer to the question: What was the date of game 81?:
```... | Here is the SQLite query to answer the question about the date of game 81:
```
SELECT date FROM table_name_40 WHERE game = '81'
```
Note: If `game` is stored as a VARCHAR in the database, make sure to wrap 81 in quotes as shown above. If it's an integer, then your original query is correct without quotes. | 47,621 | [
{
"from": "human",
"value": " 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 (date VARCHAR, game VARCHAR)\n\n Question: What was the date of game 81?\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_13 (surface VARCHAR, opponent VARCHAR)
Question: WHich Surface has an Opponent of gustavo kuerten?
Here is the SQLite query to answer to the question: WHich S... | Here is the SQLite query to answer the question "Which Surface has an Opponent of gustavo kuerten?":
```
SELECT surface FROM table_name_13 WHERE opponent = "gustavo kuerten"
``` | 47,622 | [
{
"from": "human",
"value": " 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 (surface VARCHAR, opponent VARCHAR)\n\n Question: WHich Surface has an Opponent of gustavo kuerten?\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_53 (surface VARCHAR, tournament VARCHAR)
Question: Which Surface has a Tournament of st. petersburg , russia?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about which surface has a tournament of St. Petersburg, Russia:
```
SELECT surface FROM table_name_53 WHERE tournament = 'st. petersburg , russia'
``` | 47,623 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (surface VARCHAR, tournament VARCHAR)\n\n Question: Which Surface has a Tournament of st. petersburg , russia?\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_11 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
Question: When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken?
Here is... | Here is the SQLite query to answer the question about when the surface of "hard (i)" and the tournament of "brighton, united kingdom" were taken:
```
SELECT date FROM table_name_11 WHERE surface = "hard (i)" AND tournament = "brighton , united kingdom"
``` | 47,624 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (date VARCHAR, surface VARCHAR, tournament VARCHAR)\n\n Question: When is the Surface of hard (i), and a Tournament ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR)
Question: Which Opponent has a Score of 3–6, 5–7?
Here is the SQLite query to answer to the question: Which Opponent ha... | Your query logic is correct, but it needs a slight adjustment because you're looking to find opponents who have either of the scores "3–6" or "5–7". Here's the refined query using the `IN` clause to accomplish that:
```sql
SELECT opponent FROM table_name_52 WHERE score IN ("3–6", "5–7");
```
This query will return al... | 47,625 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, score VARCHAR)\n\n Question: Which Opponent has a Score of 3–6, 5–7?\n\nHere is the SQLite query... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (date VARCHAR, tournament VARCHAR)
Question: When has a Tournament of palermo , italy?
Here is the SQLite query to answer to the question: When has a Tourn... | Here is the SQLite query to answer the question about when a tournament of Palermo, Italy has occurred:
```
SELECT date FROM table_name_17 WHERE tournament = "palermo , italy";
``` | 47,626 | [
{
"from": "human",
"value": " 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 (date VARCHAR, tournament VARCHAR)\n\n Question: When has a Tournament of palermo , italy?\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_70 (opponent VARCHAR, date VARCHAR)
Question: Which Opponent is on 29 september 1997?
Here is the SQLite query to answer to the question: Which Opponent is on... | Here is the SQLite query to answer the question regarding the opponent on 29 September 1997:
```
SELECT opponent FROM table_name_70 WHERE date = "29 september 1997";
``` | 47,627 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, date VARCHAR)\n\n Question: Which Opponent is on 29 september 1997?\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_38 (constellation VARCHAR, designation_hd VARCHAR)
Question: Which constellation has hd 75732 as a destignation HD?
Here is the SQLite query to answer to the ... | Here is the SQLite query to find which constellation has "hd 75732" as a designation HD:
```
SELECT constellation FROM table_name_38 WHERE designation_hd = "hd 75732";
``` | 47,628 | [
{
"from": "human",
"value": " 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 (constellation VARCHAR, designation_hd VARCHAR)\n\n Question: Which constellation has hd 75732 as a destignation HD?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (message VARCHAR, designation_hd VARCHAR)
Question: What message has hd 186408 as a designation HD?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question regarding the message with designation HD 186408:
```
SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408"
``` | 47,629 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (message VARCHAR, designation_hd VARCHAR)\n\n Question: What message has hd 186408 as a designation HD?\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_65 (date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR)
Question: What date sent has cygnus as a constellation, and hd 190360 as a designation HD... | Here is the SQLite query to answer the question regarding the date sent for the given constellation and designation:
```
SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360"
``` | 47,630 | [
{
"from": "human",
"value": " 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 (date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR)\n\n Question: What date sent has cygnus as a cons... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (date_sent VARCHAR, constellation VARCHAR)
Question: What date sent has orion as the constellation?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about what date sent has Orion as the constellation:
```
SELECT date_sent FROM table_name_63 WHERE constellation = "orion"
``` | 47,631 | [
{
"from": "human",
"value": " 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 (date_sent VARCHAR, constellation VARCHAR)\n\n Question: What date sent has orion as the constellation?\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_27 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR)
Question: Which constellation has cosmic call 1 as the message, and an arrival date of octobe... | Here is the SQLite query to answer the question regarding the constellation with the specified message and arrival date:
```
SELECT constellation FROM table_name_27 WHERE message = "cosmic call 1" AND arrival_date = "october 2067";
``` | 47,632 | [
{
"from": "human",
"value": " 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 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR)\n\n Question: Which constellation has cosmic call 1 a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (date_sent VARCHAR, constellation VARCHAR)
Question: What date sent has cancer as the constellation?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about what date was sent for the constellation "cancer":
```
SELECT date_sent FROM table_name_29 WHERE constellation = "cancer"
``` | 47,633 | [
{
"from": "human",
"value": " 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 (date_sent VARCHAR, constellation VARCHAR)\n\n Question: What date sent has cancer as the constellation?\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_39 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR)
Question: Which Conceded is the highest one that has Points larger than 17, and a Team of g... | Here is the SQLite query to answer the question regarding the highest conceded value with the specified conditions:
```sql
SELECT MAX(conceded)
FROM table_name_39
WHERE points > 17
AND team = 'guaraní'
AND losses < '6';
``` | 47,634 | [
{
"from": "human",
"value": " 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 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR)\n\n Question: Which Conceded is the highest one tha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR)
Question: Which Conceded has Draws smaller than 5, and a Position larger than 6?
Here is the SQLite que... | It looks like there is a slight mistake in the SQL query, particularly with handling the `draws` column, which is defined as a `VARCHAR`. To compare it numerically, you need to convert it to an integer. Here’s the corrected SQL query wrapped in code formatting:
```sql
SELECT SUM(conceded)
FROM table_name_39
WHERE CA... | 47,635 | [
{
"from": "human",
"value": " 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 (conceded INTEGER, draws VARCHAR, position VARCHAR)\n\n Question: Which Conceded has Draws smaller than 5, and a Pos... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (points VARCHAR, played INTEGER)
Question: How many Points have a Played larger than 18?
Here is the SQLite query to answer to the question: How many Point... | Here is the SQLite query to answer the question regarding the number of Points with Played larger than 18:
```
SELECT COUNT(points) FROM table_name_65 WHERE played > 18;
``` | 47,636 | [
{
"from": "human",
"value": " 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 (points VARCHAR, played INTEGER)\n\n Question: How many Points have a Played larger than 18?\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_81 (scored INTEGER, team VARCHAR)
Question: Which Scored has a Team of recoleta?
Here is the SQLite query to answer to the question: Which Scored has a Team o... | Your SQLite query looks correct for summing the 'scored' values for the team 'recoleta'. Here it is wrapped in code formatting:
```
SELECT SUM(scored) FROM table_name_81 WHERE team = "recoleta";
```
This query will return the total score for the team named 'recoleta'. If you're looking for individual scores, you mig... | 47,637 | [
{
"from": "human",
"value": " 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 (scored INTEGER, team VARCHAR)\n\n Question: Which Scored has a Team of recoleta?\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_21 (notes VARCHAR, date VARCHAR)
Question: Which Notes have a Date of 2008-01-27?
Here is the SQLite query to answer to the question: Which Notes have a Date ... | Here's the SQLite query to answer the question: Which Notes have a Date of 2008-01-27?:
```
SELECT notes FROM table_name_21 WHERE date = "2008-01-27";
``` | 47,638 | [
{
"from": "human",
"value": " 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 (notes VARCHAR, date VARCHAR)\n\n Question: Which Notes have a Date of 2008-01-27?\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_63 (date VARCHAR, distance VARCHAR)
Question: Which Date has a Distance of 3,000 m?
Here is the SQLite query to answer to the question: Which Date has a Dista... | Here is the SQLite query to answer the question: Which Date has a Distance of 3,000 m?:
```
SELECT date FROM table_name_63 WHERE distance = "3,000 m"
``` | 47,639 | [
{
"from": "human",
"value": " 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 (date VARCHAR, distance VARCHAR)\n\n Question: Which Date has a Distance of 3,000 m?\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_46 (distance VARCHAR, time VARCHAR)
Question: Which Distance has a Time of men's speed skating?
Here is the SQLite query to answer to the question: Which Dist... | Here is the SQLite query to answer the question about which Distance has a Time of men's speed skating:
```
SELECT distance FROM table_name_46 WHERE time = "men's speed skating"
``` | 47,640 | [
{
"from": "human",
"value": " 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 (distance VARCHAR, time VARCHAR)\n\n Question: Which Distance has a Time of men's speed skating?\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_89 (location VARCHAR)
Question: Which Location has a Time of time?
Here is the SQLite query to answer to the question: Which Location has a Time of time?:
```... | The provided query seems to have a misunderstanding regarding the use of the column "time". If there is no specific column named "time" in the given schema and you want to check for a specific value for some column, you might need a different approach. However, assuming you're asking for locations where a hypothetical ... | 47,641 | [
{
"from": "human",
"value": " 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 (location VARCHAR)\n\n Question: Which Location has a Time of time?\n\nHere is the SQLite query to answer to the que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (location VARCHAR, distance VARCHAR)
Question: Which Location has a Distance of 10,000 m?
Here is the SQLite query to answer to the question: Which Locatio... | Here is the SQLite query to answer the question: Which Location has a Distance of 10,000 m?:
```
SELECT location FROM table_name_59 WHERE distance = "10,000 m"
``` | 47,642 | [
{
"from": "human",
"value": " 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 (location VARCHAR, distance VARCHAR)\n\n Question: Which Location has a Distance of 10,000 m?\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_3 (date VARCHAR, distance VARCHAR)
Question: Which Date has a Distance of 500 m?
Here is the SQLite query to answer to the question: Which Date has a Distance... | Here is the SQLite query to answer the question regarding which date has a distance of 500 m:
```
SELECT date FROM table_name_3 WHERE distance = '500 m';
``` | 47,643 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (date VARCHAR, distance VARCHAR)\n\n Question: Which Date has a Distance of 500 m?\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_44 (score VARCHAR, date VARCHAR, attendance VARCHAR)
Question: What was the score for the June 22 game with attendance 0?
Here is the SQLite query to answer t... | Here is the corrected SQLite query to answer the question about the score for the June 22 game with attendance 0:
```sql
SELECT score FROM table_name_44 WHERE date = "June 22" AND attendance = "0"
```
Note: SQLite is case-insensitive for string comparisons, but it's good practice to keep consistent casing. Additiona... | 47,644 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR, attendance VARCHAR)\n\n Question: What was the score for the June 22 game with attenda... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR)
Question: What type of surface was used for the carthage tournament on august 14, 1994?
Here is the SQL... | Here is the SQLite query to answer the question about the type of surface used for the carthage tournament on August 14, 1994:
```
SELECT surface FROM table_name_97 WHERE tournament = "carthage" AND date = "august 14, 1994";
``` | 47,645 | [
{
"from": "human",
"value": " 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 (surface VARCHAR, tournament VARCHAR, date VARCHAR)\n\n Question: What type of surface was used for the carthage tou... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: Which tournament has marielle bruens for the opponent in the final?
Here is the SQLite query ... | Here is the SQLite query to answer the question about which tournament has Marielle Bruens as the opponent in the final:
```
SELECT tournament FROM table_name_81 WHERE opponent_in_the_final = "marielle bruens"
``` | 47,646 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: Which tournament has marielle bruens for the oppon... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (surface VARCHAR, date VARCHAR)
Question: What surface was used on may 13, 2007?
Here is the SQLite query to answer to the question: What surface was used ... | Here is the SQLite query to answer the question about the surface used on May 13, 2007:
```
SELECT surface FROM table_name_19 WHERE date = "may 13, 2007";
``` | 47,647 | [
{
"from": "human",
"value": " 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 (surface VARCHAR, date VARCHAR)\n\n Question: What surface was used on may 13, 2007?\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR)
Question: Frequency MHz of 93.7 has what class?
Here is the SQLite query to answer to the question: Frequency MHz of ... | Here is the corrected SQLite query to answer the question about the frequency of 93.7 MHz:
```
SELECT class FROM table_name_4 WHERE frequency_mhz = '93.7'
```
Make sure to enclose the frequency value in quotes, as it is defined as a VARCHAR in the schema. | 47,648 | [
{
"from": "human",
"value": " 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 (class VARCHAR, frequency_mhz VARCHAR)\n\n Question: Frequency MHz of 93.7 has what class?\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_99 (entre_ríos_municipality INTEGER, pojo_municipality INTEGER)
Question: What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities?
He... | Your SQLite query is correctly formulated to calculate the average of `entre_ríos_municipality` for records where `pojo_municipality` is less than 9. Here's the query wrapped in code formatting:
```
SELECT AVG(entre_ríos_municipality) FROM table_name_99 WHERE pojo_municipality < 9;
```
This query will return the ave... | 47,649 | [
{
"from": "human",
"value": " 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 (entre_ríos_municipality INTEGER, pojo_municipality INTEGER)\n\n Question: What is the average Entre Ríos Municipali... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (pocona_municipality VARCHAR, totora_municipality VARCHAR, pojo_municipality VARCHAR)
Question: What is Pocona Municipalities with 72 Totora municipalities ... | Your query is on the right track, but it needs to select distinct `pocona_municipality` values that meet the criteria of having exactly 72 `totora_municipality` and more than 74 `pojo_municipality`. Here's the corrected SQL query:
```sql
SELECT pocona_municipality
FROM table_name_98
WHERE totora_municipality = '72' AN... | 47,650 | [
{
"from": "human",
"value": " 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 (pocona_municipality VARCHAR, totora_municipality VARCHAR, pojo_municipality VARCHAR)\n\n Question: What is Pocona M... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR)
Question: What is the highest chimore municipalities with 9 pojo muni... | Your SQLite query is close, but there are some adjustments needed regarding how to filter for the counts of `pojo_municipality` and `totora_municipality`. The conditions should be applied correctly to filter out the counts. Assuming that each municipality in the database represents a row, and you want to group by `chim... | 47,651 | [
{
"from": "human",
"value": " 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 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR)\n\n Question: What is the hig... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, team VARCHAR)
Question: Which Copa Libertadores 1996 has a Team of estudiantes?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question: Which Copa Libertadores 1996 has a Team of estudiantes?:
```
SELECT copa_libertadores_1996 FROM table_name_10 WHERE team = "estudiantes"
``` | 47,652 | [
{
"from": "human",
"value": " 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 (copa_libertadores_1996 VARCHAR, team VARCHAR)\n\n Question: Which Copa Libertadores 1996 has a Team of estudiantes?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR)
Question: which CONMEBOL 1995 has a Supercopa 1995 of sf?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question which CONMEBOL 1995 has a Supercopa 1995 of sf:
```
SELECT conmebol_1995 FROM table_name_86 WHERE supercopa_1995 = "sf";
``` | 47,653 | [
{
"from": "human",
"value": " 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 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR)\n\n Question: which CONMEBOL 1995 has a Supercopa 1995 of sf?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR)
Question: which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juni... | Here is the SQLite query to answer the question regarding which Copa Libertadores 1996 has "round 1" Supercopa 1995 and "argentinos juniors" team:
```
SELECT copa_libertadores_1996
FROM table_name_10
WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors";
``` | 47,654 | [
{
"from": "human",
"value": " 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 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR)\n\n Question: which Copa Libertadores 1996 ha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (conmebol_1995 VARCHAR, team VARCHAR)
Question: Which CONMEBOL 1995 has river plate team?
Here is the SQLite query to answer to the question: Which CONMEBO... | Here is the SQLite query to answer the question regarding which CONMEBOL 1995 has the River Plate team:
```
SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate"
``` | 47,655 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (conmebol_1995 VARCHAR, team VARCHAR)\n\n Question: Which CONMEBOL 1995 has river plate team?\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_28 (team VARCHAR, conmebol_1995 VARCHAR)
Question: Which Team has a round 1 CONMEBOL 1995?
Here is the SQLite query to answer to the question: Which Team h... | Here is the SQLite query to answer the question "Which Team has a round 1 CONMEBOL 1995?":
```
SELECT team FROM table_name_28 WHERE conmebol_1995 = "round 1"
``` | 47,656 | [
{
"from": "human",
"value": " 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 (team VARCHAR, conmebol_1995 VARCHAR)\n\n Question: Which Team has a round 1 CONMEBOL 1995?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR)
Question: Which Date has an Attendance of 57,013?
Here is the SQLite query to answer to the question: Which Date has an ... | Here is the SQLite query to answer the question "Which Date has an Attendance of 57,013?":
```
SELECT date FROM table_name_36 WHERE attendance = '57,013';
``` | 47,657 | [
{
"from": "human",
"value": " 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 (date VARCHAR, attendance VARCHAR)\n\n Question: Which Date has an Attendance of 57,013?\n\nHere is the SQLite query... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR)
Question: Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Op... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_7 WHERE tv_time = "cbs 1:00pm" AND game_site = "rca dome" AND opponent = "cincinnati bengals"
``` | 47,658 | [
{
"from": "human",
"value": " 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 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR)\n\n Question: Which Date has a TV Time of cbs 1:... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (tv_time VARCHAR, date VARCHAR)
Question: Which TV Time has a Date of december 26, 1999?
Here is the SQLite query to answer to the question: Which TV Time ... | Here is the SQLite query to answer the question "Which TV Time has a Date of December 26, 1999?":
```
SELECT tv_time FROM table_name_63 WHERE date = "december 26, 1999"
``` | 47,659 | [
{
"from": "human",
"value": " 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 (tv_time VARCHAR, date VARCHAR)\n\n Question: Which TV Time has a Date of december 26, 1999?\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_1 (game_site VARCHAR, date VARCHAR)
Question: Which Game Site has a Date of october 17, 1999?
Here is the SQLite query to answer to the question: Which Game S... | Here is the SQLite query to answer the question about which Game Site has a Date of October 17, 1999:
```
SELECT game_site FROM table_name_1 WHERE date = "october 17, 1999";
``` | 47,660 | [
{
"from": "human",
"value": " 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 (game_site VARCHAR, date VARCHAR)\n\n Question: Which Game Site has a Date of october 17, 1999?\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_21 (result VARCHAR, streak VARCHAR)
Question: what's the result with streak of won 6?
Here is the SQLite query to answer to the question: what's the result wi... | You have the correct SQLite query to retrieve the result with a streak of "won 6". Here it is wrapped as requested:
```
SELECT result FROM table_name_21 WHERE streak = "won 6";
``` | 47,661 | [
{
"from": "human",
"value": " 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 (result VARCHAR, streak VARCHAR)\n\n Question: what's the result with streak of won 6?\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_88 (aggregate VARCHAR)
Question: What was the 2nd leg score having an aggregate score of 4-2?
Here is the SQLite query to answer to the question: What was the... | Your SQL query appears to be addressing the question by checking for the aggregate score of "4-2" in the `table_name_88` and returning `2` as the second leg score. However, the query does not actually retrieve the second leg score since the `aggregate` column only contains the aggregate score and does not contain indiv... | 47,662 | [
{
"from": "human",
"value": " 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 (aggregate VARCHAR)\n\n Question: What was the 2nd leg score having an aggregate score of 4-2?\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_59 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
Question: What was the home team for the 2nd leg of the match having an aggregate of 2-3?
Here is the SQLite qu... | Here is the SQLite query to answer the question about the home team for the 2nd leg of the match having an aggregate of 2-3:
```
SELECT home__2nd_leg_ FROM table_name_59 WHERE aggregate = '2-3';
``` | 47,663 | [
{
"from": "human",
"value": " 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 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)\n\n Question: What was the home team for the 2nd leg of the match having... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (played INTEGER, points VARCHAR, drawn VARCHAR, against VARCHAR)
Question: What is the lowest number of played games of the team with less than 12 drawns, 4... | The provided SQLite query has a small issue with the conditions used in the WHERE clause. Specifically, the `drawn` and `points` fields are VARCHAR types, so we need to convert them to integers to compare them properly. Here’s the corrected query:
```sql
SELECT MIN(played)
FROM table_name_58
WHERE CAST(drawn AS INTE... | 47,664 | [
{
"from": "human",
"value": " 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 (played INTEGER, points VARCHAR, drawn VARCHAR, against VARCHAR)\n\n Question: What is the lowest number of played g... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (played INTEGER, lost VARCHAR, drawn VARCHAR)
Question: What is the highest number of played of the team with less than 11 losses and less than 12 drawns?
H... | Here is the corrected SQLite query to answer the question about the highest number of played games for the team with less than 11 losses and less than 12 drawn games:
```sql
SELECT MAX(played)
FROM table_name_9
WHERE CAST(lost AS INTEGER) < 11 AND CAST(drawn AS INTEGER) < 12;
```
This query ensures that the `lost`... | 47,665 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (played INTEGER, lost VARCHAR, drawn VARCHAR)\n\n Question: What is the highest number of played of the team with les... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (against INTEGER, played INTEGER)
Question: What is the sum of againsts the team with less than 38 played had?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about the sum of "against" for the teams that have played less than 38 games:
```
SELECT SUM(against) FROM table_name_86 WHERE played < 38;
``` | 47,666 | [
{
"from": "human",
"value": " 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 (against INTEGER, played INTEGER)\n\n Question: What is the sum of againsts the team with less than 38 played had?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR)
Question: What is the average drawn of the team with a difference of 4 and more than 13 losses?
Here is t... | The query you provided looks mostly correct, but there may be an issue with the condition for `difference`. If you want to check for a difference of 4 or more, you should use the greater than or equal to operator. Additionally, since `difference` is defined as a VARCHAR, you may need to properly format the condition to... | 47,667 | [
{
"from": "human",
"value": " 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 (drawn INTEGER, difference VARCHAR, lost VARCHAR)\n\n Question: What is the average drawn of the team with a differe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (position INTEGER, lost VARCHAR, against VARCHAR)
Question: What is the position of the team with more than 16 losses and an against greater than 74?
Here ... | It looks like there is a slight misunderstanding in the SQL query you provided, as SUM(position) would not retrieve the position of teams that meet the criteria specified in your question.
Here is the corrected SQLite query to retrieve the position of the team with more than 16 losses and an 'against' greater than 74:... | 47,668 | [
{
"from": "human",
"value": " 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 (position INTEGER, lost VARCHAR, against VARCHAR)\n\n Question: What is the position of the team with more than 16 l... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR)
Question: What is the highest number of points team vitória, which had more than 38 played, had?
Here is the... | The SQLite query to answer the question about the highest number of points for the team "vitória" with more than 38 played is:
```
SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 38
``` | 47,669 | [
{
"from": "human",
"value": " 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 (points INTEGER, team VARCHAR, played VARCHAR)\n\n Question: What is the highest number of points team vitória, whic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)
Question: When the A Score was larger than 5.933 with a total of 19.833, what nation was this?
Here is the... | Here is the SQLite query to answer the question:
```
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833
``` | 47,670 | [
{
"from": "human",
"value": " 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 (nation VARCHAR, a_score VARCHAR, total VARCHAR)\n\n Question: When the A Score was larger than 5.933 with a total o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)
Question: How large was the total when the E Score was greater than 9.35 and T Score was less than 4?
Her... | Here is the SQLite query that answers your question:
```
SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4
``` | 47,671 | [
{
"from": "human",
"value": " 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 (total INTEGER, e_score VARCHAR, t_score VARCHAR)\n\n Question: How large was the total when the E Score was greater... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR)
Question: What was the quantity of the A Score when the E Score was larger than 9.566 in... | Your SQLite query looks good overall, but you might want to ensure that the `e_score` and `t_score` fields are treated correctly, considering their data types. Since `e_score` is defined as a `VARCHAR`, it should be converted to a numeric value for the comparison. Similarly, `t_score` is `VARCHAR` and should be convert... | 47,672 | [
{
"from": "human",
"value": " 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 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR)\n\n Question: What was the quantity of the A Sco... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR)
Question: What was the total of A Score when the E Score was greater than 9.383, total wa... | Here is the corrected SQLite query to answer your question:
```sql
SELECT SUM(a_score)
FROM table_name_74
WHERE CAST(e_score AS REAL) > 9.383
AND CAST(total AS REAL) < 19.716
AND CAST(t_score AS INTEGER) > 4;
```
In this query, `e_score`, `total`, and `t_score` are cast to their appropriate types (REAL or IN... | 47,673 | [
{
"from": "human",
"value": " 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 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR)\n\n Question: What was the total of A Score when ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency_mhz VARCHAR)
Question: Which city has a frequency of 104.5 fm?
Here is the SQLite query to answer to the question: Which... | Here is the SQLite query to answer the question: Which city has a frequency of 104.5 fm?:
```
SELECT city_of_license FROM table_name_1 WHERE frequency_mhz = "104.5 fm";
``` | 47,674 | [
{
"from": "human",
"value": " 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 (city_of_license VARCHAR, frequency_mhz VARCHAR)\n\n Question: Which city has a frequency of 104.5 fm?\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_74 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: What is the frequency of Walterboro, SC?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about the frequency of Walterboro, SC:
```
SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "Walterboro, SC";
``` | 47,675 | [
{
"from": "human",
"value": " 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 (frequency_mhz VARCHAR, city_of_license VARCHAR)\n\n Question: What is the frequency of Walterboro, SC?\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_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)
Question: What is the FCC information of 104.5 fm frequency?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the FCC information of the 104.5 fm frequency:
```
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm";
``` | 47,676 | [
{
"from": "human",
"value": " 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 (fcc_info VARCHAR, frequency_mhz VARCHAR)\n\n Question: What is the FCC information of 104.5 fm frequency?\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_2 (erp_w VARCHAR, city_of_license VARCHAR)
Question: What is Charleston, SC ERP W?
Here is the SQLite query to answer to the question: What is Charleston, SC ... | Here is the SQLite query to answer the question about Charleston, SC ERP W:
```
SELECT erp_w FROM table_name_2 WHERE city_of_license = "Charleston, SC";
``` | 47,677 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (erp_w VARCHAR, city_of_license VARCHAR)\n\n Question: What is Charleston, SC ERP W?\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_66 (erp_w INTEGER, frequency_mhz VARCHAR)
Question: What does the ERP W sum equal for 105.1 fm frequency?
Here is the SQLite query to answer to the question: ... | Your SQLite query looks correct for summing the `erp_w` values for the frequency "105.1 fm". Here's the query wrapped in the specified format:
```
SELECT SUM(erp_w) FROM table_name_66 WHERE frequency_mhz = "105.1 fm";
``` | 47,678 | [
{
"from": "human",
"value": " 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 (erp_w INTEGER, frequency_mhz VARCHAR)\n\n Question: What does the ERP W sum equal for 105.1 fm frequency?\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_79 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: What is surfside beach, SC frequency?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about the frequency for Surfside Beach, SC:
```
SELECT frequency_mhz FROM table_name_79 WHERE city_of_license = "surfside beach, sc";
``` | 47,679 | [
{
"from": "human",
"value": " 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 (frequency_mhz VARCHAR, city_of_license VARCHAR)\n\n Question: What is surfside beach, SC frequency?\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_30 (to_par VARCHAR, country VARCHAR)
Question: What is the player from Japan's To Par?
Here is the SQLite query to answer to the question: What is the player ... | ```sql
SELECT to_par FROM table_name_30 WHERE country = "japan";
``` | 47,680 | [
{
"from": "human",
"value": " 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 (to_par VARCHAR, country VARCHAR)\n\n Question: What is the player from Japan's To Par?\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_68 (to_par VARCHAR, country VARCHAR)
Question: What is the player from England's To Par?
Here is the SQLite query to answer to the question: What is the playe... | Here is the SQLite query to answer the question about the player from England's To Par:
```sql
SELECT to_par FROM table_name_68 WHERE country = 'England';
``` | 47,681 | [
{
"from": "human",
"value": " 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 (to_par VARCHAR, country VARCHAR)\n\n Question: What is the player from England's To Par?\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_98 (score VARCHAR, country VARCHAR)
Question: What is the player from England's score?
Here is the SQLite query to answer to the question: What is the player ... | Here is the SQLite query to answer the question about the player from England's score:
```
SELECT score FROM table_name_98 WHERE country = "England"
``` | 47,682 | [
{
"from": "human",
"value": " 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 (score VARCHAR, country VARCHAR)\n\n Question: What is the player from England's score?\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_39 (country VARCHAR, player VARCHAR)
Question: Which country does Adam Scott play for?
Here is the SQLite query to answer to the question: Which country does ... | Here is the SQLite query to answer the question: Which country does Adam Scott play for?:
```
SELECT country FROM table_name_39 WHERE player = "Adam Scott"
``` | 47,683 | [
{
"from": "human",
"value": " 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 (country VARCHAR, player VARCHAR)\n\n Question: Which country does Adam Scott play for?\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_43 (icao VARCHAR, airport VARCHAR)
Question: Name the ICAO for lilongwe international airport
Here is the SQLite query to answer to the question: Name the ICA... | Here is the SQLite query to answer the question about the ICAO for Lilongwe International Airport:
```
SELECT icao FROM table_name_43 WHERE airport = "Lilongwe International Airport"
``` | 47,684 | [
{
"from": "human",
"value": " 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 (icao VARCHAR, airport VARCHAR)\n\n Question: Name the ICAO for lilongwe international airport\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_6 (airport VARCHAR, icao VARCHAR)
Question: Name the airport for ICAO of flls
Here is the SQLite query to answer to the question: Name the airport for ICAO of... | Here is the SQLite query to answer the question about naming the airport for the ICAO of "flls":
```
SELECT airport FROM table_name_6 WHERE icao = "flls";
``` | 47,685 | [
{
"from": "human",
"value": " 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 (airport VARCHAR, icao VARCHAR)\n\n Question: Name the airport for ICAO of flls\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_74 (icao VARCHAR, airport VARCHAR)
Question: Name the ICAO for lilongwe international airport
Here is the SQLite query to answer to the question: Name the ICA... | Here is the SQLite query to answer the question of naming the ICAO for Lilongwe International Airport:
```
SELECT icao FROM table_name_74 WHERE airport = "lilongwe international airport"
``` | 47,686 | [
{
"from": "human",
"value": " 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 (icao VARCHAR, airport VARCHAR)\n\n Question: Name the ICAO for lilongwe international airport\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_79 (icao VARCHAR, airport VARCHAR)
Question: Name the ICAO for julius nyerere international airport
Here is the SQLite query to answer to the question: Name t... | Here is the SQLite query to answer the question regarding the ICAO for Julius Nyerere International Airport:
```
SELECT icao FROM table_name_79 WHERE airport = "julius nyerere international airport"
``` | 47,687 | [
{
"from": "human",
"value": " 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 (icao VARCHAR, airport VARCHAR)\n\n Question: Name the ICAO for julius nyerere international airport\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_35 (country VARCHAR, city VARCHAR)
Question: Name the country for johannesburg
Here is the SQLite query to answer to the question: Name the country for johann... | Sure! Here is the SQLite query wrapped in the proper code formatting:
```
SELECT country FROM table_name_35 WHERE city = "johannesburg"
``` | 47,688 | [
{
"from": "human",
"value": " 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 (country VARCHAR, city VARCHAR)\n\n Question: Name the country for johannesburg\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_32 (city VARCHAR, iata VARCHAR)
Question: Name the city for IATA of llw
Here is the SQLite query to answer to the question: Name the city for IATA of llw:
```... | Here is the SQLite query to answer the question: Name the city for IATA of llw:
```
SELECT city FROM table_name_32 WHERE iata = "llw";
``` | 47,689 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (city VARCHAR, iata VARCHAR)\n\n Question: Name the city for IATA of llw\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_5 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the name of the home time with a 10 tie no?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about the name of the home team with a tie number of 10:
```
SELECT home_team FROM table_name_5 WHERE tie_no = '10';
``` | 47,690 | [
{
"from": "human",
"value": " 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 (home_team VARCHAR, tie_no VARCHAR)\n\n Question: What is the name of the home time with a 10 tie no?\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_7 (attendance VARCHAR, away_team VARCHAR)
Question: What was the date of the game that was played against the away team of York City?
Here is the SQLite query... | It seems like you might want to retrieve the date of the game rather than the attendance, as your question specifically asks for the date of the game played against the away team of York City. However, your current table schema doesn't seem to include a date column.
Assuming that the schema also includes a `date` col... | 47,691 | [
{
"from": "human",
"value": " 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 (attendance VARCHAR, away_team VARCHAR)\n\n Question: What was the date of the game that was played against the away ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR)
Question: What group of juventus had an attendance larger than 47,786?
Here is the SQLite qu... | It looks like there is a small error in your SQL query regarding the condition for the attendance. The attendance should be compared as a numeric value, and the condition should check for numbers better than "47876" as a whole, rather than using "47 OFFSET 786".
Here is the corrected query:
```sql
SELECT group_positi... | 47,692 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR)\n\n Question: What group of juventus had an attendanc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (week INTEGER, result VARCHAR)
Question: Name the average week for result of l 28–17
Here is the SQLite query to answer to the question: Name the average w... | Here is the SQLite query to answer the question about the average week for the result of "l 28–17":
```sql
SELECT AVG(week) FROM table_name_56 WHERE result = "l 28–17";
``` | 47,693 | [
{
"from": "human",
"value": " 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 (week INTEGER, result VARCHAR)\n\n Question: Name the average week for result of l 28–17\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_48 (score VARCHAR, date VARCHAR)
Question: What was the score on April 12?
Here is the SQLite query to answer to the question: What was the score on April 12?... | Here is the SQLite query to answer the question about the score on April 12:
```sql
SELECT score FROM table_name_48 WHERE date = "April 12";
``` | 47,694 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR)\n\n Question: What was the score on April 12?\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_84 (Id VARCHAR)
Question: Which 2009 has a 2008 of A, and a 2010 of 4r?
Here is the SQLite query to answer to the question: Which 2009 has a 2008 of A, and a ... | It looks like there are some issues with the SQL query and the table schema you've provided. Given the schema, it seems like the table only has one column named `Id`, but you're querying columns named `2009`, `2008`, and `2010`, which do not exist in your schema.
If we assume that the table actually has columns with t... | 47,695 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: Which 2009 has a 2008 of A, and a 2010 of 4r?\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_64 (Id VARCHAR)
Question: Which 2009 has a 2008 of wta premier mandatory tournaments?
Here is the SQLite query to answer to the question: Which 2009 has a 200... | The provided query seems to have an issue related to the way the schema and question are defined. Particularly, the columns "2008" and "2009" should not be used as they appear to be numeric years and the schema only has an "Id" column. Assuming you are trying to find records related to certain tournaments for specific ... | 47,696 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: Which 2009 has a 2008 of wta premier mandatory tournaments?\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_80 (tournament VARCHAR)
Question: Which 2010 has a Tournament of australian open?
Here is the SQLite query to answer to the question: Which 2010 has a Tournam... | The provided query seems to have an issue with the SELECT statement. Instead of selecting the year 2010, which does not make sense in the context of the data, it should be fetching data from the `table_name_80` that matches the specified conditions. However, it appears that there is no direct way to reference the year ... | 47,697 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR)\n\n Question: Which 2010 has a Tournament of australian open?\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_8 (tournament VARCHAR)
Question: Which 2007 has a 2006 of A, and a Tournament of canada?
Here is the SQLite query to answer to the question: Which 2007 has a ... | To correctly write the SQLite query based on the provided schema and question, we need to consider the correct field names and values specified. Since the table only includes a single column called `tournament`, we cannot directly reference `2006` or `2007`.
If `2006` and `2007` are intended to represent different ty... | 47,698 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (tournament VARCHAR)\n\n Question: Which 2007 has a 2006 of A, and a Tournament of canada?\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_83 (Id VARCHAR)
Question: Which 2009 has a 2006 of A, and a 2011 of sf?
Here is the SQLite query to answer to the question: Which 2009 has a 2006 of A, and a ... | It seems like you want to write an SQLite query to find records in a table that meet specific criteria. However, the provided schema has only one column named `Id`, which is of type `VARCHAR`. As such, it's not possible to directly refer to columns named `2006`, `2009`, or `2011` unless they are separate attributes in ... | 47,699 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: Which 2009 has a 2006 of A, and a 2011 of sf?\n\nHere is the SQLite query to answer to th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.