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_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR)
Question: What is the transcription of the sanskrit word chandra?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the transcription of the Sanskrit word "chandra":
```
SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "chandra";
``` | 32,700 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR)\n\n Question: What is the transcription of the sanskrit word chandra... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, transcription VARCHAR)
Question: What is the sanskrit word if the transcription is wan athit?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question:
```
SELECT sanskrit_word FROM table_180802_3 WHERE transcription = "wan athit"
``` | 32,701 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, transcription VARCHAR)\n\n Question: What is the sanskrit word if the transcription is wan ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_180802_3 (color VARCHAR, planet VARCHAR)
Question: What is the color of the planet venus?
Here is the SQLite query to answer to the question: What is the color of ... | Here is the SQLite query to answer the question about the color of the planet Venus:
```
SELECT color FROM table_180802_3 WHERE planet = "Venus";
``` | 32,702 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_180802_3 (color VARCHAR, planet VARCHAR)\n\n Question: What is the color of the planet venus?\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_180802_3 (planet VARCHAR, transcription VARCHAR)
Question: Which planet has the transcription of wan suk?
Here is the SQLite query to answer to the question: Which... | Here is the SQLite query to answer the question "Which planet has the transcription of wan suk?":
```
SELECT planet FROM table_180802_3 WHERE transcription = "wan suk"
``` | 32,703 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_180802_3 (planet VARCHAR, transcription VARCHAR)\n\n Question: Which planet has the transcription of wan suk?\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_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR)
Question: What is the year to april when the revenue is 434.8 million dollars?
Here is the SQLite... | Here is the SQLite query to answer the question about the year to April when the revenue is 434.8 million dollars:
```
SELECT year_to_april FROM table_18077713_1 WHERE revenue__us_$million_ = "434.8"
``` | 32,704 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR)\n\n Question: What is the year to april when the revenue i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18077713_1 (ebit__us_$m_ VARCHAR, net_profit__us_$m_ VARCHAR)
Question: What is the dollar amount of ebit when the net profit is 120.6?
Here is the SQLite query to... | Here is the SQLite query to answer the question about the dollar amount of EBIT when the net profit is 120.6:
```
SELECT ebit__us_$m_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "120.6"
``` | 32,705 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18077713_1 (ebit__us_$m_ VARCHAR, net_profit__us_$m_ VARCHAR)\n\n Question: What is the dollar amount of ebit when the net p... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
Question: How many dollars is the revenue when the net profit is 55.4 million dollars?
Here ... | Your SQLite query to retrieve the revenue corresponding to a net profit of 55.4 million dollars looks good. However, for clarity and correctness, it's important to ensure that the comparison format matches the data type being queried. Since the fields are defined as `VARCHAR`, it would be wise to ensure that you are co... | 32,706 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)\n\n Question: How many dollars is the revenue when th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18077713_1 (year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
Question: When the earning per share is listed as 22.0 what is the year to april?
Here is the SQ... | The query you've provided counts the number of occurrences of years corresponding to an earnings per share of 22.0. However, if you want to retrieve the actual year(s) rather than just the count, you should select `year_to_april` instead. Here’s how you can modify your query:
```sql
SELECT year_to_april FROM table_180... | 32,707 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18077713_1 (year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)\n\n Question: When the earning per share is listed as 22.... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18077713_1 (earnings_per_share__¢_ VARCHAR, net_profit__us_$m_ VARCHAR)
Question: What is the earnings per share when the net profit is 16.2 million dollars?
Here ... | Here is the SQLite query to answer the question regarding the earnings per share when the net profit is 16.2 million dollars:
```
SELECT earnings_per_share__¢_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "16.2";
``` | 32,708 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18077713_1 (earnings_per_share__¢_ VARCHAR, net_profit__us_$m_ VARCHAR)\n\n Question: What is the earnings per share when th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18077713_1 (net_profit__us_$m_ VARCHAR, revenue__us_$million_ VARCHAR)
Question: How much is the net profit when the revenue is 150.6 million dollars?
Here is the ... | Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT net_profit__us_$m_ FROM table_18077713_1 WHERE revenue__us_$million_ = "150.6"
``` | 32,709 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18077713_1 (net_profit__us_$m_ VARCHAR, revenue__us_$million_ VARCHAR)\n\n Question: How much is the net profit when the rev... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18123274_1 (year__ceremony_ VARCHAR, result VARCHAR, director VARCHAR)
Question: Name the year for not nominated for alberto aruelo
Here is the SQLite query to ans... | Your query is almost correct, but if you're looking for the years in which Alberto Aruelo was not nominated, you want to clarify that you're checking for entries where the result is specifically "Not Nominated". Here’s the corrected version wrapped properly:
```
SELECT year__ceremony_
FROM table_18123274_1
WHERE res... | 32,710 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18123274_1 (year__ceremony_ VARCHAR, result VARCHAR, director VARCHAR)\n\n Question: Name the year for not nominated for alb... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18123274_1 (director VARCHAR, original_title VARCHAR)
Question: Name the total number of director for oro diablo
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the total number of directors for "Oro Diablo":
```
SELECT COUNT(director) FROM table_18123274_1 WHERE original_title = "Oro Diablo"
``` | 32,711 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18123274_1 (director VARCHAR, original_title VARCHAR)\n\n Question: Name the total number of director for oro diablo\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18123274_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Name the number of result for maroa
Here is the SQLite query to answer to the question... | Your query is almost correct, but you should ensure that the comparison is case-insensitive (if that's your requirement) or check the exact case as needed. Also, if you're looking for a specific result value, you should clarify what that is. Here’s the corrected query:
```sql
SELECT COUNT(result) FROM table_18123274_1... | 32,712 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18123274_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Name the number of result for maroa\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18123274_1 (director VARCHAR, original_title VARCHAR)
Question: Name the number of director for huelepega: ley de la calle
Here is the SQLite query to answer to t... | Your SQLite query is correctly formulated to count the number of directors for the specified title. Here it is formatted as requested:
```
SELECT COUNT(director) FROM table_18123274_1 WHERE original_title = "Huelepega: Ley de la Calle"
``` | 32,713 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18123274_1 (director VARCHAR, original_title VARCHAR)\n\n Question: Name the number of director for huelepega: ley de la ca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18135572_2 (all_neutral VARCHAR, b10__percentage VARCHAR)
Question: What was the win/loss record for All Neutral games for the team whose Big 10 winning percentage ... | Your SQLite query is mostly correct; however, it would be a good idea to ensure that you are correctly fetching the win/loss record based on the desired win percentage and respecting the data types. Typically, percentages might be stored as strings, so you could want to handle any potential formatting issues as well. H... | 32,714 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18135572_2 (all_neutral VARCHAR, b10__percentage VARCHAR)\n\n Question: What was the win/loss record for All Neutral games f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18138132_2 (category VARCHAR, version VARCHAR, title VARCHAR)
Question: What is the category when the version is 1.0 and the title is Chord finder?
Here is the SQ... | Here is the SQLite query to answer the question about the category when the version is 1.0 and the title is "Chord Finder":
```
SELECT category FROM table_18138132_2 WHERE version = "1.0" AND title = "Chord finder"
``` | 32,715 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18138132_2 (category VARCHAR, version VARCHAR, title VARCHAR)\n\n Question: What is the category when the version is 1.0 and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18138132_2 (release_date VARCHAR, title VARCHAR)
Question: What was the release date for metronome?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question about the release date for "Metronome":
```
SELECT release_date FROM table_18138132_2 WHERE title = "Metronome";
``` | 32,716 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18138132_2 (release_date VARCHAR, title VARCHAR)\n\n Question: What was the release date for metronome? \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_18138132_2 (developer VARCHAR, title VARCHAR)
Question: Who is the developer for Windows live messenger?
Here is the SQLite query to answer to the question: Who i... | Here is the SQLite query to answer the question: Who is the developer for Windows Live Messenger?
```
SELECT developer FROM table_18138132_2 WHERE title = "Windows Live Messenger";
``` | 32,717 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18138132_2 (developer VARCHAR, title VARCHAR)\n\n Question: Who is the developer for Windows live messenger? \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_18138132_2 (function VARCHAR, version VARCHAR, title VARCHAR)
Question: What is the function of 1.4 version of Windows live messenger?
Here is the SQLite query to... | Your provided SQLite query is correct and accurately retrieves the function of the 1.4 version of Windows Live Messenger based on the given schema. Here it is wrapped in triple backticks for clarity:
```
SELECT function FROM table_18138132_2 WHERE version = "1.4" AND title = "Windows Live Messenger"
``` | 32,718 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18138132_2 (function VARCHAR, version VARCHAR, title VARCHAR)\n\n Question: What is the function of 1.4 version of Windows l... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18138132_2 (function VARCHAR, release_date VARCHAR)
Question: What functions were released on 2011-06-23?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question about which functions were released on 2011-06-23:
```
SELECT function FROM table_18138132_2 WHERE release_date = "2011-06-23"
``` | 32,719 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18138132_2 (function VARCHAR, release_date VARCHAR)\n\n Question: What functions were released on 2011-06-23? \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_18161217_2 (cospar_id VARCHAR, estimated_operational_life VARCHAR, satellite VARCHAR)
Question: What is the cospar ID of the Kosmos 2397 satellite, which has an ope... | Here's the SQLite query to answer the question regarding the cospar ID of the Kosmos 2397 satellite, which has an operational life of 2 months:
```
SELECT cospar_id FROM table_18161217_2 WHERE estimated_operational_life = "2 months" AND satellite = "Kosmos 2397"
``` | 32,720 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18161217_2 (cospar_id VARCHAR, estimated_operational_life VARCHAR, satellite VARCHAR)\n\n Question: What is the cospar ID of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18161217_2 (launch_date VARCHAR, cospar_id VARCHAR)
Question: What was the launch date the satellite with cospar ID is 2008-033A?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the launch date of the satellite with cospar ID 2008-033A:
```
SELECT launch_date FROM table_18161217_2 WHERE cospar_id = "2008-033A"
``` | 32,721 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18161217_2 (launch_date VARCHAR, cospar_id VARCHAR)\n\n Question: What was the launch date the satellite with cospar ID is 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18161217_2 (cospar_id VARCHAR, satellite VARCHAR)
Question: What it the international designation for the kosmos 2379 satellite?
Here is the SQLite query to answer... | Your SQLite query is correctly written to retrieve the international designation (COSPAR ID) for the satellite "Kosmos 2379". Here it is in the requested format:
```
SELECT cospar_id FROM table_18161217_2 WHERE satellite = "Kosmos 2379";
``` | 32,722 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18161217_2 (cospar_id VARCHAR, satellite VARCHAR)\n\n Question: What it the international designation for the kosmos 2379 sa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)
Question: What is the estimated end date for the 2001-037a international ... | It looks like there are a couple of issues in your SQL query. The syntax for selecting a column with an alias or condition (`[_clarification_needed_]`) is incorrect in this context. You should only specify the column name without additional brackets.
Here is the corrected version of the SQL query to answer the questi... | 32,723 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)\n\n Question: What is the estimat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18159601_1 (city VARCHAR, charter_date VARCHAR)
Question: in which city was charter date december 4, 2011
Here is the SQLite query to answer to the question: in wh... | Here is the SQLite query to answer the question regarding the city with the charter date of December 4, 2011:
```
SELECT city FROM table_18159601_1 WHERE charter_date = "December 4, 2011";
``` | 32,724 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18159601_1 (city VARCHAR, charter_date VARCHAR)\n\n Question: in which city was charter date december 4, 2011\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_18159601_1 (greek_designation VARCHAR, city VARCHAR)
Question: how mnay greek designation in tampa
Here is the SQLite query to answer to the question: how mnay gr... | Here is the SQLite query to answer the question of how many Greek designations are in Tampa:
```sql
SELECT COUNT(greek_designation) FROM table_18159601_1 WHERE city = "Tampa";
``` | 32,725 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18159601_1 (greek_designation VARCHAR, city VARCHAR)\n\n Question: how mnay greek designation in tampa\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)
Question: what is the status in vestal
Here is the SQLite query to answer to the question: what is the status in vestal:
... | Here is the SQLite query to answer the question about the status in Vestal:
```
SELECT status FROM table_18159601_1 WHERE city = "Vestal"
``` | 32,726 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)\n\n Question: what is the status in vestal\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_18159601_1 (collegiate_institution VARCHAR, city VARCHAR)
Question: what is the collegiate institution in queens
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the collegiate institution in Queens:
```
SELECT collegiate_institution FROM table_18159601_1 WHERE city = "Queens";
``` | 32,727 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18159601_1 (collegiate_institution VARCHAR, city VARCHAR)\n\n Question: what is the collegiate institution in queens\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18162883_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What was the original title of Run for Money?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question: What was the original title of Run for Money?:
```
SELECT original_title FROM table_18162883_1 WHERE film_title_used_in_nomination = "Run for Money";
``` | 32,728 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18162883_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: What was the original title of Run ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_6 (tuesday VARCHAR, thursday VARCHAR)
Question: What was the Tuesday episode if theThursday episode was 196 Buried?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the Tuesday episode corresponding to the Thursday episode "196 Buried":
```
SELECT tuesday FROM table_18173916_6 WHERE thursday = "196 Buried"
``` | 32,729 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18173916_6 (tuesday VARCHAR, thursday VARCHAR)\n\n Question: What was the Tuesday episode if theThursday episode was 196 Bur... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)
Question: How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?
Here is the SQLite... | Here is the SQLite query to answer the question regarding how many episodes were shown on Friday if "210 Kirby's Epic Yarn" was shown on Wednesday:
```
SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "210 Kirby's Epic Yarn"
``` | 32,730 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)\n\n Question: How many episodes were shown on Friday if 210 Kirby's Epic Yarn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)
Question: How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday?
Here is the SQLite ... | Here is the SQLite query to answer the question about how many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday:
```
SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "190 Boardwalk Empire"
``` | 32,731 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)\n\n Question: How many episodes were shown on Friday if 190 Boardwalk Empire ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)
Question: What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?
Here is t... | Here is the corrected SQLite query to answer the question regarding the dates when "224 Assassin's Creed: Brotherhood Circus Training" was shown on Tuesday:
```sql
SELECT episodes FROM table_18173916_6 WHERE tuesday = '224 Assassin''s Creed: Brotherhood Circus Training';
```
This query selects the `episodes` from th... | 32,732 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)\n\n Question: What were the dates when 224 Assassin's Creed: Brotherhood Circ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)
Question: When the average away attendance is 1.889 in the ... | Here is the SQLite query to answer the question regarding average home attendance when the average away attendance is 1.889 in the Superettan:
```sql
SELECT average_attendance_home
FROM table_1816947_2
WHERE division___section = 'Superettan'
AND average_attendance_away = '1.889';
``` | 32,733 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)\n\n Question: When ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1816947_2 (season INTEGER, average_attendance_league VARCHAR)
Question: In which season was the average league attendance 2.572?
Here is the SQLite query to answer... | Your query is almost correct, but it should use the correct data type for comparison. The value `2.572` should not be enclosed in quotes because it is a numeric value, not a string. Here is the corrected version of the SQLite query:
```
SELECT season FROM table_1816947_2 WHERE average_attendance_league = 2.572;
```
... | 32,734 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1816947_2 (season INTEGER, average_attendance_league VARCHAR)\n\n Question: In which season was the average league attendanc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1816947_2 (division___section VARCHAR, season VARCHAR)
Question: In which division did they compete in 2012?
Here is the SQLite query to answer to the question: In... | Your SQLite query looks almost correct, but it's important to ensure that the season is treated as a string since it's declared in the schema as `VARCHAR`. Therefore, the comparison should use quotes around the year. Here’s the corrected query:
```
SELECT division___section FROM table_1816947_2 WHERE season = '2012'
`... | 32,735 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1816947_2 (division___section VARCHAR, season VARCHAR)\n\n Question: In which division did they compete in 2012?\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_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)
Question: When the home attendance is 3.123, what's the highest away attendance?
Here ... | Your SQLite query correctly formulates the request to find the highest away attendance when the home attendance is 3.123. Here is your query wrapped properly:
```
SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = "3.123"
``` | 32,736 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)\n\n Question: When the home attendance is 3.123... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1816947_2 (division___section VARCHAR, average_attendance_home VARCHAR)
Question: Which division has an average home attendance of 2.459?
Here is the SQLite query ... | Here is the SQLite query to answer the question about which division has an average home attendance of 2.459:
```
SELECT division___section FROM table_1816947_2 WHERE average_attendance_home = "2.459"
``` | 32,737 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1816947_2 (division___section VARCHAR, average_attendance_home VARCHAR)\n\n Question: Which division has an average home att... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_181892_4 (speed_rank VARCHAR, car_number VARCHAR)
Question: How many years was he car number 92?
Here is the SQLite query to answer to the question: How many years... | It looks like there's a minor mistake in your provided query. Since `car_number` is a `VARCHAR` type, the value `92` should be enclosed in quotes to ensure it is treated as a string. Here's the corrected SQLite query:
```
SELECT COUNT(speed_rank) FROM table_181892_4 WHERE car_number = '92'
```
This query will count ... | 32,738 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_181892_4 (speed_rank VARCHAR, car_number VARCHAR)\n\n Question: How many years was he car number 92?\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_181892_4 (year VARCHAR, chassis VARCHAR)
Question: How many years was the chassis a lotus-ford 38/7?
Here is the SQLite query to answer to the question: How many y... | Your SQLite query to count how many years the chassis was a Lotus-Ford 38/7 is correctly written. Here’s the query wrapped in code formatting:
```
SELECT COUNT(year) FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/7";
``` | 32,739 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)\n\n Question: How many years was the chassis a lotus-ford 38/7?\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_181892_4 (race_status VARCHAR, chassis VARCHAR)
Question: What was the race status(es) with the lotus-ford 38/1 chassis?
Here is the SQLite query to answer to the ... | Here's the SQLite query that answers the question about the race status(es) with the Lotus-Ford 38/1 chassis:
```
SELECT race_status FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/1"
``` | 32,740 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_181892_4 (race_status VARCHAR, chassis VARCHAR)\n\n Question: What was the race status(es) with the lotus-ford 38/1 chassis?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_181892_4 (year VARCHAR, race_status VARCHAR)
Question: What year(s) was the race status piston?
Here is the SQLite query to answer to the question: What year(s) wa... | Here's the SQLite query to retrieve the year(s) when the race status was "Piston":
```
SELECT year FROM table_181892_4 WHERE race_status = 'Piston';
``` | 32,741 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_181892_4 (year VARCHAR, race_status VARCHAR)\n\n Question: What year(s) was the race status piston?\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_181892_4 (laps_led INTEGER, chassis VARCHAR)
Question: What is the largest laps led with the lotus-ford 34/3 chassis?
Here is the SQLite query to answer to the que... | Here's the SQLite query to find the largest laps led with the Lotus-Ford 34/3 chassis:
```sql
SELECT MAX(laps_led) FROM table_181892_4 WHERE chassis = "Lotus-Ford 34/3";
``` | 32,742 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_181892_4 (laps_led INTEGER, chassis VARCHAR)\n\n Question: What is the largest laps led with the lotus-ford 34/3 chassis?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR)
Question: What was the population of Minneapolis in 2012?
Here is the SQLite query to answer to the question: What was... | Based on the provided schema and the question about the population of Minneapolis in 2012, the query you've provided is not quite specific enough to target data for the year 2012. It seems to assume the presence of multiple entries for Minneapolis with population records that can vary year by year.
If the table does n... | 32,743 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR)\n\n Question: What was the population of Minneapolis in 2012?\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_1818254_1 (burglary VARCHAR, violent_crime VARCHAR)
Question: How many burglaries occurred in the city where the violent crime rate was 974.7?
Here is the SQLite q... | The query you've provided retrieves the burglary data for cities with a violent crime rate of 974.7, but it doesn't count the burglaries. To count how many burglaries occurred in that specific city, you need to use the `COUNT` function in your query. Here’s the corrected query:
```
SELECT COUNT(burglary) AS burglary_c... | 32,744 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818254_1 (burglary VARCHAR, violent_crime VARCHAR)\n\n Question: How many burglaries occurred in the city where the violent... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)
Question: What was the violent crime rate in the city where the robbery rate was 201.4?
Here is the SQLite query... | Your SQLite query is correctly structured to retrieve the violent crime rate for the city where the robbery rate is 201.4. Here it is, wrapped in code formatting as you requested:
```
SELECT violent_crime FROM table_1818254_1 WHERE robbery = "201.4";
```
Make sure that the values in the `robbery` column match exactl... | 32,745 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)\n\n Question: What was the violent crime rate in the city where the robbe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1818254_1 (property_crime VARCHAR, burglary VARCHAR)
Question: How many cities were there in 2012 where the rate of burglary was 224.8?
Here is the SQLite query to... | Your query is mostly correct, but it seems to be missing a filter for the year 2012. Assuming your table contains a column that indicates the year, you would need that in your query. However, based on the schema provided, there's no mention of a year column. If there's no year information in the current schema, it woul... | 32,746 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818254_1 (property_crime VARCHAR, burglary VARCHAR)\n\n Question: How many cities were there in 2012 where the rate of burg... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)
Question: What is every value when Mitchell is 676?
Here is the SQLite query to answer to the question: What is every v... | The SQLite query to retrieve every value when Mitchell is 676 is:
```
SELECT value FROM table_1818471_1 WHERE mitchell = '676';
```
(Note: Since `mitchell` is declared as `VARCHAR`, the value `676` should be enclosed in quotes to match the data type.) | 32,747 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)\n\n Question: What is every value when Mitchell is 676?\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_1818471_1 (afinsa VARCHAR, value VARCHAR)
Question: How many different numbers for Afinsa when value is 5p?
Here is the SQLite query to answer to the question: How... | Your query is almost correct, but to ensure that you count only distinct values for `afinsa`, you should use the `COUNT(DISTINCT afinsa)` function. Here is the revised query:
```
SELECT COUNT(DISTINCT afinsa) FROM table_1818471_1 WHERE value = '5p';
```
This query counts the number of unique `afinsa` entries where `... | 32,748 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818471_1 (afinsa VARCHAR, value VARCHAR)\n\n Question: How many different numbers for Afinsa when value is 5p?\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_1818471_1 (scott VARCHAR, date VARCHAR)
Question: What is every entry for Scott when the date is (15.12)?
Here is the SQLite query to answer to the question: What ... | There is a slight issue with the way the date value is handled in your query. In SQLite, string values should not be wrapped in double quotes inside single quotes. Here is the corrected SQL query that will select every entry for Scott when the date is `15.12`:
```sql
SELECT scott FROM table_1818471_1 WHERE date = '15.... | 32,749 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818471_1 (scott VARCHAR, date VARCHAR)\n\n Question: What is every entry for Scott when the date is (15.12)?\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_1818471_1 (species VARCHAR, afinsa VARCHAR)
Question: What is every species when Afinsa is 639?
Here is the SQLite query to answer to the question: What is every s... | Here is the SQLite query to answer the question:
```
SELECT species FROM table_1818471_1 WHERE afinsa = '639'
```
Note that I wrapped '639' in quotes since it is defined as a VARCHAR in your schema. | 32,750 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)\n\n Question: What is every species when Afinsa is 639?\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_1818471_1 (order VARCHAR, species VARCHAR)
Question: How many orders when the species is Pavo Cristatus?
Here is the SQLite query to answer to the question: How ma... | Here is the correct SQLite query to count the number of orders where the species is "Pavo Cristatus":
```
SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo Cristatus"
``` | 32,751 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR)\n\n Question: How many orders when the species is Pavo Cristatus?\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_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR)
Question: If the distance is 55.7, what is the name of the constellation?
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT constellation FROM table_1820752_1 WHERE distance___ly__ = "55.7"
``` | 32,752 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR)\n\n Question: If the distance is 55.7, what is the name of the co... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1820752_1 (distance___ly__ VARCHAR, spectral_type VARCHAR)
Question: If the spectral type is g1v, what is the total distance amount?
Here is the SQLite query to an... | To answer your question correctly, we need to sum the distance values instead of counting them. The correct query should convert the distance from a VARCHAR to a numerical type for summation. Here’s the revised SQLite query:
```sql
SELECT SUM(CAST(distance___ly__ AS FLOAT)) AS total_distance
FROM table_1820752_1
WHERE... | 32,753 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1820752_1 (distance___ly__ VARCHAR, spectral_type VARCHAR)\n\n Question: If the spectral type is g1v, what is the total dist... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)
Question: What is the hd designation for arrival date of February 2070?
Here is the SQLite query to answer... | To retrieve the `hd_designation` for the arrival date of February 2070, you should modify your query to select the `hd_designation` column instead of counting it. Here's the corrected query:
```sql
SELECT hd_designation FROM table_1820752_1 WHERE arrival_date = "February 2070";
``` | 32,754 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)\n\n Question: What is the hd designation for arrival date of Februa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1820752_1 (spectral_type VARCHAR, constellation VARCHAR)
Question: If the constellation is Gemini, what is the spectral type?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question "If the constellation is Gemini, what is the spectral type?":
```
SELECT spectral_type FROM table_1820752_1 WHERE constellation = "Gemini";
``` | 32,755 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1820752_1 (spectral_type VARCHAR, constellation VARCHAR)\n\n Question: If the constellation is Gemini, what is the spectral ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR)
Question: If the arrival date is January 2059, what is the total amount of signal power?
Here is the ... | The provided query counts the number of entries where the signal power is present for the specified arrival date, but it does not sum the signal power values. To calculate the total amount of signal power for the specified date, you need to use the `SUM` function instead of `COUNT`. Also, you should convert the `signal... | 32,756 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR)\n\n Question: If the arrival date is January 2059, 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_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)
Question: If the spectral type is g1v, what is the constellation?
Here is the SQLite query to answer to th... | Your SQLite query looks almost correct, but there's a small inconsistency in the casing of the spectral type. If you want to ensure it matches regardless of case sensitivity, you can use lower or upper functions. Here is the corrected query ensuring case insensitivity:
```sql
SELECT constellation FROM table_1820752_1 ... | 32,757 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)\n\n Question: If the spectral type is g1v, what is the constellatio... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR)
Question: List the total numbers of Evian Masters tournaments.
Here is the SQLite query to answer to the question: Lis... | The provided query aims to find the maximum value of the "no" column for the "Evian Masters" tournaments, but it doesn't correctly address the question of counting the total number of such tournaments. To list the total number of "Evian Masters" tournaments, you should use the `COUNT` function instead. Here is the corr... | 32,758 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR)\n\n Question: List the total numbers of Evian Masters tournaments. \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_18217753_1 (original_air_date VARCHAR, season__number VARCHAR)
Question: What is the original air date of season 9?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the original air date of season 9:
```
SELECT original_air_date FROM table_18217753_1 WHERE season__number = '9'
``` | 32,759 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18217753_1 (original_air_date VARCHAR, season__number VARCHAR)\n\n Question: What is the original air date of season 9?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who were the writers when there were 27.11 million viewers?
Here is the SQLite query to an... | Your SQLite query is correctly written to find the writers corresponding to 27.11 million viewers. Here is the code wrapped properly:
```
SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11"
``` | 32,760 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: Who were the writers when there were 27.11 mill... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18217753_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many series had viewers totaling 23.93 million?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question of how many series had viewers totaling 23.93 million:
```
SELECT COUNT(series__number) FROM table_18217753_1 WHERE us_viewers__millions_ = "23.93"
``` | 32,761 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18217753_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many series had viewers totaling 23.93 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many original air dates totaled 26.06 million viewers?
Here is the SQLite query... | The SQLite query you provided is almost correct, but it should check the viewers count as a NUMBER, rather than a string with a specific format. However, since the column type is VARCHAR, your comparison is technically valid if the format is consistent. Here's your original query properly wrapped:
```
SELECT COUNT(ori... | 32,762 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many original air dates totaled 26.0... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What is the title when 18.58 u.s. viewers (millions) watched?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about the title when 18.58 U.S. viewers (in millions) watched:
```
SELECT title FROM table_18217741_1 WHERE us_viewers__millions_ = "18.58"
``` | 32,763 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What is the title when 18.58 u.s. viewers (millions... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
Question: How many digital terrestrial channels are there for channel 4?
Here is the SQLite query ... | Here is the SQLite query to answer the question about how many digital terrestrial channels there are for channel 4:
```
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = '4';
``` | 32,764 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)\n\n Question: How many digital terrestrial channels are the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)
Question: What is the channel that is on digital terrestrial channel 10?
Here is the SQLite query ... | Your SQLite query is correct. Here it is wrapped in the requested format:
```
SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = "10";
``` | 32,765 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)\n\n Question: What is the channel that is on digital terres... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
Question: What is the digital terrestria channel number for itv3?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about the digital terrestrial channel number for ITV3:
```
SELECT digital_terrestrial_channel FROM table_182410_10 WHERE channel = "itv3";
``` | 32,766 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)\n\n Question: What is the digital terrestria channel number... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_182410_10 (position VARCHAR, digital_terrestrial_channel VARCHAR)
Question: What is the position of digital channel 5 44 (+1)?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the position of digital channel 5 44 (+1):
```
SELECT position FROM table_182410_10 WHERE digital_terrestrial_channel = "5 44 (+1)"
``` | 32,767 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182410_10 (position VARCHAR, digital_terrestrial_channel VARCHAR)\n\n Question: What is the position of digital channel 5 44... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)
Question: where pageant is elite model look and year is bigger than 1993.0, who is the delegate?
Here ... | Here is the SQLite query to answer the question where the pageant is 'Elite Model Look' and the year is greater than 1993.0, retrieving the delegate:
```
SELECT delegate FROM table_1825751_14 WHERE pageant = "Elite Model Look" AND year > "1993"
``` | 32,768 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)\n\n Question: where pageant is elite model look and year is big... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_14 (year VARCHAR, pageant VARCHAR, delegate VARCHAR)
Question: How many years was the pageant miss globe international and delegate was karen loren medrano ... | Your SQLite query looks correct for the given question. Here it is wrapped in the requested code block:
```
SELECT COUNT(year) FROM table_1825751_14 WHERE pageant = "Miss Globe International" AND delegate = "Karen Loren Medrano Agustin"
``` | 32,769 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_14 (year VARCHAR, pageant VARCHAR, delegate VARCHAR)\n\n Question: How many years was the pageant miss globe interna... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_14 (pageant VARCHAR, hometown VARCHAR)
Question: How many pageants were in san fernando, pampanga?
Here is the SQLite query to answer to the question: How ... | Here is the SQLite query to answer the question of how many pageants were in San Fernando, Pampanga:
```
SELECT COUNT(pageant) FROM table_1825751_14 WHERE hometown = "San Fernando, Pampanga";
``` | 32,770 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_14 (pageant VARCHAR, hometown VARCHAR)\n\n Question: How many pageants were in san fernando, pampanga?\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_1825751_14 (pageant VARCHAR, delegate VARCHAR)
Question: How many pageants were margaret ann awitan bayot the delegate of?
Here is the SQLite query to answer to th... | Here is the SQLite query you provided, formatted correctly:
```
SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate = "Margaret Ann Awitan Bayot"
``` | 32,771 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR)\n\n Question: How many pageants were margaret ann awitan bayot the delegate o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_14 (other_awards VARCHAR, delegate VARCHAR)
Question: How many awards did milagros gutierrez win?
Here is the SQLite query to answer to the question: How m... | To count the number of awards won by Milagros Gutierrez, you should use the `COUNT()` function in your SQL query. Here’s how the query would look:
```
SELECT COUNT(other_awards) AS award_count
FROM table_1825751_14
WHERE delegate = "Milagros Gutierrez";
```
This query will return the number of awards associated wi... | 32,772 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_14 (other_awards VARCHAR, delegate VARCHAR)\n\n Question: How many awards did milagros gutierrez win?\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_1825751_14 (hometown VARCHAR, pageant VARCHAR)
Question: Where is the miss global teen?
Here is the SQLite query to answer to the question: Where is the miss globa... | Your query to find the hometown of "Miss Global Teen" is correct. Here it is wrapped in the specified format:
```
SELECT hometown FROM table_1825751_14 WHERE pageant = "Miss Global Teen";
``` | 32,773 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_14 (hometown VARCHAR, pageant VARCHAR)\n\n Question: Where is the miss global teen?\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_182499_1 (substrate VARCHAR, enzyme VARCHAR)
Question: what is the subtrate for enzyme ala dehydratase
Here is the SQLite query to answer to the question: what is ... | Here is the SQLite query to answer the question about the substrate for the enzyme ala dehydratase:
```
SELECT substrate FROM table_182499_1 WHERE enzyme = "ala dehydratase"
``` | 32,774 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182499_1 (substrate VARCHAR, enzyme VARCHAR)\n\n Question: what is the subtrate for enzyme ala dehydratase\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_182499_1 (porphyria VARCHAR, substrate VARCHAR)
Question: how many porphyria have substrate δ-aminolevulinic acid
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question of how many porphyria have the substrate δ-aminolevulinic acid:
```
SELECT COUNT(porphyria) FROM table_182499_1 WHERE substrate = "δ-aminolevulinic acid"
``` | 32,775 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182499_1 (porphyria VARCHAR, substrate VARCHAR)\n\n Question: how many porphyria have substrate δ-aminolevulinic acid\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)
Question: give the location of subtrate coproporphyrinogen iii
Here is the SQLite query to answer to the question: g... | Here is the SQLite query to answer the question regarding the location of the substrate "Coproporphyrinogen III":
```
SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III";
``` | 32,776 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)\n\n Question: give the location of subtrate coproporphyrinogen iii\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_18274425_1 (written_by VARCHAR, production_code VARCHAR)
Question: Who were the authors of episode having production code 3t7573?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about the authors of the episode having production code 3t7573:
```
SELECT written_by FROM table_18274425_1 WHERE production_code = "3t7573"
``` | 32,777 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR)\n\n Question: Who were the authors of episode having production co... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many episodes had a viewership of 2.65 million?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about how many episodes had a viewership of 2.65 million:
```
SELECT COUNT(no_in_season) FROM table_18274425_1 WHERE us_viewers__millions_ = "2.65"
``` | 32,778 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many episodes had a viewership of 2.65 mi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who were the director/s of episodes written by Mike Daniels?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question: Who were the director/s of episodes written by Mike Daniels?:
```
SELECT directed_by FROM table_18274425_1 WHERE written_by = "Mike Daniels"
``` | 32,779 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who were the director/s of episodes written by Mike Danie... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
Question: How many winners of Binibining Pilipinas-International when Nina... | Based on the given schema and your question, the SQLite query to count the number of winners of Binibining Pilipinas-International when Nina Ricci Alagao is referenced as Miss Universe Philippines would be as follows:
```
SELECT COUNT(binibining_pilipinas_international)
FROM table_1825751_4
WHERE miss_universe_phili... | 32,780 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)\n\n Question: How many winners of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)
Question: Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
... | Here is the SQLite query to answer the question about who was the second runner up when Janina San Miguel won Binibining Pilipinas-World:
```
SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"
``` | 32,781 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)\n\n Question: Who was second runner up when Janina ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
Question: Who was the winner of binibining pilipinas-International wheh Gi... | Here is the SQLite query to answer the question about the winner of Binibining Pilipinas International when Gionna Cabrera won Miss Universe Philippines:
```
SELECT binibining_pilipinas_international
FROM table_1825751_4
WHERE miss_universe_philippines = "Gionna Cabrera";
``` | 32,782 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)\n\n Question: Who was the winner o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
Question: How many winners of binibining pilipinas-International when Mar... | Here is the SQLite query to answer the question regarding the number of winners of Binibining Pilipinas International when Maria Karla Bautista won Binibining Pilipinas World:
```sql
SELECT COUNT(binibining_pilipinas_international)
FROM table_1825751_4
WHERE binibining_pilipinas_world = "Maria Karla Bautista";
``` | 32,783 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)\n\n Question: How many winners of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)
Question: Who is the second runner up when Janina San Miguel won binibining pilipinas-world... | The query you provided is designed to count how many times "Janina San Miguel" won the binibining pilipinas-world title rather than directly answering the question about who the second runner-up was at that time.
To answer the question correctly, you should select the `second_runner_up` where `binibining_pilipinas_wor... | 32,784 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)\n\n Question: Who is the second runner up when Jani... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_4 (miss_universe_philippines VARCHAR, binibining_pilipinas_international VARCHAR)
Question: When Margaret Ann Bayot won binibining pilipinas-international, ... | The query you provided does not accurately answer the question because it only counts the entries for "Margaret Ann Bayot" rather than counting all Miss Universe Philippines winners at the time she won.
Assuming that "Margaret Ann Bayot" won the title in a particular year and you want to count how many total winners o... | 32,785 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1825751_4 (miss_universe_philippines VARCHAR, binibining_pilipinas_international VARCHAR)\n\n Question: When Margaret Ann Ba... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18268930_1 (population_served INTEGER)
Question: What's the minimal number of population served?
Here is the SQLite query to answer to the question: What's the min... | Your SQLite query to find the minimal number of population served is correct. Here it is wrapped as you requested:
```
SELECT MIN(population_served) FROM table_18268930_1;
``` | 32,786 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18268930_1 (population_served INTEGER)\n\n Question: What's the minimal number of population served?\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_18268930_1 (partner VARCHAR, location VARCHAR)
Question: Who's the partner at Tamara, Hon?
Here is the SQLite query to answer to the question: Who's the partner at... | Here is the SQLite query to answer the question "Who's the partner at Tamara, Hon?":
```
SELECT partner FROM table_18268930_1 WHERE location = 'Tamara, Hon';
``` | 32,787 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18268930_1 (partner VARCHAR, location VARCHAR)\n\n Question: Who's the partner at Tamara, Hon?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1827900_1 (votes_khuzestan INTEGER, _percentage_of_votes_khuzestan VARCHAR)
Question: How many votes Khuzestan were there when the percentage was 34.50?
Here is th... | Here is the SQLite query to answer the question: How many votes Khuzestan were there when the percentage was 34.50?:
```
SELECT votes_khuzestan FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"
``` | 32,788 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1827900_1 (votes_khuzestan INTEGER, _percentage_of_votes_khuzestan VARCHAR)\n\n Question: How many votes Khuzestan were ther... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1827900_1 (votes_khuzestan VARCHAR, _percentage_of_votes_khuzestan VARCHAR)
Question: How many figures for votes Khuzestan were there when the percentage was 34.50?... | Here is the SQLite query to answer the question about how many figures for votes Khuzestan were there when the percentage was 34.50:
```
SELECT COUNT(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"
``` | 32,789 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1827900_1 (votes_khuzestan VARCHAR, _percentage_of_votes_khuzestan VARCHAR)\n\n Question: How many figures for votes Khuzest... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1827900_1 (_percentage_of_votes_nationally VARCHAR, candidates VARCHAR)
Question: What was the percentage of national votes for Mahmoud Ahmadinejad?
Here is the SQ... | Here is the SQLite query to find the percentage of national votes for Mahmoud Ahmadinejad:
```
SELECT _percentage_of_votes_nationally FROM table_1827900_1 WHERE candidates = "Mahmoud Ahmadinejad"
``` | 32,790 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1827900_1 (_percentage_of_votes_nationally VARCHAR, candidates VARCHAR)\n\n Question: What was the percentage of national vo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR)
Question: Name the revenue for eps being 8.9
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the revenue for earnings per share (EPS) being 8.9:
```
SELECT revenue__£million_ FROM table_18304259_1 WHERE earnings_per_share__p_ = '8.9'
``` | 32,791 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR)\n\n Question: Name the revenue for eps being 8.9\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18304259_1 (year_to_april VARCHAR, ebit__£m_ VARCHAR)
Question: Name the total number of year to april for ebit being 24.5
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the total number of years to April for EBIT being 24.5:
```
SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE ebit__£m_ = "24.5"
``` | 32,792 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18304259_1 (year_to_april VARCHAR, ebit__£m_ VARCHAR)\n\n Question: Name the total number of year to april for ebit being 24... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18304259_1 (earnings_per_share__p_ VARCHAR, net_profit__£m_ VARCHAR)
Question: Name the eps for net profit being 39.2
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question, wrapped as requested:
```
SELECT earnings_per_share__p_ FROM table_18304259_1 WHERE net_profit__£m_ = "39.2"
``` | 32,793 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18304259_1 (earnings_per_share__p_ VARCHAR, net_profit__£m_ VARCHAR)\n\n Question: Name the eps for net profit being 39.2\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR)
Question: Name the ebit for eps being 10.6
Here is the SQLite query to answer to the question: Name ... | Here is the SQLite query to answer the question: Name the ebit for eps being 10.6:
```
SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6"
``` | 32,794 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR)\n\n Question: Name the ebit for eps being 10.6\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)
Question: What are the population densities of all communes with an are of 28.3 sq.km.?
Here is the S... | Here is the SQLite query to answer the question about the population densities of all communes with an area of 28.3 sq.km:
```
SELECT pop_density__km_2__ FROM table_1828368_1 WHERE area__km_2__ = "28.3"
``` | 32,795 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)\n\n Question: What are the population densities of all commune... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR)
Question: What commune has an area of 12.4 sq.km.?
Here is the SQLite query to answer to the question: What commu... | Here is the SQLite query to answer the question about which commune has an area of 12.4 sq.km.:
```
SELECT commune FROM table_1828368_1 WHERE area__km_2__ = "12.4"
``` | 32,796 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR)\n\n Question: What commune has an area of 12.4 sq.km.?\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_18299148_1 (city VARCHAR, resolution VARCHAR)
Question: Which city has a resolution that is negotiated exile in Austria?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about which city has a resolution that is negotiated exile in Austria:
```
SELECT city FROM table_18299148_1 WHERE resolution = "Negotiated exile in Austria";
``` | 32,797 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18299148_1 (city VARCHAR, resolution VARCHAR)\n\n Question: Which city has a resolution that is negotiated exile in Austria?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18299148_1 (Missions VARCHAR, notability VARCHAR)
Question: How many missions countries have notability with president of burundi?
Here is the SQLite query to answ... | Here is the SQLite query that answers the question regarding how many missions countries have a notability of "President of Burundi":
```sql
SELECT COUNT(Missions) AS country FROM table_18299148_1 WHERE notability = "President of Burundi";
``` | 32,798 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18299148_1 (Missions VARCHAR, notability VARCHAR)\n\n Question: How many missions countries have notability with president o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)
Question: What is the nickname of the team whose 2013/2014 enrollment is 436?
Here is the SQLite qu... | Here is the SQLite query to answer the question about the nickname of the team whose 2013/2014 enrollment is 436:
```
SELECT nickname_s_ FROM table_18304058_2 WHERE enrollment__2013_14_ = '436';
```
(Note: The enrollment value is treated as a string in the database schema, so the value '436' is enclosed in quotes.) | 32,799 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)\n\n Question: What is the nickname of the team whose 2013/201... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.