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_10753917_1 (podiums VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
Question: Which podiums did the Williams team have with a margin of defeat of 2?
Here is the S... | Here is the SQLite query to answer the question regarding which podiums the Williams team had with a margin of defeat of 2:
```
SELECT podiums FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2"
``` | 4,600 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)\n\n Question: Which podiums did the Williams team have ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
Question: How many drivers on the williams team had a margin of defeat of 2?
Here is the SQLite... | Here is the SQLite query to answer the question about how many drivers on the Williams team had a margin of defeat of 2:
```
SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2"
``` | 4,601 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)\n\n Question: How many drivers on the williams team had ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR)
Question: How many seasons was clay regazzoni the driver?
Here is the SQLite query to answer to the question: How many ... | Here is the SQLite query to answer the question about how many seasons Clay Regazzoni was the driver:
```
SELECT COUNT(season) FROM table_10753917_1 WHERE driver = "Clay Regazzoni";
``` | 4,602 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR)\n\n Question: How many seasons was clay regazzoni the driver?\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_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR)
Question: Which margin of defeats had points of 30?
Here is the SQLite query to answer to the question: Which... | Here is the SQLite query to answer the question about which margin of defeats had points of 30:
```
SELECT margin_of_defeat FROM table_10753917_1 WHERE points = "30"
``` | 4,603 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR)\n\n Question: Which margin of defeats had points of 30?\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_10753917_1 (podiums VARCHAR, team VARCHAR)
Question: Which podiums did the alfa romeo team have?
Here is the SQLite query to answer to the question: Which podiums ... | Here is the SQLite query to answer the question: Which podiums did the Alfa Romeo team have?:
```
SELECT podiums FROM table_10753917_1 WHERE team = 'Alfa Romeo';
``` | 4,604 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR)\n\n Question: Which podiums did the alfa romeo team have?\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_10797636_1 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)
Question: What was the percent of slovenes 1951 for bach?
Here is the SQLite query to answe... | Here is the SQLite query you requested:
```
SELECT percent_of_slovenes_1951 FROM table_10797636_1 WHERE village__german_ = "Bach";
``` | 4,605 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10797636_1 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)\n\n Question: What was the percent of slovenes 1951 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10812403_4 (college VARCHAR, cfl_team VARCHAR)
Question: What college's team is the Saskatchewan Roughriders?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about which college's team is the Saskatchewan Roughriders:
```
SELECT college FROM table_10812403_4 WHERE cfl_team = "Saskatchewan Roughriders"
``` | 4,606 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812403_4 (college VARCHAR, cfl_team VARCHAR)\n\n Question: What college's team is the Saskatchewan Roughriders?\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_10812403_4 (position VARCHAR, player VARCHAR)
Question: What position did Calvin Mccarty play?
Here is the SQLite query to answer to the question: What position di... | Here is the SQLite query to answer the question about what position Calvin McCarty played:
```
SELECT position FROM table_10812403_4 WHERE player = "Calvin Mccarty"
``` | 4,607 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812403_4 (position VARCHAR, player VARCHAR)\n\n Question: What position did Calvin Mccarty play?\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_10812403_4 (position VARCHAR, pick__number VARCHAR)
Question: How many people were pick #30?
Here is the SQLite query to answer to the question: How many people we... | Your provided SQL query is almost correct, but you should ensure that the value you're comparing with the `pick__number` column is a string since the column is declared as `VARCHAR`. Here's the corrected version of your query:
```sql
SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = '30'
```
This que... | 4,608 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR)\n\n Question: How many people were pick #30?\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_10812403_4 (college VARCHAR, player VARCHAR)
Question: What college did Calvin McCarty play at?
Here is the SQLite query to answer to the question: What college di... | Here is the SQLite query to answer the question about what college Calvin McCarty played at:
```
SELECT college FROM table_10812403_4 WHERE player = "Calvin McCarty"
``` | 4,609 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812403_4 (college VARCHAR, player VARCHAR)\n\n Question: What college did Calvin McCarty play at?\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_10812403_4 (college VARCHAR, position VARCHAR)
Question: What college had a LB in the draft?
Here is the SQLite query to answer to the question: What college had a... | Here's the SQLite query to find out what college had a LB in the draft:
```
SELECT college FROM table_10812403_4 WHERE position = "LB";
``` | 4,610 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812403_4 (college VARCHAR, position VARCHAR)\n\n Question: What college had a LB in the draft?\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_10812293_6 (high_assists VARCHAR, date VARCHAR)
Question: Who got high assists for the game played on February 9?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question:
```
SELECT high_assists FROM table_10812293_6 WHERE date = "February 9";
``` | 4,611 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR)\n\n Question: Who got high assists for the game played on February 9?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR)
Question: Which lava domes erupted or had a growth episode during the Holocene period... | Your SQLite query is almost correct, but it needs a slight adjustment to account for the fact that the Holocene period may include various phrases or entries that relate to eruptions or growth episodes that occurred during that time, rather than just those recorded as "Holocene".
To ensure you capture all relevant re... | 4,612 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR)\n\n Question: Which lava domes erupted or had... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR)
Question: What is the composition at Valles lava dome?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question regarding the composition at Valles lava dome:
```
SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava dome"
``` | 4,613 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR)\n\n Question: What is the composition at Valles lava dome?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1081235_1 (country VARCHAR, name_of_lava_dome VARCHAR)
Question: How many countries are the Tata Sabaya Lava domes located in?
Here is the SQLite query to answer t... | Your SQLite query is correct for counting the number of entries for the Tata Sabaya Lava domes, but to find out how many distinct countries these lava domes are located in, you should use the `COUNT(DISTINCT country)` function instead. Here is the modified query:
```
SELECT COUNT(DISTINCT country) FROM table_1081235_1... | 4,614 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1081235_1 (country VARCHAR, name_of_lava_dome VARCHAR)\n\n Question: How many countries are the Tata Sabaya Lava domes locat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR)
Question: What countries have had eruptions of growth episodes in 1986?
Here is the SQLite que... | Certainly! Here is the SQLite query correctly formatted to find the countries that had eruptions or growth episodes in 1986:
```
SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode LIKE "%1986%"
```
This query uses the `LIKE` operator to ensure that any entries containing "1986" in the `last_er... | 4,615 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR)\n\n Question: What countries have had eruptions of grow... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR)
Question: Who is the lyricist for the song with a length of 3:05?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question: Who is the lyricist for the song with a length of 3:05?:
```
SELECT lyricist FROM table_10848177_1 WHERE length = "3:05";
``` | 4,616 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR)\n\n Question: Who is the lyricist for the song with a length of 3:05?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR)
Question: What song has a length of 3:05?
Here is the SQLite query to answer to the question: What song has a length of 3... | Here is the SQLite query to answer the question: What song has a length of 3:05?:
```
SELECT song FROM table_10848177_1 WHERE length = '3:05';
``` | 4,617 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR)\n\n Question: What song has a length of 3:05?\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_10848177_1 (lyricist VARCHAR, length VARCHAR)
Question: Which lyricist has a song with a length of 6:14?
Here is the SQLite query to answer to the question: Which ... | Here is the SQLite query to answer the question: Which lyricist has a song with a length of 6:14?:
```
SELECT lyricist FROM table_10848177_1 WHERE length = '6:14';
``` | 4,618 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR)\n\n Question: Which lyricist has a song with a length of 6:14?\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_10848177_1 (track__number INTEGER)
Question: What is the highest track number?
Here is the SQLite query to answer to the question: What is the highest track number... | Here is the SQLite query to find the highest track number:
```
SELECT MAX(track__number) FROM table_10848177_1;
``` | 4,619 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10848177_1 (track__number INTEGER)\n\n Question: What is the highest track number?\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_10848177_1 (song VARCHAR, picturization VARCHAR)
Question: Which song has picturization by only vijay?
Here is the SQLite query to answer to the question: Which so... | To find the songs that have picturization by only Vijay, you can utilize the following SQLite query. This assumes that there are no other picturizations listed for the songs that would indicate involvement of any other person. The query checks for songs where picturization is exclusively attributed to Vijay.
Here's th... | 4,620 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10848177_1 (song VARCHAR, picturization VARCHAR)\n\n Question: Which song has picturization by only vijay?\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_10848177_1 (singers VARCHAR, lyricist VARCHAR)
Question: For which singers was Alangudi Somu the lyricist?
Here is the SQLite query to answer to the question: For ... | Here is the SQLite query to answer the question about the singers for whom Alangudi Somu was the lyricist:
```
SELECT singers FROM table_10848177_1 WHERE lyricist = "Alangudi Somu"
``` | 4,621 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10848177_1 (singers VARCHAR, lyricist VARCHAR)\n\n Question: For which singers was Alangudi Somu the lyricist?\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_10875694_11 (publisher VARCHAR, product_no VARCHAR)
Question: What publishers were involved with product number SCUS-97265?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the publishers involved with product number SCUS-97265:
```sql
SELECT publisher FROM table_10875694_11 WHERE product_no = 'SCUS-97265';
``` | 4,622 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR)\n\n Question: What publishers were involved with product number SCUS-972... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR)
Question: What is the total number of James Bond 007: Everything or Nothing for each system?
Here is the SQLite query t... | Here is the corrected SQLite query to determine the total number of occurrences of "James Bond 007: Everything or Nothing" for each system:
```
SELECT system, COUNT(*) AS total
FROM table_10875694_11
WHERE title = "James Bond 007: Everything or Nothing"
GROUP BY system
```
This query counts the number of entries for ... | 4,623 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR)\n\n Question: What is the total number of James Bond 007: Everything or Nothing ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR)
Question: How many products have the title "Jak 3"?
Here is the SQLite query to answer to the question: How many pr... | ```sql
SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3";
``` | 4,624 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR)\n\n Question: How many products have the title \"Jak 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_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR)
Question: Which James Bond 007: Agent Under Fire from E... | Here is the SQLite query to answer the question:
```sql
SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_
FROM table_10875694_11
WHERE publisher = "Electronic Arts"
AND title = "James Bond 007: Agent Under Fire";
``` | 4,625 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR)\n\n Question: W... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR)
Question: What publishers produce product number SLUS-20265?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about which publishers produce product number SLUS-20265:
```
SELECT publisher FROM table_10875694_11 WHERE product_no = "SLUS-20265";
``` | 4,626 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR)\n\n Question: What publishers produce product number SLUS-20265?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10875694_11 (title VARCHAR, product_no VARCHAR)
Question: How many titles have the product number SCUS-97330?
Here is the SQLite query to answer to the question: H... | Your SQLite query to count the number of titles with the product number SCUS-97330 is correct. Here it is wrapped properly:
```
SELECT COUNT(title) FROM table_10875694_11 WHERE product_no = "SCUS-97330";
``` | 4,627 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10875694_11 (title VARCHAR, product_no VARCHAR)\n\n Question: How many titles have the product number SCUS-97330?\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_1090916_2 (status VARCHAR, livery VARCHAR)
Question: What is the status when livery is blue?
Here is the SQLite query to answer to the question: What is the stat... | Here is the SQLite query to answer the question of what the status is when the livery is blue:
```
SELECT status FROM table_1090916_2 WHERE livery = 'blue';
``` | 4,628 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR)\n\n Question: What is the status when livery is blue?\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_1090916_2 (location VARCHAR, status VARCHAR)
Question: What is the location when the status is in service as coaching stock?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer your question:
```
SELECT location FROM table_1090916_2 WHERE status = 'In service as coaching stock';
``` | 4,629 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR)\n\n Question: What is the location when the status is in service as coaching st... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR)
Question: What was the first season of the club who last won a title in 2012?
Here is the SQLite query to answ... | Your SQLite query is on the right track, but it should be modified slightly to ensure that it retrieves the correct record specifically for the club that last won a title in 2012. Here's the correctly structured query:
```sql
SELECT first_season FROM table_1096793_1 WHERE last_title = "2012";
```
This query searches ... | 4,630 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR)\n\n Question: What was the first season of the club who last won a titl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1096793_1 (first_season VARCHAR, position_in_2012 VARCHAR)
Question: What was the first season of the club that in 2012 was 2nd in Superettan?
Here is the SQLite q... | Here is the SQLite query to answer the question regarding the first season of the club that was 2nd in Superettan in 2012:
```
SELECT first_season FROM table_1096793_1 WHERE position_in_2012 = '2nd in Superettan'
``` | 4,631 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1096793_1 (first_season VARCHAR, position_in_2012 VARCHAR)\n\n Question: What was the first season of the club that in 2012 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the second episode of "The Homecoming" which was written by Tommy Thompson?
Here is the... | To answer the question about who directed the second episode of "The Homecoming" which was specifically written by Tommy Thompson, we need to add a condition for the episode title as well as the order in which episodes are typically represented in your database schema. However, since the schema shared doesn't include e... | 4,632 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who directed the second episode of \"The Homecoming\" whi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_34 (the_bronx VARCHAR, manhattan VARCHAR)
Question: What percentage of The Bronx voters occured when Manhattan had 29.9% of voters?
Here is the SQLite quer... | The query you've provided is not correct for the requirement. To find the percentage of The Bronx voters when Manhattan had 29.9% of voters, you need to select the relevant data and calculate the percentage. Assuming that the `the_bronx` column contains the number of voters from The Bronx, and you want the percentage o... | 4,633 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_34 (the_bronx VARCHAR, manhattan VARCHAR)\n\n Question: What percentage of The Bronx voters occured when Manhattan h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_34 (the_bronx VARCHAR, total VARCHAR)
Question: What number of voters did the Bronx have when the total number was 2054?
Here is the SQLite query to answer... | Here is the corrected SQLite query to answer the question regarding the number of voters in the Bronx when the total number was 2054. Note that the `total` column is defined as `VARCHAR` in the schema, so we should treat the comparison against a string:
```
SELECT the_bronx FROM table_1108394_34 WHERE total = '2054'
`... | 4,634 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_34 (the_bronx VARCHAR, total VARCHAR)\n\n Question: What number of voters did the Bronx have when the total number w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_34 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
Question: What number of voters did Queens have when Staten Island had 295 voters?
Here is the SQ... | It looks like there is a small mistake in your query. You should be querying based on the `staten_is` column instead of using `richmond_` incorrectly. Below is the corrected SQL query that retrieves the number of voters from Queens when Staten Island had 295 voters:
```sql
SELECT queens FROM table_1108394_34 WHERE sta... | 4,635 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_34 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)\n\n Question: What number of voters did Queens have when S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR)
Question: What was Staten Island when Brooklyn was 940?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query you requested:
```
SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940"
``` | 4,636 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR)\n\n Question: What was Staten Island when Brooklyn was 940?\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_1108394_6 (manhattan VARCHAR, staten_island VARCHAR)
Question: What was the total number in Manhattan when Staten Island was 12,658?
Here is the SQLite query to an... | Here's the SQLite query to answer the question regarding the total number in Manhattan when Staten Island was 12,658:
```
SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = "12,658"
``` | 4,637 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR)\n\n Question: What was the total number in Manhattan when Staten Island... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_6 (brooklyn VARCHAR, manhattan VARCHAR)
Question: What was the total in Brooklyn when Manhattan was 3,139?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the total in Brooklyn when Manhattan was 3,139:
```
SELECT brooklyn FROM table_1108394_6 WHERE manhattan = '3,139';
``` | 4,638 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_6 (brooklyn VARCHAR, manhattan VARCHAR)\n\n Question: What was the total in Brooklyn when Manhattan was 3,139?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR)
Question: Who was the republican candidate in 2013 when Staten Island was 451?
Here is the SQLite query to answer to the question... | It looks like your query is incorrectly constructed for the task you're trying to accomplish. The schema only contains a single column for storing values related to Staten Island, and it does not provide any information about candidates or elections. Assuming you meant to query based on a hypothetical table that has re... | 4,639 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR)\n\n Question: Who was the republican candidate in 2013 when Staten Island was 451?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR)
Question: What was the amount in Staten Island when The Bronx was 1,281?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question regarding the amount in Staten Island when The Bronx was 1,281:
```
SELECT staten_island FROM table_1108394_6 WHERE the_bronx = "1,281"
``` | 4,640 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR)\n\n Question: What was the amount in Staten Island when The Bronx was 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR)
Question: The candidate who received 133 votes in the Bronx won what percentage overall?
Here is the SQLite que... | Your provided query is almost correct, but it needs a slight modification to accurately answer the question about the candidate who received 133 votes in the Bronx. The value in `the_bronx` should correspond to the votes as a string if your column is defined as `VARCHAR`. Assuming the schema is correct and you want to ... | 4,641 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR)\n\n Question: The candidate who received 133 votes in the Bronx won what... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_47 (queens VARCHAR)
Question: Which candidate won 88 votes in Queens in 1921?
Here is the SQLite query to answer to the question: Which candidate won 88 vo... | It looks like your SQL query has a few issues. First, the schema you provided has only one column named `queens` of type `VARCHAR`, and it does not seem to contain information about votes or the year 1921. To accurately query for a candidate that won 88 votes in Queens in 1921, we would need additional columns for that... | 4,642 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_47 (queens VARCHAR)\n\n Question: Which candidate won 88 votes in Queens in 1921?\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_1108394_47 (brooklyn VARCHAR, manhattan VARCHAR)
Question: How many votes in Brooklyn were won by the candidate who won 321 votes in Manhattan?
Here is the SQLite ... | Your query looks good for fetching the votes in Brooklyn associated with a candidate who received 321 votes in Manhattan. However, to count the number of votes, you need to use the `COUNT` function. Here’s the modified query:
```sql
SELECT COUNT(brooklyn) AS brooklyn_votes
FROM table_1108394_47
WHERE manhattan = "32... | 4,643 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_47 (brooklyn VARCHAR, manhattan VARCHAR)\n\n Question: How many votes in Brooklyn were won by the candidate who won ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)
Question: The man who received 87,676 votes in Queens won what percentage of the total for the election?
Here is t... | Your provided query seems incorrect because it tries to match the value "87,676" directly in the `queens` column, which doesn't seem to align logically with the context of the question. Instead, you likely want to look for the row that corresponds to that specific number of votes and get the corresponding percentage.
... | 4,644 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)\n\n Question: The man who received 87,676 votes in Queens won what percenta... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR)
Question: How many parties received 29.9% of the vote in Manhattan?
Here is the SQLite query to answer to the questio... | The query you provided is almost correct, but it seems to use an incorrect string for the condition on the `manhattan` column. Instead, we should be checking for the exact percentage value, which should be formatted properly. Assuming the votes are stored as strings with a specific format, the correct query would count... | 4,645 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR)\n\n Question: How many parties received 29.9% of the vote in Manhattan?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR)
Question: Name the most late 1943 with late 194 in slovenia
Here is the SQLite query to answer to the question: N... | It looks like the query you've provided aims to find the maximum value in the `late_1943` column while excluding rows where `_late_1941` is "Slovenia." However, the question asks for the most recent (maximum) entry specifically related to Slovenia.
To accurately address the question, the query should focus on finding ... | 4,646 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR)\n\n Question: Name the most late 1943 with late 194 in slovenia\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_1115992_1 (sept_1943 INTEGER, late_1943 VARCHAR)
Question: What is the least september 1943 when late 1943 is 78000
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the least value of `sept_1943` when `late_1943` is 78000:
```sql
SELECT MIN(sept_1943) FROM table_1115992_1 WHERE late_1943 = '78000'
```
(Note: In SQLite, since `late_1943` is defined as `VARCHAR`, it is advisable to compare it as a string by enclosing the v... | 4,647 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1115992_1 (sept_1943 INTEGER, late_1943 VARCHAR)\n\n Question: What is the least september 1943 when late 1943 is 78000\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11157122_5 (longest_run VARCHAR, player VARCHAR)
Question: What was Eric Dickerson's longest run?
Here is the SQLite query to answer to the question: What was Eric... | The query you provided counts the number of records for Eric Dickerson rather than retrieving his longest run. To find Eric Dickerson's longest run, you should select the maximum value of the `longest_run` for that player. Here's the corrected SQLite query:
```
SELECT MAX(longest_run) FROM table_11157122_5 WHERE playe... | 4,648 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11157122_5 (longest_run VARCHAR, player VARCHAR)\n\n Question: What was Eric Dickerson's longest run?\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_11157122_5 (attempts INTEGER, player VARCHAR)
Question: How many attempts did Charles White make?
Here is the SQLite query to answer to the question: How many atte... | The query you've provided uses `MIN(attempts)`, which will return the minimum number of attempts made by Charles White, rather than the total number of attempts. If you want to find the total number of attempts made by Charles White, you should use `SUM(attempts)` instead. Here is the correct SQLite query:
```
SELECT ... | 4,649 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11157122_5 (attempts INTEGER, player VARCHAR)\n\n Question: How many attempts did Charles White make?\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_11157122_5 (yards VARCHAR, attempts VARCHAR)
Question: How many yards did the player with 87 attempts rush?
Here is the SQLite query to answer to the question: How... | The SQLite query to find out how many yards the player with 87 attempts rushed would be as follows:
```
SELECT yards FROM table_11157122_5 WHERE attempts = '87'
```
Make sure to use quotation marks around the number 87 since the `attempts` column is defined as a VARCHAR type. | 4,650 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11157122_5 (yards VARCHAR, attempts VARCHAR)\n\n Question: How many yards did the player with 87 attempts rush?\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_11206916_1 (highest VARCHAR, team VARCHAR)
Question: What was the highest amount of people that attended the elgin city team?
Here is the SQLite query to answer to... | The provided SQL query to find the highest attendance for the Elgin City team is not correctly formulated, as it uses `COUNT(highest)`, which counts the number of rows rather than finding the maximum value of the `highest` column. Instead, you would want to use the `MAX()` function to get the highest attendance value.
... | 4,651 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR)\n\n Question: What was the highest amount of people that attended the elgin city ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206916_1 (average INTEGER, stadium VARCHAR)
Question: The firs park stadium had the lowest average attendence of what?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the lowest average attendance for the Firs Park stadium:
```sql
SELECT MIN(average) FROM table_11206916_1 WHERE stadium = "Firs Park";
``` | 4,652 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11206916_1 (average INTEGER, stadium VARCHAR)\n\n Question: The firs park stadium had the lowest average attendence of what?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206916_1 (highest INTEGER, team VARCHAR)
Question: What was the lowest highest attendance for the dumbarton team?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the lowest highest attendance for the Dumbarton team:
```
SELECT MIN(highest) FROM table_11206916_1 WHERE team = 'Dumbarton'
``` | 4,653 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11206916_1 (highest INTEGER, team VARCHAR)\n\n Question: What was the lowest highest attendance for the dumbarton team?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206916_1 (highest INTEGER, stadium VARCHAR)
Question: The gayfield park stadium had a highest attendance of what?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the highest attendance at the Gayfield Park Stadium:
```
SELECT MAX(highest) FROM table_11206916_1 WHERE stadium = "Gayfield Park";
``` | 4,654 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11206916_1 (highest INTEGER, stadium VARCHAR)\n\n Question: The gayfield park stadium had a highest attendance of what?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR)
Question: The stenhousemuir team had how many highest attendances?
Here is the SQLite query to answer to the question: T... | Your SQLite query to find out how many highest attendances the Stenhousemuir team had is correctly structured. Here it is wrapped in the required code format:
```
SELECT COUNT(highest) FROM table_11206916_1 WHERE team = "Stenhousemuir";
``` | 4,655 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR)\n\n Question: The stenhousemuir team had how many highest attendances?\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_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR)
Question: what's the premiere with hk viewers of 2.09 million
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question of which premiere has HK viewers of 2.09 million:
```
SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million"
``` | 4,656 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR)\n\n Question: what's the premiere with hk viewers of 2.09 million\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11174272_1 (rank INTEGER)
Question: what is the minimum rank
Here is the SQLite query to answer to the question: what is the minimum rank:
```
SELECT MIN(rank) FRO... | Here is the SQLite query to answer the question about the minimum rank:
```
SELECT MIN(rank) FROM table_11174272_1;
``` | 4,657 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11174272_1 (rank INTEGER)\n\n Question: what is the minimum rank\n\nHere is the SQLite query to answer to the question: what... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11208143_9 (capacity INTEGER, team VARCHAR)
Question: What is the minimum capacity of Dundee United's stadium?
Here is the SQLite query to answer to the question: ... | Your SQLite query to find the minimum capacity of Dundee United's stadium is correct. Here it is wrapped in the specified format:
```
SELECT MIN(capacity) FROM table_11208143_9 WHERE team = "Dundee United";
``` | 4,658 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11208143_9 (capacity INTEGER, team VARCHAR)\n\n Question: What is the minimum capacity of Dundee United's stadium?\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_11208143_9 (stadium VARCHAR, capacity VARCHAR)
Question: Which stadiums have a capacity of 51082?
Here is the SQLite query to answer to the question: Which stadium... | Here is the SQLite query to answer the question about which stadiums have a capacity of 51082:
```
SELECT stadium FROM table_11208143_9 WHERE capacity = '51082'
```
Note that the capacity is stored as a VARCHAR, so it's necessary to use quotes around the number. | 4,659 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR)\n\n Question: Which stadiums have a capacity of 51082?\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_11208143_9 (stadium VARCHAR, capacity VARCHAR)
Question: How many stadiums are there with a capacity of 7500?
Here is the SQLite query to answer to the question: H... | Your SQLite query is almost correct, but since the capacity is defined as a VARCHAR in the schema, you should wrap the value `7500` in quotes to ensure it is treated as a string. Here is the corrected query:
```
SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = '7500'
``` | 4,660 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR)\n\n Question: How many stadiums are there with a capacity of 7500?\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_11208143_9 (capacity INTEGER, stadium VARCHAR)
Question: What is Pittodrie Stadium's maximum capacity?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to find Pittodrie Stadium's maximum capacity:
```sql
SELECT MAX(capacity) FROM table_11208143_9 WHERE stadium = 'Pittodrie Stadium';
``` | 4,661 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11208143_9 (capacity INTEGER, stadium VARCHAR)\n\n Question: What is Pittodrie Stadium's maximum capacity?\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_11208143_9 (stadium VARCHAR, average VARCHAR)
Question: Which stadiums have an average attendance of 13840?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query to answer the question: Which stadiums have an average attendance of 13840?:
```
SELECT stadium FROM table_11208143_9 WHERE average = '13840'
```
(Note: The average attendance is stored as a VARCHAR, so it is compared with the string '13840'.) | 4,662 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11208143_9 (stadium VARCHAR, average VARCHAR)\n\n Question: Which stadiums have an average attendance of 13840?\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_11208143_9 (highest VARCHAR, average VARCHAR)
Question: What are the highest recorded attendance rates of the stadiums with an average attendance of 4752?
Here is ... | Here's the SQLite query to answer the question regarding the highest recorded attendance rates of stadiums with an average attendance of 4752:
```
SELECT highest FROM table_11208143_9 WHERE average = '4752';
```
Note that the average is treated as a VARCHAR in your schema, so it's important to include the value '475... | 4,663 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11208143_9 (highest VARCHAR, average VARCHAR)\n\n Question: What are the highest recorded attendance rates of the stadiums w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11233358_2 (ties INTEGER)
Question: What is the highest number of ties?
Here is the SQLite query to answer to the question: What is the highest number of ties?:
``... | Here is the SQLite query to answer the question about the highest number of ties:
```
SELECT MAX(ties) FROM table_11233358_2;
``` | 4,664 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11233358_2 (ties INTEGER)\n\n Question: What is the highest number of ties?\n\nHere is the SQLite query to answer to the que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR)
Question: During the 2013 debut, what is the w-I(total) number?
Here is the SQLite query to answer to the question:... | Your query is almost correct, but you should ensure that the value for the `debut` column is treated as a string since it is defined as `VARCHAR`. Additionally, to get the correct count of `w_l__total_` during the 2013 debut, you might want to ensure that it specifically relates to that year. Here’s the corrected SQLit... | 4,665 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR)\n\n Question: During the 2013 debut, what is the w-I(total) number?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
Question: What is the catalog number named callanetics: 10 years younger in 10 hours
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding the catalog number for "Callanetics: 10 years Younger In 10 Hours":
```
SELECT catalog_number FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours"
``` | 4,666 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)\n\n Question: What is the catalog number named callanetics: 10 years youn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR)
Question: how many studios have the catalog number "cal03 / 0091037137333"?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question:
```
SELECT COUNT(studio) FROM table_11222744_3 WHERE catalog_number = "cal03 / 0091037137333"
``` | 4,667 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR)\n\n Question: how many studios have the catalog number \"cal03 / 0091037... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11222744_3 (format VARCHAR, title VARCHAR)
Question: what is the format of "callanetics: 10 years younger in 10 hours"?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about the format of "callanetics: 10 years younger in 10 hours":
```
SELECT format FROM table_11222744_3 WHERE title = "callanetics: 10 years younger in 10 hours"
``` | 4,668 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11222744_3 (format VARCHAR, title VARCHAR)\n\n Question: what is the format of \"callanetics: 10 years younger in 10 hours\"... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
Question: What is the catalog number of the title called "super callanetics"?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question regarding the catalog number of the title "super callanetics":
```
SELECT catalog_number FROM table_11222744_3 WHERE title = "super callanetics";
``` | 4,669 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)\n\n Question: What is the catalog number of the title called \"super call... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
Question: how many titles have the name "quick callanetics"?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding how many titles have the name "quick callanetics":
```
SELECT COUNT(catalog_number) FROM table_11222744_3 WHERE title = "quick callanetics"
``` | 4,670 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)\n\n Question: how many titles have the name \"quick callanetics\"?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR)
Question: Who creates the catalog with the number "cal03 / 0091037137333"?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question of who creates the catalog with the number "cal03 / 0091037137333":
```
SELECT studio FROM table_11222744_3 WHERE catalog_number = "cal03 / 0091037137333"
``` | 4,671 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR)\n\n Question: Who creates the catalog with the number \"cal03 / 00910371... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR)
Question: What was the rating for the episode with 1.83 viewers (millions)?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the rating for the episode with 1.83 viewers (millions):
```
SELECT rating FROM table_11238597_4 WHERE viewers__millions_ = "1.83"
``` | 4,672 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR)\n\n Question: What was the rating for the episode with 1.83 viewers ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11238597_4 (share VARCHAR, air_date VARCHAR)
Question: What was the share for the episode with the air date december 10, 2008?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the share for the episode with the air date December 10, 2008:
```
SELECT share FROM table_11238597_4 WHERE air_date = "December 10, 2008"
``` | 4,673 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11238597_4 (share VARCHAR, air_date VARCHAR)\n\n Question: What was the share for the episode with the air date december 10,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR)
Question: Which premiere had languages in danish?
Here is the SQLite query to answer to the question: Which premie... | Here is the SQLite query to answer the question "Which premiere had languages in danish?":
```
SELECT premiere FROM table_11323532_2 WHERE languages LIKE 'Danish';
``` | 4,674 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR)\n\n Question: Which premiere had languages in danish?\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_11323532_2 (channel VARCHAR, country_region VARCHAR)
Question: What was the number of channels in New Zealand?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the number of channels in New Zealand:
```
SELECT COUNT(channel) FROM table_11323532_2 WHERE country_region = "New Zealand";
``` | 4,675 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11323532_2 (channel VARCHAR, country_region VARCHAR)\n\n Question: What was the number of channels in New Zealand?\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_11323532_2 (premiere VARCHAR, host VARCHAR)
Question: What is the premiere where the host is lieke van lexmond dennis weening?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the premiere where the host is "Lieke van Lexmond Dennis Weening":
```
SELECT premiere FROM table_11323532_2 WHERE host = "Lieke van Lexmond Dennis Weening"
``` | 4,676 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, host VARCHAR)\n\n Question: What is the premiere where the host is lieke van lexmond dennis we... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, channel VARCHAR)
Question: What is the premiere on the mega channel?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to answer the question about the premiere on the mega channel:
```
SELECT premiere FROM table_11323532_2 WHERE channel = "Mega channel";
``` | 4,677 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, channel VARCHAR)\n\n Question: What is the premiere on the mega channel?\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_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR)
Question: What is the symbol for Windpower in China?
Here is the SQLite query to answer to the question: What... | Your SQLite query is correctly structured to retrieve the symbol for Windpower in China. Here it is wrapped in code formatting:
```
SELECT wind_power__wp_ FROM table_11347578_1 WHERE country = "China"
```
This query selects the `wind_power__wp_` column from the table `table_11347578_1` where the `country` column mat... | 4,678 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR)\n\n Question: What is the symbol for Windpower in China?\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_1133844_4 (candidates_winning_candidate_in_bold VARCHAR, state__linked_to_summaries_below_ VARCHAR)
Question: who were the winners in west virginia
Here is the SQL... | Here is the SQLite query to answer the question about who were the winners in West Virginia:
```
SELECT candidates_winning_candidate_in_bold
FROM table_1133844_4
WHERE state__linked_to_summaries_below_ = "West Virginia";
``` | 4,679 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1133844_4 (candidates_winning_candidate_in_bold VARCHAR, state__linked_to_summaries_below_ VARCHAR)\n\n Question: who were t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR)
Question: tell the final for lindsey graham
Here is the SQLite query to answer to the question: tell the final for lind... | Here is the SQLite query to answer the question about the final result for Lindsey Graham:
```
SELECT result FROM table_1133844_4 WHERE senator = "Lindsey Graham"
``` | 4,680 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR)\n\n Question: tell the final for lindsey graham\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_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR)
Question: who won the senate seat in arkansas
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: who won the senate seat in Arkansas:
```sql
SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas";
``` | 4,681 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR)\n\n Question: who won the senate seat in arkansas\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR)
Question: What is the dysart of the principal?
Here is the SQLite query to answer to the question: What is the dys... | Here is the SQLite query to answer the question "What is the dysart of the principal?":
```
SELECT dysart FROM table_11340432_1 WHERE information = "Principal"
``` | 4,682 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR)\n\n Question: What is the dysart of the principal?\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_11340432_1 (willow_canyon VARCHAR, dysart VARCHAR)
Question: What is williow canyon of Roberta Lockhart?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query that answers the question "What is willow canyon of Roberta Lockhart?":
```
SELECT willow_canyon FROM table_11340432_1 WHERE dysart = "Roberta Lockhart"
``` | 4,683 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, dysart VARCHAR)\n\n Question: What is williow canyon of Roberta Lockhart?\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_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR)
Question: What is the willow canyon of Stallion?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question "What is the willow canyon of Stallion?":
```
SELECT willow_canyon FROM table_11340432_1 WHERE shadow_ridge = "Stallion"
``` | 4,684 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR)\n\n Question: What is the willow canyon of Stallion?\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_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR)
Question: Name the Valley Vista of Anthony Capuano
Here is the SQLite query to answer to the question: Nam... | Your SQLite query to find the Valley Vista of Anthony Capuano is correct. Here it is wrapped in code format as you requested:
```
SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano";
``` | 4,685 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR)\n\n Question: Name the Valley Vista of Anthony Capuano\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_11340432_1 (information VARCHAR, shadow_ridge VARCHAR)
Question: How many informations does Michael Hawkins have?
Here is the SQLite query to answer to the questio... | Here is the SQLite query that answers the question about how many informations Michael Hawkins has:
```
SELECT COUNT(information) FROM table_11340432_1 WHERE shadow_ridge = "Michael Hawkins"
``` | 4,686 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11340432_1 (information VARCHAR, shadow_ridge VARCHAR)\n\n Question: How many informations does Michael Hawkins have?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137694_3 (round VARCHAR, winning_driver VARCHAR)
Question: How many total rounds did Damon Hill come in First Place?
Here is the SQLite query to answer to the que... | Here's the SQLite query to count how many total rounds Damon Hill came in First Place:
```
SELECT COUNT(round) FROM table_1137694_3 WHERE winning_driver = "Damon Hill";
``` | 4,687 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137694_3 (round VARCHAR, winning_driver VARCHAR)\n\n Question: How many total rounds did Damon Hill come in First Place?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137694_3 (winning_driver VARCHAR, winning_constructor VARCHAR)
Question: Who drove the winning car constructed by Jordan - Mugen-Honda?
Here is the SQLite query t... | ```sql
SELECT winning_driver FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda";
``` | 4,688 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137694_3 (winning_driver VARCHAR, winning_constructor VARCHAR)\n\n Question: Who drove the winning car constructed by Jorda... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR)
Question: Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda?
Here is the SQLite que... | Here is the SQLite query to answer your question:
```
SELECT grand_prix FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda"
``` | 4,689 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR)\n\n Question: Which Grand Prix was won by a car constructed by J... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11365528_2 (location VARCHAR, website VARCHAR)
Question: Which location belongs to the website, http://www.mudgeerabasoccer.com/?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about which location belongs to the website "http://www.mudgeerabasoccer.com/":
```
SELECT location FROM table_11365528_2 WHERE website = "http://www.mudgeerabasoccer.com/"
``` | 4,690 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11365528_2 (location VARCHAR, website VARCHAR)\n\n Question: Which location belongs to the website, http://www.mudgeerabasoc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR)
Question: The president, peter williamson, had how many home grounds?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about how many home grounds the president, Peter Williamson, had:
```
SELECT COUNT(home_ground) FROM table_11365528_2 WHERE president = "Peter Williamson"
``` | 4,691 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR)\n\n Question: The president, peter williamson, had how many home grounds... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11365528_2 (head_coach VARCHAR, website VARCHAR)
Question: How many head coaches are there for the website, http://www.burleighbulldogs.org/?
Here is the SQLite qu... | Here is the SQLite query to answer the question about the number of head coaches for the specified website:
```
SELECT COUNT(head_coach) FROM table_11365528_2 WHERE website = "http://www.burleighbulldogs.org/";
``` | 4,692 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11365528_2 (head_coach VARCHAR, website VARCHAR)\n\n Question: How many head coaches are there for the website, http://www.b... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR)
Question: The head coach, steve radoslavic, is related to which websites?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the head coach Steve Radoslavic and the related websites:
```
SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic";
``` | 4,693 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR)\n\n Question: The head coach, steve radoslavic, is related to which website... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137696_3 (winning_driver VARCHAR, grand_prix VARCHAR)
Question: Who is the driver of the european grand prix?
Here is the SQLite query to answer to the question: ... | Here's the SQLite query to answer the question of who is the driver of the European Grand Prix:
```
SELECT winning_driver FROM table_1137696_3 WHERE grand_prix = "European Grand Prix";
``` | 4,694 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137696_3 (winning_driver VARCHAR, grand_prix VARCHAR)\n\n Question: Who is the driver of the european grand prix?\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_1137696_3 (report VARCHAR, round VARCHAR)
Question: What is the report for round 3?
Here is the SQLite query to answer to the question: What is the report for roun... | Your query is almost correct, but since the `round` column is defined as a `VARCHAR`, you need to surround the value '3' with quotes. Here is the corrected SQL query:
```
SELECT report FROM table_1137696_3 WHERE round = '3'
``` | 4,695 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137696_3 (report VARCHAR, round VARCHAR)\n\n Question: What is the report for round 3?\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_1137696_3 (winning_driver VARCHAR, round VARCHAR)
Question: What is the winning driver of round 7?
Here is the SQLite query to answer to the question: What is the ... | Your provided SQLite query is almost correct, but it should include quotes around the round number since it is a VARCHAR type in your schema. Here's the corrected version:
```
SELECT winning_driver FROM table_1137696_3 WHERE round = '7'
``` | 4,696 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137696_3 (winning_driver VARCHAR, round VARCHAR)\n\n Question: What is the winning driver of round 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_1137696_3 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
Question: Name the grand prix with a driver of Michael Schumacher and a r... | Your query has a small mistake in the condition for the `fastest_lap`. The question specifically asks for the grand prix with a driver of Michael Schumacher and a round of 7, but you are checking the `fastest_lap` for the driver's name as well, which is not necessary.
Here's the corrected query:
```
SELECT grand_pri... | 4,697 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137696_3 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)\n\n Question: Name the grand prix... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)
Question: Which round was the winning constructor was Benetton - Ford and in the Pole ... | Here is the SQLite query you requested, wrapped appropriately:
```
SELECT round FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Damon Hill";
``` | 4,698 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)\n\n Question: Which round was the winning cons... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)
Question: How many Grand Prix were the winning constructor Benetton - Ford and th... | Here is the SQLite query to answer the question you provided:
```
SELECT COUNT(grand_prix) FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Michael Schumacher"
``` | 4,699 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)\n\n Question: How many Grand Prix were th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.