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_262508_1 (joined VARCHAR, enrollment VARCHAR, location VARCHAR)
Question: How many joined when the enrollment was 1150 in Sioux City, Iowa?
Here is the SQLite quer... | To count how many records have joined when the enrollment was 1150 in Sioux City, Iowa, you need to use the `COUNT` function in your query. Here’s the correct query:
```sql
SELECT COUNT(joined) AS count_joined
FROM table_262508_1
WHERE enrollment = '1150' AND location = 'Sioux City, Iowa';
```
This query will retu... | 38,500 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262508_1 (joined VARCHAR, enrollment VARCHAR, location VARCHAR)\n\n Question: How many joined when the enrollment was 1150 i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR)
Question: What is Briar Cliff University's nickname?
Here is the SQLite query to answer to the question: What is B... | Here is the SQLite query to answer the question about Briar Cliff University's nickname:
```
SELECT nickname FROM table_262508_1 WHERE institution = "Briar Cliff University"
``` | 38,501 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR)\n\n Question: What is Briar Cliff University's nickname?\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_262508_1 (nickname VARCHAR, institution VARCHAR)
Question: What is the nickname of the institution from Concordia University, Nebraska?
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding the nickname of the institution from Concordia University, Nebraska:
```
SELECT nickname FROM table_262508_1 WHERE institution = "Concordia University, Nebraska";
``` | 38,502 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR)\n\n Question: What is the nickname of the institution from Concordia Univer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26250253_1 (result VARCHAR, week__number VARCHAR)
Question: Where the week # is Top 12, what is the result?
Here is the SQLite query to answer to the question: Whe... | Here is the SQLite query to answer the question regarding the results where the week number is "Top 12":
```
SELECT result FROM table_26250253_1 WHERE week__number = "Top 12"
``` | 38,503 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26250253_1 (result VARCHAR, week__number VARCHAR)\n\n Question: Where the week # is Top 12, what is the result?\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_26250253_1 (result VARCHAR, theme VARCHAR)
Question: How many results are there with the theme Group Round?
Here is the SQLite query to answer to the question: How... | Your SQLite query to count the number of results with the theme "Group Round" is correct. Here it is wrapped in the requested format:
```
SELECT COUNT(result) FROM table_26250253_1 WHERE theme = "Group Round";
``` | 38,504 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26250253_1 (result VARCHAR, theme VARCHAR)\n\n Question: How many results are there with the theme Group Round?\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_26250253_1 (theme VARCHAR, order__number VARCHAR)
Question: How many themes are there where the order # is 9?
Here is the SQLite query to answer to the question: H... | Your provided SQLite query is correct for counting the number of themes where the order number is 9. Here it is wrapped properly:
```
SELECT COUNT(theme) FROM table_26250253_1 WHERE order__number = "9";
```
This query will return the total count of unique themes associated with the specific order number of 9. | 38,505 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26250253_1 (theme VARCHAR, order__number VARCHAR)\n\n Question: How many themes are there where the order # is 9?\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_26250253_1 (order__number VARCHAR, week__number VARCHAR)
Question: The order # is what for the week # Top 10?
Here is the SQLite query to answer to the question: T... | To answer the question regarding the order numbers for the week labeled "Top 10", you can use the following SQLite query:
```sql
SELECT order__number FROM table_26250253_1 WHERE week__number = "Top 10";
``` | 38,506 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26250253_1 (order__number VARCHAR, week__number VARCHAR)\n\n Question: The order # is what for the week # Top 10?\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_26250253_1 (week__number VARCHAR, original_artist VARCHAR)
Question: The original artist The Temptations has what week #?
Here is the SQLite query to answer to the... | Your query is correctly structured to retrieve the week number associated with the original artist "The Temptations". Here it is wrapped in the specified format:
```
SELECT week__number FROM table_26250253_1 WHERE original_artist = "The Temptations";
``` | 38,507 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26250253_1 (week__number VARCHAR, original_artist VARCHAR)\n\n Question: The original artist The Temptations has what week #... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262505_1 (founded VARCHAR, type VARCHAR, enrollment VARCHAR)
Question: Name the total number of founded for public and 780 enrollment
Here is the SQLite query to a... | Here is the SQLite query to answer the question about the total number of founded for public and 780 enrollment:
```
SELECT COUNT(founded) FROM table_262505_1 WHERE type = 'Public' AND enrollment = '780';
``` | 38,508 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262505_1 (founded VARCHAR, type VARCHAR, enrollment VARCHAR)\n\n Question: Name the total number of founded for public and 7... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR)
Question: Name the founded for school closed in 2005
Here is the SQLite query to answer to the question: Nam... | The provided query seems to misunderstand the request about finding schools closed in 2005. Typically, you would want to check for a condition directly related to a closure year, specifically for schools that are no longer active in the database, but the given schema does not provide a field to indicate closure nor the... | 38,509 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR)\n\n Question: Name the founded for school closed in 2005\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_262527_1 (nickname VARCHAR, joined VARCHAR)
Question: what is the nickname that joined 1902 1?
Here is the SQLite query to answer to the question: what is the nick... | Here is the SQLite query to answer the question of what is the nickname that joined "1902 1":
```
SELECT nickname FROM table_262527_1 WHERE joined = '1902 1';
``` | 38,510 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262527_1 (nickname VARCHAR, joined VARCHAR)\n\n Question: what is the nickname that joined 1902 1?\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_262527_1 (type VARCHAR, institution VARCHAR)
Question: what type of institution is ottawa university?
Here is the SQLite query to answer to the question: what type... | Here is the SQLite query to answer the question about the type of institution for Ottawa University:
```
SELECT type FROM table_262527_1 WHERE institution = "Ottawa University"
``` | 38,511 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262527_1 (type VARCHAR, institution VARCHAR)\n\n Question: what type of institution is ottawa university?\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_262527_1 (nickname VARCHAR, institution VARCHAR)
Question: what is the total number of nicknames for southwestern college?
Here is the SQLite query to answer to th... | Your SQLite query to count the total number of nicknames for Southwestern College is correct. Here it is wrapped in code blocks as you requested:
```
SELECT COUNT(nickname) FROM table_262527_1 WHERE institution = "Southwestern College";
``` | 38,512 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262527_1 (nickname VARCHAR, institution VARCHAR)\n\n Question: what is the total number of nicknames for southwestern colleg... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)
Question: what type was joined in 1902 5?
Here is the SQLite query to answer to the question: what type was joined in 1902 ... | Here is the SQLite query that answers the question about which type was joined in "1902 5":
```
SELECT type FROM table_262527_1 WHERE joined = "1902 5";
``` | 38,513 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)\n\n Question: what type was joined in 1902 5?\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_262527_1 (institution VARCHAR, location VARCHAR)
Question: what is the institution located in north newton, kansas?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the institution located in North Newton, Kansas:
```
SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas";
``` | 38,514 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR)\n\n Question: what is the institution located in north newton, kansas?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR)
Question: Name the place that was founded in 1920
Here is the SQLite query to answer to the question: Name the plac... | Here is the SQLite query to answer the question: Name the place that was founded in 1920:
```
SELECT institution FROM table_262560_1 WHERE founded = '1920'
``` | 38,515 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR)\n\n Question: Name the place that was founded in 1920\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_262560_1 (type VARCHAR, joined VARCHAR)
Question: Name the type that joined 2007
Here is the SQLite query to answer to the question: Name the type that joined 2007... | The SQLite query you provided is almost correct, but since the "joined" column is of type VARCHAR, the year 2007 should be wrapped in quotes. Here’s the corrected query wrapped in code formatting:
```
SELECT type FROM table_262560_1 WHERE joined = '2007'
``` | 38,516 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_1 (type VARCHAR, joined VARCHAR)\n\n Question: Name the type that joined 2007\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR)
Question: how many series had 6.55 u.s. viewers (million) and were directed by ... | Here is the SQLite query to answer the question about how many series had 6.55 U.S. viewers (million) and were directed by Pete Michels:
```sql
SELECT COUNT(no_in_series)
FROM table_26259391_1
WHERE us_viewers__million_ = "6.55"
AND directed_by = "Pete Michels";
``` | 38,517 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR)\n\n Question: how many series had 6.55 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR)
Question: how many series have production code 8acx05
Here is the SQLite query to answer to the question... | To get the count of unique series that have the production code "8acx05", you can modify your query to use the `COUNT` function along with `DISTINCT`. Here’s the correct SQLite query wrapped in backticks:
```
SELECT COUNT(DISTINCT no_in_series) AS series_count
FROM table_26259391_1
WHERE production_code = "8acx05";
... | 38,518 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR)\n\n Question: how many series have production code 8acx05\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
Question: how many u.s. viewers (million) have seen a production written by chris sheridan & danny smi... | The provided query has a small error in the counting method and the column naming convention. The goal is to sum the viewers rather than count rows, as the aggregate function you need is `SUM`, not `COUNT`.
Here's the corrected SQLite query:
```sql
SELECT SUM(us_viewers__million_)
FROM table_26259391_1
WHERE writt... | 38,519 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26259391_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)\n\n Question: how many u.s. viewers (million) have seen a prod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR)
Question: which production codes were written by andrew goldberg
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question of which production codes were written by Andrew Goldberg:
```
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg"
``` | 38,520 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR)\n\n Question: which production codes were written by andrew goldber... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (production_code VARCHAR, original_air_date VARCHAR)
Question: Which production code had original air dated february20,2011
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding which production code had an original air date of February 20, 2011:
```sql
SELECT production_code FROM table_26259391_1 WHERE original_air_date = "February20,2011"
``` | 38,521 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26259391_1 (production_code VARCHAR, original_air_date VARCHAR)\n\n Question: Which production code had original air dated f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262560_2 (institution VARCHAR, joined VARCHAR, left VARCHAR)
Question: What school joined the conference in 1996-97 and left it in 2011-12?
Here is the SQLite quer... | Here is the SQLite query to answer the question about which school joined the conference in 1996-97 and left it in 2011-12:
```
SELECT institution FROM table_262560_2 WHERE joined = "1996-97" AND left = "2011-12"
``` | 38,522 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_2 (institution VARCHAR, joined VARCHAR, left VARCHAR)\n\n Question: What school joined the conference in 1996-97 and ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262560_2 (location VARCHAR, enrollment VARCHAR)
Question: What location has a school with enrollment of 850?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the location with a school that has an enrollment of 850:
```
SELECT location FROM table_262560_2 WHERE enrollment = '850'
``` | 38,523 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_2 (location VARCHAR, enrollment VARCHAR)\n\n Question: What location has a school with enrollment of 850?\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_262560_2 (location VARCHAR, left VARCHAR)
Question: How many schools left in 2002-03?
Here is the SQLite query to answer to the question: How many schools left in ... | Here is the SQLite query to answer the question: How many schools left in 2002-03?:
```
SELECT COUNT(location) FROM table_262560_2 WHERE left = "2002-03";
``` | 38,524 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_2 (location VARCHAR, left VARCHAR)\n\n Question: How many schools left in 2002-03?\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_262560_2 (location VARCHAR, nickname VARCHAR)
Question: Which city has a school where the nickname is Pioneers?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about which city has a school where the nickname is Pioneers:
```
SELECT location FROM table_262560_2 WHERE nickname = "Pioneers";
``` | 38,525 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR)\n\n Question: Which city has a school where the nickname is Pioneers?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262560_2 (type VARCHAR, nickname VARCHAR)
Question: What type of school has the nickname the Oilers?
Here is the SQLite query to answer to the question: What type ... | Your SQLite query is correct. Here it is wrapped as requested:
```
SELECT type FROM table_262560_2 WHERE nickname = "Oilers"
``` | 38,526 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_2 (type VARCHAR, nickname VARCHAR)\n\n Question: What type of school has the nickname the Oilers?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR)
Question: How many locations have a school that is nicknamed the Panthers?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question of how many locations have a school that is nicknamed the Panthers:
```
SELECT COUNT(DISTINCT location) FROM table_262560_2 WHERE nickname = "Panthers"
``` | 38,527 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR)\n\n Question: How many locations have a school that is nicknamed the Panthers?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, winner VARCHAR)
Question: How many sprints classifications were associated with an overall winner of Joaquin Rodriguez?... | Your SQLite query is correct and will effectively count the number of sprints classifications associated with the overall winner Joaquin Rodriguez. Here it is formatted as requested:
```
SELECT COUNT(sprints_classification) FROM table_26257223_13 WHERE winner = "Joaquin Rodriguez";
``` | 38,528 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, winner VARCHAR)\n\n Question: How many sprints classifications were associated ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26257223_13 (team_classification VARCHAR, winner VARCHAR)
Question: Who led team classification during the stage whose winner was Chris Horner?
Here is the SQLite ... | Here's the SQLite query to answer the question about who led the team classification during the stage won by Chris Horner:
```
SELECT team_classification FROM table_26257223_13 WHERE winner = "Chris Horner"
``` | 38,529 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26257223_13 (team_classification VARCHAR, winner VARCHAR)\n\n Question: Who led team classification during the stage whose w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR)
Question: Who led sprints classification when Chris Horner led general classification?
... | Here is the SQLite query wrapped in the requested format:
```
SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = "Chris Horner"
``` | 38,530 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR)\n\n Question: Who led sprints classification wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26258348_4 (report VARCHAR, grand_prix VARCHAR)
Question: What are all the report for the Belgian Grand Prix?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the reports for the Belgian Grand Prix:
```
SELECT report FROM table_26258348_4 WHERE grand_prix = "Belgian Grand Prix"
``` | 38,531 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26258348_4 (report VARCHAR, grand_prix VARCHAR)\n\n Question: What are all the report for the Belgian 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_26258348_4 (winning_constructor VARCHAR, fastest_lap VARCHAR)
Question: How many winning constructor catagories are there when Mark Webber had the fastest lap?
He... | To correctly answer the question about how many unique winning constructor categories there are when Mark Webber had the fastest lap, you should use the `COUNT(DISTINCT ...)` function. Here’s the appropriate SQLite query:
```sql
SELECT COUNT(DISTINCT winning_constructor)
FROM table_26258348_4
WHERE fastest_lap = "Ma... | 38,532 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26258348_4 (winning_constructor VARCHAR, fastest_lap VARCHAR)\n\n Question: How many winning constructor catagories are ther... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR)
Question: Who had the pole position in the Canadian Grand Prix?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question: Who had the pole position in the Canadian Grand Prix?:
```
SELECT pole_position FROM table_26258348_4 WHERE grand_prix = "Canadian Grand Prix";
``` | 38,533 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR)\n\n Question: Who had the pole position in the Canadian Grand Prix? \... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR)
Question: What year was the institution of St. Catharine College founded?
Here is the SQLite query to answer to the... | Here's the SQLite query to find out the year St. Catharine College was founded:
```
SELECT MIN(founded) FROM table_262534_2 WHERE institution = "St. Catharine College";
``` | 38,534 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR)\n\n Question: What year was the institution of St. Catharine College founded... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR)
Question: What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)?
H... | Here's the SQLite query to answer your question:
```
SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)"
``` | 38,535 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR)\n\n Question: What is the enrollment for the institution that i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262534_2 (location__population_ VARCHAR, institution VARCHAR)
Question: What is the location and population of the institution called Bluefield College?
Here is th... | Here is the SQLite query to answer the question about the location and population of the institution called Bluefield College:
```
SELECT location__population_ FROM table_262534_2 WHERE institution = "Bluefield College";
``` | 38,536 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_262534_2 (location__population_ VARCHAR, institution VARCHAR)\n\n Question: What is the location and population of the insti... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR)
Question: How many times was the result is hired by serepisos?
Here is the SQLite query to answer to the question: Ho... | Your SQLite query to determine how many times the result "Hired by Serepisos" appears in the table is almost correct, but you should count the occurrences of the result itself rather than the hometown. Here’s the corrected query:
```
SELECT COUNT(*) FROM table_26263322_1 WHERE result = "Hired by Serepisos"
```
This q... | 38,537 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR)\n\n Question: How many times was the result is hired by serepisos?\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_26263322_1 (age INTEGER, result VARCHAR)
Question: What is the age when the result is fired in week 8
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query you can use to find the age when the result is "Fired in week 8":
```
SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in week 8"
``` | 38,538 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26263322_1 (age INTEGER, result VARCHAR)\n\n Question: What is the age when the result is fired in week 8\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_26263322_1 (background VARCHAR, candidate VARCHAR)
Question: What is the background of the candidate daniel phillips?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the background of the candidate Daniel Phillips:
```
SELECT background FROM table_26263322_1 WHERE candidate = "daniel phillips"
``` | 38,539 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26263322_1 (background VARCHAR, candidate VARCHAR)\n\n Question: What is the background of the candidate daniel phillips?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26263322_1 (candidate VARCHAR, background VARCHAR)
Question: How many times was the background self-employed - media agency?
Here is the SQLite query to answer to ... | Your SQLite query is correctly structured to count the number of candidates with the specified background. Here it is wrapped as requested:
```sql
SELECT COUNT(candidate) FROM table_26263322_1 WHERE background = "Self-employed - media agency";
``` | 38,540 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26263322_1 (candidate VARCHAR, background VARCHAR)\n\n Question: How many times was the background self-employed - media age... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR)
Question: How many times was the background university student?
Here is the SQLite query to answer to the question:... | Your SQLite query looks correct for counting the occurrences where the background is "University Student". Here it is wrapped in code block format:
```
SELECT COUNT(result) FROM table_26263322_1 WHERE background = "University Student";
``` | 38,541 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR)\n\n Question: How many times was the background university student?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR)
Question: What is the candidate whose age is 27?
Here is the SQLite query to answer to the question: What is the candid... | Here is the corrected SQLite query to find the candidate whose age is 27:
```sql
SELECT candidate FROM table_26263322_1 WHERE age = '27'
```
Note that we need to use quotes around the age '27' since the `age` column is of type `VARCHAR`. | 38,542 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR)\n\n Question: What is the candidate whose age is 27?\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_26267607_2 (winning_team VARCHAR, round VARCHAR)
Question: In Round 6, who is the winning team?
Here is the SQLite query to answer to the question: In Round 6, who... | Here is the SQLite query to answer the question: In Round 6, who is the winning team?:
```sql
SELECT winning_team FROM table_26267607_2 WHERE round = "6";
``` | 38,543 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267607_2 (winning_team VARCHAR, round VARCHAR)\n\n Question: In Round 6, who is the winning team?\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_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: On what date is the winning team Abt Sportsline and pole position ... | Here is the SQLite query correctly formatted according to your request:
```
SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "Circuit Ricardo Tormo , Valencia";
``` | 38,544 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR)\n\n Question: On what date is the wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR)
Question: Round 1 is in what circuit?
Here is the SQLite query to answer to the question: Round 1 is in what circuit?:
... | Here is the SQLite query to answer the question "Round 1 is in what circuit?":
```
SELECT circuit FROM table_26267607_2 WHERE round = "1";
``` | 38,545 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR)\n\n Question: Round 1 is in what circuit?\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_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
Question: In the circuit Showevent Olympiastadion München, where the winning driver is B... | Here is the SQLite query to answer the question regarding the pole position in the specified circuit and winning driver:
```
SELECT pole_position FROM table_26267607_2 WHERE winning_driver = "Bruno Spengler" AND circuit = "Showevent Olympiastadion München"
``` | 38,546 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR)\n\n Question: In the circuit Showevent Olympiast... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267607_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
Question: Where the fastest lap is Mike Rockenfeller, who is the winning driver?
Here is the SQLite query ... | Here is the SQLite query to answer the question: Where the fastest lap is Mike Rockenfeller, who is the winning driver?:
```
SELECT winning_driver FROM table_26267607_2 WHERE fastest_lap = "Mike Rockenfeller";
``` | 38,547 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267607_2 (winning_driver VARCHAR, fastest_lap VARCHAR)\n\n Question: Where the fastest lap is Mike Rockenfeller, who is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267607_2 (date VARCHAR, round VARCHAR)
Question: How many dates are there in round 3?
Here is the SQLite query to answer to the question: How many dates are ther... | Here is the SQLite query to answer the question: How many dates are there in round 3?:
```
SELECT COUNT(date) FROM table_26267607_2 WHERE round = "3"
``` | 38,548 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267607_2 (date VARCHAR, round VARCHAR)\n\n Question: How many dates are there in round 3?\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_26261072_1 (series__number INTEGER, written_by VARCHAR, directed_by VARCHAR)
Question: Name the least series number written by brenda hampton and directed by burt ... | Here is the SQLite query to answer the question about the least series number written by Brenda Hampton and directed by Burt Brinckerhoff:
```
SELECT MIN(series__number) FROM table_26261072_1 WHERE written_by = 'Brenda Hampton' AND directed_by = 'Burt Brinckerhoff';
``` | 38,549 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26261072_1 (series__number INTEGER, written_by VARCHAR, directed_by VARCHAR)\n\n Question: Name the least series number writ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)
Question: Name the original air date for series number 15
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question:
```
SELECT original_air_date FROM table_26261072_1 WHERE series__number = '15'
``` | 38,550 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)\n\n Question: Name the original air date for series number 15... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR)
Question: What team was Pearson on when his winnings were $5,200?
Here is the SQLite query to answer to the question:... | Your SQLite query is almost correct, but in SQLite, it's more common to use single quotes for string literals. The format of the winnings should also not include the dollar sign for a direct comparison unless it is stored that way in the database. Here’s the corrected version of the query:
```sql
SELECT team_s_ FROM t... | 38,551 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR)\n\n Question: What team was Pearson on when his winnings were $5,200?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2626564_2 (starts VARCHAR, winnings VARCHAR)
Question: How many starts did Pearson have when his winnings were $101,438?
Here is the SQLite query to answer to the ... | Your SQL query is almost correct, but it's important to use the correct conditions to directly count the number of starts instead of just selecting them. Here's the corrected SQL query to count the number of starts for Pearson when his winnings were $101,438:
```sql
SELECT COUNT(starts) AS number_of_starts
FROM table... | 38,552 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2626564_2 (starts VARCHAR, winnings VARCHAR)\n\n Question: How many starts did Pearson have when his winnings were $101,438?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2626564_2 (top_10 INTEGER, position VARCHAR)
Question: How many top 10's did Pearson have the year he was in 8th position?
Here is the SQLite query to answer to t... | The query you provided seems to be looking for the minimum value of top_10 where position is "8th". However, to answer the question of how many top 10s Pearson had in the year he was in 8th position, you need to find the year associated with the position "8th" and then count all the occurrences of top_10 for that year.... | 38,553 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2626564_2 (top_10 INTEGER, position VARCHAR)\n\n Question: How many top 10's did Pearson have the year he was in 8th positio... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)
Question: what is the title of the episode daphne field wrote?
Here is the SQLite query to answer to the question: wh... | The SQLite query you have written looks correct to find the title of the episode written by Daphne Field. Here's the query wrapped in appropriate code formatting:
```
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field";
``` | 38,554 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)\n\n Question: what is the title of the episode daphne field wrote?\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_2626495_1 (directed_by VARCHAR, written_by VARCHAR)
Question: who directed the episode james clavell wrote?
Here is the SQLite query to answer to the question: who... | Your query looks good! Here's a clean presentation of it:
```
SELECT directed_by FROM table_2626495_1 WHERE written_by = "James Clavell";
```
This query will effectively retrieve the names of the directors for episodes written by James Clavell from the specified table. | 38,555 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2626495_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: who directed the episode james clavell wrote?\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_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR)
Question: how many times was the episode directed by maury geraghty originally aired?
Here is the SQLite ... | Here is the SQLite query to answer the question about how many times the episode directed by Maury Geraghty originally aired:
```
SELECT COUNT(originalairdate) FROM table_2626495_1 WHERE directed_by = "Maury Geraghty";
``` | 38,556 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR)\n\n Question: how many times was the episode directed by maury gera... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR)
Question: What Film Festival had participants/recipients of Isao Tomita?
Here is the SQLite que... | Here is the SQLite query to answer the question about the film festival that had participants or recipients of Isao Tomita:
```
SELECT film_festival FROM table_26282750_1 WHERE participants_recipients = "Isao Tomita";
``` | 38,557 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR)\n\n Question: What Film Festival had participants/recipi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR)
Question: Who was the participant or recipient for the Best Female Actor?
Here is the SQLite query t... | Here is the SQLite query to answer the question about the participant or recipient for the Best Female Actor:
```
SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor"
``` | 38,558 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR)\n\n Question: Who was the participant or recipient for the Be... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26282750_1 (date_of_ceremony VARCHAR, participants_recipients VARCHAR)
Question: What date was the participant/recipient takakazu watanabe?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the date of ceremony for the participant/recipient Takakazu Watanabe:
```
SELECT date_of_ceremony FROM table_26282750_1 WHERE participants_recipients = "Takakazu Watanabe"
``` | 38,559 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26282750_1 (date_of_ceremony VARCHAR, participants_recipients VARCHAR)\n\n Question: What date was the participant/recipient... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)
Question: What film festival had the Best Male Actor?
Here is the SQLite query to answer to the question: What... | Your provided SQLite query is correct for answering the question regarding which film festival had the Best Male Actor. Here it is wrapped in code format:
```
SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor";
``` | 38,560 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)\n\n Question: What film festival had the Best Male Actor?\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_26282750_1 (category VARCHAR, participants_recipients VARCHAR)
Question: What category was the the participant/recipient otōto?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about what category the participant/recipient "otōto" belongs to:
```
SELECT category FROM table_26282750_1 WHERE participants_recipients = "otōto"
``` | 38,561 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26282750_1 (category VARCHAR, participants_recipients VARCHAR)\n\n Question: What category was the the participant/recipient... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267849_11 (performance_order VARCHAR, artist VARCHAR)
Question: Name the performance order of the velasco brothers
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the performance order of the Velasco Brothers:
```
SELECT performance_order FROM table_26267849_11 WHERE artist = "Velasco Brothers"
``` | 38,562 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267849_11 (performance_order VARCHAR, artist VARCHAR)\n\n Question: Name the performance order of the velasco brothers\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267849_11 (semi_finals_result VARCHAR, performance_order VARCHAR)
Question: Name the number of semi final results for 12 performance order
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the number of semi final results for the performance order 12:
```
SELECT COUNT(semi_finals_result) FROM table_26267849_11 WHERE performance_order = '12'
``` | 38,563 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267849_11 (semi_finals_result VARCHAR, performance_order VARCHAR)\n\n Question: Name the number of semi final results for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR)
Question: Name the performance order for 2.15%
Here is the SQLite query to answer to the quest... | Your SQLite query is correct for retrieving the performance order associated with the percentage of votes "2.15%". Here it is wrapped in the requested format:
```
SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%"
``` | 38,564 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR)\n\n Question: Name the performance order for 2.15%\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, finished VARCHAR)
Question: Name the percentage of votes for 3rd finished
Here is the SQLite query to answer to the quest... | Here is the SQLite query to retrieve the percentage of votes for "3rd" finished:
```
SELECT percentage_of_votes FROM table_26267849_11 WHERE finished = '3rd';
``` | 38,565 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, finished VARCHAR)\n\n Question: Name the percentage of votes for 3rd finished\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR)
Question: Name the percentage of votes for violinist
Here is the SQLite query to answer to the question: Nam... | Here is the SQLite query to answer the question regarding the percentage of votes for the violinist:
```
SELECT percentage_of_votes FROM table_26267849_11 WHERE act = "Violinist";
``` | 38,566 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR)\n\n Question: Name the percentage of votes for violinist\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_26267849_2 (hometown VARCHAR, age_s_ VARCHAR)
Question: what are all the hometown where the average age is 16
Here is the SQLite query to answer to the question: w... | The query provided does not correctly calculate the average age. Instead, it just filters rows where the age is exactly "16". To find all hometowns where the average age is 16, you should use a `GROUP BY` clause along with the `AVG()` function. Here’s the corrected SQLite query:
```sql
SELECT hometown
FROM table_2626... | 38,567 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26267849_2 (hometown VARCHAR, age_s_ VARCHAR)\n\n Question: what are all the hometown where the average age is 16\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_26321719_1 (population__2011_ VARCHAR, name VARCHAR)
Question: What is the population in 2011 for the name Beaubassin East?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the population in 2011 for the name Beaubassin East:
```
SELECT population__2011_ FROM table_26321719_1 WHERE name = "Beaubassin East"
``` | 38,568 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR)\n\n Question: What is the population in 2011 for the name Beaubassin Ea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26321719_1 (population_density VARCHAR, name VARCHAR)
Question: What is every population density if name is Beaubassin East?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question:
```
SELECT population_density FROM table_26321719_1 WHERE name = "Beaubassin East";
``` | 38,569 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26321719_1 (population_density VARCHAR, name VARCHAR)\n\n Question: What is every population density if name is Beaubassin E... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, population_density VARCHAR)
Question: What is every value for area for population density of 100.8?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about every value for area for a population density of 100.8:
```
SELECT area__km²_ FROM table_26321719_1 WHERE population_density = '100.8'
``` | 38,570 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, population_density VARCHAR)\n\n Question: What is every value for area for population densit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)
Question: What is every value for change% for area of 1835.01?
Here is the SQLite query to answer to ... | Your SQLite query is correct for retrieving all values of `change%` associated with an area of `1835.01`. Here it is wrapped in code formatting:
```
SELECT change___percentage_ FROM table_26321719_1 WHERE area__km²_ = "1835.01"
``` | 38,571 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)\n\n Question: What is every value for change% for area of 1835... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26321719_1 (name VARCHAR, area__km²_ VARCHAR)
Question: How many names correspond to an area of 8.12?
Here is the SQLite query to answer to the question: How many ... | Here is the SQLite query to answer the question regarding how many names correspond to an area of 8.12:
```sql
SELECT COUNT(name) FROM table_26321719_1 WHERE area__km²_ = "8.12";
``` | 38,572 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26321719_1 (name VARCHAR, area__km²_ VARCHAR)\n\n Question: How many names correspond to an area of 8.12?\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_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR)
Question: What is every value for area if change% is -3.6?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question "What is every value for area if change% is -3.6?":
```
SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.6"
``` | 38,573 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR)\n\n Question: What is every value for area if change% is -3.6?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26313243_1 (hdi_2012 VARCHAR, country VARCHAR)
Question: Name the hdi 2012 for dominica
Here is the SQLite query to answer to the question: Name the hdi 2012 for d... | Here is the SQLite query to answer the question about the HDI for Dominica:
```
SELECT hdi_2012 FROM table_26313243_1 WHERE country = "Dominica"
``` | 38,574 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26313243_1 (hdi_2012 VARCHAR, country VARCHAR)\n\n Question: Name the hdi 2012 for dominica\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_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR)
Question: Name the fsi 2012 for 42.7 cpi
Here is the SQLite query to answer to the question: Name the fsi 2012 for ... | Here is the SQLite query to answer the question: Name the fsi 2012 for 42.7 cpi:
```
SELECT fsi_2012 FROM table_26313243_1 WHERE cpi_2012 = "42.7"
``` | 38,575 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR)\n\n Question: Name the fsi 2012 for 42.7 cpi\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_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)
Question: Name the gdp per capita for haiti
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the GDP per capita for Haiti:
```
SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti"
``` | 38,576 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)\n\n Question: Name the gdp per capita for haiti\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (round_of_16 VARCHAR, round_of_32 VARCHAR)
Question: How many times was lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32?
Here is the SQLite query ... | Your query is almost correct, but you're looking for the occurrence of the specific entry in the `round_of_32` column, not `round_of_16`. To get the correct count of how many times "Lakpa Tashi Sherpa ( BHU ) W PTS 12-5" appears in the `round_of_32`, you would specifically count entries in the `round_of_32` column. Her... | 38,577 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26335424_86 (round_of_16 VARCHAR, round_of_32 VARCHAR)\n\n Question: How many times was lakpa tashi sherpa ( bhu ) w pts 12-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (athlete VARCHAR, quarterfinals VARCHAR)
Question: If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete?
Here is the SQLite quer... | Here is the SQLite query to answer the question of who the athlete was when the quarterfinals entry is "Nabil Talal ( JOR ) L PTS 3-3":
```sql
SELECT athlete FROM table_26335424_86 WHERE quarterfinals = "Nabil Talal ( JOR ) L PTS 3-3";
``` | 38,578 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26335424_86 (athlete VARCHAR, quarterfinals VARCHAR)\n\n Question: If the quarterfinals was nabil talal ( jor ) l pts 3-3, w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR)
Question: If the event was bantamweight (-63kg), and the quarterfinals did not advance, then... | Here is the SQLite query to answer the question, formatted as requested:
```
SELECT round_of_32 FROM table_26335424_86 WHERE quarterfinals = "Did not advance" AND event = "Bantamweight (-63kg)"
``` | 38,579 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR)\n\n Question: If the event was bantamweight (-63kg),... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)
Question: If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
Here is the SQL... | Here is the SQLite query to answer the question regarding the semifinals based on the given round of 16:
```
SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "yulius fernando ( ina ) l pts 5-6"
``` | 38,580 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)\n\n Question: If the round of 16 was yulius fernando ( ina ) l pts 5-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR)
Question: If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event?
Here is the SQLite query ... | Here is the SQLite query formatted as requested:
```
SELECT event FROM table_26335424_86 WHERE round_of_32 = "Sawatvilay Phimmasone ( LAO ) W PTS 9-7";
``` | 38,581 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR)\n\n Question: If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336739_1 (elected INTEGER, incumbent VARCHAR)
Question: What date was the district incumbent Saxby Chambliss elected?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the election date of the district incumbent Saxby Chambliss:
```sql
SELECT MAX(elected) FROM table_26336739_1 WHERE incumbent = 'Saxby Chambliss';
``` | 38,582 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336739_1 (elected INTEGER, incumbent VARCHAR)\n\n Question: What date was the district incumbent Saxby Chambliss elected? ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR)
Question: What is the status in the district with the incumbent Bob Barr?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the status in the district with the incumbent Bob Barr:
```sql
SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr";
``` | 38,583 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR)\n\n Question: What is the status in the district with the incumbent Bob Barr?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR)
Question: How many elected catagories are there for the district with Saxby Chambliss as the incumbent?
Here is th... | Your SQLite query is correct and it will effectively count the number of elected categories for the district where Saxby Chambliss is the incumbent. However, if you want to ensure that you're counting distinct categories, you might want to use `COUNT(DISTINCT elected)` instead. Here’s the adjusted query:
```sql
SELECT... | 38,584 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR)\n\n Question: How many elected catagories are there for the district with Sa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336739_1 (result VARCHAR, elected VARCHAR)
Question: What was the result for the district with an election in 1986
Here is the SQLite query to answer to the ques... | The SQLite query provided in your response is not quite correct, as it is attempting to match the `elected` column directly to the integer 1986, which may not work if `elected` is stored as VARCHAR. Additionally, we need to clarify what we are trying to get, which is the result for the district specifically for electio... | 38,585 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336739_1 (result VARCHAR, elected VARCHAR)\n\n Question: What was the result for the district with an election in 1986\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR)
Question: how many party classifications are there for the incumbent Mac Collins?
Here is the SQLite query to answer... | Your SQLite query is almost correct for counting the number of distinct party classifications for the incumbent Mac Collins. You'll want to use `COUNT(DISTINCT party)` to ensure you're counting only unique party classifications. Here’s the corrected query:
```
SELECT COUNT(DISTINCT party) FROM table_26336739_1 WHERE i... | 38,586 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR)\n\n Question: how many party classifications are there for the incumbent Mac C... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR)
Question: For the engine family MaxxForce 11, what is the years produced?
Here is the SQLite query to an... | Here is the SQLite query to answer your question:
```
SELECT years_produced FROM table_26352332_4 WHERE engine_family = "MaxxForce 11"
``` | 38,587 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR)\n\n Question: For the engine family MaxxForce 11, what is the yea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26352332_4 (years_produced VARCHAR, cylinder_layout VARCHAR)
Question: The cylinder layout v8 is produced in what years?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the years in which the cylinder layout V8 is produced:
```sql
SELECT years_produced FROM table_26352332_4 WHERE cylinder_layout = "V8";
``` | 38,588 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26352332_4 (years_produced VARCHAR, cylinder_layout VARCHAR)\n\n Question: The cylinder layout v8 is produced in what years?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR)
Question: The engine family MaxxForce 5 in the years produced 2007-current, hav... | Here is the SQLite query to answer the question regarding the engine family MaxxForce 5 in the years produced 2007-current and its corresponding cylinder layout:
```
SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 5";
``` | 38,589 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR)\n\n Question: The engine family MaxxForc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR)
Question: Where the displacement(s) is 10.5L is, what is the engine family?
Here is the SQLite query to... | Here is the SQLite query to answer the question about the engine family where the displacement is 10.5L:
```
SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "10.5L"
``` | 38,590 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR)\n\n Question: Where the displacement(s) is 10.5L is, what is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR)
Question: The displacement(s) 466 cubic inches (7.6L), has what engine family?
Here is the SQLite query... | Here is the SQLite query you requested, wrapped appropriately:
```
SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "466 cubic inches (7.6L)";
``` | 38,591 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR)\n\n Question: The displacement(s) 466 cubic inches (7.6L), has w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)
Question: What is the coinage metal for a KM number of S75?
Here is the SQLite query to answer to the questi... | Your SQLite query is correctly formulated to retrieve the coinage metal for a KM number of S75. Here it is wrapped as requested:
```
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S75";
``` | 38,592 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)\n\n Question: What is the coinage metal for a KM number of S75?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336060_19 (date INTEGER, mintage VARCHAR, km_number VARCHAR)
Question: What is the maximum date for a mintage of 150 and a KM number of S66?
Here is the SQLite q... | Here is the SQLite query to answer the question of finding the maximum date for a mintage of 150 and a KM number of S66:
```
SELECT MAX(date) FROM table_26336060_19 WHERE mintage = '150' AND km_number = 'S66';
``` | 38,593 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336060_19 (date INTEGER, mintage VARCHAR, km_number VARCHAR)\n\n Question: What is the maximum date for a mintage of 150 a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR)
Question: What is the mintage for a location of Sion and a denomination of 00500 500 Francs?
... | Here is the SQLite query to answer the question regarding the mintage for a location of Sion and a denomination of 00500 500 Francs:
```
SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 Francs"
``` | 38,594 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR)\n\n Question: What is the mintage for a location of Si... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)
Question: What is the coinage metal for KM numbers of S45?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the coinage metal for KM numbers of S45:
```
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = 'S45';
``` | 38,595 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)\n\n Question: What is the coinage metal for KM numbers of S45?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, location VARCHAR, denomination VARCHAR)
Question: What is the coinage metal for a location of Fribourg and denomination of 00005... | Here is the SQLite query to answer the question regarding the coinage metal for a location of Fribourg and denomination of 00005 5 Francs:
```
SELECT coinage_metal FROM table_26336060_19 WHERE location = "Fribourg" AND denomination = "00005 5 Francs";
``` | 38,596 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, location VARCHAR, denomination VARCHAR)\n\n Question: What is the coinage metal for a lo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_17 VARCHAR)
Question: When the under-17 was Antonio Glez, who was the under-13?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question:
```
SELECT under_13 FROM table_26368963_1 WHERE under_17 = "Antonio Glez"
``` | 38,597 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_17 VARCHAR)\n\n Question: When the under-17 was Antonio Glez, who was the under-13?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26368963_1 (under_13 VARCHAR, year VARCHAR)
Question: In the year 2009 who was the under-13?
Here is the SQLite query to answer to the question: In the year 2009 w... | Here is the SQLite query to answer the question: In the year 2009 who was the under-13?:
```
SELECT under_13 FROM table_26368963_1 WHERE year = '2009'
``` | 38,598 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26368963_1 (under_13 VARCHAR, year VARCHAR)\n\n Question: In the year 2009 who was the under-13?\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_26368963_1 (under_15 VARCHAR, under_19 VARCHAR)
Question: When Julian Illingworth was the under-19, who was the under-15?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about when Julian Illingworth was the under-19, who was the under-15:
```sql
SELECT under_15 FROM table_26368963_1 WHERE under_19 = "Julian Illingworth"
``` | 38,599 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_19 VARCHAR)\n\n Question: When Julian Illingworth was the under-19, who was the under-15... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.