db_id
stringclasses
20 values
prompt
stringlengths
424
2.17k
ground_truth
stringlengths
27
254
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the content of the series Sky Radio? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Content from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the Package Option of TV Channel with serial name "Sky Radio"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Package_Option from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the Package Options of the TV Channels whose series names are Sky Radio? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Package_Option from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many TV Channel using language English? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select count ( tv_channel.* ) from tv_channel where tv_channel.Language = "English"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many TV Channels use the English language? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select count ( tv_channel.* ) from tv_channel where tv_channel.Language = "English"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the language used least number of TV Channel. List language and number of TV Channel. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Language , count ( tv_channel.* ) from tv_channel group by tv_channel.Language order by count ( tv_channel.* ) asc limit 1
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the languages used by the least number of TV Channels and how many channels use it? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Language , count ( tv_channel.* ) from tv_channel group by tv_channel.Language order by count ( tv_channel.* ) asc limit 1
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List each language and the number of TV Channels using it. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Language , count ( tv_channel.* ) from tv_channel group by tv_channel.Language
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: For each language, list the number of TV Channels that use it. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Language , count ( tv_channel.* ) from tv_channel group by tv_channel.Language
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.series_name from tv_channel where cartoon.Title = "The Rise of the Blue Beetle!"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the series name of the TV Channel that shows the cartoon "The Rise of the Blue Beetle"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.series_name from tv_channel where cartoon.Title = "The Rise of the Blue Beetle!"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the title of all Cartoons showed on TV Channel with series name "Sky Radio". | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select cartoon.Title from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the title of all the cartools that are on the TV Channel with the series name "Sky Radio"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select cartoon.Title from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the Episode of all TV series sorted by rating. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Episode from tv_series order by tv_series.Rating asc
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are all of the episodes ordered by ratings? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Episode from tv_series order by tv_series.Rating asc
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List top 3 highest Rating TV series. List the TV series's Episode and Rating. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Episode , tv_series.Rating from tv_series order by tv_series.Rating desc limit 3
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are 3 most highly rated episodes in the TV series table and what were those ratings? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Episode , tv_series.Rating from tv_series order by tv_series.Rating desc limit 3
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is minimum and maximum share of TV series? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select max ( tv_series.Share ) , min ( tv_series.Share ) from tv_series
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the maximum and minimum share for the TV series? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select max ( tv_series.Share ) , min ( tv_series.Share ) from tv_series
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the air date of TV series with Episode "A Love of a Lifetime"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Air_Date from tv_series where tv_series.Episode = "A Love of a Lifetime"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: When did the episode "A Love of a Lifetime" air? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Air_Date from tv_series where tv_series.Episode = "A Love of a Lifetime"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is Weekly Rank of TV series with Episode "A Love of a Lifetime"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Weekly_Rank from tv_series where tv_series.Episode = "A Love of a Lifetime"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the weekly rank for the episode "A Love of a Lifetime"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Weekly_Rank from tv_series where tv_series.Episode = "A Love of a Lifetime"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the TV Channel of TV series with Episode "A Love of a Lifetime"? List the TV Channel's series name. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.series_name from tv_channel where tv_series.Episode = "A Love of a Lifetime"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the name of the series that has the episode "A Love of a Lifetime"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.series_name from tv_channel where tv_series.Episode = "A Love of a Lifetime"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the Episode of all TV series showed on TV Channel with series name "Sky Radio". | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Episode from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the episode for the TV series named "Sky Radio"? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_series.Episode from tv_channel where tv_channel.series_name = "Sky Radio"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Find the number of cartoons directed by each of the listed directors. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select count ( cartoon.* ) , cartoon.Directed_by from cartoon group by cartoon.Directed_by
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many cartoons did each director create? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select count ( cartoon.* ) , cartoon.Directed_by from cartoon group by cartoon.Directed_by
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Find the production code and channel of the most recently aired cartoon . | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select cartoon.Production_code , cartoon.Channel from cartoon order by cartoon.Original_air_date desc limit 1
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the produdction code and channel of the most recent cartoon ? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select cartoon.Production_code , cartoon.Channel from cartoon order by cartoon.Original_air_date desc limit 1
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Find the package choice and series name of the TV channel that has high definition TV. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Package_Option , tv_channel.series_name from tv_channel where tv_channel.Hight_definition_TV = "yes"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the package options and the name of the series for the TV Channel that supports high definition TV? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Package_Option , tv_channel.series_name from tv_channel where tv_channel.Hight_definition_TV = "yes"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: which countries' tv channels are playing some cartoon written by Todd Casey? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Country from tv_channel where cartoon.Written_by = "Todd Casey"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the countries that have cartoons on TV that were written by Todd Casey? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Country from tv_channel where cartoon.Written_by = "Todd Casey"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: which countries' tv channels are not playing any cartoon written by Todd Casey? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Country from tv_channel where except_ @.@ is cartoon.* and cartoon.Written_by = "Todd Casey"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the countries that are not playing cartoons written by Todd Casey? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Country from tv_channel where except_ @.@ is cartoon.* and cartoon.Written_by = "Todd Casey"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.series_name , tv_channel.Country from tv_channel where cartoon.Directed_by = "Michael Chang" and cartoon.Directed_by = "Ben Jones"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: 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? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.series_name , tv_channel.Country from tv_channel where cartoon.Directed_by = "Michael Chang" and cartoon.Directed_by = "Ben Jones"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: find the pixel aspect ratio and nation of the tv channels that do not use English. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Pixel_aspect_ratio_PAR , tv_channel.Country from tv_channel where tv_channel.Language != "English"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the pixel aspect ratio and country of origin for all TV channels that do not use English? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Pixel_aspect_ratio_PAR , tv_channel.Country from tv_channel where tv_channel.Language != "English"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: find id of the tv channels that from the countries where have more than two tv channels. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.id from tv_channel where count ( tv_channel.* ) > 2 group by tv_channel.Country
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the ids of all tv channels that have more than 2 TV channels? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.id from tv_channel where count ( tv_channel.* ) > 2 group by tv_channel.Country
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: find the id of tv channels that do not play any cartoon directed by Ben Jones. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.id from tv_channel where except_ @.@ is cartoon.* and cartoon.Directed_by = "Ben Jones"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the ids of the TV channels that do not have any cartoons directed by Ben Jones? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.id from tv_channel where except_ @.@ is cartoon.* and cartoon.Directed_by = "Ben Jones"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: find the package option of the tv channel that do not have any cartoon directed by Ben Jones. | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Package_Option from tv_channel where @.@ not in cartoon.* and cartoon.Directed_by = "Ben Jones"
tvshow
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones? | tv_channel : id , series_name , country , language , content , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , package_option | tv_series : id , episode , air_date , rating , share , 18_49_rating_share , viewers_m , weekly_rank , channel | cartoon : id , title , directed_by , written_by , original_air_date , production_code , channel | tv_series.channel = tv_channel.id | cartoon.channel = tv_channel.id | ### Response:
select tv_channel.Package_Option from tv_channel where @.@ not in cartoon.* and cartoon.Directed_by = "Ben Jones"
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many poker players are there? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select count ( poker_player.* ) from poker_player
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Count the number of poker players. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select count ( poker_player.* ) from poker_player
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the earnings of poker players in descending order. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Earnings from poker_player order by poker_player.Earnings desc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the earnings of poker players, ordered descending by value? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Earnings from poker_player order by poker_player.Earnings desc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the final tables made and the best finishes of poker players. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Final_Table_Made , poker_player.Best_Finish from poker_player
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the final tables made and best finishes for all poker players? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Final_Table_Made , poker_player.Best_Finish from poker_player
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the average earnings of poker players? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select avg ( poker_player.Earnings ) from poker_player
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the average earnings across all poker players. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select avg ( poker_player.Earnings ) from poker_player
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the money rank of the poker player with the highest earnings? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Money_Rank from poker_player order by poker_player.Earnings desc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the money rank of the player with the greatest earnings. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Money_Rank from poker_player order by poker_player.Earnings desc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the maximum number of final tables made among poker players with earnings less than 200000? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select max ( poker_player.Final_Table_Made ) from poker_player where poker_player.Earnings < 200000
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the maximum final tables made across all poker players who have earnings below 200000. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select max ( poker_player.Final_Table_Made ) from poker_player where poker_player.Earnings < 200000
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of poker players? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player where @.@ join poker_player.*
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the names of all the poker players. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player where @.@ join poker_player.*
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of poker players whose earnings is higher than 300000? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player where poker_player.Earnings > 300000
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Give the names of poker players who have earnings above 300000. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player where poker_player.Earnings > 300000
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the names of poker players ordered by the final tables made in ascending order. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player order by poker_player.Final_Table_Made asc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of poker players, ordered ascending by the number of final tables they have made? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player order by poker_player.Final_Table_Made asc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the birth date of the poker player with the lowest earnings? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Birth_Date from poker_player order by poker_player.Earnings asc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the birth date of the poker player with the lowest earnings. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Birth_Date from poker_player order by poker_player.Earnings asc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the money rank of the tallest poker player? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Money_Rank from poker_player order by people.Height desc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the money rank of the poker player with the greatest height. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select poker_player.Money_Rank from poker_player order by people.Height desc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the average earnings of poker players with height higher than 200? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select avg ( poker_player.Earnings ) from poker_player where people.Height > 200
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Give average earnings of poker players who are taller than 200. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select avg ( poker_player.Earnings ) from poker_player where people.Height > 200
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of poker players in descending order of earnings? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player order by poker_player.Earnings desc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the names of poker players sorted by their earnings descending. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from poker_player order by poker_player.Earnings desc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are different nationalities of people and the corresponding number of people from each nation? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Nationality , count ( people.* ) from people group by people.Nationality
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many people are there of each nationality? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Nationality , count ( people.* ) from people group by people.Nationality
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the most common nationality of people? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Nationality from people group by people.Nationality order by count ( people.* ) desc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Give the nationality that is most common across all people. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Nationality from people group by people.Nationality order by count ( people.* ) desc limit 1
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the nationalities that are shared by at least two people? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Nationality from people where count ( people.* ) >= 2 group by people.Nationality
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Return the nationalities for which there are two or more people. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Nationality from people where count ( people.* ) >= 2 group by people.Nationality
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the names and birth dates of people in ascending alphabetical order of name. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name , people.Birth_Date from people order by people.Name asc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names and birth dates of people, ordered by their names in alphabetical order? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name , people.Birth_Date from people order by people.Name asc
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Show names of people whose nationality is not "Russia". | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from people where people.Nationality != "Russia"
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of people who are not from Russia? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from people where people.Nationality != "Russia"
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the names of people that are not poker players. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from people where @.@ not in poker_player.*
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of people who do not play poker? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select people.Name from people where @.@ not in poker_player.*
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many distinct nationalities are there? | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select count ( distinct people.Nationality ) from people
poker_player
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Count the number of different nationalities. | poker_player : poker_player_id , people_id , final_table_made , best_finish , money_rank , earnings | people : people_id , nationality , name , birth_date , height | poker_player.people_id = people.people_id | ### Response:
select count ( distinct people.Nationality ) from people
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many states are there? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select count ( area_code_state.* ) from area_code_state
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the contestant numbers and names, ordered by contestant name descending. | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select contestants.contestant_number , contestants.contestant_name from contestants order by contestants.contestant_name desc
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: List the vote ids, phone numbers and states of all votes. | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select votes.vote_id , votes.phone_number , votes.state from votes
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the maximum and minimum values of area codes? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select max ( area_code_state.area_code ) , min ( area_code_state.area_code ) from area_code_state
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is last date created of votes from the state 'CA'? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select max ( votes.created ) from votes where votes.state = "CA"
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the names of the contestants whose names are not 'Jessie Alloway' | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select contestants.contestant_name from contestants where contestants.contestant_name != "Jessie Alloway"
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the distinct states and create time of all votes? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select distinct votes.state , votes.created from votes
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the contestant numbers and names of the contestants who had at least two votes? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select contestants.contestant_number , contestants.contestant_name from contestants where count ( votes.* ) >= 2 group by contestants.contestant_number
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select contestants.contestant_number , contestants.contestant_name from contestants group by contestants.contestant_number order by count ( votes.* ) asc limit 1
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the number of votes from state 'NY' or 'CA'? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select count ( votes.* ) from votes where votes.state = "NY" or votes.state = "CA"
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: How many contestants did not get voted? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select count ( contestants.* ) from contestants where @.@ not in votes.*
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What is the area code in which the most voters voted? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select area_code_state.area_code from area_code_state group by area_code_state.area_code order by count ( votes.* ) desc limit 1
voter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to NatSQL: What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'? | area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : vote_id , phone_number , state , contestant_number , created | votes.contestant_number = contestants.contestant_number | votes.state = area_code_state.state | ### Response:
select votes.created , votes.state , votes.phone_number from contestants where contestants.contestant_name = "Tabatha Gehling"