dataset_name
stringclasses
1 value
split
stringclasses
1 value
prompt_raw
stringlengths
897
4.29k
messages
listlengths
2
2
question
stringlengths
18
174
sample_id
int64
0
1.03k
db_id
stringclasses
20 values
groundtruth_sqls
listlengths
1
1
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the content of the series Sky Radio?
600
tvshow
[ "SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the Package Option of TV Channel with serial name "Sky Radio"?
601
tvshow
[ "SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the Package Options of the TV Channels whose series names are Sky Radio?
602
tvshow
[ "SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many TV Channel using language English?
603
tvshow
[ "SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many TV Channels use the English language?
604
tvshow
[ "SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the language used least number of TV Channel. List language and number of TV Channel.
605
tvshow
[ "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the languages used by the least number of TV Channels and how many channels use it?
606
tvshow
[ "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List each language and the number of TV Channels using it.
607
tvshow
[ "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
For each language, list the number of TV Channels that use it.
608
tvshow
[ "SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Channel: TEXT - channel Sample values: "700", "701", "707", "713", "714" TV_series.Rating: TEXT - rating Sample values: "5.8", "5.3", "4.4", "4.3", "3.8" TV_series....
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name.
609
tvshow
[ "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the series name of the TV Channel that shows the cartoon "The Rise of the Blue Beetle"?
610
tvshow
[ "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Package_Option: TEXT - package option Sample values: "Sky Famiglia + Sky HD", "Sky Famiglia" TV_Channel.series_name: TEXT - series name Sample values: "Sky Radio", "Sky Music", "Rock ...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the title of all Cartoons showed on TV Channel with series name "Sky Radio".
611
tvshow
[ "SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Package_Option: TEXT - package option Sample values: "Sky Famiglia + Sky HD", "Sky Famiglia" TV_Channel.series_name: TEXT - series name Sample values: "Sky Radio", "Sky Music", "Rock ...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the title of all the cartools that are on the TV Channel with the series name "Sky Radio"?
612
tvshow
[ "SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the Episode of all TV series sorted by rating.
613
tvshow
[ "SELECT Episode FROM TV_series ORDER BY rating" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are all of the episodes ordered by ratings?
614
tvshow
[ "SELECT Episode FROM TV_series ORDER BY rating" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List top 3 highest Rating TV series. List the TV series's Episode and Rating.
615
tvshow
[ "SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are 3 most highly rated episodes in the TV series table and what were those ratings?
616
tvshow
[ "SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is minimum and maximum share of TV series?
617
tvshow
[ "SELECT max(SHARE) , min(SHARE) FROM TV_series;" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the maximum and minimum share for the TV series?
618
tvshow
[ "SELECT max(SHARE) , min(SHARE) FROM TV_series;" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the air date of TV series with Episode "A Love of a Lifetime"?
619
tvshow
[ "SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
When did the episode "A Love of a Lifetime" air?
620
tvshow
[ "SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?
621
tvshow
[ "SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Channel: TEXT - channel Sample values: "700", "701", "707", "713", "714" TV_series.Rating: TEXT - rating Sample values: "5.8", "5.3", "4.4", "4.3", "3.8" TV_series....
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the weekly rank for the episode "A Love of a Lifetime"?
622
tvshow
[ "SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the TV Channel of TV series with Episode "A Love of a Lifetime"? List the TV Channel's series name.
623
tvshow
[ "SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the name of the series that has the episode "A Love of a Lifetime"?
624
tvshow
[ "SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the Episode of all TV series showed on TV Channel with series name "Sky Radio".
625
tvshow
[ "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the episode for the TV series named "Sky Radio"?
626
tvshow
[ "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Find the number of cartoons directed by each of the listed directors.
627
tvshow
[ "SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many cartoons did each director create?
628
tvshow
[ "SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Package_Option: TEXT - package option Sample values: "Sky Famiglia", "no ( FTV )", "Sky Famiglia + Sky HD", "Option" TV_Channel.series_name: TEXT - series name Sample values: "Sky Rad...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Find the production code and channel of the most recently aired cartoon .
629
tvshow
[ "select production_code , channel from cartoon order by original_air_date desc limit 1" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Package_Option: TEXT - package option Sample values: "Sky Famiglia", "no ( FTV )", "Sky Famiglia + Sky HD", "Option" TV_Channel.series_name: TEXT - series name Sample values: "Sky Rad...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the produdction code and channel of the most recent cartoon ?
630
tvshow
[ "select production_code , channel from cartoon order by original_air_date desc limit 1" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Find the package choice and series name of the TV channel that has high definition TV.
631
tvshow
[ "SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the package options and the name of the series for the TV Channel that supports high definition TV?
632
tvshow
[ "SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Package_Option: TEXT - package option Sample values: "Sky Famiglia", "no ( FTV )", "Sky Famiglia + Sky HD", "Option" TV_Channel.series_name: TEXT - series name Sample values: "Rock TV...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
which countries' tv channels are playing some cartoon written by Todd Casey?
633
tvshow
[ "SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Content: TEXT - content Sample values: "music" TV_Channel.Hight_definition_TV: TEXT - hight definition tv Sample values: "no", "yes" TV_Channel.Country: TEXT - country Sample va...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the countries that have cartoons on TV that were written by Todd Casey?
634
tvshow
[ "SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'" ]
spider
dev
Database Schema: Table TV_Channel TV_Channel.Pay_per_view_PPV: TEXT - pay per view ppv Sample values: "no" TV_Channel.Package_Option: TEXT - package option Sample values: "Sky Famiglia", "no ( FTV )", "Sky Famiglia + Sky HD", "Option" TV_Channel.series_name: TEXT - series name Sample values: "Rock TV...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
which countries' tv channels are not playing any cartoon written by Todd Casey?
635
tvshow
[ "SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the countries that are not playing cartoons written by Todd Casey?
636
tvshow
[ "SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?
637
tvshow
[ "SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the series name and country of all TV channels that are playing cartoons directed by Ben Jones and cartoons directed by Michael Chang?
638
tvshow
[ "SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
find the pixel aspect ratio and nation of the tv channels that do not use English.
639
tvshow
[ "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the pixel aspect ratio and country of origin for all TV channels that do not use English?
640
tvshow
[ "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
find id of the tv channels that from the countries where have more than two tv channels.
641
tvshow
[ "SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Air_Date: TEXT - air date Sample values: "September 24, 2007", "October 1, 2007", "October 8, 2007", "October 15, 2007", "October 22, 2007" TV_series.Channel: TEXT - chan...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the ids of all tv channels that have more than 2 TV channels?
642
tvshow
[ "SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Channel: TEXT - channel Sample values: "700", "701", "707", "713", "714" TV_series.Rating: TEXT - rating Sample values: "5.8", "5.3", "4.4", "4.3", "3.8" TV_series....
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
find the id of tv channels that do not play any cartoon directed by Ben Jones.
643
tvshow
[ "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Channel: TEXT - channel Sample values: "700", "701", "707", "713", "714" TV_series.Rating: TEXT - rating Sample values: "5.8", "5.3", "4.4", "4.3", "3.8" TV_series....
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the ids of the TV channels that do not have any cartoons directed by Ben Jones?
644
tvshow
[ "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Channel: TEXT - channel Sample values: "700", "701", "707", "713", "714" TV_series.Rating: TEXT - rating Sample values: "5.8", "5.3", "4.4", "4.3", "3.8" TV_series....
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
find the package option of the tv channel that do not have any cartoon directed by Ben Jones.
645
tvshow
[ "SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')" ]
spider
dev
Database Schema: Table TV_series TV_series.Viewers_m: TEXT - viewers m Sample values: "9.16", "8.23", "6.94", "6.75", "6.06" TV_series.Channel: TEXT - channel Sample values: "700", "701", "707", "713", "714" TV_series.Rating: TEXT - rating Sample values: "5.8", "5.3", "4.4", "4.3", "3.8" TV_series....
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?
646
tvshow
[ "SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many poker players are there?
647
poker_player
[ "SELECT count(*) FROM poker_player" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Count the number of poker players.
648
poker_player
[ "SELECT count(*) FROM poker_player" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the earnings of poker players in descending order.
649
poker_player
[ "SELECT Earnings FROM poker_player ORDER BY Earnings DESC" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the earnings of poker players, ordered descending by value?
650
poker_player
[ "SELECT Earnings FROM poker_player ORDER BY Earnings DESC" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the final tables made and the best finishes of poker players.
651
poker_player
[ "SELECT Final_Table_Made , Best_Finish FROM poker_player" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the final tables made and best finishes for all poker players?
652
poker_player
[ "SELECT Final_Table_Made , Best_Finish FROM poker_player" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the average earnings of poker players?
653
poker_player
[ "SELECT avg(Earnings) FROM poker_player" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the average earnings across all poker players.
654
poker_player
[ "SELECT avg(Earnings) FROM poker_player" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the money rank of the poker player with the highest earnings?
655
poker_player
[ "SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the money rank of the player with the greatest earnings.
656
poker_player
[ "SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the maximum number of final tables made among poker players with earnings less than 200000?
657
poker_player
[ "SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the maximum final tables made across all poker players who have earnings below 200000.
658
poker_player
[ "SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of poker players?
659
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the names of all the poker players.
660
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of poker players whose earnings is higher than 300000?
661
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Give the names of poker players who have earnings above 300000.
662
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the names of poker players ordered by the final tables made in ascending order.
663
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of poker players, ordered ascending by the number of final tables they have made?
664
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the birth date of the poker player with the lowest earnings?
665
poker_player
[ "SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the birth date of the poker player with the lowest earnings.
666
poker_player
[ "SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the money rank of the tallest poker player?
667
poker_player
[ "SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the money rank of the poker player with the greatest height.
668
poker_player
[ "SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the average earnings of poker players with height higher than 200?
669
poker_player
[ "SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Give average earnings of poker players who are taller than 200.
670
poker_player
[ "SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of poker players in descending order of earnings?
671
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the names of poker players sorted by their earnings descending.
672
poker_player
[ "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are different nationalities of people and the corresponding number of people from each nation?
673
poker_player
[ "SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many people are there of each nationality?
674
poker_player
[ "SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the most common nationality of people?
675
poker_player
[ "SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Give the nationality that is most common across all people.
676
poker_player
[ "SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the nationalities that are shared by at least two people?
677
poker_player
[ "SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Return the nationalities for which there are two or more people.
678
poker_player
[ "SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the names and birth dates of people in ascending alphabetical order of name.
679
poker_player
[ "SELECT Name , Birth_Date FROM people ORDER BY Name ASC" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names and birth dates of people, ordered by their names in alphabetical order?
680
poker_player
[ "SELECT Name , Birth_Date FROM people ORDER BY Name ASC" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Show names of people whose nationality is not "Russia".
681
poker_player
[ "SELECT Name FROM people WHERE Nationality != \"Russia\"" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of people who are not from Russia?
682
poker_player
[ "SELECT Name FROM people WHERE Nationality != \"Russia\"" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the names of people that are not poker players.
683
poker_player
[ "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of people who do not play poker?
684
poker_player
[ "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many distinct nationalities are there?
685
poker_player
[ "SELECT count(DISTINCT Nationality) FROM people" ]
spider
dev
Database Schema: Table poker_player poker_player.Earnings: REAL - earnings Sample values: "476090.0", "189233.0", "104871.0", "596462.0", "142800.0" poker_player.Best_Finish: REAL - best finish Sample values: "1.0", "2.0", "3.0" poker_player.Final_Table_Made: REAL - final table made Sample values: "4...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Count the number of different nationalities.
686
poker_player
[ "SELECT count(DISTINCT Nationality) FROM people" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many states are there?
687
voter_1
[ "SELECT count(*) FROM area_code_state" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the contestant numbers and names, ordered by contestant name descending.
688
voter_1
[ "SELECT contestant_number , contestant_name FROM contestants ORDER BY contestant_name DESC" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
List the vote ids, phone numbers and states of all votes.
689
voter_1
[ "SELECT vote_id , phone_number , state FROM votes" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the maximum and minimum values of area codes?
690
voter_1
[ "SELECT max(area_code) , min(area_code) FROM area_code_state" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is last date created of votes from the state 'CA'?
691
voter_1
[ "SELECT max(created) FROM votes WHERE state = 'CA'" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the names of the contestants whose names are not 'Jessie Alloway'
692
voter_1
[ "SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the distinct states and create time of all votes?
693
voter_1
[ "SELECT DISTINCT state , created FROM votes" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the contestant numbers and names of the contestants who had at least two votes?
694
voter_1
[ "SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING count(*) >= 2" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?
695
voter_1
[ "SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the number of votes from state 'NY' or 'CA'?
696
voter_1
[ "SELECT count(*) FROM votes WHERE state = 'NY' OR state = 'CA'" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
How many contestants did not get voted?
697
voter_1
[ "SELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes )" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What is the area code in which the most voters voted?
698
voter_1
[ "SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY count(*) DESC LIMIT 1" ]
spider
dev
Database Schema: Table VOTES VOTES.phone_number: INTEGER - phone number Sample values: "5112677315", "6209222712", "7148407040", "7182887233" VOTES.created: TIMESTAMP Sample values: "2018-03-09 19:03:21", "2018-03-09 19:03:36", "2018-03-09 19:03:39", "2018-03-09 19:03:40" VOTES.contestant_number: INTEGER...
[ { "content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out...
What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?
699
voter_1
[ "SELECT T2.created , T2.state , T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'" ]