db_id
stringclasses
20 values
query
stringlengths
20
422
question
stringlengths
18
174
query_toks
listlengths
4
63
query_toks_no_value
listlengths
4
88
question_toks
listlengths
5
33
schema
stringclasses
20 values
tvshow
SELECT Content FROM TV_Channel WHERE series_name = "Sky Radio";
What is the content of the series Sky Radio?
[ "SELECT", "Content", "FROM", "TV_Channel", "WHERE", "series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "content", "from", "tv_channel", "where", "series_name", "=", "value" ]
[ "What", "is", "the", "content", "of", "the", "series", "Sky", "Radio", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio";
What is the Package Option of TV Channel with serial name "Sky Radio"?
[ "SELECT", "Package_Option", "FROM", "TV_Channel", "WHERE", "series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "package_option", "from", "tv_channel", "where", "series_name", "=", "value" ]
[ "What", "is", "the", "Package", "Option", "of", "TV", "Channel", "with", "serial", "name", "``", "Sky", "Radio", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio";
What are the Package Options of the TV Channels whose series names are Sky Radio?
[ "SELECT", "Package_Option", "FROM", "TV_Channel", "WHERE", "series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "package_option", "from", "tv_channel", "where", "series_name", "=", "value" ]
[ "What", "are", "the", "Package", "Options", "of", "the", "TV", "Channels", "whose", "series", "names", "are", "Sky", "Radio", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT count(*) FROM TV_Channel WHERE LANGUAGE = "English";
How many TV Channel using language English?
[ "SELECT", "count", "(", "*", ")", "FROM", "TV_Channel", "WHERE", "LANGUAGE", "=", "``", "English", "''", ";" ]
[ "select", "count", "(", "*", ")", "from", "tv_channel", "where", "language", "=", "value" ]
[ "How", "many", "TV", "Channel", "using", "language", "English", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT count(*) FROM TV_Channel WHERE LANGUAGE = "English";
How many TV Channels use the English language?
[ "SELECT", "count", "(", "*", ")", "FROM", "TV_Channel", "WHERE", "LANGUAGE", "=", "``", "English", "''", ";" ]
[ "select", "count", "(", "*", ")", "from", "tv_channel", "where", "language", "=", "value" ]
[ "How", "many", "TV", "Channels", "use", "the", "English", "language", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;
List the language used least number of TV Channel. List language and number of TV Channel.
[ "SELECT", "LANGUAGE", ",", "count", "(", "*", ")", "FROM", "TV_Channel", "GROUP", "BY", "LANGUAGE", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "1", ";" ]
[ "select", "language", ",", "count", "(", "*", ")", "from", "tv_channel", "group", "by", "language", "order", "by", "count", "(", "*", ")", "asc", "limit", "value" ]
[ "List", "the", "language", "used", "least", "number", "of", "TV", "Channel", ".", "List", "language", "and", "number", "of", "TV", "Channel", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;
What are the languages used by the least number of TV Channels and how many channels use it?
[ "SELECT", "LANGUAGE", ",", "count", "(", "*", ")", "FROM", "TV_Channel", "GROUP", "BY", "LANGUAGE", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "1", ";" ]
[ "select", "language", ",", "count", "(", "*", ")", "from", "tv_channel", "group", "by", "language", "order", "by", "count", "(", "*", ")", "asc", "limit", "value" ]
[ "What", "are", "the", "languages", "used", "by", "the", "least", "number", "of", "TV", "Channels", "and", "how", "many", "channels", "use", "it", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE
List each language and the number of TV Channels using it.
[ "SELECT", "LANGUAGE", ",", "count", "(", "*", ")", "FROM", "TV_Channel", "GROUP", "BY", "LANGUAGE" ]
[ "select", "language", ",", "count", "(", "*", ")", "from", "tv_channel", "group", "by", "language" ]
[ "List", "each", "language", "and", "the", "number", "of", "TV", "Channels", "using", "it", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE
For each language, list the number of TV Channels that use it.
[ "SELECT", "LANGUAGE", ",", "count", "(", "*", ")", "FROM", "TV_Channel", "GROUP", "BY", "LANGUAGE" ]
[ "select", "language", ",", "count", "(", "*", ")", "from", "tv_channel", "group", "by", "language" ]
[ "For", "each", "language", ",", "list", "the", "number", "of", "TV", "Channels", "that", "use", "it", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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!";
What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name.
[ "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", "!", "``", ";" ]
[ "select", "t1", ".", "series_name", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "title", "=", "value" ]
[ "What", "is", "the", "TV", "Channel", "that", "shows", "the", "cartoon", "``", "The", "Rise", "of", "the", "Blue", "Beetle", "!", "''", "?", "List", "the", "TV", "Channel", "'s", "series", "name", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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!";
What is the series name of the TV Channel that shows the cartoon "The Rise of the Blue Beetle"?
[ "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", "!", "``", ";" ]
[ "select", "t1", ".", "series_name", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "title", "=", "value" ]
[ "What", "is", "the", "series", "name", "of", "the", "TV", "Channel", "that", "shows", "the", "cartoon", "``", "The", "Rise", "of", "the", "Blue", "Beetle", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio";
List the title of all Cartoons showed on TV Channel with series name "Sky Radio".
[ "SELECT", "T2.Title", "FROM", "TV_Channel", "AS", "T1", "JOIN", "Cartoon", "AS", "T2", "ON", "T1.id", "=", "T2.Channel", "WHERE", "T1.series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "t2", ".", "title", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t1", ".", "series_name", "=", "value" ]
[ "List", "the", "title", "of", "all", "Cartoons", "showed", "on", "TV", "Channel", "with", "series", "name", "``", "Sky", "Radio", "''", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio";
What is the title of all the cartools that are on the TV Channel with the series name "Sky Radio"?
[ "SELECT", "T2.Title", "FROM", "TV_Channel", "AS", "T1", "JOIN", "Cartoon", "AS", "T2", "ON", "T1.id", "=", "T2.Channel", "WHERE", "T1.series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "t2", ".", "title", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t1", ".", "series_name", "=", "value" ]
[ "What", "is", "the", "title", "of", "all", "the", "cartools", "that", "are", "on", "the", "TV", "Channel", "with", "the", "series", "name", "``", "Sky", "Radio", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Episode FROM TV_series ORDER BY rating
List the Episode of all TV series sorted by rating.
[ "SELECT", "Episode", "FROM", "TV_series", "ORDER", "BY", "rating" ]
[ "select", "episode", "from", "tv_series", "order", "by", "rating" ]
[ "List", "the", "Episode", "of", "all", "TV", "series", "sorted", "by", "rating", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Episode FROM TV_series ORDER BY rating
What are all of the episodes ordered by ratings?
[ "SELECT", "Episode", "FROM", "TV_series", "ORDER", "BY", "rating" ]
[ "select", "episode", "from", "tv_series", "order", "by", "rating" ]
[ "What", "are", "all", "of", "the", "episodes", "ordered", "by", "ratings", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;
List top 3 highest Rating TV series. List the TV series's Episode and Rating.
[ "SELECT", "Episode", ",", "Rating", "FROM", "TV_series", "ORDER", "BY", "Rating", "DESC", "LIMIT", "3", ";" ]
[ "select", "episode", ",", "rating", "from", "tv_series", "order", "by", "rating", "desc", "limit", "value" ]
[ "List", "top", "3", "highest", "Rating", "TV", "series", ".", "List", "the", "TV", "series", "'s", "Episode", "and", "Rating", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;
What are 3 most highly rated episodes in the TV series table and what were those ratings?
[ "SELECT", "Episode", ",", "Rating", "FROM", "TV_series", "ORDER", "BY", "Rating", "DESC", "LIMIT", "3", ";" ]
[ "select", "episode", ",", "rating", "from", "tv_series", "order", "by", "rating", "desc", "limit", "value" ]
[ "What", "are", "3", "most", "highly", "rated", "episodes", "in", "the", "TV", "series", "table", "and", "what", "were", "those", "ratings", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT max(SHARE) , min(SHARE) FROM TV_series;
What is minimum and maximum share of TV series?
[ "SELECT", "max", "(", "SHARE", ")", ",", "min", "(", "SHARE", ")", "FROM", "TV_series", ";" ]
[ "select", "max", "(", "share", ")", ",", "min", "(", "share", ")", "from", "tv_series" ]
[ "What", "is", "minimum", "and", "maximum", "share", "of", "TV", "series", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT max(SHARE) , min(SHARE) FROM TV_series;
What is the maximum and minimum share for the TV series?
[ "SELECT", "max", "(", "SHARE", ")", ",", "min", "(", "SHARE", ")", "FROM", "TV_series", ";" ]
[ "select", "max", "(", "share", ")", ",", "min", "(", "share", ")", "from", "tv_series" ]
[ "What", "is", "the", "maximum", "and", "minimum", "share", "for", "the", "TV", "series", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime";
What is the air date of TV series with Episode "A Love of a Lifetime"?
[ "SELECT", "Air_Date", "FROM", "TV_series", "WHERE", "Episode", "=", "``", "A", "Love", "of", "a", "Lifetime", "''", ";" ]
[ "select", "air_date", "from", "tv_series", "where", "episode", "=", "value" ]
[ "What", "is", "the", "air", "date", "of", "TV", "series", "with", "Episode", "``", "A", "Love", "of", "a", "Lifetime", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime";
When did the episode "A Love of a Lifetime" air?
[ "SELECT", "Air_Date", "FROM", "TV_series", "WHERE", "Episode", "=", "``", "A", "Love", "of", "a", "Lifetime", "''", ";" ]
[ "select", "air_date", "from", "tv_series", "where", "episode", "=", "value" ]
[ "When", "did", "the", "episode", "``", "A", "Love", "of", "a", "Lifetime", "''", "air", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime";
What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?
[ "SELECT", "Weekly_Rank", "FROM", "TV_series", "WHERE", "Episode", "=", "``", "A", "Love", "of", "a", "Lifetime", "''", ";" ]
[ "select", "weekly_rank", "from", "tv_series", "where", "episode", "=", "value" ]
[ "What", "is", "Weekly", "Rank", "of", "TV", "series", "with", "Episode", "``", "A", "Love", "of", "a", "Lifetime", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime";
What is the weekly rank for the episode "A Love of a Lifetime"?
[ "SELECT", "Weekly_Rank", "FROM", "TV_series", "WHERE", "Episode", "=", "``", "A", "Love", "of", "a", "Lifetime", "''", ";" ]
[ "select", "weekly_rank", "from", "tv_series", "where", "episode", "=", "value" ]
[ "What", "is", "the", "weekly", "rank", "for", "the", "episode", "``", "A", "Love", "of", "a", "Lifetime", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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";
What is the TV Channel of TV series with Episode "A Love of a Lifetime"? List the TV Channel's series name.
[ "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", "''", ";" ]
[ "select", "t1", ".", "series_name", "from", "tv_channel", "as", "t1", "join", "tv_series", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "episode", "=", "value" ]
[ "What", "is", "the", "TV", "Channel", "of", "TV", "series", "with", "Episode", "``", "A", "Love", "of", "a", "Lifetime", "''", "?", "List", "the", "TV", "Channel", "'s", "series", "name", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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";
What is the name of the series that has the episode "A Love of a Lifetime"?
[ "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", "''", ";" ]
[ "select", "t1", ".", "series_name", "from", "tv_channel", "as", "t1", "join", "tv_series", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "episode", "=", "value" ]
[ "What", "is", "the", "name", "of", "the", "series", "that", "has", "the", "episode", "``", "A", "Love", "of", "a", "Lifetime", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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";
List the Episode of all TV series showed on TV Channel with series name "Sky Radio".
[ "SELECT", "T2.Episode", "FROM", "TV_Channel", "AS", "T1", "JOIN", "TV_series", "AS", "T2", "ON", "T1.id", "=", "T2.Channel", "WHERE", "T1.series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "t2", ".", "episode", "from", "tv_channel", "as", "t1", "join", "tv_series", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t1", ".", "series_name", "=", "value" ]
[ "List", "the", "Episode", "of", "all", "TV", "series", "showed", "on", "TV", "Channel", "with", "series", "name", "``", "Sky", "Radio", "''", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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";
What is the episode for the TV series named "Sky Radio"?
[ "SELECT", "T2.Episode", "FROM", "TV_Channel", "AS", "T1", "JOIN", "TV_series", "AS", "T2", "ON", "T1.id", "=", "T2.Channel", "WHERE", "T1.series_name", "=", "``", "Sky", "Radio", "''", ";" ]
[ "select", "t2", ".", "episode", "from", "tv_channel", "as", "t1", "join", "tv_series", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t1", ".", "series_name", "=", "value" ]
[ "What", "is", "the", "episode", "for", "the", "TV", "series", "named", "``", "Sky", "Radio", "''", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by
Find the number of cartoons directed by each of the listed directors.
[ "SELECT", "count", "(", "*", ")", ",", "Directed_by", "FROM", "cartoon", "GROUP", "BY", "Directed_by" ]
[ "select", "count", "(", "*", ")", ",", "directed_by", "from", "cartoon", "group", "by", "directed_by" ]
[ "Find", "the", "number", "of", "cartoons", "directed", "by", "each", "of", "the", "listed", "directors", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by
How many cartoons did each director create?
[ "SELECT", "count", "(", "*", ")", ",", "Directed_by", "FROM", "cartoon", "GROUP", "BY", "Directed_by" ]
[ "select", "count", "(", "*", ")", ",", "directed_by", "from", "cartoon", "group", "by", "directed_by" ]
[ "How", "many", "cartoons", "did", "each", "director", "create", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
select production_code , channel from cartoon order by original_air_date desc limit 1
Find the production code and channel of the most recently aired cartoon .
[ "select", "production_code", ",", "channel", "from", "cartoon", "order", "by", "original_air_date", "desc", "limit", "1" ]
[ "select", "production_code", ",", "channel", "from", "cartoon", "order", "by", "original_air_date", "desc", "limit", "value" ]
[ "Find", "the", "production", "code", "and", "channel", "of", "the", "most", "recently", "aired", "cartoon", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
select production_code , channel from cartoon order by original_air_date desc limit 1
What is the produdction code and channel of the most recent cartoon ?
[ "select", "production_code", ",", "channel", "from", "cartoon", "order", "by", "original_air_date", "desc", "limit", "1" ]
[ "select", "production_code", ",", "channel", "from", "cartoon", "order", "by", "original_air_date", "desc", "limit", "value" ]
[ "What", "is", "the", "produdction", "code", "and", "channel", "of", "the", "most", "recent", "cartoon", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = "yes"
Find the package choice and series name of the TV channel that has high definition TV.
[ "SELECT", "package_option", ",", "series_name", "FROM", "TV_Channel", "WHERE", "hight_definition_TV", "=", "``", "yes", "''" ]
[ "select", "package_option", ",", "series_name", "from", "tv_channel", "where", "hight_definition_tv", "=", "value" ]
[ "Find", "the", "package", "choice", "and", "series", "name", "of", "the", "TV", "channel", "that", "has", "high", "definition", "TV", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = "yes"
What are the package options and the name of the series for the TV Channel that supports high definition TV?
[ "SELECT", "package_option", ",", "series_name", "FROM", "TV_Channel", "WHERE", "hight_definition_TV", "=", "``", "yes", "''" ]
[ "select", "package_option", ",", "series_name", "from", "tv_channel", "where", "hight_definition_tv", "=", "value" ]
[ "What", "are", "the", "package", "options", "and", "the", "name", "of", "the", "series", "for", "the", "TV", "Channel", "that", "supports", "high", "definition", "TV", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'
which countries' tv channels are playing some cartoon written by Todd Casey?
[ "SELECT", "T1.country", "FROM", "TV_Channel", "AS", "T1", "JOIN", "cartoon", "AS", "T2", "ON", "T1.id", "=", "T2.Channel", "WHERE", "T2.written_by", "=", "'Todd", "Casey", "'" ]
[ "select", "t1", ".", "country", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "written_by", "=", "value" ]
[ "which", "countries", "'", "tv", "channels", "are", "playing", "some", "cartoon", "written", "by", "Todd", "Casey", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'
What are the countries that have cartoons on TV that were written by Todd Casey?
[ "SELECT", "T1.country", "FROM", "TV_Channel", "AS", "T1", "JOIN", "cartoon", "AS", "T2", "ON", "T1.id", "=", "T2.Channel", "WHERE", "T2.written_by", "=", "'Todd", "Casey", "'" ]
[ "select", "t1", ".", "country", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "written_by", "=", "value" ]
[ "What", "are", "the", "countries", "that", "have", "cartoons", "on", "TV", "that", "were", "written", "by", "Todd", "Casey", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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'
which countries' tv channels are not playing any cartoon written by Todd Casey?
[ "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", "'" ]
[ "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", "=", "value" ]
[ "which", "countries", "'", "tv", "channels", "are", "not", "playing", "any", "cartoon", "written", "by", "Todd", "Casey", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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'
What are the countries that are not playing cartoons written by Todd Casey?
[ "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", "'" ]
[ "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", "=", "value" ]
[ "What", "are", "the", "countries", "that", "are", "not", "playing", "cartoons", "written", "by", "Todd", "Casey", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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'
Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?
[ "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", ...
[ "select", "t1", ".", "series_name", ",", "t1", ".", "country", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "directed_by", "=", "value", "intersect", "select", "t...
[ "Find", "the", "series", "name", "and", "country", "of", "the", "tv", "channel", "that", "is", "playing", "some", "cartoons", "directed", "by", "Ben", "Jones", "and", "Michael", "Chang", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
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'
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?
[ "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", ...
[ "select", "t1", ".", "series_name", ",", "t1", ".", "country", "from", "tv_channel", "as", "t1", "join", "cartoon", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "channel", "where", "t2", ".", "directed_by", "=", "value", "intersect", "select", "t...
[ "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", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'
find the pixel aspect ratio and nation of the tv channels that do not use English.
[ "SELECT", "Pixel_aspect_ratio_PAR", ",", "country", "FROM", "tv_channel", "WHERE", "LANGUAGE", "!", "=", "'English", "'" ]
[ "select", "pixel_aspect_ratio_par", ",", "country", "from", "tv_channel", "where", "language", "!", "=", "value" ]
[ "find", "the", "pixel", "aspect", "ratio", "and", "nation", "of", "the", "tv", "channels", "that", "do", "not", "use", "English", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'
What is the pixel aspect ratio and country of origin for all TV channels that do not use English?
[ "SELECT", "Pixel_aspect_ratio_PAR", ",", "country", "FROM", "tv_channel", "WHERE", "LANGUAGE", "!", "=", "'English", "'" ]
[ "select", "pixel_aspect_ratio_par", ",", "country", "from", "tv_channel", "where", "language", "!", "=", "value" ]
[ "What", "is", "the", "pixel", "aspect", "ratio", "and", "country", "of", "origin", "for", "all", "TV", "channels", "that", "do", "not", "use", "English", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2
find id of the tv channels that from the countries where have more than two tv channels.
[ "SELECT", "id", "FROM", "tv_channel", "GROUP", "BY", "country", "HAVING", "count", "(", "*", ")", ">", "2" ]
[ "select", "id", "from", "tv_channel", "group", "by", "country", "having", "count", "(", "*", ")", ">", "value" ]
[ "find", "id", "of", "the", "tv", "channels", "that", "from", "the", "countries", "where", "have", "more", "than", "two", "tv", "channels", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2
What are the ids of all tv channels that have more than 2 TV channels?
[ "SELECT", "id", "FROM", "tv_channel", "GROUP", "BY", "country", "HAVING", "count", "(", "*", ")", ">", "2" ]
[ "select", "id", "from", "tv_channel", "group", "by", "country", "having", "count", "(", "*", ")", ">", "value" ]
[ "What", "are", "the", "ids", "of", "all", "tv", "channels", "that", "have", "more", "than", "2", "TV", "channels", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'
find the id of tv channels that do not play any cartoon directed by Ben Jones.
[ "SELECT", "id", "FROM", "TV_Channel", "EXCEPT", "SELECT", "channel", "FROM", "cartoon", "WHERE", "directed_by", "=", "'Ben", "Jones", "'" ]
[ "select", "id", "from", "tv_channel", "except", "select", "channel", "from", "cartoon", "where", "directed_by", "=", "value" ]
[ "find", "the", "id", "of", "tv", "channels", "that", "do", "not", "play", "any", "cartoon", "directed", "by", "Ben", "Jones", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'
What are the ids of the TV channels that do not have any cartoons directed by Ben Jones?
[ "SELECT", "id", "FROM", "TV_Channel", "EXCEPT", "SELECT", "channel", "FROM", "cartoon", "WHERE", "directed_by", "=", "'Ben", "Jones", "'" ]
[ "select", "id", "from", "tv_channel", "except", "select", "channel", "from", "cartoon", "where", "directed_by", "=", "value" ]
[ "What", "are", "the", "ids", "of", "the", "TV", "channels", "that", "do", "not", "have", "any", "cartoons", "directed", "by", "Ben", "Jones", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')
find the package option of the tv channel that do not have any cartoon directed by Ben Jones.
[ "SELECT", "package_option", "FROM", "TV_Channel", "WHERE", "id", "NOT", "IN", "(", "SELECT", "channel", "FROM", "cartoon", "WHERE", "directed_by", "=", "'Ben", "Jones", "'", ")" ]
[ "select", "package_option", "from", "tv_channel", "where", "id", "not", "in", "(", "select", "channel", "from", "cartoon", "where", "directed_by", "=", "value", ")" ]
[ "find", "the", "package", "option", "of", "the", "tv", "channel", "that", "do", "not", "have", "any", "cartoon", "directed", "by", "Ben", "Jones", "." ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
tvshow
SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')
What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?
[ "SELECT", "package_option", "FROM", "TV_Channel", "WHERE", "id", "NOT", "IN", "(", "SELECT", "channel", "FROM", "cartoon", "WHERE", "directed_by", "=", "'Ben", "Jones", "'", ")" ]
[ "select", "package_option", "from", "tv_channel", "where", "id", "not", "in", "(", "select", "channel", "from", "cartoon", "where", "directed_by", "=", "value", ")" ]
[ "What", "are", "the", "package", "options", "of", "all", "tv", "channels", "that", "are", "not", "playing", "any", "cartoons", "directed", "by", "Ben", "Jones", "?" ]
CREATE TABLE TV_Channel ( id TEXT PRIMARY KEY, series_name TEXT, Country TEXT, Language TEXT, Content TEXT, Pixel_aspect_ratio_PAR TEXT, Hight_definition_TV TEXT, Pay_per_view_PPV TEXT, Package_Option TEXT ); CREATE TABLE TV_series ( id NUMBER PRIMARY KEY, Episode TEXT, Air_Date TEXT, Rating ...
poker_player
SELECT count(*) FROM poker_player
How many poker players are there?
[ "SELECT", "count", "(", "*", ")", "FROM", "poker_player" ]
[ "select", "count", "(", "*", ")", "from", "poker_player" ]
[ "How", "many", "poker", "players", "are", "there", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT count(*) FROM poker_player
Count the number of poker players.
[ "SELECT", "count", "(", "*", ")", "FROM", "poker_player" ]
[ "select", "count", "(", "*", ")", "from", "poker_player" ]
[ "Count", "the", "number", "of", "poker", "players", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Earnings FROM poker_player ORDER BY Earnings DESC
List the earnings of poker players in descending order.
[ "SELECT", "Earnings", "FROM", "poker_player", "ORDER", "BY", "Earnings", "DESC" ]
[ "select", "earnings", "from", "poker_player", "order", "by", "earnings", "desc" ]
[ "List", "the", "earnings", "of", "poker", "players", "in", "descending", "order", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Earnings FROM poker_player ORDER BY Earnings DESC
What are the earnings of poker players, ordered descending by value?
[ "SELECT", "Earnings", "FROM", "poker_player", "ORDER", "BY", "Earnings", "DESC" ]
[ "select", "earnings", "from", "poker_player", "order", "by", "earnings", "desc" ]
[ "What", "are", "the", "earnings", "of", "poker", "players", ",", "ordered", "descending", "by", "value", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Final_Table_Made , Best_Finish FROM poker_player
List the final tables made and the best finishes of poker players.
[ "SELECT", "Final_Table_Made", ",", "Best_Finish", "FROM", "poker_player" ]
[ "select", "final_table_made", ",", "best_finish", "from", "poker_player" ]
[ "List", "the", "final", "tables", "made", "and", "the", "best", "finishes", "of", "poker", "players", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Final_Table_Made , Best_Finish FROM poker_player
What are the final tables made and best finishes for all poker players?
[ "SELECT", "Final_Table_Made", ",", "Best_Finish", "FROM", "poker_player" ]
[ "select", "final_table_made", ",", "best_finish", "from", "poker_player" ]
[ "What", "are", "the", "final", "tables", "made", "and", "best", "finishes", "for", "all", "poker", "players", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT avg(Earnings) FROM poker_player
What is the average earnings of poker players?
[ "SELECT", "avg", "(", "Earnings", ")", "FROM", "poker_player" ]
[ "select", "avg", "(", "earnings", ")", "from", "poker_player" ]
[ "What", "is", "the", "average", "earnings", "of", "poker", "players", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT avg(Earnings) FROM poker_player
Return the average earnings across all poker players.
[ "SELECT", "avg", "(", "Earnings", ")", "FROM", "poker_player" ]
[ "select", "avg", "(", "earnings", ")", "from", "poker_player" ]
[ "Return", "the", "average", "earnings", "across", "all", "poker", "players", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1
What is the money rank of the poker player with the highest earnings?
[ "SELECT", "Money_Rank", "FROM", "poker_player", "ORDER", "BY", "Earnings", "DESC", "LIMIT", "1" ]
[ "select", "money_rank", "from", "poker_player", "order", "by", "earnings", "desc", "limit", "value" ]
[ "What", "is", "the", "money", "rank", "of", "the", "poker", "player", "with", "the", "highest", "earnings", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1
Return the money rank of the player with the greatest earnings.
[ "SELECT", "Money_Rank", "FROM", "poker_player", "ORDER", "BY", "Earnings", "DESC", "LIMIT", "1" ]
[ "select", "money_rank", "from", "poker_player", "order", "by", "earnings", "desc", "limit", "value" ]
[ "Return", "the", "money", "rank", "of", "the", "player", "with", "the", "greatest", "earnings", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000
What is the maximum number of final tables made among poker players with earnings less than 200000?
[ "SELECT", "max", "(", "Final_Table_Made", ")", "FROM", "poker_player", "WHERE", "Earnings", "<", "200000" ]
[ "select", "max", "(", "final_table_made", ")", "from", "poker_player", "where", "earnings", "<", "value" ]
[ "What", "is", "the", "maximum", "number", "of", "final", "tables", "made", "among", "poker", "players", "with", "earnings", "less", "than", "200000", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000
Return the maximum final tables made across all poker players who have earnings below 200000.
[ "SELECT", "max", "(", "Final_Table_Made", ")", "FROM", "poker_player", "WHERE", "Earnings", "<", "200000" ]
[ "select", "max", "(", "final_table_made", ")", "from", "poker_player", "where", "earnings", "<", "value" ]
[ "Return", "the", "maximum", "final", "tables", "made", "across", "all", "poker", "players", "who", "have", "earnings", "below", "200000", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID
What are the names of poker players?
[ "SELECT", "T1.Name", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID" ]
[ "select", "t1", ".", "name", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id" ]
[ "What", "are", "the", "names", "of", "poker", "players", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID
Return the names of all the poker players.
[ "SELECT", "T1.Name", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID" ]
[ "select", "t1", ".", "name", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id" ]
[ "Return", "the", "names", "of", "all", "the", "poker", "players", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
What are the names of poker players whose earnings is higher than 300000?
[ "SELECT", "T1.Name", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID", "WHERE", "T2.Earnings", ">", "300000" ]
[ "select", "t1", ".", "name", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "where", "t2", ".", "earnings", ">", "value" ]
[ "What", "are", "the", "names", "of", "poker", "players", "whose", "earnings", "is", "higher", "than", "300000", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
Give the names of poker players who have earnings above 300000.
[ "SELECT", "T1.Name", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID", "WHERE", "T2.Earnings", ">", "300000" ]
[ "select", "t1", ".", "name", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "where", "t2", ".", "earnings", ">", "value" ]
[ "Give", "the", "names", "of", "poker", "players", "who", "have", "earnings", "above", "300000", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
List the names of poker players ordered by the final tables made in ascending order.
[ "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" ]
[ "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" ]
[ "List", "the", "names", "of", "poker", "players", "ordered", "by", "the", "final", "tables", "made", "in", "ascending", "order", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
What are the names of poker players, ordered ascending by the number of final tables they have made?
[ "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" ]
[ "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" ]
[ "What", "are", "the", "names", "of", "poker", "players", ",", "ordered", "ascending", "by", "the", "number", "of", "final", "tables", "they", "have", "made", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
What is the birth date of the poker player with the lowest earnings?
[ "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" ]
[ "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", "value" ]
[ "What", "is", "the", "birth", "date", "of", "the", "poker", "player", "with", "the", "lowest", "earnings", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
Return the birth date of the poker player with the lowest earnings.
[ "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" ]
[ "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", "value" ]
[ "Return", "the", "birth", "date", "of", "the", "poker", "player", "with", "the", "lowest", "earnings", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
What is the money rank of the tallest 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" ]
[ "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", "value" ]
[ "What", "is", "the", "money", "rank", "of", "the", "tallest", "poker", "player", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
Return the money rank of the poker player with the greatest height.
[ "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" ]
[ "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", "value" ]
[ "Return", "the", "money", "rank", "of", "the", "poker", "player", "with", "the", "greatest", "height", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
What is the average earnings of poker players with height higher than 200?
[ "SELECT", "avg", "(", "T2.Earnings", ")", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID", "WHERE", "T1.Height", ">", "200" ]
[ "select", "avg", "(", "t2", ".", "earnings", ")", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "where", "t1", ".", "height", ">", "value" ]
[ "What", "is", "the", "average", "earnings", "of", "poker", "players", "with", "height", "higher", "than", "200", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
Give average earnings of poker players who are taller than 200.
[ "SELECT", "avg", "(", "T2.Earnings", ")", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID", "WHERE", "T1.Height", ">", "200" ]
[ "select", "avg", "(", "t2", ".", "earnings", ")", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "where", "t1", ".", "height", ">", "value" ]
[ "Give", "average", "earnings", "of", "poker", "players", "who", "are", "taller", "than", "200", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
What are the names of poker players in descending order of earnings?
[ "SELECT", "T1.Name", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID", "ORDER", "BY", "T2.Earnings", "DESC" ]
[ "select", "t1", ".", "name", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "order", "by", "t2", ".", "earnings", "desc" ]
[ "What", "are", "the", "names", "of", "poker", "players", "in", "descending", "order", "of", "earnings", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
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
Return the names of poker players sorted by their earnings descending.
[ "SELECT", "T1.Name", "FROM", "people", "AS", "T1", "JOIN", "poker_player", "AS", "T2", "ON", "T1.People_ID", "=", "T2.People_ID", "ORDER", "BY", "T2.Earnings", "DESC" ]
[ "select", "t1", ".", "name", "from", "people", "as", "t1", "join", "poker_player", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "order", "by", "t2", ".", "earnings", "desc" ]
[ "Return", "the", "names", "of", "poker", "players", "sorted", "by", "their", "earnings", "descending", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality
What are different nationalities of people and the corresponding number of people from each nation?
[ "SELECT", "Nationality", ",", "COUNT", "(", "*", ")", "FROM", "people", "GROUP", "BY", "Nationality" ]
[ "select", "nationality", ",", "count", "(", "*", ")", "from", "people", "group", "by", "nationality" ]
[ "What", "are", "different", "nationalities", "of", "people", "and", "the", "corresponding", "number", "of", "people", "from", "each", "nation", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality
How many people are there of each nationality?
[ "SELECT", "Nationality", ",", "COUNT", "(", "*", ")", "FROM", "people", "GROUP", "BY", "Nationality" ]
[ "select", "nationality", ",", "count", "(", "*", ")", "from", "people", "group", "by", "nationality" ]
[ "How", "many", "people", "are", "there", "of", "each", "nationality", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1
What is the most common nationality of people?
[ "SELECT", "Nationality", "FROM", "people", "GROUP", "BY", "Nationality", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ]
[ "select", "nationality", "from", "people", "group", "by", "nationality", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ]
[ "What", "is", "the", "most", "common", "nationality", "of", "people", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1
Give the nationality that is most common across all people.
[ "SELECT", "Nationality", "FROM", "people", "GROUP", "BY", "Nationality", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ]
[ "select", "nationality", "from", "people", "group", "by", "nationality", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ]
[ "Give", "the", "nationality", "that", "is", "most", "common", "across", "all", "people", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2
What are the nationalities that are shared by at least two people?
[ "SELECT", "Nationality", "FROM", "people", "GROUP", "BY", "Nationality", "HAVING", "COUNT", "(", "*", ")", ">", "=", "2" ]
[ "select", "nationality", "from", "people", "group", "by", "nationality", "having", "count", "(", "*", ")", ">", "=", "value" ]
[ "What", "are", "the", "nationalities", "that", "are", "shared", "by", "at", "least", "two", "people", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2
Return the nationalities for which there are two or more people.
[ "SELECT", "Nationality", "FROM", "people", "GROUP", "BY", "Nationality", "HAVING", "COUNT", "(", "*", ")", ">", "=", "2" ]
[ "select", "nationality", "from", "people", "group", "by", "nationality", "having", "count", "(", "*", ")", ">", "=", "value" ]
[ "Return", "the", "nationalities", "for", "which", "there", "are", "two", "or", "more", "people", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Name , Birth_Date FROM people ORDER BY Name ASC
List the names and birth dates of people in ascending alphabetical order of name.
[ "SELECT", "Name", ",", "Birth_Date", "FROM", "people", "ORDER", "BY", "Name", "ASC" ]
[ "select", "name", ",", "birth_date", "from", "people", "order", "by", "name", "asc" ]
[ "List", "the", "names", "and", "birth", "dates", "of", "people", "in", "ascending", "alphabetical", "order", "of", "name", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Name , Birth_Date FROM people ORDER BY Name ASC
What are the names and birth dates of people, ordered by their names in alphabetical order?
[ "SELECT", "Name", ",", "Birth_Date", "FROM", "people", "ORDER", "BY", "Name", "ASC" ]
[ "select", "name", ",", "birth_date", "from", "people", "order", "by", "name", "asc" ]
[ "What", "are", "the", "names", "and", "birth", "dates", "of", "people", ",", "ordered", "by", "their", "names", "in", "alphabetical", "order", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Name FROM people WHERE Nationality != "Russia"
Show names of people whose nationality is not "Russia".
[ "SELECT", "Name", "FROM", "people", "WHERE", "Nationality", "!", "=", "``", "Russia", "''" ]
[ "select", "name", "from", "people", "where", "nationality", "!", "=", "value" ]
[ "Show", "names", "of", "people", "whose", "nationality", "is", "not", "``", "Russia", "''", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Name FROM people WHERE Nationality != "Russia"
What are the names of people who are not from Russia?
[ "SELECT", "Name", "FROM", "people", "WHERE", "Nationality", "!", "=", "``", "Russia", "''" ]
[ "select", "name", "from", "people", "where", "nationality", "!", "=", "value" ]
[ "What", "are", "the", "names", "of", "people", "who", "are", "not", "from", "Russia", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)
List the names of people that are not poker players.
[ "SELECT", "Name", "FROM", "people", "WHERE", "People_ID", "NOT", "IN", "(", "SELECT", "People_ID", "FROM", "poker_player", ")" ]
[ "select", "name", "from", "people", "where", "people_id", "not", "in", "(", "select", "people_id", "from", "poker_player", ")" ]
[ "List", "the", "names", "of", "people", "that", "are", "not", "poker", "players", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)
What are the names of people who do not play poker?
[ "SELECT", "Name", "FROM", "people", "WHERE", "People_ID", "NOT", "IN", "(", "SELECT", "People_ID", "FROM", "poker_player", ")" ]
[ "select", "name", "from", "people", "where", "people_id", "not", "in", "(", "select", "people_id", "from", "poker_player", ")" ]
[ "What", "are", "the", "names", "of", "people", "who", "do", "not", "play", "poker", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT count(DISTINCT Nationality) FROM people
How many distinct nationalities are there?
[ "SELECT", "count", "(", "DISTINCT", "Nationality", ")", "FROM", "people" ]
[ "select", "count", "(", "distinct", "nationality", ")", "from", "people" ]
[ "How", "many", "distinct", "nationalities", "are", "there", "?" ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
poker_player
SELECT count(DISTINCT Nationality) FROM people
Count the number of different nationalities.
[ "SELECT", "count", "(", "DISTINCT", "Nationality", ")", "FROM", "people" ]
[ "select", "count", "(", "distinct", "nationality", ")", "from", "people" ]
[ "Count", "the", "number", "of", "different", "nationalities", "." ]
CREATE TABLE poker_player ( Poker_Player_ID NUMBER PRIMARY KEY, People_ID NUMBER, Final_Table_Made NUMBER, Best_Finish NUMBER, Money_Rank NUMBER, Earnings NUMBER, FOREIGN KEY (People_ID) REFERENCES people(People_ID) ); CREATE TABLE people ( People_ID NUMBER PRIMARY KEY, Nationality TEXT, Name TEXT,...
voter_1
SELECT count(*) FROM area_code_state
How many states are there?
[ "SELECT", "count", "(", "*", ")", "FROM", "area_code_state" ]
[ "select", "count", "(", "*", ")", "from", "area_code_state" ]
[ "How", "many", "states", "are", "there", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT contestant_number , contestant_name FROM contestants ORDER BY contestant_name DESC
List the contestant numbers and names, ordered by contestant name descending.
[ "SELECT", "contestant_number", ",", "contestant_name", "FROM", "contestants", "ORDER", "BY", "contestant_name", "DESC" ]
[ "select", "contestant_number", ",", "contestant_name", "from", "contestants", "order", "by", "contestant_name", "desc" ]
[ "List", "the", "contestant", "numbers", "and", "names", ",", "ordered", "by", "contestant", "name", "descending", "." ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT vote_id , phone_number , state FROM votes
List the vote ids, phone numbers and states of all votes.
[ "SELECT", "vote_id", ",", "phone_number", ",", "state", "FROM", "votes" ]
[ "select", "vote_id", ",", "phone_number", ",", "state", "from", "votes" ]
[ "List", "the", "vote", "ids", ",", "phone", "numbers", "and", "states", "of", "all", "votes", "." ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT max(area_code) , min(area_code) FROM area_code_state
What are the maximum and minimum values of area codes?
[ "SELECT", "max", "(", "area_code", ")", ",", "min", "(", "area_code", ")", "FROM", "area_code_state" ]
[ "select", "max", "(", "area_code", ")", ",", "min", "(", "area_code", ")", "from", "area_code_state" ]
[ "What", "are", "the", "maximum", "and", "minimum", "values", "of", "area", "codes", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT max(created) FROM votes WHERE state = 'CA'
What is last date created of votes from the state 'CA'?
[ "SELECT", "max", "(", "created", ")", "FROM", "votes", "WHERE", "state", "=", "'CA", "'" ]
[ "select", "max", "(", "created", ")", "from", "votes", "where", "state", "=", "value" ]
[ "What", "is", "last", "date", "created", "of", "votes", "from", "the", "state", "'CA", "'", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'
What are the names of the contestants whose names are not 'Jessie Alloway'
[ "SELECT", "contestant_name", "FROM", "contestants", "WHERE", "contestant_name", "!", "=", "'Jessie", "Alloway", "'" ]
[ "select", "contestant_name", "from", "contestants", "where", "contestant_name", "!", "=", "value" ]
[ "What", "are", "the", "names", "of", "the", "contestants", "whose", "names", "are", "not", "'Jessie", "Alloway", "'" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT DISTINCT state , created FROM votes
What are the distinct states and create time of all votes?
[ "SELECT", "DISTINCT", "state", ",", "created", "FROM", "votes" ]
[ "select", "distinct", "state", ",", "created", "from", "votes" ]
[ "What", "are", "the", "distinct", "states", "and", "create", "time", "of", "all", "votes", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
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
What are the contestant numbers and names of the contestants who had at least two votes?
[ "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", "(", "*", ")", ">", "=",...
[ "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...
[ "What", "are", "the", "contestant", "numbers", "and", "names", "of", "the", "contestants", "who", "had", "at", "least", "two", "votes", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
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
Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?
[ "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...
[ "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...
[ "Of", "all", "the", "contestants", "who", "got", "voted", ",", "what", "is", "the", "contestant", "number", "and", "name", "of", "the", "contestant", "who", "got", "least", "votes", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT count(*) FROM votes WHERE state = 'NY' OR state = 'CA'
What are the number of votes from state 'NY' or 'CA'?
[ "SELECT", "count", "(", "*", ")", "FROM", "votes", "WHERE", "state", "=", "'NY", "'", "OR", "state", "=", "'CA", "'" ]
[ "select", "count", "(", "*", ")", "from", "votes", "where", "state", "=", "value", "or", "state", "=", "value" ]
[ "What", "are", "the", "number", "of", "votes", "from", "state", "'NY", "'", "or", "'CA", "'", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
voter_1
SELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes )
How many contestants did not get voted?
[ "SELECT", "count", "(", "*", ")", "FROM", "contestants", "WHERE", "contestant_number", "NOT", "IN", "(", "SELECT", "contestant_number", "FROM", "votes", ")" ]
[ "select", "count", "(", "*", ")", "from", "contestants", "where", "contestant_number", "not", "in", "(", "select", "contestant_number", "from", "votes", ")" ]
[ "How", "many", "contestants", "did", "not", "get", "voted", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
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
What is the area code in which the most voters voted?
[ "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" ]
[ "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", "v...
[ "What", "is", "the", "area", "code", "in", "which", "the", "most", "voters", "voted", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...
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'
What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?
[ "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", "'" ]
[ "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", ".", "conte...
[ "What", "are", "the", "create", "dates", ",", "states", ",", "and", "phone", "numbers", "of", "the", "votes", "that", "were", "for", "the", "contestant", "named", "'Tabatha", "Gehling", "'", "?" ]
CREATE TABLE AREA_CODE_STATE ( area_code NUMBER PRIMARY KEY, state TEXT ); CREATE TABLE CONTESTANTS ( contestant_number NUMBER PRIMARY KEY, contestant_name TEXT ); CREATE TABLE VOTES ( vote_id NUMBER PRIMARY KEY, phone_number NUMBER, state TEXT, contestant_number NUMBER, created TIME, FOREIGN KEY ...