text stringlengths 310 1.28k |
|---|
<|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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25997153_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25997153_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25997153_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26013618_1" (
"nsg_nr" real,
"name_of_the_nature_reserve" text,
"district_town" text,
"area_ha" text,
"date_established" text
);
Question: What Nature reserve number was established on 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26013618_1" (
"nsg_nr" real,
"name_of_the_nature_reserve" text,
"district_town" text,
"area_ha" text,
"date_established" text
);
Question: How many reserves were established on 19740329 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26013618_1" (
"nsg_nr" real,
"name_of_the_nature_reserve" text,
"district_town" text,
"area_ha" text,
"date_established" text
);
Question: When was Stellbrookmoor established?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26013618_1" (
"nsg_nr" real,
"name_of_the_nature_reserve" text,
"district_town" text,
"area_ha" text,
"date_established" text
);
Question: What town has the reserve with an area of 163,6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26013618_1" (
"nsg_nr" real,
"name_of_the_nature_reserve" text,
"district_town" text,
"area_ha" text,
"date_established" text
);
Question: How many reserves are in Herzogtum Lauenburg wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26013618_1" (
"nsg_nr" real,
"name_of_the_nature_reserve" text,
"district_town" text,
"area_ha" text,
"date_established" text
);
Question: How many names does nature reserve 54 have?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25996938_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Whic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25996938_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Whic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26007767_1" (
"metropolitan_ring" text,
"localities" real,
"total" real,
"jews_and_others_1" real,
"thereof_jews" real,
"arabs" real,
"population_density_per_km" text,
"annual_popul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26007767_1" (
"metropolitan_ring" text,
"localities" real,
"total" real,
"jews_and_others_1" real,
"thereof_jews" real,
"arabs" real,
"population_density_per_km" text,
"annual_popul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26007767_1" (
"metropolitan_ring" text,
"localities" real,
"total" real,
"jews_and_others_1" real,
"thereof_jews" real,
"arabs" real,
"population_density_per_km" text,
"annual_popul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26007767_1" (
"metropolitan_ring" text,
"localities" real,
"total" real,
"jews_and_others_1" real,
"thereof_jews" real,
"arabs" real,
"population_density_per_km" text,
"annual_popul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"young_rider_classification" text,
"teams_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"young_rider_classification" text,
"teams_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"young_rider_classification" text,
"teams_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_4" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: How many pro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_4" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: Who wrote ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_4" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: Which episod... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_4" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: How many pro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_4" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: What was the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_4" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: Who wrote ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: Who directed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: How many vie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: Who directed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: How many epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2603017_2" (
"ab_angry_boar" text,
"b_bishop" text,
"ba_running_bear" text,
"bb_blind_bear" text,
"bc_beast_cadet" text
);
Question: what is ba - running bear where b - bishop is rn - ru... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2603017_2" (
"ab_angry_boar" text,
"b_bishop" text,
"ba_running_bear" text,
"bb_blind_bear" text,
"bc_beast_cadet" text
);
Question: what is b - bishop where ab - angry boar is vw - vert... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2603017_2" (
"ab_angry_boar" text,
"b_bishop" text,
"ba_running_bear" text,
"bb_blind_bear" text,
"bc_beast_cadet" text
);
Question: what is ba - running bear where ab - angry boar is os... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2603017_2" (
"ab_angry_boar" text,
"b_bishop" text,
"ba_running_bear" text,
"bb_blind_bear" text,
"bc_beast_cadet" text
);
Question: what is b - bishop where bc - beast cadet is gr - gre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2603017_2" (
"ab_angry_boar" text,
"b_bishop" text,
"ba_running_bear" text,
"bb_blind_bear" text,
"bc_beast_cadet" text
);
Question: what is bb - blind bear where ba - running bear is mf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2603017_2" (
"ab_angry_boar" text,
"b_bishop" text,
"ba_running_bear" text,
"bb_blind_bear" text,
"bc_beast_cadet" text
);
Question: what is bb - blind bear where ba - running bear is tc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26040604_1" (
"model" text,
"launch" text,
"code_name" text,
"transistors_million" real,
"die_size_mm_2" real,
"bus_interface" text,
"memory_mb" text,
"sm_count" real,
"core_confi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26040604_1" (
"model" text,
"launch" text,
"code_name" text,
"transistors_million" real,
"die_size_mm_2" real,
"bus_interface" text,
"memory_mb" text,
"sm_count" real,
"core_confi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26040604_1" (
"model" text,
"launch" text,
"code_name" text,
"transistors_million" real,
"die_size_mm_2" real,
"bus_interface" text,
"memory_mb" text,
"sm_count" real,
"core_confi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26040604_1" (
"model" text,
"launch" text,
"code_name" text,
"transistors_million" real,
"die_size_mm_2" real,
"bus_interface" text,
"memory_mb" text,
"sm_count" real,
"core_confi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2602958_5" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_million" text
);
Question: Who wrote th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26036389_1" (
"sr_no" real,
"name_of_road" text,
"passes_through_district_s" text,
"length_in_km" text,
"mdr_no" real
);
Question: What district does the road with a MDR number of 47 pas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26036389_1" (
"sr_no" real,
"name_of_road" text,
"passes_through_district_s" text,
"length_in_km" text,
"mdr_no" real
);
Question: What is the MDR number of Rait Charhi Dharamshala?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26036389_1" (
"sr_no" real,
"name_of_road" text,
"passes_through_district_s" text,
"length_in_km" text,
"mdr_no" real
);
Question: What is the Sr. number of Banikhet Dalhouse Khajiar?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_runs" (
"rank" real,
"runs" real,
"average" text,
"strike_rate" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: What is the smallest number of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_runs" (
"rank" real,
"runs" real,
"average" text,
"strike_rate" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: How many innings are there when... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_runs" (
"rank" real,
"runs" real,
"average" text,
"strike_rate" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: What was the average when the s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"catches" real,
"stumps" real,
"player" text,
"period" text
);
Question: What is the catches maximum number?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"catches" real,
"stumps" real,
"player" text,
"period" text
);
Question: If the player is Hashan Tillakaratne, what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"catches" real,
"stumps" real,
"player" text,
"period" text
);
Question: what is the period if the player is Hashan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"catches" real,
"stumps" real,
"player" text,
"period" text
);
Question: What is the ranktotal number if the Hashan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"catches" real,
"stumps" real,
"player" text,
"period" text
);
Question: If the catches is 131, what is the rank to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
"year" real,
"population" real,
"total" real,
"violent" real,
"property_crimes" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
"year" real,
"population" real,
"total" real,
"violent" real,
"property_crimes" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
"year" real,
"population" real,
"total" real,
"violent" real,
"property_crimes" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
"year" real,
"population" real,
"total" real,
"violent" real,
"property_crimes" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
"year" real,
"population" real,
"total" real,
"violent" real,
"property_crimes" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_career_averages" (
"rank" real,
"average" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: What was kumar sangakkara's average?
<|assistant|>
SELECT "av... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_career_averages" (
"rank" real,
"average" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: Who was the player with a 36.74 average?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_career_averages" (
"rank" real,
"average" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: What is the rank of the player with the 39.69 average?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_career_averages" (
"rank" real,
"average" text,
"player" text,
"matches" real,
"innings" real,
"period" text
);
Question: What is the lowest number of matches for a record holder?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26099252_1" (
"browser" text,
"operating_system" text,
"latest_stable_release" text,
"theora" text,
"h_264" text,
"vp8_web_m" text,
"vp9_web_m" text
);
Question: When theora is 2.3, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26099252_1" (
"browser" text,
"operating_system" text,
"latest_stable_release" text,
"theora" text,
"h_264" text,
"vp8_web_m" text,
"vp9_web_m" text
);
Question: When vp8 ( webm ) is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26099252_1" (
"browser" text,
"operating_system" text,
"latest_stable_release" text,
"theora" text,
"h_264" text,
"vp8_web_m" text,
"vp9_web_m" text
);
Question: When vp8 ( webm ) is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26099252_1" (
"browser" text,
"operating_system" text,
"latest_stable_release" text,
"theora" text,
"h_264" text,
"vp8_web_m" text,
"vp9_web_m" text
);
Question: What is the last sta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26099252_1" (
"browser" text,
"operating_system" text,
"latest_stable_release" text,
"theora" text,
"h_264" text,
"vp8_web_m" text,
"vp9_web_m" text
);
Question: When h.264 is 9.0, h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"shortscale_comparison" text,
"chuquet" text,
"peletier" text,
"systematics" text,
"base_10" text,
"si_prefix" text
);
Question: Name the peletier for systematics being million 1
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"shortscale_comparison" text,
"chuquet" text,
"peletier" text,
"systematics" text,
"base_10" text,
"si_prefix" text
);
Question: Name the si prefix for thousand chuquet
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"shortscale_comparison" text,
"chuquet" text,
"peletier" text,
"systematics" text,
"base_10" text,
"si_prefix" text
);
Question: Name the base 10 for peletier for bi llion
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"shortscale_comparison" text,
"chuquet" text,
"peletier" text,
"systematics" text,
"base_10" text,
"si_prefix" text
);
Question: Name the total number of peletier for shortscale c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"shortscale_comparison" text,
"chuquet" text,
"peletier" text,
"systematics" text,
"base_10" text,
"si_prefix" text
);
Question: Name the base 10 for shortscale comparison for bil... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio_23" (
"branding" text,
"callsign" text,
"ch_num" text,
"station_type" text,
"power_k_w_erp" text,
"location_transmitter_site" text
);
Question: What is the branding of the callsign DWB... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio_23" (
"branding" text,
"callsign" text,
"ch_num" text,
"station_type" text,
"power_k_w_erp" text,
"location_transmitter_site" text
);
Question: What is the station type of DWMC-TV?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio_23" (
"branding" text,
"callsign" text,
"ch_num" text,
"station_type" text,
"power_k_w_erp" text,
"location_transmitter_site" text
);
Question: What is the location that has a power of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio_23" (
"branding" text,
"callsign" text,
"ch_num" text,
"station_type" text,
"power_k_w_erp" text,
"location_transmitter_site" text
);
Question: What is the power, in kW, of channel TV-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
);
Question: What's the power for General Santos?
<|assistant|>
SELECT "power_k_w" FROM "region... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
);
Question: What bran is the callsign dytc-fm?
<|assistant|>
SELECT "branding" FROM "regional"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
);
Question: What frequency is dxec-fm?
<|assistant|>
SELECT "frequency" FROM "regional" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_season" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: Who was the opponent when there was 11... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_season" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: What was the earliest year?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_season" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: Who was the opponent when there was 81... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_season" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: How many rushing yards where there whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_season" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: Who was the opponent when Devin Gardne... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"podiums" real,
"points" text,
"position" text
);
Question: How many points were scored on pole ser... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"podiums" real,
"points" text,
"position" text
);
Question: How many teams were in the series champ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bukidnon" (
"city_municipality" text,
"date_of_creation" text,
"area_km_2" text,
"population_2010" real,
"income_classification_dof" text
);
Question: What is the area (km2) for the place with ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bukidnon" (
"city_municipality" text,
"date_of_creation" text,
"area_km_2" text,
"population_2010" real,
"income_classification_dof" text
);
Question: How many city/municipalties have an area (... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bukidnon" (
"city_municipality" text,
"date_of_creation" text,
"area_km_2" text,
"population_2010" real,
"income_classification_dof" text
);
Question: How many places have an area of 409.41 (km... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bukidnon" (
"city_municipality" text,
"date_of_creation" text,
"area_km_2" text,
"population_2010" real,
"income_classification_dof" text
);
Question: What day was kibawe created?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bukidnon" (
"city_municipality" text,
"date_of_creation" text,
"area_km_2" text,
"population_2010" real,
"income_classification_dof" text
);
Question: How many places are named manolo fortich?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "super_draft" (
"season" real,
"player" text,
"position" text,
"nationality" text,
"team" text,
"previous_college_team" text
);
Question: Which player for Project-40 in his college team?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "super_draft" (
"season" real,
"player" text,
"position" text,
"nationality" text,
"team" text,
"previous_college_team" text
);
Question: Dallas Burn's draft pick was which position?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26136228_3" (
"series_no" real,
"episode_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who wrote t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26136228_3" (
"series_no" real,
"episode_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who directe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26136228_3" (
"series_no" real,
"episode_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What episod... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episodes" (
"episode_num" real,
"series_num" real,
"title" text,
"director" text,
"writer" text,
"original_airdate" text,
"viewers_in_millions" text
);
Question: What is the name of the epi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.