text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tunnels" (
"no" real,
"name" text,
"mi_from_kingston" text,
"km_from_kingston" text,
"parish" text,
"length_feet" real,
"length_meters" text
);
Question: When the railroad length is 362 fee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tunnels" (
"no" real,
"name" text,
"mi_from_kingston" text,
"km_from_kingston" text,
"parish" text,
"length_feet" real,
"length_meters" text
);
Question: Which parishes have the highworth r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tunnels" (
"no" real,
"name" text,
"mi_from_kingston" text,
"km_from_kingston" text,
"parish" text,
"length_feet" real,
"length_meters" text
);
Question: Which railroad is 112.6 kilometers ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"num" real,
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
);
Question: Name the most number for new england blazers
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"num" real,
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
);
Question: Name the most attendance
<|assistant|>
SELECT MAX("attendance... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"num" real,
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
);
Question: Name the most attendance for number 4
<|assistant|>
SELECT MA... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What is the preliminary average wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What is the interview when prelimi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What state has a semifinal average... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What state has an interview of 8.3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What is the semifinal average wher... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What is the swimsuit when evening ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278602_1" (
"danish_name" text,
"english_name" text,
"seat_of_administration" text,
"largest_city" text,
"population_january_1_2008" real,
"area_km" real,
"pop_density_per_km" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278602_1" (
"danish_name" text,
"english_name" text,
"seat_of_administration" text,
"largest_city" text,
"population_january_1_2008" real,
"area_km" real,
"pop_density_per_km" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278602_1" (
"danish_name" text,
"english_name" text,
"seat_of_administration" text,
"largest_city" text,
"population_january_1_2008" real,
"area_km" real,
"pop_density_per_km" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"language_s" text,
"director" text,
"result" text
);
Question: How many languages for the 2001 (74th) awards?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"language_s" text,
"director" text,
"result" text
);
Question: What was the result for the 2009 (82nd) awards?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16255245_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director_s" text,
"result" text
);
Question: Name the original title for the counterfeit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16255245_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director_s" text,
"result" text
);
Question: Name the year for spiele leben
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16255245_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director_s" text,
"result" text
);
Question: Name the film title for wohin und zurück - ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "provinces_of_afghanistan" (
"province" text,
"map_num" real,
"iso_3166_2_af" text,
"centers" text,
"population" real,
"area_km" real,
"language" text,
"notes" text,
"u_n_region" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "provinces_of_afghanistan" (
"province" text,
"map_num" real,
"iso_3166_2_af" text,
"centers" text,
"population" real,
"area_km" real,
"language" text,
"notes" text,
"u_n_region" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "provinces_of_afghanistan" (
"province" text,
"map_num" real,
"iso_3166_2_af" text,
"centers" text,
"population" real,
"area_km" real,
"language" text,
"notes" text,
"u_n_region" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "provinces_of_afghanistan" (
"province" text,
"map_num" real,
"iso_3166_2_af" text,
"centers" text,
"population" real,
"area_km" real,
"language" text,
"notes" text,
"u_n_region" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "provinces_of_afghanistan" (
"province" text,
"map_num" real,
"iso_3166_2_af" text,
"centers" text,
"population" real,
"area_km" real,
"language" text,
"notes" text,
"u_n_region" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278825_1" (
"name_of_county" text,
"county_seat" text,
"area_km" real,
"population" real,
"population_density" real,
"towns_villages" real
);
Question: NJame the total number of popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278825_1" (
"name_of_county" text,
"county_seat" text,
"area_km" real,
"population" real,
"population_density" real,
"towns_villages" real
);
Question: Name the towns/villages for bu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278825_1" (
"name_of_county" text,
"county_seat" text,
"area_km" real,
"population" real,
"population_density" real,
"towns_villages" real
);
Question: Name the least area for vas
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "solheim_cup_record" (
"year" text,
"total_matches" real,
"total_w_l_h" text,
"singles_w_l_h" text,
"foursomes_w_l_h" text,
"fourballs_w_l_h" text,
"points_won" text,
"points_pct" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "solheim_cup_record" (
"year" text,
"total_matches" real,
"total_w_l_h" text,
"singles_w_l_h" text,
"foursomes_w_l_h" text,
"fourballs_w_l_h" text,
"points_won" text,
"points_pct" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "solheim_cup_record" (
"year" text,
"total_matches" real,
"total_w_l_h" text,
"singles_w_l_h" text,
"foursomes_w_l_h" text,
"fourballs_w_l_h" text,
"points_won" text,
"points_pct" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" text,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"timeline" text,
"release_date" text
);
Question: What wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" text,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"timeline" text,
"release_date" text
);
Question: What is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" text,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"timeline" text,
"release_date" text
);
Question: Under w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" text,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"timeline" text,
"release_date" text
);
Question: What is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" text,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"timeline" text,
"release_date" text
);
Question: Who was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278894_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
Question: What is the capital of Bungoma county?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278894_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
Question: What is the capital of Uasin Gishu county... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278894_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
Question: In what former province was the area 694.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278894_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
Question: How many numbers were listed under area w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278894_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
Question: What was the population in Kisumu county ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16278894_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
Question: What capital's county had a population of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" real,
"to_par" text,
"margin_of_victory" text,
"tournament_location" text,
"purse_us" real,
"winners_shar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" real,
"to_par" text,
"margin_of_victory" text,
"tournament_location" text,
"purse_us" real,
"winners_shar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What was the evening gown score fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What was the swimsuit score for th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What was the evening gown score fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What was the preliminary average f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What was the preliminary average f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
);
Question: What was the preliminary average f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16331025_2" (
"dates_mdy" text,
"position" real,
"gross_sales" text,
"tickets_sold_available" text,
"sellout_pct" text
);
Question: What day was the gross sales $1,271,451?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16331025_2" (
"dates_mdy" text,
"position" real,
"gross_sales" text,
"tickets_sold_available" text,
"sellout_pct" text
);
Question: What is the sellout % when the gross sales is $1,727,4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16331025_2" (
"dates_mdy" text,
"position" real,
"gross_sales" text,
"tickets_sold_available" text,
"sellout_pct" text
);
Question: Who many dates are in position 9 and the sellout is 81... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16331025_2" (
"dates_mdy" text,
"position" real,
"gross_sales" text,
"tickets_sold_available" text,
"sellout_pct" text
);
Question: What is the position of tickets sold/available when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finite_forms_of_garnu_to_do" (
"simple_present_future" text,
"probable_future" text,
"simple_past" text,
"past_habitual" text,
"injunctive" text,
"imperative" text
);
Question: Name the proba... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finite_forms_of_garnu_to_do" (
"simple_present_future" text,
"probable_future" text,
"simple_past" text,
"past_habitual" text,
"injunctive" text,
"imperative" text
);
Question: Name the imper... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finite_forms_of_garnu_to_do" (
"simple_present_future" text,
"probable_future" text,
"simple_past" text,
"past_habitual" text,
"injunctive" text,
"imperative" text
);
Question: Name the past ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finite_forms_of_garnu_to_do" (
"simple_present_future" text,
"probable_future" text,
"simple_past" text,
"past_habitual" text,
"injunctive" text,
"imperative" text
);
Question: Name the past ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finite_forms_of_garnu_to_do" (
"simple_present_future" text,
"probable_future" text,
"simple_past" text,
"past_habitual" text,
"injunctive" text,
"imperative" text
);
Question: Name the injun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"team" text,
"acc_regular_season" text,
"acc_pct" text,
"acc_home" text,
"acc_road" text,
"all_games" text,
"all_games_pct" text,
"all_home" text,
"all_road" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"team" text,
"acc_regular_season" text,
"acc_pct" text,
"acc_home" text,
"acc_road" text,
"all_games" text,
"all_games_pct" text,
"all_home" text,
"all_road" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"team" text,
"acc_regular_season" text,
"acc_pct" text,
"acc_home" text,
"acc_road" text,
"all_games" text,
"all_games_pct" text,
"all_home" text,
"all_road" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_domestic_passenger_fares_for_cap" (
"year" real,
"lansing_lan" text,
"detroit_dtw" text,
"grand_rapids_grr" text,
"flint_fnt" text,
"kalamazoo_azo" text,
"saginaw_mbs" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_domestic_passenger_fares_for_cap" (
"year" real,
"lansing_lan" text,
"detroit_dtw" text,
"grand_rapids_grr" text,
"flint_fnt" text,
"kalamazoo_azo" text,
"saginaw_mbs" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_domestic_passenger_fares_for_cap" (
"year" real,
"lansing_lan" text,
"detroit_dtw" text,
"grand_rapids_grr" text,
"flint_fnt" text,
"kalamazoo_azo" text,
"saginaw_mbs" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_domestic_passenger_fares_for_cap" (
"year" real,
"lansing_lan" text,
"detroit_dtw" text,
"grand_rapids_grr" text,
"flint_fnt" text,
"kalamazoo_azo" text,
"saginaw_mbs" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_domestic_passenger_fares_for_cap" (
"year" real,
"lansing_lan" text,
"detroit_dtw" text,
"grand_rapids_grr" text,
"flint_fnt" text,
"kalamazoo_azo" text,
"saginaw_mbs" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_domestic_passenger_fares_for_cap" (
"year" real,
"lansing_lan" text,
"detroit_dtw" text,
"grand_rapids_grr" text,
"flint_fnt" text,
"kalamazoo_azo" text,
"saginaw_mbs" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text,
"primary_conference" text
);
Question: Name the maximum enrollment for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text,
"primary_conference" text
);
Question: Name the primary conference for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text,
"primary_conference" text
);
Question: Name the total number of nicknam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text,
"primary_conference" text
);
Question: Name the total number of affilia... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"team" text,
"acc_regular_season" text,
"acc_pct" text,
"acc_home" text,
"acc_road" text,
"all_games" text,
"all_games_pct" text,
"all_home" text,
"all_road" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16384596_4" (
"number_in_series" real,
"broadcast_order" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" real
);
Question: Who d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16384596_4" (
"number_in_series" real,
"broadcast_order" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" real
);
Question: Who w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16384596_4" (
"number_in_series" real,
"broadcast_order" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" real
);
Question: Who d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16384596_4" (
"number_in_series" real,
"broadcast_order" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" real
);
Question: Who d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"team_nickname" text,
"joined_tschl" real,
"home_arena" text,
"capacity" real,
"team_website" text
);
Question: How many schools have t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"team_nickname" text,
"joined_tschl" real,
"home_arena" text,
"capacity" real,
"team_website" text
);
Question: Which city has the team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"team_nickname" text,
"joined_tschl" real,
"home_arena" text,
"capacity" real,
"team_website" text
);
Question: What year did the unive... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"team_nickname" text,
"joined_tschl" real,
"home_arena" text,
"capacity" real,
"team_website" text
);
Question: What's the earliest yea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"team_nickname" text,
"joined_tschl" real,
"home_arena" text,
"capacity" real,
"team_website" text
);
Question: Which city has the cinc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"team_nickname" text,
"joined_tschl" real,
"home_arena" text,
"capacity" real,
"team_website" text
);
Question: For the flyers, what's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"area" text,
"population" real,
"density" text
);
Question: Name the number of pinyin where simpli... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"area" text,
"population" real,
"density" text
);
Question: Name the pinyin for where population i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"area" text,
"population" real,
"density" text
);
Question: Name the pinyin for 487 area
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"area" text,
"population" real,
"density" text
);
Question: Name the traditional for population 74... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"area" text,
"population" real,
"density" text
);
Question: Name the english name for 崖城镇
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
);
Question: Name the date for richmond
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1st_round" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
);
Question: Name the most crowd for saturday 16 fe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"time" text
);
Question: What home team played... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.