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_32 (athlete VARCHAR, venue VARCHAR)
Question: Which athlete played at the Birmingham venue?
Here is the SQLite query to answer to the question: Which athlete ... | Here is the SQLite query to answer the question: Which athlete played at the Birmingham venue?:
```
SELECT athlete FROM table_name_32 WHERE venue = 'Birmingham';
``` | 43,200 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR)\n\n Question: Which athlete played at the Birmingham venue?\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_31 (frequency INTEGER, webcast VARCHAR, callsign VARCHAR)
Question: Which Frequency has a Webcast of •, and a Callsign of xemr?
Here is the SQLite query to an... | Your query is almost correct, but since you want to find the frequency that matches the specified conditions rather than the average frequency, you should use `SELECT frequency` instead of `SELECT AVG(frequency)`. Here’s the corrected SQL query:
```
SELECT frequency FROM table_name_31 WHERE webcast = "•" AND callsign ... | 43,201 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (frequency INTEGER, webcast VARCHAR, callsign VARCHAR)\n\n Question: Which Frequency has a Webcast of •, and a Calls... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (website VARCHAR, frequency VARCHAR, callsign VARCHAR)
Question: Which Website has a Frequency smaller than 760 and a Callsign of kkyx?
Here is the SQLite ... | Here is the SQLite query to answer the question regarding which website has a frequency smaller than 760 and a callsign of kkyx:
```
SELECT website FROM table_name_85 WHERE frequency < 760 AND callsign = 'kkyx';
``` | 43,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (website VARCHAR, frequency VARCHAR, callsign VARCHAR)\n\n Question: Which Website has a Frequency smaller than 760 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (webcast VARCHAR, callsign VARCHAR)
Question: Which Webcast has a Callsign of kgbt?
Here is the SQLite query to answer to the question: Which Webcast has a... | Here is the SQLite query to answer the question: Which Webcast has a Callsign of kgbt?:
```
SELECT webcast FROM table_name_91 WHERE callsign = "kgbt";
``` | 43,203 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (webcast VARCHAR, callsign VARCHAR)\n\n Question: Which Webcast has a Callsign of kgbt?\n\nHere is the SQLite query ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR)
Question: Which Frequency has a Website of •, and a Webcast of •in san antoni... | Your query seems to be aiming to find the average frequency for records that have specific conditions. However, if you are specifically asking for which frequencies have a website of "•" and a webcast of "•" in San Antonio, you might want to adjust the query to select distinct frequencies instead of calculating an aver... | 43,204 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR)\n\n Question: Which Frequency has a W... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)
Question: What years did the player play when he scored 78 points and 22 goals?
Here is the SQLite query to ... | Your SQLite query is correctly structured to retrieve the years in which the player scored 78 points and 22 goals. Here it is wrapped in code formatting as requested:
```
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22";
``` | 43,205 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)\n\n Question: What years did the player play when he scored 78 points... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (goals VARCHAR, assists VARCHAR, player VARCHAR)
Question: How many goals did Joey Worthen have when he had 15 assists?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question:
```sql
SELECT goals FROM table_name_78 WHERE assists = "15" AND player = "Joey Worthen";
``` | 43,206 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (goals VARCHAR, assists VARCHAR, player VARCHAR)\n\n Question: How many goals did Joey Worthen have when he had 15 a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (goals VARCHAR, points VARCHAR)
Question: How many goals were scored when 158 points were collected?
Here is the SQLite query to answer to the question: Ho... | Your provided query is almost correct, but if you want to get the number of goals scored when 158 points were collected, you might want to count the occurrences of goals. Here’s the corrected SQLite query that counts the goals for the specified points:
```
SELECT COUNT(goals) AS number_of_goals FROM table_name_45 WHER... | 43,207 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (goals VARCHAR, points VARCHAR)\n\n Question: How many goals were scored when 158 points were collected?\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_51 (years VARCHAR, goals VARCHAR)
Question: What years had players who scored 36 goals?
Here is the SQLite query to answer to the question: What years had pla... | Your SQLite query is correct for retrieving the years in which players scored 36 goals. Here's the query wrapped in code formatting:
```
SELECT years FROM table_name_51 WHERE goals = "36";
```
This query will select the `years` from the `table_name_51` where the `goals` column has the value "36". | 43,208 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (years VARCHAR, goals VARCHAR)\n\n Question: What years had players who scored 36 goals?\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_14 (rank VARCHAR, assists VARCHAR)
Question: What was the rank of the player who had 13 assists?
Here is the SQLite query to answer to the question: What was ... | Here is the SQLite query to answer the question regarding the rank of the player who had 13 assists:
```
SELECT rank FROM table_name_14 WHERE assists = "13"
``` | 43,209 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (rank VARCHAR, assists VARCHAR)\n\n Question: What was the rank of the player who had 13 assists?\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_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What is the sum of the weeks during which the Redskins played against the Houston Oilers and ... | The given SQL query has a small mistake in the condition for filtering attendance. The `attendance` column is defined as `VARCHAR`, so it needs to be handled carefully to compare it numerically. Additionally, the correct way to filter for attendance greater than 54,582 is to convert that string to a number.
Here is th... | 43,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR)\n\n Question: What is the sum of the weeks during which the Red... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (attendance INTEGER, week INTEGER)
Question: What is the highest attendance for week 1?
Here is the SQLite query to answer to the question: What is the hig... | The provided SQL query is incorrect because it is trying to find the maximum attendance for week 1 but uses a condition that filters for weeks less than 1. Instead, you should filter for week 1. Here is the corrected SQLite query to find the highest attendance for week 1:
```sql
SELECT MAX(attendance) FROM table_name_... | 43,211 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (attendance INTEGER, week INTEGER)\n\n Question: What is the highest attendance for week 1?\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_49 (attendance VARCHAR, week VARCHAR, date VARCHAR)
Question: What is the total number in attendance for the game after week 8 that was on November 25, 1979?
... | Here's the SQLite query wrapped in the requested format:
```
SELECT SUM(CAST(attendance AS INTEGER))
FROM table_name_49
WHERE week > 8 AND date = "November 25, 1979";
```
Note: I used `SUM` instead of `COUNT` since you want to total the number in attendance, and I assumed the `attendance` field contains numerical ... | 43,212 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (attendance VARCHAR, week VARCHAR, date VARCHAR)\n\n Question: What is the total number in attendance for the game a... | |
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, score VARCHAR)
Question: Which Surface has a Score of 2009 wta tour?
Here is the SQLite query to answer to the question: Which Surface ha... | Here is the SQLite query to answer the question: Which Surface has a Score of 2009 wta tour?:
```
SELECT surface FROM table_name_13 WHERE score = "2009 wta tour";
``` | 43,213 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (surface VARCHAR, score VARCHAR)\n\n Question: Which Surface has a Score of 2009 wta tour?\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_31 (round VARCHAR, ranking VARCHAR)
Question: Which Round has a Ranking of 2008 wta tour?
Here is the SQLite query to answer to the question: Which Round has ... | Here is the SQLite query to answer the question of which Round has a Ranking of "2008 wta tour":
```sql
SELECT round FROM table_name_31 WHERE ranking = "2008 wta tour";
``` | 43,214 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (round VARCHAR, ranking VARCHAR)\n\n Question: Which Round has a Ranking of 2008 wta tour?\n\nHere is the SQLite que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (surface VARCHAR, round VARCHAR, player VARCHAR)
Question: Which Surface has a Round of 4th round, and a Player of maria sharapova?
Here is the SQLite quer... | Here is the SQLite query to answer the question:
```
SELECT surface FROM table_name_57 WHERE round = "4th round" AND player = "maria sharapova";
``` | 43,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (surface VARCHAR, round VARCHAR, player VARCHAR)\n\n Question: Which Surface has a Round of 4th round, and a Player ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (player VARCHAR, score VARCHAR)
Question: Which Player has a Score of 6–4, 7–6 (7–5)?
Here is the SQLite query to answer to the question: Which Player has ... | Here is the SQLite query to answer the question:
```sql
SELECT player FROM table_name_97 WHERE score = '6–4, 7–6 (7–5)';
``` | 43,216 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (player VARCHAR, score VARCHAR)\n\n Question: Which Player has a Score of 6–4, 7–6 (7–5)?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
Question: Which Round has a Player of anna chakvetadze?
Here is the SQLite query to answer to the question: Which Round has... | Here is the SQLite query to answer the question: Which Round has a Player of anna chakvetadze?:
```sql
SELECT round FROM table_name_23 WHERE player = "anna chakvetadze";
``` | 43,217 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)\n\n Question: Which Round has a Player of anna chakvetadze?\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_16 (loss VARCHAR, record VARCHAR)
Question: Record of 89-67 had what loss?
Here is the SQLite query to answer to the question: Record of 89-67 had what loss?:... | Your SQLite query to find the loss associated with the record of "89-67" is correct. Here it is formatted as you requested:
```
SELECT loss FROM table_name_16 WHERE record = "89-67";
``` | 43,218 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (loss VARCHAR, record VARCHAR)\n\n Question: Record of 89-67 had what loss?\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_93 (record VARCHAR, score VARCHAR)
Question: Score of 3 - 2 had what record?
Here is the SQLite query to answer to the question: Score of 3 - 2 had what recor... | Your provided SQLite query is correct for finding the record associated with the score of "3 - 2". Here it is wrapped in code format:
```
SELECT record FROM table_name_93 WHERE score = "3 - 2";
``` | 43,219 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)\n\n Question: Score of 3 - 2 had what record?\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_60 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
Question: Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?
Here is the SQLite query to... | Here is the SQLite query to answer the question:
```sql
SELECT opponent FROM table_name_60 WHERE record = "@ blue jays" AND loss = "lyon (5-4)";
``` | 43,220 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR, loss VARCHAR)\n\n Question: Opponent of @ blue jays, and a Loss of lyon (5-4) had... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (score VARCHAR, loss VARCHAR)
Question: Loss of lyon (5-4) had what score?
Here is the SQLite query to answer to the question: Loss of lyon (5-4) had what ... | Your provided SQLite query looks correct for retrieving the score associated with the specified loss. Here it is wrapped in code formatting:
```
SELECT score FROM table_name_17 WHERE loss = "lyon (5-4)";
``` | 43,221 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (score VARCHAR, loss VARCHAR)\n\n Question: Loss of lyon (5-4) had what score?\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_99 (record VARCHAR, loss VARCHAR)
Question: Loss of finley (8-7) had what record?
Here is the SQLite query to answer to the question: Loss of finley (8-7) had... | Here is the SQLite query to answer the question:
```
SELECT record FROM table_name_99 WHERE loss = "finley (8-7)";
``` | 43,222 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (record VARCHAR, loss VARCHAR)\n\n Question: Loss of finley (8-7) had what record?\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_19 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Opponent of @ blue jays, and a Date of october 6 had what score?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the score of the opponent "@ blue jays" on the date of "october 6":
```
SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 6";
``` | 43,223 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: Opponent of @ blue jays, and a Date of october 6 had w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)
Question: What is the score for game 5?
Here is the SQLite query to answer to the question: What is the score for game 5?:
``... | Your SQLite query is almost correct. However, since `game` is presumably a string (as implied by the VARCHAR type), you should enclose the game value in single quotes. Here’s the corrected version of your query:
```
SELECT score FROM table_name_82 WHERE game = '5'
```
You can use this query to retrieve the score for... | 43,224 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)\n\n Question: What is the score for game 5?\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_77 (score VARCHAR, game VARCHAR, opponent VARCHAR)
Question: What is the score that has a game greater than 3, with buffalo sabres as the opponent?
Here is th... | Here's the SQLite query you can use to answer the question:
```
SELECT score FROM table_name_77 WHERE game > 3 AND opponent = "buffalo sabres"
``` | 43,225 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, opponent VARCHAR)\n\n Question: What is the score that has a game greater than 3, with... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
Question: What score has may 9 as the date?
Here is the SQLite query to answer to the question: What score has may 9 as the d... | Here is the SQLite query to answer the question regarding the score on May 9:
```
SELECT score FROM table_name_26 WHERE date = "may 9";
``` | 43,226 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)\n\n Question: What score has may 9 as the date?\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_37 (score VARCHAR, date VARCHAR)
Question: What was the score on October 16, 1983?
Here is the SQLite query to answer to the question: What was the score on O... | Here is the SQLite query to answer the question about the score on October 16, 1983:
```
SELECT score FROM table_name_37 WHERE date = "October 16, 1983";
``` | 43,227 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)\n\n Question: What was the score on October 16, 1983?\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_38 (score VARCHAR, outcome VARCHAR)
Question: What was the score when she was a runner-up?
Here is the SQLite query to answer to the question: What was the sc... | Here is the SQLite query to answer the question about the score when she was a runner-up:
```
SELECT score FROM table_name_38 WHERE outcome = "runner-up"
``` | 43,228 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (score VARCHAR, outcome VARCHAR)\n\n Question: What was the score when she was a runner-up?\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_86 (tournament VARCHAR, date VARCHAR)
Question: What tournament was being played on August 11, 1984?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about what tournament was being played on August 11, 1984:
```
SELECT tournament FROM table_name_86 WHERE date = "August 11, 1984";
``` | 43,229 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR)\n\n Question: What tournament was being played on August 11, 1984?\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_9 (venue VARCHAR, date VARCHAR)
Question: What was the Venue on June 8, 2005?
Here is the SQLite query to answer to the question: What was the Venue on June 8... | Your SQLite query to retrieve the venue on June 8, 2005, is correctly formulated. Here it is wrapped in the requested format:
```
SELECT venue FROM table_name_9 WHERE date = "June 8, 2005";
``` | 43,230 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (venue VARCHAR, date VARCHAR)\n\n Question: What was the Venue on June 8, 2005?\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_90 (date VARCHAR, venue VARCHAR)
Question: On what Date was the Venue Los Angeles?
Here is the SQLite query to answer to the question: On what Date was the Ve... | Here is the SQLite query to answer the question about the date when the venue was Los Angeles:
```
SELECT date FROM table_name_90 WHERE venue = "Los Angeles";
``` | 43,231 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)\n\n Question: On what Date was the Venue Los Angeles?\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_64 (score VARCHAR, date VARCHAR)
Question: What was the Score on September 29, 2003?
Here is the SQLite query to answer to the question: What was the Score on... | Here is the SQLite query to answer the question: What was the Score on September 29, 2003?:
```
SELECT score FROM table_name_64 WHERE date = "September 29, 2003";
``` | 43,232 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)\n\n Question: What was the Score on September 29, 2003?\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_10 (date VARCHAR, venue VARCHAR)
Question: On what Date was the Venue in Carson?
Here is the SQLite query to answer to the question: On what Date was the Venu... | Here is the SQLite query to answer the question "On what Date was the Venue in Carson?":
```
SELECT date FROM table_name_10 WHERE venue = "Carson";
``` | 43,233 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR)\n\n Question: On what Date was the Venue in Carson?\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_83 (competition VARCHAR, date VARCHAR)
Question: What was the competition on October 21, 2003?
Here is the SQLite query to answer to the question: What was th... | Here is the SQLite query to answer the question about the competition on October 21, 2003:
```
SELECT competition FROM table_name_83 WHERE date = "October 21, 2003";
``` | 43,234 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR)\n\n Question: What was the competition on October 21, 2003?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (competition VARCHAR, date VARCHAR)
Question: What was the Competition on September 29, 2003?
Here is the SQLite query to answer to the question: What was ... | Here is the SQLite query to answer the question about the competition on September 29, 2003:
```
SELECT competition FROM table_name_15 WHERE date = "September 29, 2003";
``` | 43,235 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (competition VARCHAR, date VARCHAR)\n\n Question: What was the Competition on September 29, 2003?\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_88 (country VARCHAR, name VARCHAR)
Question: What country has chunkath, mohan verghese as the name?
Here is the SQLite query to answer to the question: What c... | Here is the SQLite query to answer the question about which country has "chunkath, mohan verghese" as the name:
```sql
SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese";
``` | 43,236 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)\n\n Question: What country has chunkath, mohan verghese as the name?\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_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR)
Question: What position has a spread greater than -319, and United State... | Here is the SQLite query to answer your question:
```
SELECT position FROM table_name_96 WHERE spread > -319 AND country = "united states" AND win_loss = "11-13" AND name IN ("gabriel", "marty")
```
Note that I've modified the query slightly to use `IN` for the names, assuming "gabriel" and "marty" should be conside... | 43,237 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR)\n\n Question: What position has ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR)
Question: What name has a spread of 69?
Here is the SQLite query to answer to the question: What name has a spread of 69?:
`... | It looks like the `spread` column is of type `VARCHAR`, so the value `69` should be treated as a string in your query. Therefore, the correct query should compare `spread` to the string `'69'`. Here’s the revised SQLite query:
```
SELECT name FROM table_name_96 WHERE spread = '69';
``` | 43,238 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR)\n\n Question: What name has a spread of 69?\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_26 (performer_2 VARCHAR, episode VARCHAR)
Question: Which Performer 2 has an Episode of 5?
Here is the SQLite query to answer to the question: Which Performer... | Your SQLite query is almost correct, but to ensure consistency with SQL standards, you should treat the episode as a string (if it's defined as VARCHAR), by enclosing it in single quotes. Here is the revised query:
```sql
SELECT performer_2 FROM table_name_26 WHERE episode = '5'
```
This assumes that the `episode` c... | 43,239 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR)\n\n Question: Which Performer 2 has an Episode of 5?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (weight VARCHAR, denomination VARCHAR)
Question: What weight has one rupee as the denomination?
Here is the SQLite query to answer to the question: What we... | Here is the SQLite query to answer the question: What weight has one rupee as the denomination?:
```
SELECT weight FROM table_name_88 WHERE denomination = 'one rupee';
``` | 43,240 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (weight VARCHAR, denomination VARCHAR)\n\n Question: What weight has one rupee as the denomination?\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_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR)
Question: What is the size that has nickel as the metal, and one rupee as the denomination?
Here is the... | Here is the SQLite query to answer the question about the size that has nickel as the metal and one rupee as the denomination:
```
SELECT size FROM table_name_46 WHERE metal = "nickel" AND denomination = "one rupee";
``` | 43,241 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR)\n\n Question: What is the size that has nickel as the metal, and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (metal VARCHAR, denomination VARCHAR)
Question: What metal has one rupee as the denomination?
Here is the SQLite query to answer to the question: What meta... | Here is the SQLite query to answer the question about which metal has one rupee as the denomination:
```
SELECT metal FROM table_name_83 WHERE denomination = "one rupee";
``` | 43,242 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (metal VARCHAR, denomination VARCHAR)\n\n Question: What metal has one rupee as the denomination?\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_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR)
Question: What shape has nickel as the metal, and one rupee as the denomination?
Here is the SQLite qu... | Here is the SQLite query to answer the question:
```sql
SELECT shape FROM table_name_78 WHERE metal = "nickel" AND denomination = "one rupee";
``` | 43,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR)\n\n Question: What shape has nickel as the metal, and one rupee... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (Id VARCHAR)
Question: Which 2007 has a 2010 of A, and a 2006 of lq?
Here is the SQLite query to answer to the question: Which 2007 has a 2010 of A, and a ... | It seems there might be some confusion regarding the column names because, in the provided schema, only one column (`Id`) is defined, and it doesn't mention the columns for 2007, 2010, or 2006. If we assume that the values for 2007, 2010, and 2006 are stored in the `Id` column in some structured format, we need to clar... | 43,244 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (Id VARCHAR)\n\n Question: Which 2007 has a 2010 of A, and a 2006 of lq?\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (Id VARCHAR)
Question: Which 2012 has a 2007 of 1r?
Here is the SQLite query to answer to the question: Which 2012 has a 2007 of 1r?:
```
SELECT 2012 FROM ... | It looks like there might be some confusion in your question regarding the database schema and the query itself. In the provided schema:
```sql
CREATE TABLE table_name_51 (Id VARCHAR)
```
There are no columns named '2012' or '2007'. Instead, there is only one column named 'Id'. If you meant to query based on specific... | 43,245 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (Id VARCHAR)\n\n Question: Which 2012 has a 2007 of 1r?\n\nHere is the SQLite query to answer to the question: Which... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (Id VARCHAR)
Question: Which 2002 has a 2013 of 2–4?
Here is the SQLite query to answer to the question: Which 2002 has a 2013 of 2–4?:
```
SELECT 2002 FRO... | The SQLite query you've written appears to be attempting to retrieve data based on some implicit structure of the table, but is missing clarity on what "2002" and "2013" represent. In SQL, these would typically denote column names or aggregated values rather than standalone integers.
If you meant to reference actual ... | 43,246 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (Id VARCHAR)\n\n Question: Which 2002 has a 2013 of 2–4?\n\nHere is the SQLite query to answer to the question: Whic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (Id VARCHAR)
Question: Which 2013 has a 2010 of 1r?
Here is the SQLite query to answer to the question: Which 2013 has a 2010 of 1r?:
```
SELECT 2013 FROM ... | Your query seems to be aimed at extracting data based on specific conditions. However, it looks like there are some issues with how columns are referenced in your SQL statement. Given the schema you've provided, it appears that "2013" and "2010" may refer to specific values or perhaps columns with those names, but the ... | 43,247 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (Id VARCHAR)\n\n Question: Which 2013 has a 2010 of 1r?\n\nHere is the SQLite query to answer to the question: Which... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (tournament VARCHAR)
Question: Which 2005 has a Tournament of grand slam tournaments?
Here is the SQLite query to answer to the question: Which 2005 has a ... | It looks like there might be a misunderstanding in your question regarding the SQLite query. In SQLite, we typically don't select a year (like `2005`) unless it is a column in the table. Based on the provided schema, the `table_name_52` only has a single column called `tournament`.
Assuming you want to retrieve any en... | 43,248 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (tournament VARCHAR)\n\n Question: Which 2005 has a Tournament of grand slam tournaments?\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_53 (tournament VARCHAR)
Question: Which 2007 has a 2008 of 1r, and a Tournament of wimbledon?
Here is the SQLite query to answer to the question: Which 2007 h... | Here is the SQLite query wrapped in code blocks:
```sql
SELECT 2007 FROM table_name_53 WHERE 2008 = '1r' AND tournament = 'wimbledon';
```
Make sure to use single quotes for string literals in SQL queries, as per SQL syntax standards. | 43,249 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (tournament VARCHAR)\n\n Question: Which 2007 has a 2008 of 1r, and a Tournament of wimbledon?\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_25 (date VARCHAR, home VARCHAR)
Question: Which Date has a Home of minnesota?
Here is the SQLite query to answer to the question: Which Date has a Home of min... | Here is the SQLite query to answer the question regarding which date has a home of Minnesota:
```
SELECT date FROM table_name_25 WHERE home = "minnesota"
``` | 43,250 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR)\n\n Question: Which Date has a Home of minnesota?\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_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
Question: Which Visitor has a Decision of myre, and a Record of 44–7–15?
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT visitor FROM table_name_32 WHERE decision = "myre" AND record = "44–7–15";
``` | 43,251 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR)\n\n Question: Which Visitor has a Decision of myre, and a Record... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR)
Question: What Championship had a Winning score of 6 & 5?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding which Championship had a Winning score of 6 & 5:
```
SELECT championship FROM table_name_31 WHERE winning_score = "6 & 5";
``` | 43,252 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR)\n\n Question: What Championship had a Winning score of 6 & 5?\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_96 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the Winning Score when Betsy Rawls was the Runner(s)-up?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question regarding the Winning Score when Betsy Rawls was the Runner(s)-up:
```
SELECT winning_score FROM table_name_96 WHERE runner_s__up = "Betsy Rawls"
``` | 43,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR)\n\n Question: What was the Winning Score when Betsy Rawls was the Runn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR)
Question: In 1946, what is the Runner(s)-up of the Women's Western Open Championship?
Here is th... | Here is the SQLite query to answer the question regarding the Runner(s)-up of the Women's Western Open Championship in 1946:
```
SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = "1946";
``` | 43,254 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR)\n\n Question: In 1946, what is the Runner(s)-up of the Wo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)
Question: What is the Margin in 1953 when Patty Berg was Runner(s)-up?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the Margin in 1953 when Patty Berg was Runner(s)-up:
```
SELECT margin FROM table_name_29 WHERE runner_s__up = 'Patty Berg' AND year = '1953'
``` | 43,255 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)\n\n Question: What is the Margin in 1953 when Patty Berg was Ru... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR)
Question: What is the name of the primary with a DCSF number larger than 2337 and a... | Here is the SQLite query to answer your question:
```
SELECT name FROM table_name_74 WHERE type = "primary" AND dcsf_number > 2337 AND ofsted_number < 135339;
``` | 43,256 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR)\n\n Question: What is the name of the prima... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)
Question: What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
Here... | Here is the SQLite query to answer the question:
```
SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319
``` | 43,257 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)\n\n Question: What name that has a DCSF number bigger tha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (faith VARCHAR, dcsf_number VARCHAR, name VARCHAR)
Question: What faith has a DCSF number bigger than 2448 in Holtsmere End?
Here is the SQLite query to an... | Your SQLite query looks mostly correct, but the comparison for the DCSF number should ensure that the data type is treated correctly, as it's defined as `VARCHAR`. If the `dcsf_number` is stored as a string and contains non-numeric characters, it could cause issues with the comparison. However, assuming the DCSF number... | 43,258 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (faith VARCHAR, dcsf_number VARCHAR, name VARCHAR)\n\n Question: What faith has a DCSF number bigger than 2448 in Ho... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)
Question: What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 11733... | Here is the SQLite query to answer the question:
```
SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "Aycliffe Drive" AND ofsted_number < '117335';
```
Make sure that the `ofsted_number` comparison is done using a string format since it is defined as VARCHAR in the schema. | 43,259 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)\n\n Question: What's the lowest DCSF number in Aycliffe D... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)
Question: what city is the toamasina airport in?
Here is the SQLite query to answer to the question: what city is the toama... | Here is the SQLite query to answer the question about which city the Toamasina airport is in:
```
SELECT city FROM table_name_42 WHERE airport = "toamasina airport"
``` | 43,260 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)\n\n Question: what city is the toamasina airport in?\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_99 (country VARCHAR, city VARCHAR)
Question: What country has the city, Sydney?
Here is the SQLite query to answer to the question: What country has the city,... | Here is the SQLite query to answer the question: What country has the city, Sydney?:
```
SELECT country FROM table_name_99 WHERE city = "Sydney";
``` | 43,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (country VARCHAR, city VARCHAR)\n\n Question: What country has the city, Sydney?\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_63 (city VARCHAR, country VARCHAR)
Question: What city is in the country of Mayotte?
Here is the SQLite query to answer to the question: What city is in the c... | Here is the SQLite query to answer the question "What city is in the country of Mayotte?":
```
SELECT city FROM table_name_63 WHERE country = "Mayotte";
``` | 43,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (city VARCHAR, country VARCHAR)\n\n Question: What city is in the country of Mayotte?\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_96 (iata VARCHAR, airport VARCHAR)
Question: What is the IATA for the chennai international airport?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about the IATA for the Chennai International Airport:
```
SELECT iata FROM table_name_96 WHERE airport = "Chennai International Airport";
``` | 43,263 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (iata VARCHAR, airport VARCHAR)\n\n Question: What is the IATA for the chennai 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_78 (airport VARCHAR, iata VARCHAR)
Question: What is the airport name that has nos listed as the IATA?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question regarding the airport name that has "nos" listed as the IATA:
```
SELECT airport FROM table_name_78 WHERE iata = 'nos';
``` | 43,264 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (airport VARCHAR, iata VARCHAR)\n\n Question: What is the airport name that has nos listed as the IATA?\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_89 (part_number_s_ VARCHAR, model_number VARCHAR)
Question: What is the part number of athlon x2 4850e?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the part number of the athlon x2 4850e:
```
SELECT part_number_s_ FROM table_name_89 WHERE model_number = "athlon x2 4850e";
``` | 43,265 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (part_number_s_ VARCHAR, model_number VARCHAR)\n\n Question: What is the part number of athlon x2 4850e?\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_28 (frequency VARCHAR, multi_1 VARCHAR)
Question: What's the frequency of the device that has a Multi 1 of 7.5×?
Here is the SQLite query to answer to the que... | Your SQLite query to find the frequency of the device with a Multi 1 of "7.5×" looks correct. Here it is wrapped in code:
```
SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×";
``` | 43,266 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (frequency VARCHAR, multi_1 VARCHAR)\n\n Question: What's the frequency of the device that has a Multi 1 of 7.5×?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (l2_cache VARCHAR, frequency VARCHAR)
Question: What's amount of L2 Cache on a device that has a Frequency of 1500mhz?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the amount of L2 Cache on a device that has a Frequency of 1500mhz:
```
SELECT l2_cache FROM table_name_78 WHERE frequency = "1500mhz"
``` | 43,267 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (l2_cache VARCHAR, frequency VARCHAR)\n\n Question: What's amount of L2 Cache on a device that has a Frequency of 15... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR)
Question: When is the release date for a chip that has a Frequency of 2300mhz?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the release date for a chip with a frequency of 2300mhz:
```
SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz";
``` | 43,268 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR)\n\n Question: When is the release date for a chip that has a Frequency of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (release_date VARCHAR, multi_1 VARCHAR)
Question: When was the release date for technology that has a Multi 1 of 10.5×?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the release date for technology that has a Multi 1 of 10.5×:
```
SELECT release_date FROM table_name_72 WHERE multi_1 = "10.5×";
``` | 43,269 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (release_date VARCHAR, multi_1 VARCHAR)\n\n Question: When was the release date for technology that has a Multi 1 of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (stepping VARCHAR, part_number_s_ VARCHAR)
Question: What's the stepping amount for adh4450iaa5do?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question about the stepping amount for `adh4450iaa5do`:
```
SELECT stepping FROM table_name_61 WHERE part_number_s_ = "adh4450iaa5do"
``` | 43,270 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (stepping VARCHAR, part_number_s_ VARCHAR)\n\n Question: What's the stepping amount for adh4450iaa5do?\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_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
Question: Which Wins is the highest one that has a Year larger than 1996, and a Ch... | Here is the SQLite query to answer the question you specified:
```
SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = '1st' AND points < '168';
``` | 43,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)\n\n Question: Which Wins is the highest on... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR)
Question: Which Year is the highest that has a Team of walker racing, and Wins larger than 1?
Here is the SQLite... | Here is the SQLite query to answer the question:
```
SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1
``` | 43,272 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR)\n\n Question: Which Year is the highest that has a Team of walker racing,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR)
Question: Which Points have a Year larger than 1998, and Wins of 1?
Here is the SQLite query to answer to the ... | The SQLite query you provided is almost correct for answering the question; however, since you are asking for which Points have a Year larger than 1998 and Wins of 1, it would be more appropriate to select the points directly rather than calculating the average. Here is the corrected query:
```
SELECT points FROM tabl... | 43,273 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR)\n\n Question: Which Points have a Year larger than 1998, and Wins of 1?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR)
Question: What is the lowest bronze number when silver shows 2, and the total is 8?
Here is the SQLite quer... | Your query is almost correct, but it needs a small adjustment. Since `silver` is defined as a `VARCHAR`, you should compare it to the string `'2'`, and the `total`, being a `VARCHAR`, should be compared to the string `'8'`. Here is the corrected query:
```sql
SELECT MIN(bronze) FROM table_name_35 WHERE silver = '2' AN... | 43,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR)\n\n Question: What is the lowest bronze number when silver shows 2, ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the silver number when gold is more than 4, and the total is less than 24?
Here is the SQLi... | It seems like you want to find the average silver number given specific conditions on the `gold` and `total` columns. However, note that since `total` is defined as a `VARCHAR`, you may need to cast it to an integer for proper comparison. Here’s the correct query:
```sql
SELECT AVG(silver) FROM table_name_54 WHERE gol... | 43,275 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR)\n\n Question: What is the silver number when gold is more than 4, and ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR)
Question: What is the gold number when the total is 8 and bronze is more than 4?
Here is the SQLite query to ... | It looks like you're trying to get the average gold number based on specific conditions. However, since the `bronze` column is defined as a VARCHAR, you'll need to convert it to an INTEGER before performing the comparison. Here's the corrected SQLite query:
```sql
SELECT AVG(gold) FROM table_name_19 WHERE total = '8' ... | 43,276 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR)\n\n Question: What is the gold number when the total is 8 and bronze i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What is the sum of Total for 0 gold and less than 2, silver with a rank of 6?
Here is... | Your query is almost correct, but there's a small issue with the condition for the `gold` column, as it's currently treated as a string. If you want to check if `gold` equals 0, you should compare it as an integer. Here’s the corrected SQLite query to answer the question:
```
SELECT SUM(total) FROM table_name_11 WHERE... | 43,277 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR)\n\n Question: What is the sum of Total for 0 gold and le... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
Question: What is the average Gold when silver is more than 2, and bronze is more than 1
Here is the SQLite ... | Your SQLite query looks mostly correct, but for the conditions on `silver` and `bronze`, you'd want to ensure that they are appropriately filtered as they are both stored as VARCHAR types in your table. To do a comparison on these columns, you'd typically convert them to integers first. Assuming `silver` and `bronze` c... | 43,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR)\n\n Question: What is the average Gold when silver is more than 2, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the average Bronze when silver is more than 2, and rank is 2, and gold more t... | Here is the corrected SQLite query to answer the question:
```sql
SELECT AVG(bronze) FROM table_name_62 WHERE silver > 2 AND rank = '2' AND gold > 2;
```
In this query:
- `silver > 2` checks if the silver value is greater than 2 (assuming silver is an INTEGER).
- `rank = '2'` checks for the rank being exactly '2'.
... | 43,279 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)\n\n Question: What is the average Bronze when silver is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR)
Question: What city in Svalbard has a longitude of 15°39′e?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the city in Svalbard with a longitude of 15°39′e:
```
SELECT city FROM table_name_77 WHERE state = "svalbard" AND longitude = "15°39′e"
``` | 43,280 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR)\n\n Question: What city in Svalbard has a longitude of 15°39′e?\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 (longitude VARCHAR, latitude VARCHAR)
Question: If the latitude is 77°28′n, what is the longitude?
Here is the SQLite query to answer to the question: If t... | Here is the SQLite query that answers the question based on the given database schema:
```
SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n";
``` | 43,281 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR)\n\n Question: If the latitude is 77°28′n, what is the longitude?\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_52 (longitude VARCHAR, latitude VARCHAR)
Question: If the latitude is 76°25′n, what is the longitude?
Here is the SQLite query to answer to the question: If t... | Here is the SQLite query to answer the question: If the latitude is 76°25′n, what is the longitude?:
```
SELECT longitude FROM table_name_52 WHERE latitude = "76°25′n"
``` | 43,282 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (longitude VARCHAR, latitude VARCHAR)\n\n Question: If the latitude is 76°25′n, what is the longitude?\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_98 (longitude VARCHAR, latitude VARCHAR)
Question: If the latitude is 71°18′n, what is the longitude?
Here is the SQLite query to answer to the question: If t... | Here is the SQLite query to answer the question: If the latitude is 71°18′n, what is the longitude?:
```
SELECT longitude FROM table_name_98 WHERE latitude = '71°18′n';
``` | 43,283 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (longitude VARCHAR, latitude VARCHAR)\n\n Question: If the latitude is 71°18′n, what is the longitude?\n\nHere is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR)
Question: Who is the partner facing the opponents florian Mayer & alexander waske in the final?
Here is t... | Here is the SQLite query you can use to find the partner facing the opponents Florian Mayer & Alexander Wase in the final:
```
SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske"
``` | 43,284 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR)\n\n Question: Who is the partner facing the opponents florian Maye... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
Question: Which tournament has a hard surface and final opponents rohan bopanna & must... | Here is the SQLite query to answer the question about which tournament has a hard surface and final opponents Rohan Bopanna and Mustafa Ghouse:
```
SELECT tournament FROM table_name_19 WHERE surface = "hard" AND opponents_in_the_final = "rohan bopanna & mustafa ghouse"
``` | 43,285 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)\n\n Question: Which tournament has a hard surf... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)
Question: On which date did the tournament final with the clay surface take place?
Here is the SQLite query to answer to th... | Your SQLite query is correct for retrieving the date of the tournament final with a clay surface. Here it is, properly formatted:
```
SELECT date FROM table_name_94 WHERE surface = "clay";
```
Make sure that your table `table_name_94` contains the relevant data for this query to return a meaningful result. | 43,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)\n\n Question: On which date did the tournament final with the clay surface take plac... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (tournament VARCHAR, partner VARCHAR)
Question: Which tournament features the partner julian knowle?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question: Which tournament features the partner julian knowle?:
```
SELECT tournament FROM table_name_93 WHERE partner = "julian knowle"
``` | 43,287 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (tournament VARCHAR, partner VARCHAR)\n\n Question: Which tournament features the partner julian knowle?\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_98 (date VARCHAR, opponents_in_the_final VARCHAR)
Question: On which date is the tournament final with the opponents michael berrer & kenneth carlsen?
Here is... | Here is the SQLite query to answer the question about the date of the tournament final with the opponents Michael Berrer & Kenneth Carlsen:
```
SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen";
``` | 43,288 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (date VARCHAR, opponents_in_the_final VARCHAR)\n\n Question: On which date is the tournament final with the opponent... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (score VARCHAR, february VARCHAR, game VARCHAR)
Question: What was the score after february 4 in the game 61?
Here is the SQLite query to answer to the que... | Your query is almost correct, but it needs a slight adjustment to handle the fact that `february` is likely stored as a `VARCHAR`, which may lead to incorrect comparisons when filtering by date. Here’s the corrected query:
```sql
SELECT score FROM table_name_30 WHERE CAST(february AS INTEGER) > 4 AND game = '61'
```
... | 43,289 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (score VARCHAR, february VARCHAR, game VARCHAR)\n\n Question: What was the score after february 4 in the game 61?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
Question: What is Arkansas State's total pick number with an overal lower than 242?
Here is the SQ... | The provided SQLite query is structured correctly to answer the question. Here it is wrapped properly:
```
SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242
```
This query counts the total number of pick numbers for Arkansas State where the overall is less than 242. | 43,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)\n\n Question: What is Arkansas State's total pick number wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (name VARCHAR, college VARCHAR)
Question: Who is from the College of Cincinnati?
Here is the SQLite query to answer to the question: Who is from the Colleg... | Here's the SQLite query to answer the question:
```
SELECT name FROM table_name_38 WHERE college = "Cincinnati";
``` | 43,291 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (name VARCHAR, college VARCHAR)\n\n Question: Who is from the College of Cincinnati?\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_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What is the overall number for a kicker with a pick of less than 6?
Here is the SQLite ... | It looks like there might be a misunderstanding in the query since you want to retrieve the overall number of a kicker, not just count the entries. If you want to get the overall number for kickers with a pick number less than 6, you should use the following query:
```sql
SELECT overall FROM table_name_84 WHERE positi... | 43,292 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)\n\n Question: What is the overall number for a kicker with... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR)
Question: Which college has a defensive end with a round less than 6?
Here is the SQLite query to answer... | It looks like there's a small mistake in your query. You want to select colleges that have a defensive end with a round less than 6, but the condition in your WHERE clause checks for rounds greater than 6. Here's the corrected SQL query:
```sql
SELECT college FROM table_name_84 WHERE round < 6 AND position = "defensiv... | 43,293 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR)\n\n Question: Which college has a defensive end with a round less... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR)
Question: What record has a score of 111-96?
Here is the SQLite query to answer to the question: What record has a score of... | Here is the SQLite query to answer the question about which record has a score of 111-96:
```
SELECT record FROM table_name_56 WHERE score = "111-96";
``` | 43,294 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR)\n\n Question: What record has a score of 111-96?\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_53 (score VARCHAR, game VARCHAR, record VARCHAR)
Question: What is the score for a game after 34 with a record of 31-11?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the score for a game after 34 with a record of 31-11:
```
SELECT score FROM table_name_53 WHERE game > 34 AND record = '31-11';
``` | 43,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (score VARCHAR, game VARCHAR, record VARCHAR)\n\n Question: What is the score for a game after 34 with a record of 3... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (date VARCHAR, score VARCHAR)
Question: What was the date with a resulted score of 130-100?
Here is the SQLite query to answer to the question: What was th... | Here is the SQLite query to answer the question about the date with a resulted score of 130-100:
```
SELECT date FROM table_name_16 WHERE score = "130-100";
``` | 43,296 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (date VARCHAR, score VARCHAR)\n\n Question: What was the date with a resulted score of 130-100?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (water VARCHAR, metal VARCHAR)
Question: Which Water has a Metal of contracting?
Here is the SQLite query to answer to the question: Which Water has a Meta... | Here is the SQLite query to answer the question "Which Water has a Metal of contracting?":
```
SELECT water FROM table_name_72 WHERE metal = "contracting";
``` | 43,297 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (water VARCHAR, metal VARCHAR)\n\n Question: Which Water has a Metal of contracting?\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_84 (metal VARCHAR, element VARCHAR)
Question: Which Metal has an Element of heavenly stems?
Here is the SQLite query to answer to the question: Which Metal ha... | Here is the SQLite query to answer the question: Which Metal has an Element of heavenly stems?:
```
SELECT metal FROM table_name_84 WHERE element = "heavenly stems";
``` | 43,298 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (metal VARCHAR, element VARCHAR)\n\n Question: Which Metal has an Element of heavenly stems?\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_50 (water VARCHAR, wood VARCHAR)
Question: Which water has green wood?
Here is the SQLite query to answer to the question: Which water has green wood?:
```
SE... | Here is the SQLite query to answer the question: Which water has green wood?:
```
SELECT water FROM table_name_50 WHERE wood = "green";
``` | 43,299 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR)\n\n Question: Which water has green wood?\n\nHere is the SQLite query to answer to the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.