text stringlengths 434 1.65k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1000181_1" (
"state_territory" text,
"text_background_colour" text,
"format" text,
"current_slogan" text,
"current_series" text,
"notes" text
);
Question: Determine the number of uniqu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1000181_1" (
"state_territory" text,
"text_background_colour" text,
"format" text,
"current_slogan" text,
"current_series" text,
"notes" text
);
Question: Can you list out the distinct... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1000181_1" (
"state_territory" text,
"text_background_colour" text,
"format" text,
"current_slogan" text,
"current_series" text,
"notes" text
);
Question: What are the distinct text ba... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1000181_1" (
"state_territory" text,
"text_background_colour" text,
"format" text,
"current_slogan" text,
"current_series" text,
"notes" text
);
Question: Can you determine which backg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet" (
"order_year" text,
"manufacturer" text,
"model" text,
"fleet_series_quantity" text,
"powertrain_engine_transmission" text,
"fuel_propulsion" text
);
Question: How many times is the f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet" (
"order_year" text,
"manufacturer" text,
"model" text,
"fleet_series_quantity" text,
"powertrain_engine_transmission" text,
"fuel_propulsion" text
);
Question: What is the count of ea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet" (
"order_year" text,
"manufacturer" text,
"model" text,
"fleet_series_quantity" text,
"powertrain_engine_transmission" text,
"fuel_propulsion" text
);
Question: In the year 1998, how m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet" (
"order_year" text,
"manufacturer" text,
"model" text,
"fleet_series_quantity" text,
"powertrain_engine_transmission" text,
"fuel_propulsion" text
);
Question: What is the maximum qua... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet" (
"order_year" text,
"manufacturer" text,
"model" text,
"fleet_series_quantity" text,
"powertrain_engine_transmission" text,
"fuel_propulsion" text
);
Question: How many different manu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet" (
"order_year" text,
"manufacturer" text,
"model" text,
"fleet_series_quantity" text,
"powertrain_engine_transmission" text,
"fuel_propulsion" text
);
Question: How many different manu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "disk_loading_comparison" (
"aircraft" text,
"description" text,
"max_gross_weight" text,
"total_disk_area" text,
"max_disk_loading" text
);
Question: Count the distinct max gross weights for ea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "disk_loading_comparison" (
"aircraft" text,
"description" text,
"max_gross_weight" text,
"total_disk_area" text,
"max_disk_loading" text
);
Question: What is the average max disk loading and th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the most common nationality among players from each a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players came from each school who have been in Toron... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players of each nationality, have been in Toronto fr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the most common position among the players from Baylo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "o" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each nationality played in the Toronto ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "o" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players per position wore the same number as Patrick... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "o" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each school that Patrick O'Bryant has p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "o" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the minimum, maximum and average number assigned to a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "o" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the count of players of each nationality who were in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: For players who played in 2004-05, how many per school attend... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the average number of years players stayed in Toronto... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each nationality played between 1998-20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: Count the number of players from each unique nationality that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each school or club team played in Toro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "c" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each position, who studied or played in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "c" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the average number of players from each nationality p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "c" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: Which nationality has the maximum number of players from 'Boi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "c" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the average number of years in Toronto for players of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players per position are from Georgia school club te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many different positions have players from Rudy Gay's sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each nationality played from 1997-98, b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"player" text,
"no" real,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: What is the maximum, minimum, and average number of years pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many different positions did Marcus Banks play in Toronto... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players of each nationality were in each position in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players per nationality played in the same position ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: Count the players from each nationality who have been in Toro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"no" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
);
Question: How many players from each nationality played for the school ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"season" real,
"player" text,
"position" text,
"nationality" text,
"team" text,
"draft_pick_num" text,
"draft_class" text,
"college" text
);
Question: In which season did the h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"season" real,
"player" text,
"position" text,
"nationality" text,
"team" text,
"draft_pick_num" text,
"draft_class" text,
"college" text
);
Question: How many Rookie of the Ye... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"season" real,
"player" text,
"position" text,
"nationality" text,
"team" text,
"draft_pick_num" text,
"draft_class" text,
"college" text
);
Question: What is the maximum numbe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"season" real,
"player" text,
"position" text,
"nationality" text,
"team" text,
"draft_pick_num" text,
"draft_class" text,
"college" text
);
Question: How many #10 draft picks ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "squad_members" (
"player" text,
"years_played" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text
);
Question: What are the maximum and minimum years played by players with a single... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "squad_members" (
"player" text,
"years_played" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text
);
Question: Which player has the maximum doubles w-l record, only considering play... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "squad_members" (
"player" text,
"years_played" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text
);
Question: How many players have the same 'singles_w_l' as Kim Doo-Hwan's, sorted... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "squad_members" (
"player" text,
"years_played" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text
);
Question: How many distinct players have played singles with a win-loss record o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "squad_members" (
"player" text,
"years_played" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text
);
Question: How many players had the same 'doubles_w_l' record in the year 1968, s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "squad_members" (
"player" text,
"years_played" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text
);
Question: For each year, count how many matches Im Chung-Yang played.
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"name" text,
"canton" text,
"height_meters" real,
"crest_length_meters" real,
"type" text,
"year_of_construction" real,
"name_of_the_lake" text
);
Question: What are the top 5 l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"name" text,
"canton" text,
"height_meters" real,
"crest_length_meters" real,
"type" text,
"year_of_construction" real,
"name_of_the_lake" text
);
Question: What is the average ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"name" text,
"canton" text,
"height_meters" real,
"crest_length_meters" real,
"type" text,
"year_of_construction" real,
"name_of_the_lake" text
);
Question: What is the average ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"name" text,
"canton" text,
"height_meters" real,
"crest_length_meters" real,
"type" text,
"year_of_construction" real,
"name_of_the_lake" text
);
Question: What is the earliest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_attributes" (
"name" text,
"direction" text,
"mantra" text,
"weapon" text,
"consort" text,
"graha_planet" text,
"guardian_m_t_k" text
);
Question: What are the top three most comm... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_attributes" (
"name" text,
"direction" text,
"mantra" text,
"weapon" text,
"consort" text,
"graha_planet" text,
"guardian_m_t_k" text
);
Question: How many unique mantras are asso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_attributes" (
"name" text,
"direction" text,
"mantra" text,
"weapon" text,
"consort" text,
"graha_planet" text,
"guardian_m_t_k" text
);
Question: What are the different weapons u... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_attributes" (
"name" text,
"direction" text,
"mantra" text,
"weapon" text,
"consort" text,
"graha_planet" text,
"guardian_m_t_k" text
);
Question: What are the distinct directions... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_attributes" (
"name" text,
"direction" text,
"mantra" text,
"weapon" text,
"consort" text,
"graha_planet" text,
"guardian_m_t_k" text
);
Question: What are the different types of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_attributes" (
"name" text,
"direction" text,
"mantra" text,
"weapon" text,
"consort" text,
"graha_planet" text,
"guardian_m_t_k" text
);
Question: How many unique weapons are asso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"member" text,
"headquarters" text,
"classification" text,
"chapters" real,
"founded" text,
"uccfs" real
);
Question: What is the average number of chapters for all fraternities wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"member" text,
"headquarters" text,
"classification" text,
"chapters" real,
"founded" text,
"uccfs" real
);
Question: What are the number of chapters for each member listed with th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"member" text,
"headquarters" text,
"classification" text,
"chapters" real,
"founded" text,
"uccfs" real
);
Question: What is the oldest and the newest founding year of members tha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"member" text,
"headquarters" text,
"classification" text,
"chapters" real,
"founded" text,
"uccfs" real
);
Question: How many chapters does the organization Alpha Nu Omega have pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
"year" text,
"typhus" real,
"typhoid_fever" real,
"relapsing_fever" real,
"smallpox" real,
"malaria" text
);
Question: What is the average number o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
"year" text,
"typhus" real,
"typhoid_fever" real,
"relapsing_fever" real,
"smallpox" real,
"malaria" text
);
Question: In the top 10 years with the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
"year" text,
"typhus" real,
"typhoid_fever" real,
"relapsing_fever" real,
"smallpox" real,
"malaria" text
);
Question: What is the maximum, minimum... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
"year" text,
"typhus" real,
"typhoid_fever" real,
"relapsing_fever" real,
"smallpox" real,
"malaria" text
);
Question: What was the maximum instanc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
"year" text,
"typhus" real,
"typhoid_fever" real,
"relapsing_fever" real,
"smallpox" real,
"malaria" text
);
Question: What is the average typhoid ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"team_nickname" text,
"primary_conference" text
);
Question: What is the oldest sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"team_nickname" text,
"primary_conference" text
);
Question: What is the average en... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"team_nickname" text,
"primary_conference" text
);
Question: What's the average enr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"team_nickname" text,
"primary_conference" text
);
Question: How many schools in ea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1008653_9" (
"country_exonym" text,
"capital_exonym" text,
"country_endonym" text,
"capital_endonym" text,
"official_or_native_language_s_alphabet_script" text
);
Question: What is the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1008653_9" (
"country_exonym" text,
"capital_exonym" text,
"country_endonym" text,
"capital_endonym" text,
"official_or_native_language_s_alphabet_script" text
);
Question: What is the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1008653_9" (
"country_exonym" text,
"capital_exonym" text,
"country_endonym" text,
"capital_endonym" text,
"official_or_native_language_s_alphabet_script" text
);
Question: What are the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1008653_9" (
"country_exonym" text,
"capital_exonym" text,
"country_endonym" text,
"capital_endonym" text,
"official_or_native_language_s_alphabet_script" text
);
Question: Count the num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1008653_9" (
"country_exonym" text,
"capital_exonym" text,
"country_endonym" text,
"capital_endonym" text,
"official_or_native_language_s_alphabet_script" text
);
Question: What is the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_television_ratings" (
"season" text,
"network" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: How many dif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_television_ratings" (
"season" text,
"network" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: What was the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1011906_1" (
"regional_county_municipality_rcm" text,
"population_canada_2011_census" real,
"land_area" text,
"density_pop_per_km2" text,
"seat_of_rcm" text
);
Question: What is the mini... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1011906_1" (
"regional_county_municipality_rcm" text,
"population_canada_2011_census" real,
"land_area" text,
"density_pop_per_km2" text,
"seat_of_rcm" text
);
Question: What is the aver... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "habitual_irish_speakers" (
"county" text,
"english_name" text,
"irish_name" text,
"population" real,
"irish_speakers" text
);
Question: How many different Irish names are there for each English... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "habitual_irish_speakers" (
"county" text,
"english_name" text,
"irish_name" text,
"population" real,
"irish_speakers" text
);
Question: What are the total populations for each county where the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "habitual_irish_speakers" (
"county" text,
"english_name" text,
"irish_name" text,
"population" real,
"irish_speakers" text
);
Question: What is the average population for each county where the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "habitual_irish_speakers" (
"county" text,
"english_name" text,
"irish_name" text,
"population" real,
"irish_speakers" text
);
Question: What is the total population per county where the Irish n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "habitual_irish_speakers" (
"county" text,
"english_name" text,
"irish_name" text,
"population" real,
"irish_speakers" text
);
Question: What is the average population for each percentage of Iri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "habitual_irish_speakers" (
"county" text,
"english_name" text,
"irish_name" text,
"population" real,
"irish_speakers" text
);
Question: What is the maximum, minimum and average population in co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "us_states_by_asian_americans_population" (
"state_territory" text,
"asian_american_population_2010_census" real,
"chinese" real,
"filipino" real,
"indian" real,
"japanese" real,
"korean" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "us_states_by_asian_americans_population" (
"state_territory" text,
"asian_american_population_2010_census" real,
"chinese" real,
"filipino" real,
"indian" real,
"japanese" real,
"korean" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "us_states_by_asian_americans_population" (
"state_territory" text,
"asian_american_population_2010_census" real,
"chinese" real,
"filipino" real,
"indian" real,
"japanese" real,
"korean" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10121127_1" (
"un_operation_name" text,
"un_operation_title" text,
"location" text,
"dates_of_australian_involvement" text,
"number_of_australians_involved" text,
"australian_role" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10121127_1" (
"un_operation_name" text,
"un_operation_title" text,
"location" text,
"dates_of_australian_involvement" text,
"number_of_australians_involved" text,
"australian_role" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10121127_1" (
"un_operation_name" text,
"un_operation_title" text,
"location" text,
"dates_of_australian_involvement" text,
"number_of_australians_involved" text,
"australian_role" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10121127_1" (
"un_operation_name" text,
"un_operation_title" text,
"location" text,
"dates_of_australian_involvement" text,
"number_of_australians_involved" text,
"australian_role" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_broadcast_and_ratings" (
"season" real,
"timeslot_et" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_millions" text
);
Question: What are th... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 10