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_42 (date VARCHAR, opponent_number VARCHAR)
Question: what is the date when the opponent# is iowa?
Here is the SQLite query to answer to the question: what is ... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_42 WHERE opponent_number = "iowa"
``` | 23,800 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (date VARCHAR, opponent_number VARCHAR)\n\n Question: what is the date when the opponent# is iowa?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (date VARCHAR, site VARCHAR, attendance VARCHAR)
Question: what is the date when the site is memorial stadium • minneapolis, mn, and the Attendance is 53,19... | Here is the SQLite query to answer the question regarding the date when the site is memorial stadium • minneapolis, mn, and the Attendance is 53,192:
```
SELECT date FROM table_name_70 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "53,192";
``` | 23,801 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (date VARCHAR, site VARCHAR, attendance VARCHAR)\n\n Question: what is the date when the site is memorial stadium • ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (attendance VARCHAR, result VARCHAR)
Question: What is the Attendance when the Result is l0-13?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question regarding attendance when the result is "l0-13":
```
SELECT attendance FROM table_name_59 WHERE result = "l0-13";
``` | 23,802 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (attendance VARCHAR, result VARCHAR)\n\n Question: What is the Attendance when the Result is l0-13?\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_37 (site VARCHAR, date VARCHAR)
Question: What is the Site when the date is 11/11/1950?
Here is the SQLite query to answer to the question: What is the Site w... | Here is the SQLite query to answer the question about the site when the date is 11/11/1950:
```
SELECT site FROM table_name_37 WHERE date = "11/11/1950";
``` | 23,803 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (site VARCHAR, date VARCHAR)\n\n Question: What is the Site when the date is 11/11/1950?\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_65 (date VARCHAR, result VARCHAR)
Question: What is the Date when the result is *non-conference game. #rankings from ap poll .?
Here is the SQLite query to an... | Here is the SQLite query formatted correctly to answer the question regarding the date when the result is "*non-conference game. #rankings from ap poll .":
```
SELECT date FROM table_name_65 WHERE result = "*non-conference game. #rankings from ap poll .";
``` | 23,804 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (date VARCHAR, result VARCHAR)\n\n Question: What is the Date when the result is *non-conference game. #rankings fro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)
Question: Which Player has a Round smaller than 5, and a School/Club Team of florida state?
Here ... | Here is the SQLite query to answer the question about which player has a round smaller than 5 and a school/club team of Florida State:
```
SELECT player FROM table_name_77 WHERE round < 5 AND school_club_team = "florida state"
``` | 23,805 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)\n\n Question: Which Player has a Round smaller than 5, and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (school_club_team VARCHAR, pick VARCHAR)
Question: Which School/Club Team has a Pick of 198?
Here is the SQLite query to answer to the question: Which Schoo... | Here is the SQLite query to answer the question: Which School/Club Team has a Pick of 198?:
```
SELECT school_club_team FROM table_name_7 WHERE pick = '198'
``` | 23,806 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (school_club_team VARCHAR, pick VARCHAR)\n\n Question: Which School/Club Team has a Pick of 198?\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_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
Question: Which Round has a School/Club Team of indiana, and a Pick smaller than 198?
Here is the S... | It appears there is a slight misunderstanding in the SQL query you provided. You are using `AVG(round)` which will return the average of the round numbers that meet the criteria, but the question actually asks which rounds meet the conditions.
To answer the question correctly, we should select the distinct rounds that... | 23,807 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)\n\n Question: Which Round has a School/Club Team of indiana,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR, pick VARCHAR)
Question: Which Round has a School/Club Team of north carolina, and a Pick larger than 131?
Here is... | Here is the SQLite query to answer the question:
```
SELECT round FROM table_name_84 WHERE school_club_team = 'north carolina' AND pick > 131;
``` | 23,808 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR, pick VARCHAR)\n\n Question: Which Round has a School/Club Team of north ca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
Question: Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?
Here is ... | Here is the SQLite query to answer the question:
```
SELECT MAX(round) FROM table_name_67 WHERE school_club_team = "cal-poly slo" AND pick < 238
``` | 23,809 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)\n\n Question: Which Round has a School/Club Team of cal-poly... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (away_team VARCHAR, tie_no VARCHAR)
Question: What is the away team with a 5 tie no?
Here is the SQLite query to answer to the question: What is the away t... | Here is the SQLite query to answer the question about the away team with a tie number of 5:
```
SELECT away_team FROM table_name_66 WHERE tie_no = '5';
``` | 23,810 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (away_team VARCHAR, tie_no VARCHAR)\n\n Question: What is the away team with a 5 tie no?\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_50 (home_team VARCHAR, away_team VARCHAR)
Question: What is the home team with scarborough as the away team?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question: What is the home team with scarborough as the away team?:
```
SELECT home_team FROM table_name_50 WHERE away_team = "scarborough";
``` | 23,811 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)\n\n Question: What is the home team with scarborough as the away team?\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_37 (date VARCHAR, tie_no VARCHAR)
Question: What is the date of tie no. 34?
Here is the SQLite query to answer to the question: What is the date of tie no. 34... | Your SQLite query to find the date of tie no. 34 is correct. Here it is wrapped in a code block:
```
SELECT date FROM table_name_37 WHERE tie_no = "34";
``` | 23,812 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (date VARCHAR, tie_no VARCHAR)\n\n Question: What is the date of tie no. 34?\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (nationality VARCHAR, player VARCHAR)
Question: What is Michael Del Zotto's nationality?
Here is the SQLite query to answer to the question: What is Michae... | Here is the SQLite query to answer the question: What is Michael Del Zotto's nationality?:
```
SELECT nationality FROM table_name_54 WHERE player = "Michael Del Zotto";
``` | 23,813 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (nationality VARCHAR, player VARCHAR)\n\n Question: What is Michael Del Zotto's nationality?\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_16 (lost INTEGER, points INTEGER)
Question: What is the highest loss with points less than 7?
Here is the SQLite query to answer to the question: What is the ... | The SQLite query you provided is correct. Here it is wrapped in code format:
```
SELECT MAX(lost) FROM table_name_16 WHERE points < 7
``` | 23,814 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (lost INTEGER, points INTEGER)\n\n Question: What is the highest loss with points less than 7?\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_73 (match INTEGER, draw INTEGER)
Question: What is the sum for the match with a draw less than 0?
Here is the SQLite query to answer to the question: What is ... | Your SQLite query is correct. It will sum the `match` values for all records where the `draw` value is less than 0. Here is your query wrapped in code formatting:
```
SELECT SUM(match) FROM table_name_73 WHERE draw < 0
``` | 23,815 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (match INTEGER, draw INTEGER)\n\n Question: What is the sum for the match with a draw less than 0?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (points INTEGER, match INTEGER)
Question: What is the lowest points for a match before 14?
Here is the SQLite query to answer to the question: What is the ... | The query you've provided is actually looking for the minimum points for matches where the match number is greater than 14, rather than the lowest points for a match before 14.
To get the lowest points for a match before 14, you should filter for matches less than 14. Here’s the corrected SQLite query:
```
SELECT MI... | 23,816 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (points INTEGER, match INTEGER)\n\n Question: What is the lowest points for a match before 14?\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_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)
Question: How many points were there when there were less than 16 rebounds and 5 assists?
Here is the S... | The SQLite query you provided is almost correct, but it will not work properly because the columns `points`, `assists`, and `rebounds` are defined as `VARCHAR`. This means they store values as strings rather than numbers. You would typically need to cast them to integers to perform numeric comparisons.
Here is the cor... | 23,817 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)\n\n Question: How many points were there when there were less th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR)
Question: How many minutes were played when there were 18 points and the opponent was Chicago Bul... | Your SQLite query is almost correct, but there are a couple of adjustments needed. The `points` column is defined as `VARCHAR`, so the value `18` should be enclosed in quotes to be treated as a string. Also, if you're looking to sum the minutes played, it would be more appropriate to use a `SUM` function instead of `CO... | 23,818 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR)\n\n Question: How many minutes were played when there wer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (mountain_range VARCHAR, region VARCHAR, location VARCHAR)
Question: Which Mountain Range has a Region of haiti, and a Location of 18.3601°n 71.9764°w?
Her... | Here is the SQLite query to answer the question regarding which Mountain Range has a Region of haiti and a Location of 18.3601°n 71.9764°w:
```
SELECT mountain_range FROM table_name_82 WHERE region = "haiti" AND location = "18.3601°n 71.9764°w"
``` | 23,819 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (mountain_range VARCHAR, region VARCHAR, location VARCHAR)\n\n Question: Which Mountain Range has a Region of haiti,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (mountain_peak VARCHAR, rank VARCHAR)
Question: Name the Mountain Peak which has a Rank of 62?
Here is the SQLite query to answer to the question: Name the ... | Here is the SQLite query to answer the question about naming the Mountain Peak which has a Rank of 62:
```
SELECT mountain_peak FROM table_name_2 WHERE rank = '62';
``` | 23,820 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (mountain_peak VARCHAR, rank VARCHAR)\n\n Question: Name the Mountain Peak which has a Rank of 62?\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_87 (mountain_peak VARCHAR, region VARCHAR, location VARCHAR)
Question: Which Mountain Peak has a Region of baja california, and a Location of 28.1301°n 115.220... | Here is the SQLite query to answer your question about the mountain peak with the specified region and location:
```
SELECT mountain_peak FROM table_name_87 WHERE region = "baja california" AND location = "28.1301°n 115.2206°w"
``` | 23,821 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (mountain_peak VARCHAR, region VARCHAR, location VARCHAR)\n\n Question: Which Mountain Peak has a Region of baja cal... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (region VARCHAR, mountain_peak VARCHAR)
Question: Name the Region with a Mountain Peak of dillingham high point?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the region with a mountain peak of "dillingham high point":
```
SELECT region FROM table_name_95 WHERE mountain_peak = "dillingham high point";
``` | 23,822 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (region VARCHAR, mountain_peak VARCHAR)\n\n Question: Name the Region with a Mountain Peak of dillingham high point?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (money___ INTEGER, score VARCHAR)
Question: How much was paid to the player whose score was 70-71-77-76=294?
Here is the SQLite query to answer to the ques... | It looks like there is a misunderstanding in how to write the SQL query for your requirement. The score you've provided (70-71-77-76=294) doesn't directly translate into a string in the database, as it seems to imply arithmetic rather than a direct string comparison.
To clarify and correctly compute the result, you wo... | 23,823 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (money___ INTEGER, score VARCHAR)\n\n Question: How much was paid to the player whose score was 70-71-77-76=294?\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_32 (country VARCHAR, money___$__ VARCHAR, player VARCHAR)
Question: Which country is Pete Cooper, who made $816, from?
Here is the SQLite query to answer to t... | Your query has the right idea, but since the `money___$__` column is of type VARCHAR, you need to match it as a string. Here’s the corrected query:
```
SELECT country FROM table_name_32 WHERE money___$__ = '816' AND player = 'Pete Cooper';
```
Make sure to check the case sensitivity in the `player` field, as it is f... | 23,824 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (country VARCHAR, money___$__ VARCHAR, player VARCHAR)\n\n Question: Which country is Pete Cooper, who made $816, fr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: What is the lowest round of the position de player with an overall less than 84?
Here is the S... | Here is the SQLite query to answer the question about the lowest round of the position "de" player with an overall less than 84:
```
SELECT MIN(round) FROM table_name_51 WHERE position = "de" AND overall < 84
``` | 23,825 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (round INTEGER, position VARCHAR, overall VARCHAR)\n\n Question: What is the lowest round of the position de player ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, overall VARCHAR)
Question: What is the highest pick of the player from texas a&i with an overall less than 28?
Here is the ... | Here is the SQLite query to answer the question about the highest pick of the player from Texas A&I with an overall less than 28:
```
SELECT MAX(pick) FROM table_name_13 WHERE college = "texas a&i" AND overall < 28
``` | 23,826 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, overall VARCHAR)\n\n Question: What is the highest pick of the player from texas a&i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (round INTEGER, college VARCHAR, pick VARCHAR)
Question: What is the average round of the player from the college of baylor with a pick less than 28?
Here ... | Here is the SQLite query to answer the question about the average round of the player from the college of Baylor with a pick less than 28:
```
SELECT AVG(round) FROM table_name_18 WHERE college = "baylor" AND pick < 28
``` | 23,827 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (round INTEGER, college VARCHAR, pick VARCHAR)\n\n Question: What is the average round of the player from the colleg... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (pick INTEGER, college VARCHAR, round VARCHAR)
Question: What is the sum of the pick from texas a&i college with a round greater than 1?
Here is the SQLite ... | Here is the corrected SQLite query to answer the question, wrapped appropriately:
```
SELECT SUM(pick) FROM table_name_3 WHERE college = 'texas a&i' AND round > '1'
```
Note that strings are enclosed in single quotes in SQL. Also, the comparison for the `round` field assumes it's a string type based on your schema u... | 23,828 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (pick INTEGER, college VARCHAR, round VARCHAR)\n\n Question: What is the sum of the pick from texas a&i college with ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (date VARCHAR, opponent VARCHAR)
Question: What date was the opponent the Boston Yanks?
Here is the SQLite query to answer to the question: What date was t... | Here is the SQLite query to answer the question about the date when the opponent was the Boston Yanks:
```
SELECT date FROM table_name_44 WHERE opponent = "Boston Yanks";
``` | 23,829 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (date VARCHAR, opponent VARCHAR)\n\n Question: What date was the opponent the Boston Yanks?\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_41 (record VARCHAR, date VARCHAR)
Question: What was the record for December 5, 1948?
Here is the SQLite query to answer to the question: What was the record ... | Here's the SQLite query to answer the question regarding the record for December 5, 1948:
```
SELECT record FROM table_name_41 WHERE date = "December 5, 1948";
``` | 23,830 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)\n\n Question: What was the record for December 5, 1948?\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_62 (nets_points INTEGER, game VARCHAR, opponents VARCHAR)
Question: What was the average point total for the nets in games before game 9 where the opponents sc... | Your query is almost correct, but there are a couple of adjustments needed. The condition for the opponent's score should be related to a score column, but in your schema, there is no direct score column for opponents. Assuming that "opponents" refers to the name of the opposing team and not their score, we need to rev... | 23,831 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (nets_points INTEGER, game VARCHAR, opponents VARCHAR)\n\n Question: What was the average point total for the nets i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR)
Question: In which game did the opponent score more than 103 and the record was 1-3?
Here is the SQLite q... | Your query seems to be close to what you intend to achieve, but there are a couple of issues. You should select the `game` field instead of calculating the `AVG(game)`, and the condition `opponents > 103` should be corrected to ensure it checks for the score properly.
Here is the corrected SQL query:
```
SELECT game ... | 23,832 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR)\n\n Question: In which game did the opponent score more than 103 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 (game INTEGER, date VARCHAR)
Question: What is the lowest Game, when Date is "November 1"?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to answer the question of finding the lowest Game when the Date is "November 1":
```
SELECT MIN(game) FROM table_name_45 WHERE date = "November 1"
``` | 23,833 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)\n\n Question: What is the lowest Game, when Date is \"November 1\"?\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_50 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: What is High Rebounds, when High Assists is "Jason Kidd (13)"?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding High Rebounds when High Assists is "Jason Kidd (13)":
```
SELECT high_rebounds FROM table_name_50 WHERE high_assists = "Jason Kidd (13)"
``` | 23,834 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_assists VARCHAR)\n\n Question: What is High Rebounds, when High Assists is \"Jason Kidd... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR)
Question: What is the Date of the Competition with a Result of 3–0?
Here is the SQLite query to answer to the question: What... | Your SQLite query is correctly structured to retrieve the date of the competition with a result of "3–0". Here it is again wrapped in the appropriate code block:
```
SELECT date FROM table_name_75 WHERE result = "3–0";
``` | 23,835 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR)\n\n Question: What is the Date of the Competition with a Result of 3–0?\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_86 (score VARCHAR, competition VARCHAR)
Question: What is the Score of the Fifa World Cup 1986 Qualifying Competition?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the score of the FIFA World Cup 1986 Qualifying Competition:
```
SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying";
``` | 23,836 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR)\n\n Question: What is the Score of the Fifa World Cup 1986 Qualifying Competiti... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (score VARCHAR, competition VARCHAR)
Question: What is the Score of the Fifa World Cup 1986 Play-off Competition?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the score of the Fifa World Cup 1986 Play-off Competition:
```
SELECT score FROM table_name_7 WHERE competition = "fifa world cup 1986 play-off";
``` | 23,837 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (score VARCHAR, competition VARCHAR)\n\n Question: What is the Score of the Fifa World Cup 1986 Play-off Competition?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (game VARCHAR, home_team VARCHAR, date VARCHAR)
Question: What is the Game number on April 12 with St. Louis Home Team?
Here is the SQLite query to answer ... | Your SQLite query looks good, but it’s important to ensure that the case sensitivity matches the data in your database. SQLite is case-insensitive for strings unless you use specific collations. Here’s the query wrapped properly:
```
SELECT game FROM table_name_11 WHERE home_team = "St. Louis" AND date = "April 12";
`... | 23,838 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (game VARCHAR, home_team VARCHAR, date VARCHAR)\n\n Question: What is the Game number on April 12 with St. Louis Hom... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
Question: What is the Result of the Game on April 9?
Here is the SQLite query to answer to the question: What is the Result ... | Here is the SQLite query to answer the question about the Result of the Game on April 9:
```sql
SELECT result FROM table_name_87 WHERE date = "April 9";
``` | 23,839 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)\n\n Question: What is the Result of the Game on April 9?\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_33 (game VARCHAR, date VARCHAR)
Question: What is the Game number on March 30?
Here is the SQLite query to answer to the question: What is the Game number on ... | Here is the SQLite query to answer the question about the Game number on March 30:
```sql
SELECT game FROM table_name_33 WHERE date = "March 30";
``` | 23,840 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (game VARCHAR, date VARCHAR)\n\n Question: What is the Game number on March 30?\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_9 (game VARCHAR, result VARCHAR)
Question: What Game had a Result of 136-112?
Here is the SQLite query to answer to the question: What Game had a Result of 13... | The SQLite query you provided correctly addresses the question of finding the game with the result of 136-112. Here it is wrapped in the requested format:
```
SELECT game FROM table_name_9 WHERE result = "136-112";
``` | 23,841 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR)\n\n Question: What Game had a Result of 136-112?\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_16 (result VARCHAR, game VARCHAR)
Question: What is the Result of Game 3?
Here is the SQLite query to answer to the question: What is the Result of Game 3?:
`... | Here is the SQLite query to answer the question: What is the Result of Game 3?:
```
SELECT result FROM table_name_16 WHERE game = "game 3";
``` | 23,842 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (result VARCHAR, game VARCHAR)\n\n Question: What is the Result of Game 3?\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 (date VARCHAR, road_team VARCHAR, game VARCHAR)
Question: On what Date is Game 3 with Boston Road Team?
Here is the SQLite query to answer to the question:... | The SQLite query to answer the question "On what Date is Game 3 with Boston Road Team?" is as follows:
```
SELECT date FROM table_name_93 WHERE road_team = "boston" AND game = "game 3";
``` | 23,843 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (date VARCHAR, road_team VARCHAR, game VARCHAR)\n\n Question: On what Date is Game 3 with Boston Road Team?\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_21 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team in the match against Luton Town?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question: Who was the home team in the match against Luton Town?:
```
SELECT home_team FROM table_name_21 WHERE away_team = "Luton Town";
``` | 23,844 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (home_team VARCHAR, away_team VARCHAR)\n\n Question: Who was the home team in the match against Luton Town?\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_38 (tie_no VARCHAR, away_team VARCHAR)
Question: What tie happened with Southampton?
Here is the SQLite query to answer to the question: What tie happened wit... | Here's the SQLite query to answer the question about the tie that happened with Southampton:
```
SELECT tie_no FROM table_name_38 WHERE away_team = 'southampton';
``` | 23,845 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (tie_no VARCHAR, away_team VARCHAR)\n\n Question: What tie happened with Southampton?\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_56 (tie_no VARCHAR, home_team VARCHAR)
Question: What was the tie resulting from Sheffield Wednesday's game?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the tie resulting from Sheffield Wednesday's game:
```
SELECT tie_no FROM table_name_56 WHERE home_team = "Sheffield Wednesday";
``` | 23,846 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (tie_no VARCHAR, home_team VARCHAR)\n\n Question: What was the tie resulting from Sheffield Wednesday's game?\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_74 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
Question: Which Week has an Opponent of washington redskins, and an Attendance larger than 56,077?
Her... | The provided SQL query has a couple of issues that need correction. The `attendance` column is defined as a `VARCHAR`, so we need to cast it to an integer for the comparison. Additionally, the `COUNT(week)` function will return the number of weeks matching the criteria, but does not directly answer the question regardi... | 23,847 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)\n\n Question: Which Week has an Opponent of washington redskins... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (attendance INTEGER, date VARCHAR)
Question: Which Attendance has a Date of november 19, 1961?
Here is the SQLite query to answer to the question: Which At... | Here is the SQLite query to answer the question:
```sql
SELECT attendance FROM table_name_61 WHERE date = "november 19, 1961";
``` | 23,848 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (attendance INTEGER, date VARCHAR)\n\n Question: Which Attendance has a Date of november 19, 1961?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)
Question: What was the result on october 8, 1961?
Here is the SQLite query to answer to the question: What was the result on... | Here is the SQLite query to answer the question about the result on October 8, 1961:
```
SELECT result FROM table_name_49 WHERE date = "october 8, 1961";
``` | 23,849 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)\n\n Question: What was the result on october 8, 1961?\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_74 (league VARCHAR, finish VARCHAR, losses VARCHAR)
Question: What league had a finish of 2nd and 3 losses?
Here is the SQLite query to answer to the question... | Your query is almost correct, but since the "losses" column is defined as VARCHAR in the schema, you need to treat it as a string. Here's the corrected SQL query:
```
SELECT league FROM table_name_74 WHERE finish = "2nd" AND losses = "3"
``` | 23,850 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (league VARCHAR, finish VARCHAR, losses VARCHAR)\n\n Question: What league had a finish of 2nd and 3 losses?\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_59 (losses VARCHAR, ties INTEGER)
Question: What is the number of losses when the ties are lesser than 0?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the number of losses when the ties are lesser than 0:
```
SELECT COUNT(losses) FROM table_name_59 WHERE ties < 0
``` | 23,851 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (losses VARCHAR, ties INTEGER)\n\n Question: What is the number of losses when the ties are lesser than 0?\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_81 (losses INTEGER, wins VARCHAR, league VARCHAR, season VARCHAR)
Question: What is the losses in the NFL in the 2011 season with less than 13 wins?
Here is t... | Here's the corrected SQLite query to answer the question regarding the losses in the NFL in the 2011 season with less than 13 wins:
```
SELECT losses FROM table_name_81 WHERE league = 'nfl' AND season = '2011' AND wins < '13';
```
Please note that the `wins` field is of type VARCHAR, so we should treat numbers as st... | 23,852 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (losses INTEGER, wins VARCHAR, league VARCHAR, season VARCHAR)\n\n Question: What is the losses in the NFL in the 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, league VARCHAR, finish VARCHAR)
Question: What is the highest wins for the NFL with a finish of 1st, and more than 6 losses?
... | Your SQLite query is mostly correct, but there is a small issue with the `losses` column, which is defined as a `VARCHAR`. This means you need to cast the `losses` to an integer for the comparison. Here is the corrected SQLite query:
```sql
SELECT MAX(wins)
FROM table_name_27
WHERE league = "nfl" AND finish = "1st" ... | 23,853 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, league VARCHAR, finish VARCHAR)\n\n Question: What is the highest wins for the NFL wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (ties INTEGER, wins VARCHAR, league VARCHAR, losses VARCHAR)
Question: What is the lowest number of ties in the NFL, with less than 2 losses and less than 1... | The provided query is almost correct, but it requires some minor adjustments to accurately filter for losses and wins as integers. Here’s the revised version:
```sql
SELECT MIN(ties) FROM table_name_12 WHERE league = "nfl" AND CAST(losses AS INTEGER) < 2 AND CAST(wins AS INTEGER) < 15;
```
This query ensures that bo... | 23,854 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (ties INTEGER, wins VARCHAR, league VARCHAR, losses VARCHAR)\n\n Question: What is the lowest number of ties in the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR)
Question: Who was the runner-up in the RR Donnelley LPGA Founders Cup?
Here is the SQLite query to answer to the... | Your provided SQLite query is correctly formatted to answer the question about the runner-up in the RR Donnelley LPGA Founders Cup. Here's the query wrapped in code:
```
SELECT runner_s__up FROM table_name_52 WHERE tournament = "RR Donnelley LPGA Founders Cup";
```
Note: The case sensitivity of the tournament name i... | 23,855 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR)\n\n Question: Who was the runner-up in the RR Donnelley LPGA Founders Cup... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (surface VARCHAR, date VARCHAR)
Question: What is the surface on 21 june 1993?
Here is the SQLite query to answer to the question: What is the surface on 2... | Here is the SQLite query to answer the question about the surface on 21 June 1993:
```
SELECT surface FROM table_name_60 WHERE date = "21 june 1993";
``` | 23,856 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (surface VARCHAR, date VARCHAR)\n\n Question: What is the surface on 21 june 1993?\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_31 (score VARCHAR, championship VARCHAR, opponent VARCHAR)
Question: what is the score when the championship is rome and the opponent is richard krajicek?
Her... | Here is the SQLite query to answer the question about the score when the championship is "rome" and the opponent is "richard krajicek":
```
SELECT score FROM table_name_31 WHERE championship = "rome" AND opponent = "richard krajicek";
``` | 23,857 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (score VARCHAR, championship VARCHAR, opponent VARCHAR)\n\n Question: what is the score when the championship is rom... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)
Question: who is the opponent when the surface is clay, the outcome... | Here is the SQLite query to answer the question:
```
SELECT opponent FROM table_name_93 WHERE surface = "clay" AND outcome = "winner" AND championship = "estoril" AND date = "15 april 1996";
``` | 23,858 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)\n\n Question: who is the op... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
Question: who is the opponent on 18 january 1993?
Here is the SQLite query to answer to the question: who is the opponent ... | Here is the SQLite query to answer the question about the opponent on 18 January 1993:
```
SELECT opponent FROM table_name_23 WHERE date = "18 january 1993";
``` | 23,859 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)\n\n Question: who is the opponent on 18 january 1993?\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_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: what is the score when the outcome is winner against yevgeny kafelnikov?
Here is the SQLite qu... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_name_51 WHERE outcome = "winner" AND opponent = "yevgeny kafelnikov";
``` | 23,860 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)\n\n Question: what is the score when the outcome is winner agains... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What was the highest number of attendance in a week before 8 and game on October 25, 1981?
Here ... | The query you provided attempts to find the maximum attendance for a specific date, but it should look for the maximum attendance in a week before week 8, not just for the date you specified. The date condition and week condition need to be adjusted. Here's the correct query:
```sql
SELECT MAX(attendance)
FROM table_... | 23,861 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n Question: What was the highest number of attendance in a week b... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)
Question: On what date did the team play againt the New Orleans Saints?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the date the team played against the New Orleans Saints:
```
SELECT date FROM table_name_6 WHERE opponent = "New Orleans Saints";
``` | 23,862 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)\n\n Question: On what date did the team play againt the New Orleans Saints?\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_40 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What was the average number of attendance for the game on November 29, 1981 played after week 13?... | Here is the SQLite query to answer your question:
```
SELECT AVG(attendance) FROM table_name_40 WHERE date = "November 29, 1981" AND week > '13'
``` | 23,863 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n Question: What was the average number of attendance for the gam... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (model_number VARCHAR, frequency VARCHAR, socket VARCHAR)
Question: Which model has a frequency of 750 mhz and a socket of bga2μpga2?
Here is the SQLite qu... | Here is the SQLite query you requested, formatted properly:
```
SELECT model_number FROM table_name_19 WHERE frequency = "750 mhz" AND socket = "bga2μpga2";
``` | 23,864 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (model_number VARCHAR, frequency VARCHAR, socket VARCHAR)\n\n Question: Which model has a frequency of 750 mhz and a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (model_number VARCHAR, socket VARCHAR)
Question: What model number uses standard voltage socket?
Here is the SQLite query to answer to the question: What m... | Here is the SQLite query to answer the question regarding which model number uses a standard voltage socket:
```
SELECT model_number FROM table_name_48 WHERE socket = "standard voltage";
``` | 23,865 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (model_number VARCHAR, socket VARCHAR)\n\n Question: What model number uses standard voltage socket?\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_52 (date VARCHAR, round VARCHAR)
Question: what is the date when the round is sf?
Here is the SQLite query to answer to the question: what is the date when th... | Here is the SQLite query to answer the question of what is the date when the round is "sf":
```
SELECT date FROM table_name_52 WHERE round = "sf";
``` | 23,866 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (date VARCHAR, round VARCHAR)\n\n Question: what is the date when the round is sf?\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_80 (date VARCHAR, round VARCHAR)
Question: what is the date when the round is qf?
Here is the SQLite query to answer to the question: what is the date when th... | Your SQLite query is correct and effectively retrieves the date when the round is "qf." Here it is wrapped in code format:
```
SELECT date FROM table_name_80 WHERE round = "qf";
```
This query selects the `date` from the `table_name_80` table where the `round` matches the string "qf". | 23,867 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (date VARCHAR, round VARCHAR)\n\n Question: what is the date when the round is qf?\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_88 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
Question: Which Attendance has an Opponent of new york giants, and a Week smaller than 5?
Here is the ... | Your query is almost correct, but it seems that you want to find the attendance values rather than the average attendance. The "week" column is likely a string, so comparing it to an integer might not yield the expected results. You should convert the week to an integer for the comparison or ensure it is compared as a ... | 23,868 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (attendance INTEGER, opponent VARCHAR, week VARCHAR)\n\n Question: Which Attendance has an Opponent of new york gian... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: Which Week has an Opponent of pittsburgh steelers, and an Attendance larger than 47,727?
Her... | It looks like there are a couple of issues in your SQLite query. The comparison for attendance should properly convert the attendance value from a string to an integer, and the OFFSET clause is mistakenly used here. Instead, you should use a condition to check attendance against the integer value of 47727.
Here’s the ... | 23,869 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR, attendance VARCHAR)\n\n Question: Which Week has an Opponent of pittsburgh steelers... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: Which Attendance has a Date of september 29, 1968, and a Week smaller than 3?
Here is the SQLite... | Here is the SQLite query to answer the question regarding attendance for the specified date and week:
```sql
SELECT MIN(attendance) FROM table_name_17 WHERE date = "september 29, 1968" AND week < 3;
``` | 23,870 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n Question: Which Attendance has a Date of september 29, 1968, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (entered_office VARCHAR, election VARCHAR)
Question: When did the party elected in jun. 1959 enter office?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question: When did the party elected in jun. 1959 enter office?:
```sql
SELECT entered_office FROM table_name_43 WHERE election = "jun. 1959";
``` | 23,871 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (entered_office VARCHAR, election VARCHAR)\n\n Question: When did the party elected in jun. 1959 enter office?\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_42 (year_named VARCHAR, longitude VARCHAR)
Question: What is Year Named, when Longitude is 227.5E?
Here is the SQLite query to answer to the question: What is... | Here is the corrected SQLite query to answer the question "What is Year Named, when Longitude is 227.5E?":
```sql
SELECT year_named FROM table_name_42 WHERE longitude = "227.5E";
```
Note the capitalization of "E" to match the format you specified in the question. | 23,872 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (year_named VARCHAR, longitude VARCHAR)\n\n Question: What is Year Named, when Longitude is 227.5E?\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_70 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)
Question: What is the average Year Named, when Latitude is 37.9N, and when Diameter (km) is gr... | Your SQLite query is almost correct, but there is a slight issue with the string case used for the latitude ("37.9N" vs "37.9n"). In SQL, string comparisons are case-sensitive unless specified otherwise.
Here's the corrected query wrapped in code formatting:
```
SELECT AVG(year_named) FROM table_name_70 WHERE latitu... | 23,873 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)\n\n Question: What is the average Year Named, when Lat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR)
Question: What is Longitude, when Name is Raskova Paterae?
Here is the SQLite query to answer to the question: What is Lo... | Here is the SQLite query to answer the question: What is Longitude, when Name is Raskova Paterae?:
```
SELECT longitude FROM table_name_61 WHERE name = "Raskova Paterae";
``` | 23,874 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR)\n\n Question: What is Longitude, when Name is Raskova Paterae?\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_8 (song VARCHAR, artist VARCHAR)
Question: What's the song of artist liam reilly?
Here is the SQLite query to answer to the question: What's the song of artis... | Here is the SQLite query to answer the question: What's the song of artist liam reilly?:
```
SELECT song FROM table_name_8 WHERE artist = 'liam reilly';
``` | 23,875 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (song VARCHAR, artist VARCHAR)\n\n Question: What's the song of artist liam reilly?\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_93 (points VARCHAR, artist VARCHAR, draw VARCHAR)
Question: What's the total number of points for grace dunne with a draw over 5?
Here is the SQLite query to ... | Your SQL query seems to have a small mistake regarding the aggregation of points. If you want the total number of points, you should sum the points rather than count the rows. Additionally, since "points" is defined as a VARCHAR in the schema, you will need to cast it to an integer for aggregation. Here is the correcte... | 23,876 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR, draw VARCHAR)\n\n Question: What's the total number of points for grace dunne with ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (draw INTEGER, points VARCHAR, artist VARCHAR)
Question: What's the highest draw with over 60 points for paul duffy?
Here is the SQLite query to answer to ... | Your provided SQLite query is almost correct, but it's important to ensure that the `points` field, which is of type VARCHAR, is properly converted to an INTEGER for comparison. Here's the revised version of your query:
```sql
SELECT MAX(draw) FROM table_name_40 WHERE CAST(points AS INTEGER) > 60 AND artist = "paul du... | 23,877 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (draw INTEGER, points VARCHAR, artist VARCHAR)\n\n Question: What's the highest draw with over 60 points for paul du... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (grid INTEGER, time_retired VARCHAR)
Question: What was the highest grid for a time/retired of +19.1 secs?
Here is the SQLite query to answer to the questi... | Your SQLite query to find the highest grid for a time_retired of "+19.1 secs" is correct. Here is the wrapped code answer:
```
SELECT MAX(grid) FROM table_name_50 WHERE time_retired = "+19.1 secs";
``` | 23,878 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (grid INTEGER, time_retired VARCHAR)\n\n Question: What was the highest grid for a time/retired of +19.1 secs?\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_97 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)
Question: What is the Population of the New Bandon Parish with an Area km 2 larger than 326.7... | Your SQLite query looks good, but it's important to ensure we consider the case sensitivity in the `official_name` comparison, particularly if the database case sensitivity affects it. Additionally, using `MAX()` might not be necessary if you are expecting a single unique result. Here’s a refined version of your query:... | 23,879 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)\n\n Question: What is the Population of the New Bando... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
Question: What is the Area of the Allardville Parish with a Population smaller than 2,151?
H... | It seems there is a small issue with your SQL query regarding the population filtering. Instead of using `OFFSET 151`, which is incorrect in this context, you should directly compare the `population` field with `2151` as an integer. Here is the corrected query:
```sql
SELECT SUM(area_km_2)
FROM table_name_10
WHERE o... | 23,880 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)\n\n Question: What is the Area of the Allardville Par... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR)
Question: Who is the player with a 75-68-70=213 score?
Here is the SQLite query to answer to the question: Who is the playe... | The provided query has a syntax issue in the WHERE clause. The comparison should be made explicitly using an actual score value. Here is the corrected SQLite query to find the player with the score of 213:
```sql
SELECT player FROM table_name_79 WHERE score = '213';
```
If the `score` field indeed holds the string re... | 23,881 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR)\n\n Question: Who is the player with a 75-68-70=213 score?\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_46 (place VARCHAR, country VARCHAR)
Question: What is the place of Australia?
Here is the SQLite query to answer to the question: What is the place of Austral... | Here's the SQLite query formatted as requested:
```
SELECT place FROM table_name_46 WHERE country = "australia";
``` | 23,882 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (place VARCHAR, country VARCHAR)\n\n Question: What is the place of Australia?\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_25 (place VARCHAR, player VARCHAR)
Question: What is the place of player tom watson?
Here is the SQLite query to answer to the question: What is the place of ... | Your SQLite query is correct. Here it is wrapped in the requested format:
```
SELECT place FROM table_name_25 WHERE player = "tom watson";
``` | 23,883 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR)\n\n Question: What is the place of player tom watson?\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_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)
Question: Who is the player with a +3 to par and a 74-71-68=213 score?
Here is the SQLite query to answer t... | The provided SQLite query has a slight issue in the condition for the score. You should be comparing the score as a string rather than using mathematical operations within the query. Here is the corrected version of the query:
```
SELECT player FROM table_name_42 WHERE to_par = "+3" AND score = "74-71-68=213";
``` | 23,884 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)\n\n Question: Who is the player with a +3 to par and a 74-71-68=213 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (country VARCHAR, player VARCHAR)
Question: What is player raymond floyd's country?
Here is the SQLite query to answer to the question: What is player raym... | Here is the SQLite query to answer the question: What is player raymond floyd's country?:
```
SELECT country FROM table_name_64 WHERE player = "raymond floyd"
``` | 23,885 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (country VARCHAR, player VARCHAR)\n\n Question: What is player raymond floyd's country?\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_94 (player VARCHAR, country VARCHAR, score VARCHAR)
Question: Who is the player from the United States with a 75-70-68=211 score?
Here is the SQLite query to ... | It looks like there's a small mistake in the SQL query regarding how to check the score. In SQL, you need to handle the score comparison as a string, since the `score` column is of type `VARCHAR`. Additionally, you need to ensure that you're checking if the score equals the concatenated string "75-70-68=211".
Here's ... | 23,886 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (player VARCHAR, country VARCHAR, score VARCHAR)\n\n Question: Who is the player from the United States with a 75-70... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (length___ft__ VARCHAR, length___m__ VARCHAR)
Question: What is the length in feet when the length in meters is 64.2?
Here is the SQLite query to answer to... | Your SQLite query to find the length in feet corresponding to a length of 64.2 meters looks correct. Here it is wrapped properly:
```
SELECT length___ft__ FROM table_name_47 WHERE length___m__ = "64.2"
```
This query will retrieve the value in the `length___ft__` column where the `length___m__` column equals "64.2".... | 23,887 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (length___ft__ VARCHAR, length___m__ VARCHAR)\n\n Question: What is the length in feet when the length in meters is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (location VARCHAR, length___m__ VARCHAR)
Question: Where is the longest arch with a length in meters of 64.2?
Here is the SQLite query to answer to the que... | The provided SQLite query correctly selects the location of arches with a specific length of 64.2 meters. However, since you're asking for the longest arch with that length, it is important to clarify whether there might be a need for additional conditions if there are arches of the same length. Assuming that "longest"... | 23,888 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (location VARCHAR, length___m__ VARCHAR)\n\n Question: Where is the longest arch with a length in meters of 64.2?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (location VARCHAR, length___m__ VARCHAR)
Question: Where is the longest arch with a length in meters of 63?
Here is the SQLite query to answer to the quest... | To find the location of the longest arch with a length in meters of 63, you will need to ensure that you filter the data correctly for the specified length. If you're looking for the longest arch but also want to retrieve the location with a specific condition (length of 63), you can simply use the query you provided. ... | 23,889 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (location VARCHAR, length___m__ VARCHAR)\n\n Question: Where is the longest arch with a length in meters of 63?\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_29 (rank VARCHAR, length___m__ VARCHAR)
Question: What is the rank of the arch with a length in meters of 75/55?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the rank of the arch with a length in meters of 75/55:
```
SELECT rank FROM table_name_29 WHERE length___m__ = '75/55';
``` | 23,890 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (rank VARCHAR, length___m__ VARCHAR)\n\n Question: What is the rank of the arch with a length in meters of 75/55?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (length___ft__ VARCHAR, name VARCHAR)
Question: What is the length in feet of the Jiangzhou arch?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding the length in feet of the Jiangzhou arch:
```
SELECT length___ft__ FROM table_name_7 WHERE name = "Jiangzhou arch";
``` | 23,891 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (length___ft__ VARCHAR, name VARCHAR)\n\n Question: What is the length in feet of the Jiangzhou arch?\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_53 (crowd INTEGER, home_team VARCHAR)
Question: What was the number of the crowd when the Wollongong Hawks were the home team?
Here is the SQLite query to ans... | Your SQL query is almost correct, but if you are looking for the specific number of the crowd for the Wollongong Hawks as the home team (rather than the sum of the crowd), you should use the following query:
```sql
SELECT crowd FROM table_name_53 WHERE home_team = "wollongong hawks";
```
If you indeed want the total ... | 23,892 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (crowd INTEGER, home_team VARCHAR)\n\n Question: What was the number of the crowd when the Wollongong Hawks were the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (crowd VARCHAR, score VARCHAR)
Question: What was the crowd size for the game with a score of 101-105?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the crowd size for the game with a score of 101-105:
```
SELECT crowd FROM table_name_13 WHERE score = "101-105";
``` | 23,893 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (crowd VARCHAR, score VARCHAR)\n\n Question: What was the crowd size for the game with a score of 101-105?\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_77 (crowd INTEGER, home_team VARCHAR)
Question: What was the average crowd size for the game when the Gold Coast Blaze was the home team?
Here is the SQLite q... | Your SQLite query to find the average crowd size for games when the Gold Coast Blaze was the home team is correctly written. Here's the query wrapped in the requested format:
```
SELECT AVG(crowd) FROM table_name_77 WHERE home_team = "gold coast blaze";
``` | 23,894 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (crowd INTEGER, home_team VARCHAR)\n\n Question: What was the average crowd size for the game when the Gold Coast Bl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (city_of_license VARCHAR, frequency_mhz INTEGER)
Question: What is City of License, when Frequency MHz is less than 102.5?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question regarding the City of License when Frequency MHz is less than 102.5:
```
SELECT city_of_license FROM table_name_8 WHERE frequency_mhz < 102.5;
``` | 23,895 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (city_of_license VARCHAR, frequency_mhz INTEGER)\n\n Question: What is City of License, when Frequency MHz is less th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (call_sign VARCHAR, erp_w INTEGER)
Question: What is Call Sign, when ERP W is greater than 50?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question:
```
SELECT call_sign FROM table_name_56 WHERE erp_w > 50;
``` | 23,896 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (call_sign VARCHAR, erp_w INTEGER)\n\n Question: What is Call Sign, when ERP W is greater than 50?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (city_of_license VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
Question: What is City of License, when ERP W is greater than 3, and when Call Sign is K218DZ?
... | Here is the SQLite query to answer the question about the City of License when ERP W is greater than 3 and when Call Sign is K218DZ:
```
SELECT city_of_license FROM table_name_42 WHERE erp_w > 3 AND call_sign = "K218DZ"
``` | 23,897 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (city_of_license VARCHAR, erp_w VARCHAR, call_sign VARCHAR)\n\n Question: What is City of License, when ERP W is gre... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR)
Question: What is Call Sign, when City of License is Brownfield, Texas?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question regarding the Call Sign for the City of License Brownfield, Texas:
```
SELECT call_sign FROM table_name_51 WHERE city_of_license = "Brownfield, Texas";
``` | 23,898 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR)\n\n Question: What is Call Sign, when City of License is Brownfield, Te... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the Sum of ERP W, when Call Sign is K216GA?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about the Sum of ERP W when the Call Sign is K216GA:
```
SELECT SUM(erp_w) FROM table_name_49 WHERE call_sign = "K216GA"
``` | 23,899 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (erp_w INTEGER, call_sign VARCHAR)\n\n Question: What is the Sum of ERP W, when Call Sign is K216GA?\n\nHere is the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.