instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | response stringlengths 7 2.05k | __original_row_idx int64 0 50k | conversations listlengths 2 2 |
|---|---|---|---|---|
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (calendar VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)
Question: Which Calendar has WYSIWYG Editor of yes and an Unread message trackin... | Here is the SQLite query to answer the question regarding which Calendar has a WYSIWYG Editor of "yes" and an Unread message tracking of "yes":
```
SELECT calendar FROM table_name_56 WHERE wysiwyg_editor = "yes" AND unread_message_tracking = "yes";
``` | 21,900 | [
{
"from": "human",
"value": " 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 (calendar VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)\n\n Question: Which Calendar has WYSIWYG... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, calendar VARCHAR)
Question: Which WYSIWYG Editor has an Image attachment of yes, and a Calendar of plugin... | Here is the SQLite query to answer the question:
```
SELECT wysiwyg_editor FROM table_name_75 WHERE image_attachment = "yes" AND calendar = "plugin"
``` | 21,901 | [
{
"from": "human",
"value": " 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 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, calendar VARCHAR)\n\n Question: Which WYSIWYG Editor has an Image... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (calendar VARCHAR, image_attachment VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)
Question: Which Calendar has a WYSIWYG Editor of no, a... | Here is the SQLite query to answer the question regarding the specified conditions in the database schema:
```
SELECT calendar FROM table_name_91 WHERE wysiwyg_editor = "no" AND unread_message_tracking = "session" AND image_attachment = "no";
``` | 21,902 | [
{
"from": "human",
"value": " 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 (calendar VARCHAR, image_attachment VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)\n\n Question: ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)
Question: Which Image attachment has a Threaded of yes, and a Calendar of yes?
Here is the S... | Here is the SQLite query to answer the question of which image attachment has a Threaded of "yes" and a Calendar of "yes":
```sql
SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes";
``` | 21,903 | [
{
"from": "human",
"value": " 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 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)\n\n Question: Which Image attachment has a Threaded o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (calendar VARCHAR, user_selectable_themes VARCHAR)
Question: Which Calendar has a User-selectable themes of user-selectable themes?
Here is the SQLite quer... | Here is the SQLite query to answer the question, wrapped appropriately:
```
SELECT calendar FROM table_name_95 WHERE user_selectable_themes = "user-selectable themes";
``` | 21,904 | [
{
"from": "human",
"value": " 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 (calendar VARCHAR, user_selectable_themes VARCHAR)\n\n Question: Which Calendar has a User-selectable themes of user... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)
Question: What was the record of the game with a score of 12–6?
Here is the SQLite query to answer to the question: What wa... | ```sql
SELECT record FROM table_name_76 WHERE score = "12–6";
``` | 21,905 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)\n\n Question: What was the record of the game with a score of 12–6?\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_18 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game with a loss of Bush (1–5)?
Here is the SQLite query to answer to the question: What wa... | Here is the SQLite query to answer the question regarding the date of the game with a loss of "Bush (1–5)":
```sql
SELECT date FROM table_name_18 WHERE loss = "Bush (1–5)"
``` | 21,906 | [
{
"from": "human",
"value": " 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 (date VARCHAR, loss VARCHAR)\n\n Question: What was the date of the game with a loss of Bush (1–5)?\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_16 (opponent VARCHAR, score VARCHAR)
Question: Who was the opponent at the game with a score of 7–6?
Here is the SQLite query to answer to the question: Who w... | Here is the SQLite query to answer the question about the opponent at the game with a score of 7–6:
```
SELECT opponent FROM table_name_16 WHERE score = "7–6"
``` | 21,907 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, score VARCHAR)\n\n Question: Who was the opponent at the game with a score of 7–6?\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_81 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game with a loss of Maholm (2–4)?
Here is the SQLite query to answer to the question: Wha... | Your SQLite query is mostly correct, but it's important to ensure that the loss string matches the case and formatting in your database exactly, including spaces and punctuation. Here is the correctly formatted SQLite query:
```
SELECT score FROM table_name_81 WHERE loss = 'Maholm (2–4)';
```
Make sure to adjust the... | 21,908 | [
{
"from": "human",
"value": " 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 (score VARCHAR, loss VARCHAR)\n\n Question: What was the score of the game with a loss of Maholm (2–4)?\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_33 (attendance VARCHAR, date VARCHAR)
Question: What is the attendance for the game on May 25?
Here is the SQLite query to answer to the question: What is the... | Here is the SQLite query to answer the question about the attendance for the game on May 25:
```sql
SELECT attendance FROM table_name_33 WHERE date = "May 25";
``` | 21,909 | [
{
"from": "human",
"value": " 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 (attendance VARCHAR, date VARCHAR)\n\n Question: What is the attendance for the game on May 25?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rank VARCHAR)
Question: What was the game with a rank higher than 2 and a name of zendon hamilton?
Here is the SQLite query t... | Your SQLite query looks good, but note that using `MAX(games)` will give you the maximum number of games played for the specified criteria, rather than the name of the game. If you want to retrieve the details of the game(s) with rank higher than 2 and with the name "zendon hamilton", you might want to adjust the query... | 21,910 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rank VARCHAR)\n\n Question: What was the game with a rank higher than 2 and a name of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (losing_bonus VARCHAR, points VARCHAR)
Question: If the points were 0, what was the losing bonus?
Here is the SQLite query to answer to the question: If th... | Here is the SQLite query to answer the question: If the points were 0, what was the losing bonus?:
```sql
SELECT losing_bonus FROM table_name_32 WHERE points = '0';
``` | 21,911 | [
{
"from": "human",
"value": " 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 (losing_bonus VARCHAR, points VARCHAR)\n\n Question: If the points were 0, what was the losing bonus?\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_67 (club VARCHAR, points VARCHAR)
Question: What club had 56 points?
Here is the SQLite query to answer to the question: What club had 56 points?:
```
SELECT ... | Your SQLite query is correct. Here it is wrapped in the appropriate code block:
```
SELECT club FROM table_name_67 WHERE points = "56";
``` | 21,912 | [
{
"from": "human",
"value": " 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 (club VARCHAR, points VARCHAR)\n\n Question: What club had 56 points?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (tries_for VARCHAR, points_for VARCHAR)
Question: If the points were 0, what were the tries for?
Here is the SQLite query to answer to the question: If the... | Here is the SQLite query to answer the question: If the points were 0, what were the tries for?:
```
SELECT tries_for FROM table_name_65 WHERE points_for = "0"
``` | 21,913 | [
{
"from": "human",
"value": " 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 (tries_for VARCHAR, points_for VARCHAR)\n\n Question: If the points were 0, what were the tries for?\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_38 (try_bonus VARCHAR, points_for VARCHAR)
Question: What's the try bonus that had 423 points?
Here is the SQLite query to answer to the question: What's the ... | Here is the SQLite query to answer the question "What's the try bonus that had 423 points?":
```
SELECT try_bonus FROM table_name_38 WHERE points_for = '423';
``` | 21,914 | [
{
"from": "human",
"value": " 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 (try_bonus VARCHAR, points_for VARCHAR)\n\n Question: What's the try bonus that had 423 points?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (tries_for VARCHAR, points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR)
Question: Name the tries when tries against were 41, try bonus was 6, ... | Your SQLite query to find the tries based on the specified conditions is correct. Here it is wrapped in the required format:
```
SELECT tries_for FROM table_name_35 WHERE try_bonus = "6" AND tries_against = "41" AND points_against = "317"
``` | 21,915 | [
{
"from": "human",
"value": " 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 (tries_for VARCHAR, points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR)\n\n Question: Name the tries w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (tries_against VARCHAR, tries_for VARCHAR)
Question: What was the tries against when they had 32 tries for?
Here is the SQLite query to answer to the quest... | Your SQLite query to find the "tries against" when there were 32 tries for is correctly written. Here it is wrapped in code formatting:
```
SELECT tries_against FROM table_name_14 WHERE tries_for = "32"
``` | 21,916 | [
{
"from": "human",
"value": " 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 (tries_against VARCHAR, tries_for VARCHAR)\n\n Question: What was the tries against when they had 32 tries for?\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_49 (title_in_english VARCHAR, format VARCHAR, original_title VARCHAR)
Question: What is the english title with a lp format and an Original title of то ли ещё б... | Here is the SQLite query to answer the question you provided:
```
SELECT title_in_english FROM table_name_49 WHERE format = 'lp' AND original_title = 'то ли ещё будет';
``` | 21,917 | [
{
"from": "human",
"value": " 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 (title_in_english VARCHAR, format VARCHAR, original_title VARCHAR)\n\n Question: What is the english title with a lp... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (score VARCHAR, attendance VARCHAR)
Question: What was the score when the attendance was 18,545?
Here is the SQLite query to answer to the question: What w... | Here is the SQLite query to answer the question about the score when the attendance was 18,545:
```
SELECT score FROM table_name_83 WHERE attendance = "18,545"
``` | 21,918 | [
{
"from": "human",
"value": " 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 (score VARCHAR, attendance VARCHAR)\n\n Question: What was the score when the attendance was 18,545?\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_6 (decision VARCHAR, attendance VARCHAR)
Question: What was the decision when the attendance was 19,592?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the decision when the attendance was 19,592:
```sql
SELECT decision FROM table_name_6 WHERE attendance = "19,592";
``` | 21,919 | [
{
"from": "human",
"value": " 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 (decision VARCHAR, attendance VARCHAR)\n\n Question: What was the decision when the attendance was 19,592?\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_52 (runs VARCHAR, opponent VARCHAR)
Question: Which Run has an Opponent of Canterbury?
Here is the SQLite query to answer to the question: Which Run has an Op... | Here is the SQLite query to answer the question: Which Run has an Opponent of Canterbury?:
```
SELECT runs FROM table_name_52 WHERE opponent = "Canterbury";
``` | 21,920 | [
{
"from": "human",
"value": " 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 (runs VARCHAR, opponent VARCHAR)\n\n Question: Which Run has an Opponent of Canterbury?\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_53 (runs VARCHAR, opponent VARCHAR)
Question: Which Runs has a Opponent of south australia?
Here is the SQLite query to answer to the question: Which Runs has... | Here is the SQLite query to answer the question: Which Runs has an Opponent of south australia?:
```
SELECT runs FROM table_name_53 WHERE opponent = 'south australia';
``` | 21,921 | [
{
"from": "human",
"value": " 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 (runs VARCHAR, opponent VARCHAR)\n\n Question: Which Runs has a Opponent of south australia?\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_45 (skip VARCHAR, third VARCHAR)
Question: Which Skip has a Third of tony angiboust?
Here is the SQLite query to answer to the question: Which Skip has a Thir... | Here is the SQLite query to answer the question "Which Skip has a Third of tony angiboust?":
```
SELECT skip FROM table_name_45 WHERE third = "tony angiboust";
``` | 21,922 | [
{
"from": "human",
"value": " 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 (skip VARCHAR, third VARCHAR)\n\n Question: Which Skip has a Third of tony angiboust?\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_15 (lead VARCHAR, nation VARCHAR)
Question: Which Lead has a Nation of switzerland?
Here is the SQLite query to answer to the question: Which Lead has a Natio... | ```sql
SELECT lead FROM table_name_15 WHERE nation = "switzerland";
``` | 21,923 | [
{
"from": "human",
"value": " 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 (lead VARCHAR, nation VARCHAR)\n\n Question: Which Lead has a Nation of switzerland?\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_14 (third VARCHAR, nation VARCHAR)
Question: Which Third has a Nation of scotland?
Here is the SQLite query to answer to the question: Which Third has a Natio... | Here is the SQLite query to answer the question: Which Third has a Nation of scotland?:
```
SELECT third FROM table_name_14 WHERE nation = "scotland";
``` | 21,924 | [
{
"from": "human",
"value": " 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 (third VARCHAR, nation VARCHAR)\n\n Question: Which Third has a Nation of scotland?\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_71 (third VARCHAR, lead VARCHAR)
Question: In which third did angel garcia lead?
Here is the SQLite query to answer to the question: In which third did angel ... | Here is the SQLite query to answer the question about in which third angel garcia led:
```
SELECT third FROM table_name_71 WHERE lead = "angel garcia"
``` | 21,925 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (third VARCHAR, lead VARCHAR)\n\n Question: In which third did angel garcia lead?\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_54 (second VARCHAR, nation VARCHAR)
Question: When did France come in second?
Here is the SQLite query to answer to the question: When did France come in seco... | Here is the SQLite query to answer the question "When did France come in second?":
```sql
SELECT second FROM table_name_54 WHERE nation = "France";
``` | 21,926 | [
{
"from": "human",
"value": " 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 (second VARCHAR, nation VARCHAR)\n\n Question: When did France come in second?\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_59 (third VARCHAR, lead VARCHAR)
Question: When did holger höhne come in third?
Here is the SQLite query to answer to the question: When did holger höhne come... | Here is the SQLite query to answer the question: When did holger höhne come in third?:
```
SELECT third FROM table_name_59 WHERE lead = "holger höhne";
``` | 21,927 | [
{
"from": "human",
"value": " 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 (third VARCHAR, lead VARCHAR)\n\n Question: When did holger höhne come in third?\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_16 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR)
Question: How many Caps does the Club/province Munster, position of lock and Mick O'... | Here is the SQLite query to answer the question:
```
SELECT COUNT(caps) FROM table_name_16 WHERE club_province = 'Munster' AND position = 'lock' AND player = 'Mick O\'Driscoll';
``` | 21,928 | [
{
"from": "human",
"value": " 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 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR)\n\n Question: How many Caps does the Club/pr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
Question: What Club/province have caps less than 2 and Jonathan Sexton as player?
Here is the SQLite ... | Here is the SQLite query to answer the question:
```
SELECT club_province FROM table_name_74 WHERE caps < 2 AND player = "Jonathan Sexton"
``` | 21,929 | [
{
"from": "human",
"value": " 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 (club_province VARCHAR, caps VARCHAR, player VARCHAR)\n\n Question: What Club/province have caps less than 2 and Jon... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (caps VARCHAR, position VARCHAR, player VARCHAR)
Question: Paddy Wallace who plays the position of fly-half has how many Caps?
Here is the SQLite query to ... | Your SQLite query looks good. Here's the query formatted with the appropriate code wrapping:
```
SELECT caps FROM table_name_97 WHERE position = "fly-half" AND player = "Paddy Wallace";
```
Make sure to capitalize "Paddy Wallace" as it's case-sensitive unless your database collation is set to be case-insensitive. | 21,930 | [
{
"from": "human",
"value": " 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 (caps VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: Paddy Wallace who plays the position of fly-half has ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (caps INTEGER, date_of_birth__age_ VARCHAR)
Question: What is the total of Caps when player born 13 December 1977?
Here is the SQLite query to answer to th... | Your provided SQLite query is almost correct. However, it's a good practice to ensure the date format in the `date_of_birth__age_` field matches exactly how the dates are formatted in your database. Assuming the date is stored in the format "DD Month YYYY", your query should work as intended.
Here is your SQLite quer... | 21,931 | [
{
"from": "human",
"value": " 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 (caps INTEGER, date_of_birth__age_ VARCHAR)\n\n Question: What is the total of Caps when player born 13 December 197... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (artist_s_ VARCHAR, book_title VARCHAR)
Question: what artist has a book called cyberella
Here is the SQLite query to answer to the question: what artist h... | Here is the SQLite query to answer the question: what artist has a book called cyberella:
```
SELECT artist_s_ FROM table_name_80 WHERE book_title = "cyberella";
``` | 21,932 | [
{
"from": "human",
"value": " 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 (artist_s_ VARCHAR, book_title VARCHAR)\n\n Question: what artist has a book called cyberella\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_17 (inegi_code INTEGER, population_density___km_2__ VARCHAR, human_development_index__2000_ VARCHAR)
Question: WHich INEGI code has a Population density (/km 2... | It looks like there is a small error in the query you provided. The query is intended to retrieve the `inegi_code` values that meet the specified conditions, rather than calculating the average of `inegi_code` values. Here is the corrected SQLite query:
```sql
SELECT inegi_code
FROM table_name_17
WHERE population_de... | 21,933 | [
{
"from": "human",
"value": " 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 (inegi_code INTEGER, population_density___km_2__ VARCHAR, human_development_index__2000_ VARCHAR)\n\n 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_84 (field_goals INTEGER, touchdowns VARCHAR)
Question: What is the lowest number of field goals for a player with 3 touchdowns?
Here is the SQLite query to an... | The SQL query you provided has a small mistake regarding the data type of the `touchdowns` field, which is defined as `VARCHAR`. When comparing it to a number (like `3`), it should be treated as a string. You should ensure that the comparison is made using a string. Here's the corrected query:
```
SELECT MIN(field_goa... | 21,934 | [
{
"from": "human",
"value": " 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 (field_goals INTEGER, touchdowns VARCHAR)\n\n Question: What is the lowest number of field goals for a player with 3... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (extra_points VARCHAR, position VARCHAR, player VARCHAR)
Question: How many extra points did right halfback Roswell Wendell have?
Here is the SQLite query ... | Here is the SQLite query to answer the question about how many extra points right halfback Roswell Wendell had:
```
SELECT extra_points FROM table_name_12 WHERE position = 'right halfback' AND player = 'Roswell Wendell';
``` | 21,935 | [
{
"from": "human",
"value": " 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 (extra_points VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: How many extra points did right halfback Rosw... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (touchdowns INTEGER, points VARCHAR, position VARCHAR, player VARCHAR)
Question: What is the lowest number of touchdowns for left halfback WIllie Heston who... | Your SQLite query is almost correct, but there is a small adjustment needed for the condition on the `points` column. Since `points` is defined as a `VARCHAR`, you should compare it as an integer. Here’s the corrected query:
```sql
SELECT MIN(touchdowns) FROM table_name_74 WHERE position = 'left halfback' AND player =... | 21,936 | [
{
"from": "human",
"value": " 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 (touchdowns INTEGER, points VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: What is the lowest number of to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)
Question: What was the result for the 1964 summer olympics on october 18?
Here is the SQLite query t... | Here is the SQLite query to answer the question regarding the result for the 1964 summer Olympics on October 18:
```
SELECT results¹ FROM table_name_64 WHERE type_of_game = "1964 summer olympics" AND date = "october 18"
``` | 21,937 | [
{
"from": "human",
"value": " 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 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)\n\n Question: What was the result for the 1964 summer olympic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
Question: What was the opponent on october 28?
Here is the SQLite query to answer to the question: What was the opponent o... | Here is the SQLite query to answer the question about the opponent on October 28:
```
SELECT opponent FROM table_name_24 WHERE date = "october 28";
``` | 21,938 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)\n\n Question: What was the opponent on october 28?\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_65 (city VARCHAR, date VARCHAR)
Question: Wjich city had a date of october 13?
Here is the SQLite query to answer to the question: Wjich city had a date of oc... | Here is the SQLite query to answer the question "Which city had a date of October 13?":
```sql
SELECT city FROM table_name_65 WHERE date = "october 13";
``` | 21,939 | [
{
"from": "human",
"value": " 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 (city VARCHAR, date VARCHAR)\n\n Question: Wjich city had a date of october 13?\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_54 (date VARCHAR, results¹ VARCHAR)
Question: What day were the results 3:2?
Here is the SQLite query to answer to the question: What day were the results 3:2... | Here is the SQLite query to answer the question: What day were the results 3:2?:
```
SELECT date FROM table_name_54 WHERE results¹ = "3:2"
``` | 21,940 | [
{
"from": "human",
"value": " 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 (date VARCHAR, results¹ VARCHAR)\n\n Question: What day were the results 3:2?\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_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR)
Question: What is the number of failure for the country of Russia, and a Famil... | Here is the SQLite query to answer the question:
```
SELECT COUNT(failures) FROM table_name_76 WHERE country = "Russia" AND family = "r14 r-14" AND partial_failures < 0
``` | 21,941 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR)\n\n Question: What is the number of fa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (partial_failures INTEGER, launches VARCHAR, family VARCHAR, country VARCHAR, failures VARCHAR)
Question: What is the partial failure for the Country of rus... | Here is the SQLite query to answer the specified question:
```sql
SELECT AVG(partial_failures)
FROM table_name_53
WHERE country = "russia"
AND failures > 0
AND family = "angara"
AND launches > 1;
``` | 21,942 | [
{
"from": "human",
"value": " 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 (partial_failures INTEGER, launches VARCHAR, family VARCHAR, country VARCHAR, failures VARCHAR)\n\n Question: What i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (group_b VARCHAR, group_e VARCHAR)
Question: What is the group B region with a Group E region of Georgia?
Here is the SQLite query to answer to the questio... | Your query to find the group B region with a Group E region of Georgia is almost correct, but it's important to ensure that the comparison for "Georgia" is case-insensitive if your database collation settings require it. However, based on your request, I will provide the query exactly as you stated:
```sql
SELECT grou... | 21,943 | [
{
"from": "human",
"value": " 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 (group_b VARCHAR, group_e VARCHAR)\n\n Question: What is the group B region with a Group E region of Georgia?\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_20 (group_a VARCHAR, region VARCHAR)
Question: What is the group A region with a region number of 2?
Here is the SQLite query to answer to the question: What ... | Your SQLite query is mostly correct, but since `region` is defined as a `VARCHAR` type in the schema, you need to ensure that the condition is checking against a string. If you're dealing with a numeric value such as '2', it would typically be treated as a string. Here's the corrected code:
```sql
SELECT group_a FROM ... | 21,944 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (group_a VARCHAR, region VARCHAR)\n\n Question: What is the group A region with a region number of 2?\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 (group_c VARCHAR, group_b VARCHAR)
Question: What is the group C region with Illinois as group B?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about finding the group C region with Illinois as group B:
```
SELECT group_c FROM table_name_53 WHERE group_b = 'illinois';
``` | 21,945 | [
{
"from": "human",
"value": " 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 (group_c VARCHAR, group_b VARCHAR)\n\n Question: What is the group C region with Illinois as group B?\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_61 (opponent VARCHAR, record VARCHAR)
Question: What opponnent has a record of 82-68?
Here is the SQLite query to answer to the question: What opponnent has a... | Your SQLite query to find the opponent with a record of 82-68 is correctly formulated. Here it is wrapped in code formatting for clarity:
```
SELECT opponent FROM table_name_61 WHERE record = "82-68";
``` | 21,946 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, record VARCHAR)\n\n Question: What opponnent has a record of 82-68?\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_22 (date VARCHAR, record VARCHAR)
Question: what date has the record of 77-62?
Here is the SQLite query to answer to the question: what date has the record of... | Here is the SQLite query to answer the question of what date has the record of 77-62:
```
SELECT date FROM table_name_22 WHERE record = "77-62";
``` | 21,947 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR)\n\n Question: what date has the record of 77-62?\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_25 (opponent VARCHAR, record VARCHAR)
Question: what opponent has the record of 78-63?
Here is the SQLite query to answer to the question: what opponent has t... | Here is the SQLite query to answer the question "what opponent has the record of 78-63?":
```
SELECT opponent FROM table_name_25 WHERE record = '78-63';
``` | 21,948 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, record VARCHAR)\n\n Question: what opponent has the record of 78-63?\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_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Question: what score has the opponent of tigers and a record of 78-64?
Here is the SQLite query to answer... | Your SQLite query is almost correct. However, based on the question, it seems like you want to find the score of the opponents of "tigers", rather than looking for a record with "tigers". You might want to adjust the query to look for the records where the opponent is "tigers". Here’s the corrected query:
```sql
SELEC... | 21,949 | [
{
"from": "human",
"value": " 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 (score VARCHAR, opponent VARCHAR, record VARCHAR)\n\n Question: what score has the opponent of tigers and a record o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (time VARCHAR, team VARCHAR)
Question: What time did team kawasaki zx10 1000cc have?
Here is the SQLite query to answer to the question: What time did team... | Here is the SQLite query to answer the question: What time did team kawasaki zx10 1000cc have?:
```
SELECT time FROM table_name_61 WHERE team = "kawasaki zx10 1000cc"
``` | 21,950 | [
{
"from": "human",
"value": " 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 (time VARCHAR, team VARCHAR)\n\n Question: What time did team kawasaki zx10 1000cc have?\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_72 (time VARCHAR, team VARCHAR)
Question: What time did team kawasaki zx10 1000cc have?
Here is the SQLite query to answer to the question: What time did team... | Here is the SQLite query to answer the question regarding the time for team kawasaki zx10 1000cc:
```
SELECT time FROM table_name_72 WHERE team = "kawasaki zx10 1000cc";
``` | 21,951 | [
{
"from": "human",
"value": " 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 (time VARCHAR, team VARCHAR)\n\n Question: What time did team kawasaki zx10 1000cc have?\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 (rank INTEGER, time VARCHAR)
Question: What is the rank for the team with a Time of 1:12.40.28?
Here is the SQLite query to answer to the question: What is... | Your provided SQLite query has a mistake in it. To find the rank for the team with a specific time, you should use the `SELECT` statement to retrieve the `rank` directly without using `SUM()`, as you are interested in the rank for a specific time, not a sum of ranks.
Here is the corrected query:
```sql
SELECT rank FR... | 21,952 | [
{
"from": "human",
"value": " 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 (rank INTEGER, time VARCHAR)\n\n Question: What is the rank for the team with a Time of 1:12.40.28?\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_32 (issue_date_s_ VARCHAR, artist VARCHAR)
Question: Which Issue Date(s) has an Artist of men at work?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query to answer the question:
```
SELECT issue_date_s_ FROM table_name_32 WHERE artist = "men at work"
``` | 21,953 | [
{
"from": "human",
"value": " 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 (issue_date_s_ VARCHAR, artist VARCHAR)\n\n Question: Which Issue Date(s) has an Artist of men at work?\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_94 (weeks_on_top INTEGER, issue_date_s_ VARCHAR)
Question: Which Weeks on Top have an Issue Date(s) of 20 november?
Here is the SQLite query to answer to the ... | Your query looks almost correct, but it seems you are trying to find the "Weeks on Top" for all entries that have the issue date "20 November". If you want to retrieve the distinct "Weeks on Top" values for that specific date, you might consider using `SELECT DISTINCT`. Additionally, you'll want to make sure the date f... | 21,954 | [
{
"from": "human",
"value": " 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 (weeks_on_top INTEGER, issue_date_s_ VARCHAR)\n\n Question: Which Weeks on Top have an Issue Date(s) of 20 november?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (male VARCHAR, female VARCHAR)
Question: Who is the male partner for amy winehouse?
Here is the SQLite query to answer to the question: Who is the male par... | Here is the SQLite query to answer the question about who is the male partner for Amy Winehouse:
```sql
SELECT male FROM table_name_26 WHERE female = "amy winehouse";
``` | 21,955 | [
{
"from": "human",
"value": " 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 (male VARCHAR, female VARCHAR)\n\n Question: Who is the male partner for amy winehouse?\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_79 (male VARCHAR, year VARCHAR, female VARCHAR)
Question: Which male is paired with dido in 2004?
Here is the SQLite query to answer to the question: Which ma... | It looks like you're attempting to find which male is paired with "dido" specifically in the year 2004, rather than any year before it. The query you've provided selects males from years less than 2004.
To correctly find the male paired with "dido" in the year 2004, the query should be as follows:
```
SELECT male FR... | 21,956 | [
{
"from": "human",
"value": " 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 (male VARCHAR, year VARCHAR, female VARCHAR)\n\n Question: Which male is paired with dido in 2004?\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_48 (female VARCHAR, album VARCHAR)
Question: Which female artist has an album named elephant?
Here is the SQLite query to answer to the question: Which female... | Here's the SQLite query to answer the question about which female artist has an album named "elephant":
```
SELECT female FROM table_name_48 WHERE album = "elephant";
``` | 21,957 | [
{
"from": "human",
"value": " 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 (female VARCHAR, album VARCHAR)\n\n Question: Which female artist has an album named elephant?\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (home VARCHAR, date VARCHAR)
Question: Date of march 30 involves what home?
Here is the SQLite query to answer to the question: Date of march 30 involves w... | Here is the SQLite query to answer the question: Date of March 30 involves what home?:
```
SELECT home FROM table_name_86 WHERE date = "march 30";
``` | 21,958 | [
{
"from": "human",
"value": " 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 (home VARCHAR, date VARCHAR)\n\n Question: Date of march 30 involves what home?\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_64 (venue VARCHAR, opponent VARCHAR)
Question: Which venue hosted the Los Angeles Rams as an opponent?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query to answer the question about which venue hosted the Los Angeles Rams as an opponent:
```
SELECT venue FROM table_name_64 WHERE opponent = "Los Angeles Rams";
``` | 21,959 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, opponent VARCHAR)\n\n Question: Which venue hosted the Los Angeles Rams as an opponent?\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_1 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR)
Question: Which date's week was more than 4 with the venue being City Stadium and where the a... | It seems there are a couple of errors in your SQL query. Specifically, the `attendance` column contains string values (based on the schema) and should be converted to an integer for the comparison. Additionally, the correct syntax for filtering the attendance should be `> '14297'` instead of using `OFFSET`.
Here’s the... | 21,960 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR)\n\n Question: Which date's week was more than 4 with ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR)
Question: Name the home with toronto visiting
Here is the SQLite query to answer to the question: Name the home with toront... | Here is the SQLite query to answer the question about naming the home with Toronto visiting:
```sql
SELECT home FROM table_name_29 WHERE visitor = "toronto";
``` | 21,961 | [
{
"from": "human",
"value": " 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 (home VARCHAR, visitor VARCHAR)\n\n Question: Name the home with toronto visiting\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_97 (pick__number VARCHAR, position VARCHAR, player VARCHAR)
Question: What was the pick# for Lorenzo Freeman as defensive tackle?
Here is the SQLite query to ... | The SQLite query to find the pick number for Lorenzo Freeman as a defensive tackle is as follows:
```
SELECT pick__number FROM table_name_97 WHERE position = "defensive tackle" AND player = "lorenzo freeman"
``` | 21,962 | [
{
"from": "human",
"value": " 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 (pick__number VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: What was the pick# for Lorenzo Freeman as def... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (pick__number INTEGER, player VARCHAR)
Question: What is the largest pick# for Greg Harris?
Here is the SQLite query to answer to the question: What is the... | Here is the SQLite query to find the largest pick# for Greg Harris:
```
SELECT MAX(pick__number) FROM table_name_87 WHERE player = "Greg Harris";
``` | 21,963 | [
{
"from": "human",
"value": " 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 (pick__number INTEGER, player VARCHAR)\n\n Question: What is the largest pick# for Greg Harris?\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_21 (round VARCHAR, college VARCHAR)
Question: Which round goes to Stanford college?
Here is the SQLite query to answer to the question: Which round goes to St... | Here is the SQLite query to answer the question about which round goes to Stanford college:
```
SELECT round FROM table_name_21 WHERE college = "Stanford";
``` | 21,964 | [
{
"from": "human",
"value": " 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 (round VARCHAR, college VARCHAR)\n\n Question: Which round goes to Stanford college?\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_26 (pick__number INTEGER, player VARCHAR)
Question: What is the sum of pick# for Don Majkowski?3
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer the question about the sum of pick# for Don Majkowski:
```
SELECT SUM(pick__number) FROM table_name_26 WHERE player = "Don Majkowski";
``` | 21,965 | [
{
"from": "human",
"value": " 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 (pick__number INTEGER, player VARCHAR)\n\n Question: What is the sum of pick# for Don Majkowski?3\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_19 (college VARCHAR, round VARCHAR, player VARCHAR)
Question: Which college had Tony Leiker in round 7?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about which college had Tony Leiker in round 7:
```
SELECT college FROM table_name_19 WHERE round = "round 7" AND player = "Tony Leiker";
``` | 21,966 | [
{
"from": "human",
"value": " 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 (college VARCHAR, round VARCHAR, player VARCHAR)\n\n Question: Which college had Tony Leiker in round 7?\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_37 (company VARCHAR, incorporated_in VARCHAR, type VARCHAR, principal_activities VARCHAR)
Question: Which company's type is joint venture, and has principle a... | Here is the SQLite query to answer the question:
```
SELECT company FROM table_name_37 WHERE type = "joint venture" AND principal_activities = "Cargo Airline" AND incorporated_in = "China";
``` | 21,967 | [
{
"from": "human",
"value": " 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 (company VARCHAR, incorporated_in VARCHAR, type VARCHAR, principal_activities VARCHAR)\n\n Question: Which company'... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
Question: What is the type for the Cathay Pacific Holidays company, a... | Here is the SQLite query to answer the question:
```
SELECT type FROM table_name_42 WHERE incorporated_in = "hong kong" AND principal_activities = "travel agency" AND company = "cathay pacific holidays"
``` | 21,968 | [
{
"from": "human",
"value": " 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 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)\n\n Question: What is the typ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (position VARCHAR, surname VARCHAR)
Question: Which Position has a Surname of naylor?
Here is the SQLite query to answer to the question: Which Position ha... | Here is the SQLite query to answer the question: Which Position has a Surname of naylor?:
```
SELECT position FROM table_name_78 WHERE surname = 'naylor';
``` | 21,969 | [
{
"from": "human",
"value": " 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 (position VARCHAR, surname VARCHAR)\n\n Question: Which Position has a Surname of naylor?\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_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)
Question: How many Uni numbers have Bats of s, and a Position of utl?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question of how many Uni numbers have Bats of 's' and a Position of 'utl':
```
SELECT COUNT(uni_number) FROM table_name_31 WHERE bats = 's' AND position = 'utl';
``` | 21,970 | [
{
"from": "human",
"value": " 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 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)\n\n Question: How many Uni numbers have Bats of s, and a Positi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR)
Question: Which First has a Uni # larger than 34, and Throws of r, an... | Here is the SQLite query to answer the question based on the provided schema:
```
SELECT first FROM table_name_12 WHERE uni_number > 34 AND throws = 'r' AND position = 'rhp' AND surname = 'stockman';
``` | 21,971 | [
{
"from": "human",
"value": " 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 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR)\n\n Question: Which First has... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (uni_number VARCHAR, surname VARCHAR)
Question: Which Uni # has a Surname of ough?
Here is the SQLite query to answer to the question: Which Uni # has a Su... | ```sql
SELECT uni_number FROM table_name_40 WHERE surname = 'ough';
``` | 21,972 | [
{
"from": "human",
"value": " 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 (uni_number VARCHAR, surname VARCHAR)\n\n Question: Which Uni # has a Surname of ough?\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_63 (surname VARCHAR, throws VARCHAR, dob VARCHAR)
Question: Which Surname has Throws of l, and a DOB of 5/02/79?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about which surname has throws of "l" and a date of birth of "5/02/79":
```
SELECT surname FROM table_name_63 WHERE throws = "l" AND dob = "5/02/79";
``` | 21,973 | [
{
"from": "human",
"value": " 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 (surname VARCHAR, throws VARCHAR, dob VARCHAR)\n\n Question: Which Surname has Throws of l, and a DOB of 5/02/79?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (surface VARCHAR, partner VARCHAR, date VARCHAR)
Question: Which surface had a partner of Sandrine Testud on November 14, 1999?
Here is the SQLite query to... | Here is the SQLite query to answer the question about which surface had a partner of Sandrine Testud on November 14, 1999:
```
SELECT surface FROM table_name_93 WHERE partner = "Sandrine Testud" AND date = "November 14, 1999";
``` | 21,974 | [
{
"from": "human",
"value": " 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 (surface VARCHAR, partner VARCHAR, date VARCHAR)\n\n Question: Which surface had a partner of Sandrine Testud on Nov... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (field_goals INTEGER, points INTEGER)
Question: What is the average number of field goals for players with more than 60 points?
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding the average number of field goals for players with more than 60 points:
```
SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60
``` | 21,975 | [
{
"from": "human",
"value": " 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 (field_goals INTEGER, points INTEGER)\n\n Question: What is the average number of field goals for players with more ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
Question: What is the smallest number of field goals for players with 4 touchdowns and less t... | Your SQLite query to find the smallest number of field goals for players with 4 touchdowns and less than 9 extra points has a small issue with the way the `touchdowns` column is being compared. Since the `touchdowns` column is defined as VARCHAR, it should be treated as a string, and you should compare it with the stri... | 21,976 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)\n\n Question: What is the smallest number of field go... | |
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, extra_points VARCHAR, touchdowns VARCHAR)
Question: What is the highest number of points for players with less than 2 touchdowns and 0 extr... | Here is the corrected SQLite query to answer the question regarding the highest number of points for players with less than 2 touchdowns and 0 extra points. Please note that since `extra_points` is of type `VARCHAR`, we must check for '0' as a string:
```
SELECT MAX(points)
FROM table_name_88
WHERE extra_points = '0... | 21,977 | [
{
"from": "human",
"value": " 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, extra_points VARCHAR, touchdowns VARCHAR)\n\n Question: What is the highest number of points for pl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR)
Question: What is the highest number of extra points for players with less than 2 touchdowns and ... | The SQLite query you provided seems to have the correct structure, but there are a couple of aspects that need to be corrected. The `touchdowns` and `points` columns are defined as `VARCHAR`, so you should compare them as strings rather than as integers. Specifically, for comparing numerical values, we must convert tho... | 21,978 | [
{
"from": "human",
"value": " 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 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR)\n\n Question: What is the highest number of extra points ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR)
Question: What is the average number of points for players with 4 touchdowns and more than 0 field... | To answer the question based on the provided schema and requirements, the SQLite query should ensure that it correctly filters for players who have 4 or more touchdowns and more than 0 field goals. Also, since touchdowns are represented as a string (VARCHAR), we need to modify the condition appropriately to check for t... | 21,979 | [
{
"from": "human",
"value": " 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 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR)\n\n Question: What is the average number of points for pla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (e_score INTEGER, t_score VARCHAR, total VARCHAR)
Question: What E score has the T score of 8 and a number smaller than 22.95?
Here is the SQLite query to ... | Here is the correct SQLite query to answer the question about finding the E score for a T score of 8 and a total number smaller than 22.95:
```
SELECT e_score FROM table_name_66 WHERE t_score = '8' AND total < '22.95';
``` | 21,980 | [
{
"from": "human",
"value": " 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 (e_score INTEGER, t_score VARCHAR, total VARCHAR)\n\n Question: What E score has the T score of 8 and a number small... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR)
Question: What's the sum of A Score that also has a score lower than 7.3 and an E Score larger than 7.1?... | The SQLite query you provided contains a couple of mistakes regarding the data types for the `t_score` and `e_score` columns, which are defined as `VARCHAR`. This means the comparisons against numeric values should be done carefully, ensuring the string values can indeed be compared as numbers.
Here’s the corrected ve... | 21,981 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR)\n\n Question: What's the sum of A Score that also has a score lo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (relative_height__m_ VARCHAR, country VARCHAR, parent VARCHAR)
Question: What is the relative height of Scotland with Ben Vorlich as parent?
Here is the SQL... | The provided query seems to count the number of records rather than retrieve the actual relative height of Scotland. If you want to get the relative height of Scotland specifically with Ben Vorlich as the parent, you should select the `relative_height__m_` field instead of counting it. Here's the correct query:
```
SE... | 21,982 | [
{
"from": "human",
"value": " 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 (relative_height__m_ VARCHAR, country VARCHAR, parent VARCHAR)\n\n Question: What is the relative height of Scotland ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (rank INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the highest rank of Austria, which had less than 0 silvers?
Here is the SQLite query to an... | The SQLite query to find the highest rank of Austria, which had less than 0 silvers should use `MAX` instead of `MIN`, since we are looking for the highest rank. Additionally, since "silver" is a VARCHAR type, it needs to be compared correctly. Here's the corrected query:
```
SELECT MAX(rank) FROM table_name_83 WHERE ... | 21,983 | [
{
"from": "human",
"value": " 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 (rank INTEGER, nation VARCHAR, silver VARCHAR)\n\n Question: What is the highest rank of Austria, which had less tha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (rank INTEGER, gold VARCHAR, silver VARCHAR)
Question: What is the rank of the team with 0 gold and less than 0 silvers?
Here is the SQLite query to answer... | It seems the SQL query you've provided has a couple of issues regarding the data types for the columns being queried. The columns `gold` and `silver` are defined as `VARCHAR`, which means you need to compare them as strings, not integers.
To find the rank of the team with `0` gold and `less than 0` silvers, you would... | 21,984 | [
{
"from": "human",
"value": " 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 (rank INTEGER, gold VARCHAR, silver VARCHAR)\n\n Question: What is the rank of the team with 0 gold and less than 0 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (bronze VARCHAR, total VARCHAR, rank VARCHAR, nation VARCHAR)
Question: What is the total number of bronze medals of West Germany, which is ranked 2 and has... | Your SQLite query has a small logical error regarding how to count the bronze medals. Since `bronze` is likely a VARCHAR field, you probably want to ensure you are dealing with numeric values for the total comparison and counting bronze medals.
Here's the corrected query that considers these points:
```sql
SELECT SU... | 21,985 | [
{
"from": "human",
"value": " 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 (bronze VARCHAR, total VARCHAR, rank VARCHAR, nation VARCHAR)\n\n Question: What is the total number of bronze medal... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (points INTEGER, record VARCHAR, game__number VARCHAR)
Question: What is the number of points of the game less than number 17 with an 11-6-0 record?
Here i... | Here is the SQLite query to answer the question regarding the number of points of the games with a record of 11-6-0 and a game number less than 17:
```
SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < '17'
``` | 21,986 | [
{
"from": "human",
"value": " 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 (points INTEGER, record VARCHAR, game__number VARCHAR)\n\n Question: What is the number of points of the game less t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR)
Question: What is the record of the game on November 22?
Here is the SQLite query to answer to the question: What is the rec... | Here's the SQLite query to answer the question about the record of the game on November 22:
```
SELECT record FROM table_name_14 WHERE date = "November 22";
``` | 21,987 | [
{
"from": "human",
"value": " 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 (record VARCHAR, date VARCHAR)\n\n Question: What is the record of the game on November 22?\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_30 (visitor VARCHAR, home VARCHAR, game__number VARCHAR)
Question: Who is the visitor team of game 19 with Los Angeles as the home team?
Here is the SQLite qu... | Your SQLite query looks mostly correct, but keep in mind that string comparisons in SQL are case-sensitive unless specified otherwise. Assuming "Los Angeles" may appear in different cases in the database, it can be a good idea to use the `LOWER()` function for a case-insensitive comparison. Here’s the refined query:
`... | 21,988 | [
{
"from": "human",
"value": " 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 (visitor VARCHAR, home VARCHAR, game__number VARCHAR)\n\n Question: Who is the visitor team of game 19 with Los Ange... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (studio_host VARCHAR, year VARCHAR)
Question: WHich Studio host has a Year of 2003-04?
Here is the SQLite query to answer to the question: WHich Studio hos... | Here's the SQLite query to answer the question regarding which studio host has a year of 2003-04:
```
SELECT studio_host FROM table_name_42 WHERE year = "2003-04";
``` | 21,989 | [
{
"from": "human",
"value": " 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 (studio_host VARCHAR, year VARCHAR)\n\n Question: WHich Studio host has a Year of 2003-04?\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_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR)
Question: WHich Studio analysts has a Studio host of gary tanguay in 2009-10?
Here is the SQLi... | Here is the SQLite query to answer the question regarding which studio analysts have a studio host of Gary Tanguay in the year 2009-10:
```sql
SELECT studio_analysts FROM table_name_36 WHERE studio_host = 'gary tanguay' AND year = '2009-10';
``` | 21,990 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR)\n\n Question: WHich Studio analysts has a Studio host o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (color_commentator_s_ VARCHAR, studio_host VARCHAR)
Question: WHich Color commentatorhas a Studio host of gary tanguay & eric frede?
Here is the SQLite quer... | Here is the SQLite query to answer the question regarding which Color commentator has a Studio host of "gary tanguay & eric frede":
```
SELECT color_commentator_s_ FROM table_name_3 WHERE studio_host = "gary tanguay & eric frede";
``` | 21,991 | [
{
"from": "human",
"value": " 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 (color_commentator_s_ VARCHAR, studio_host VARCHAR)\n\n Question: WHich Color commentatorhas a Studio host of gary ta... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (play_by_play VARCHAR, studio_host VARCHAR, studio_analysts VARCHAR)
Question: WHich Play-by-play has a Studio host of gary tanguay, and a Studio analysts o... | Here is the SQLite query to answer the given question:
```
SELECT play_by_play FROM table_name_63 WHERE studio_host = "gary tanguay" AND studio_analysts = "donny marshall";
``` | 21,992 | [
{
"from": "human",
"value": " 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 (play_by_play VARCHAR, studio_host VARCHAR, studio_analysts VARCHAR)\n\n Question: WHich Play-by-play has a Studio h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR)
Question: Which Color commentator has a Channel of fsn new england, and a Year of 2004-05?
He... | Here is the SQLite query to answer the question about which Color commentator has a Channel of "fsn new england" and a Year of "2004-05":
```
SELECT color_commentator_s_ FROM table_name_41 WHERE channel = "fsn new england" AND year = "2004-05"
``` | 21,993 | [
{
"from": "human",
"value": " 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 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR)\n\n Question: Which Color commentator has a Channel of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (courtside_reporter VARCHAR, channel VARCHAR, year VARCHAR)
Question: Which Courtside reporter has a Channel of fsn new england in 2006-07?
Here is the SQL... | Here is the SQLite query to answer the question regarding which Courtside reporter has a Channel of fsn new england in 2006-07:
```
SELECT courtside_reporter FROM table_name_43 WHERE channel = "fsn new england" AND year = "2006-07"
``` | 21,994 | [
{
"from": "human",
"value": " 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 (courtside_reporter VARCHAR, channel VARCHAR, year VARCHAR)\n\n Question: Which Courtside reporter has a Channel of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
Question: What was the score on April 21?
Here is the SQLite query to answer to the question: What was the score on April 21?... | Here is the SQLite query to answer the question about the score on April 21:
```
SELECT score FROM table_name_12 WHERE date = "April 21";
``` | 21,995 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR)\n\n Question: What was the score on April 21?\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_47 (date VARCHAR, location VARCHAR, inning VARCHAR)
Question: What date was the game at Comiskey Park and had a 4th Inning?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the date of the game at Comiskey Park that had a 4th inning:
```sql
SELECT date FROM table_name_47 WHERE location = "Comiskey Park" AND inning = "4th";
``` | 21,996 | [
{
"from": "human",
"value": " 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 (date VARCHAR, location VARCHAR, inning VARCHAR)\n\n Question: What date was the game at Comiskey Park and had a 4th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (home_run INTEGER, opposing_pitcher VARCHAR)
Question: When Efrain Valdez was pitching, what was the highest home run?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question:
```
SELECT MAX(home_run) FROM table_name_82 WHERE opposing_pitcher = "Efrain Valdez";
``` | 21,997 | [
{
"from": "human",
"value": " 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 (home_run INTEGER, opposing_pitcher VARCHAR)\n\n Question: When Efrain Valdez was pitching, what was the highest hom... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR)
Question: On June 17 in Tiger stadium, what was the average home run?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the average home run on June 17 in Tiger Stadium:
```
SELECT AVG(home_run) FROM table_name_43 WHERE location = "Tiger Stadium" AND date = "June 17";
``` | 21,998 | [
{
"from": "human",
"value": " 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 (home_run INTEGER, location VARCHAR, date VARCHAR)\n\n Question: On June 17 in Tiger stadium, what was the average h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (result VARCHAR, attendance VARCHAR)
Question: For the game with 528 attendance, what was the result?
Here is the SQLite query to answer to the question: F... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_name_14 WHERE attendance = "528";
``` | 21,999 | [
{
"from": "human",
"value": " 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 (result VARCHAR, attendance VARCHAR)\n\n Question: For the game with 528 attendance, what was the result?\n\nHere is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.