text
stringlengths
776
20.1k
### Task Generate a SQL query to answer the following question: `How many Muslims live in Kerala?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id BIGINT,...
### Task Generate a SQL query to answer the following question: `How many people speak Hindi in Uttar Pradesh?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, langua...
### Task Generate a SQL query to answer the following question: `How does the Christian population compare between rural and urban Goa?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_st...
### Task Generate a SQL query to answer the following question: `Which three languages are spoken the most in Karnataka?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGI...
### Task Generate a SQL query to answer the following question: `Which religion has the highest literacy rate in India?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE education_stats (state BIGI...
### Task Generate a SQL query to answer the following question: `How many women in Tamil Nadu speak Tamil?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_i...
### Task Generate a SQL query to answer the following question: `How many Jains in Maharashtra are currently not working?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE education_stats (state BI...
### Task Generate a SQL query to answer the following question: `How many people in rural West Bengal speak Bengali?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, ...
### Task Generate a SQL query to answer the following question: `Who has a larger Sikh population: Punjab or Haryana?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT,...
### Task Generate a SQL query to answer the following question: `What is the literacy gap between Hindu men and women in India?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE education_stats (st...
### Task Generate a SQL query to answer the following question: `Which states have the largest populations? List them in order.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGIN...
### Task Generate a SQL query to answer the following question: `Which 5 states have the most people living in rural areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, ...
### Task Generate a SQL query to answer the following question: `Which 5 states have the most people living in urban areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, ...
### Task Generate a SQL query to answer the following question: `Which states have more women than men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT...
### Task Generate a SQL query to answer the following question: `Which states show the biggest difference in gender balance between their villages and cities?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); C...
### Task Generate a SQL query to answer the following question: `Which three age groups account for the most people in India?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT ...
### Task Generate a SQL query to answer the following question: `Can you break down the population by age, state, and whether they live in a city or village?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CR...
### Task Generate a SQL query to answer the following question: `Which state has the most young children (0-6) living in rural areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (c...
### Task Generate a SQL query to answer the following question: `What percentage of each state's total population is female?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT P...
### Task Generate a SQL query to answer the following question: `Which age group is the largest in the rural areas of each state?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop ...
### Task Generate a SQL query to answer the following question: `Which states have more people living in cities than in villages?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIG...
### Task Generate a SQL query to answer the following question: `Which states have a rural population that is larger than their urban population?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE l...
### Task Generate a SQL query to answer the following question: `Which state has the highest number of men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name ...
### Task Generate a SQL query to answer the following question: `Which state has the highest number of women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, nam...
### Task Generate a SQL query to answer the following question: `Which state has the largest gap between the number of men and women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id...
### Task Generate a SQL query to answer the following question: `Which states have a lot of young people but very few elderly people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id...
### Task Generate a SQL query to answer the following question: `Which states have a large elderly population?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, na...
### Task Generate a SQL query to answer the following question: `Which states have the biggest urban populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY,...
### Task Generate a SQL query to answer the following question: `Which states have the biggest rural populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY,...
### Task Generate a SQL query to answer the following question: `Which states have the most equal ratio of men to women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMA...
### Task Generate a SQL query to answer the following question: `Which states have the smallest populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name...
### Task Generate a SQL query to answer the following question: `Which states are more rural than urban?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id ...
### Task Generate a SQL query to answer the following question: `Which states are more urban than rural?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id ...
### Task Generate a SQL query to answer the following question: `In which states do rural women outnumber rural men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY K...
### Task Generate a SQL query to answer the following question: `In which states do urban women outnumber urban men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY K...
### Task Generate a SQL query to answer the following question: `Which states have the largest population of children (0-6)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT P...
### Task Generate a SQL query to answer the following question: `Which states have the smallest population of elderly people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT ...
### Task Generate a SQL query to answer the following question: `Which states have twice as many people living in villages as in cities?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages ...
### Task Generate a SQL query to answer the following question: `Which states have twice as many people living in cities as in villages?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages ...
### Task Generate a SQL query to answer the following question: `Which states have the smallest difference between the number of men and women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE lan...
### Task Generate a SQL query to answer the following question: `Which states have the fewest people living in rural areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, ...
### Task Generate a SQL query to answer the following question: `Which states have the fewest people living in urban areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, ...
### Task Generate a SQL query to answer the following question: `Which states have the most elderly people (60+)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY,...
### Task Generate a SQL query to answer the following question: `Which states have more elderly people than young children?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PR...
### Task Generate a SQL query to answer the following question: `In which states do men outnumber women in urban areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, norm...
### Task Generate a SQL query to answer the following question: `In which states do women outnumber men in rural areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, norm...
### Task Generate a SQL query to answer the following question: `Which states have three times as many city dwellers as villagers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BI...
### Task Generate a SQL query to answer the following question: `Which states have three times as many villagers as city dwellers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BI...
### Task Generate a SQL query to answer the following question: `Which states have the largest workforce (people not children or elderly)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE educatio...
### Task Generate a SQL query to answer the following question: `Which states have roughly the same number of people in rural and urban areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop...
### Task Generate a SQL query to answer the following question: `List the states with the biggest rural populations.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY K...
### Task Generate a SQL query to answer the following question: `List the states with the biggest urban populations.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY K...
### Task Generate a SQL query to answer the following question: `Where is the gender gap the smallest?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT)...
### Task Generate a SQL query to answer the following question: `Which states have the most women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT); CR...
### Task Generate a SQL query to answer the following question: `Which states have the most men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT); CREA...
### Task Generate a SQL query to answer the following question: `Which states have the highest percentage of children?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY...
### Task Generate a SQL query to answer the following question: `Which states have the highest percentage of elderly people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT P...
### Task Generate a SQL query to answer the following question: `In which states does the rural population exceed the urban population?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (...
### Task Generate a SQL query to answer the following question: `In which states does the urban population exceed the rural population?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (...
### Task Generate a SQL query to answer the following question: `Which states have a rural/urban population split that is almost equal (less than 10% difference)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT...
### Task Generate a SQL query to answer the following question: `Rank the states by total population.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT);...
### Task Generate a SQL query to answer the following question: `Which states have the smallest rural populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY...
### Task Generate a SQL query to answer the following question: `Which states have the smallest urban populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY...
### Task Generate a SQL query to answer the following question: `Which states have at least 20% more women than men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY K...
### Task Generate a SQL query to answer the following question: `Which states have at least 20% more men than women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY K...
### Task Generate a SQL query to answer the following question: `Which states have the most teenagers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT)...
### Task Generate a SQL query to answer the following question: `Which states have the fewest young children?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, nam...
### Task Generate a SQL query to answer the following question: `Which states have the largest working-age populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE education_stats (state BIGI...
### Task Generate a SQL query to answer the following question: `Which states have the smallest working-age populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE education_stats (state BIG...
### Task Generate a SQL query to answer the following question: `Which states have nearly identical rural and urban population counts (within 5%)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE ...
### Task Generate a SQL query to answer the following question: `Where do the most villagers live?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT); CR...
### Task Generate a SQL query to answer the following question: `Where do the most city dwellers live?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT)...
### Task Generate a SQL query to answer the following question: `Which states have a rural population that is double the urban one?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id B...
### Task Generate a SQL query to answer the following question: `Which states have an urban population that is double the rural one?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id ...
### Task Generate a SQL query to answer the following question: `Which states have the lowest overall population?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY,...
### Task Generate a SQL query to answer the following question: `Which states have the fewest women?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT); ...
### Task Generate a SQL query to answer the following question: `Which states have the fewest men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT); CR...
### Task Generate a SQL query to answer the following question: `Which states have the most children?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT);...
### Task Generate a SQL query to answer the following question: `Which states have the fewest teenagers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEX...
### Task Generate a SQL query to answer the following question: `Which states have the largest number of elderly people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMA...
### Task Generate a SQL query to answer the following question: `Which states have the most women living in rural areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, nor...
### Task Generate a SQL query to answer the following question: `Which states have the most men living in rural areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, norma...
### Task Generate a SQL query to answer the following question: `Which states have the most women living in urban areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, nor...
### Task Generate a SQL query to answer the following question: `Which states have the most men living in urban areas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE crop_stats (crop TEXT, norma...
### Task Generate a SQL query to answer the following question: `Which states have the fewest elderly people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, nam...
### Task Generate a SQL query to answer the following question: `Which states have the fewest children?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name TEXT...
### Task Generate a SQL query to answer the following question: `Which states have the most adults (15-59)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, name ...
### Task Generate a SQL query to answer the following question: `Which states have the fewest adults (15-59)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages (id BIGINT PRIMARY KEY, nam...
### Task Generate a SQL query to answer the following question: `Which states have a similar number of young children and elderly people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE languages...
### Task Generate a SQL query to answer the following question: `Which states have the biggest difference between their child and elderly populations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TA...
### Task Generate a SQL query to answer the following question: `Which state is home to the most Muslims?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id...
### Task Generate a SQL query to answer the following question: `Which state is home to the most Christians?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language...
### Task Generate a SQL query to answer the following question: `Which state is home to the most Sikhs?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id B...
### Task Generate a SQL query to answer the following question: `Which state is home to the most Buddhists?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_...
### Task Generate a SQL query to answer the following question: `Which state is home to the most Jains?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id B...
### Task Generate a SQL query to answer the following question: `Where are the most Marathi speakers found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_...
### Task Generate a SQL query to answer the following question: `Where are the most Telugu speakers found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_i...
### Task Generate a SQL query to answer the following question: `Where are the most Urdu speakers found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_id ...
### Task Generate a SQL query to answer the following question: `Where are the most Malayalam speakers found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, languag...
### Task Generate a SQL query to answer the following question: `Where are the most Punjabi speakers found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE age_groups (id BIGINT PRIMARY KEY, name TEXT); CREATE TABLE language_stats (state BIGINT, language_...