text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekly_schedule" text,
"status" text
);
Question: What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?
<|assistant|>
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "weekly_schedule"='Monday to Thursday @ 11:00 pm';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekly_schedule" text,
"status" text
);
Question: What is every country with a TV network of AXN India?
<|assistant|>
SELECT "country" FROM "international_broadcasts" WHERE "tv_network_s"='AXN India';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekly_schedule" text,
"status" text
);
Question: What is every weekly schedule in the country of Norway?
<|assistant|>
SELECT "weekly_schedule" FROM "international_broadcasts" WHERE "country"='Norway';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekly_schedule" text,
"status" text
);
Question: What is every TV network in Belgium?
<|assistant|>
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "country"='Belgium';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekly_schedule" text,
"status" text
);
Question: What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?
<|assistant|>
SELECT "status" FROM "international_broadcasts" WHERE "weekly_schedule"='Monday to Thursday @ 11:00 pm';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"tv_network_s" text,
"series_premiere" text,
"weekly_schedule" text,
"status" text
);
Question: What is every weekly schedule of TV network Viasat 4?
<|assistant|>
SELECT "weekly_schedule" FROM "international_broadcasts" WHERE "tv_network_s"='Viasat 4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_results" (
"year" real,
"champion_average_in_final" text,
"legs" text,
"runner_up_average_in_final" text,
"sponsor" text,
"prize_fund" text,
"champion" text,
"runner_up" text,
"venue" text
);
Question: How much was the prize money for rwe-sporthalle, mülheim ?
<|assistant|>
SELECT "prize_fund" FROM "final_results" WHERE "venue"='RWE-Sporthalle, Mülheim';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_results" (
"year" real,
"champion_average_in_final" text,
"legs" text,
"runner_up_average_in_final" text,
"sponsor" text,
"prize_fund" text,
"champion" text,
"runner_up" text,
"venue" text
);
Question: In 2009, how many were runner-up?
<|assistant|>
SELECT COUNT("runner_up") FROM "final_results" WHERE "year"=2009;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_results" (
"year" real,
"champion_average_in_final" text,
"legs" text,
"runner_up_average_in_final" text,
"sponsor" text,
"prize_fund" text,
"champion" text,
"runner_up" text,
"venue" text
);
Question: How much does the champion get for stadthalle dinslaken, dinslaken?
<|assistant|>
SELECT "champion" FROM "final_results" WHERE "venue"='Stadthalle Dinslaken, Dinslaken';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aqueous_solution" (
"a_mol_l" text,
"p_h" text,
"h_3_po_4_a_pct" text,
"h_2_po_4_a_pct" text,
"hpo_4_2_a_pct" text,
"po_4_3_a_pct" text
);
Question: what is [po 4 3− ]/[a] (%) where [h 2 po 4 − ]/[a] (%) is 94.5?
<|assistant|>
SELECT "po_4_3_a_pct" FROM "aqueous_solution" WHERE "h_2_po_4_a_pct"='94.5';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aqueous_solution" (
"a_mol_l" text,
"p_h" text,
"h_3_po_4_a_pct" text,
"h_2_po_4_a_pct" text,
"hpo_4_2_a_pct" text,
"po_4_3_a_pct" text
);
Question: what is the [a] (mol/l) where [hpo 4 2− ]/[a] (%) is 0.612?
<|assistant|>
SELECT COUNT("a_mol_l") FROM "aqueous_solution" WHERE "hpo_4_2_a_pct"='0.612';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: When by80607002529af is the part number and september 2009 is the release date what is the l2 cache?
<|assistant|>
SELECT "l2_cache" FROM "45_nm" WHERE "release_date"='September 2009' AND "part_number_s"='BY80607002529AF';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: When by80607002907ahbx80607i7720qm is the part number what is the socket?
<|assistant|>
SELECT "socket" FROM "45_nm" WHERE "part_number_s"='BY80607002907AHBX80607I7720QM';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: When slblw(b1) is the sspec number what is the mult.?
<|assistant|>
SELECT "mult" FROM "45_nm" WHERE "s_spec_number"='SLBLW(B1)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: When socketg1 is the socket what is the release price in dollars?
<|assistant|>
SELECT "release_price_usd" FROM "45_nm" WHERE "socket"='SocketG1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: How many points did the opposing team score on Dec. 19, 1982?
<|assistant|>
SELECT MAX("opponents") FROM "schedule" WHERE "date"='Dec. 19';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "legislation_sponsored_by_john_mc_cain" (
"years_covered" text,
"all_bills_sponsored" real,
"all_amendments_sponsored" real,
"all_bills_cosponsored" real,
"all_amendments_cosponsored" real,
"bills_originally_cosponsored" real,
"amendments_originally_cosponsored" real
);
Question: How many bills where originally cosponsored in those years where the total of all amendments cosponsored was 0?
<|assistant|>
SELECT "bills_originally_cosponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "all_amendments_cosponsored"=0;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "legislation_sponsored_by_john_mc_cain" (
"years_covered" text,
"all_bills_sponsored" real,
"all_amendments_sponsored" real,
"all_bills_cosponsored" real,
"all_amendments_cosponsored" real,
"bills_originally_cosponsored" real,
"amendments_originally_cosponsored" real
);
Question: How many bill cosponsored during those years where bills originally cosponsored is 113?
<|assistant|>
SELECT "all_bills_cosponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "bills_originally_cosponsored"=113;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "legislation_sponsored_by_john_mc_cain" (
"years_covered" text,
"all_bills_sponsored" real,
"all_amendments_sponsored" real,
"all_bills_cosponsored" real,
"all_amendments_cosponsored" real,
"bills_originally_cosponsored" real,
"amendments_originally_cosponsored" real
);
Question: What is the greatest number of bills sponsored in any year?
<|assistant|>
SELECT MAX("all_bills_sponsored") FROM "legislation_sponsored_by_john_mc_cain";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
);
Question: What is the lowest cr number?
<|assistant|>
SELECT MIN("cr_no") FROM "numbers_and_names";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
);
Question: When 2/1939 is the withdrawn when was it built?
<|assistant|>
SELECT "built" FROM "numbers_and_names" WHERE "withdrawn"='2/1939';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
);
Question: When river ness is the hr name what is the hr number?
<|assistant|>
SELECT "hr_no" FROM "numbers_and_names" WHERE "hr_name"='River Ness';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
);
Question: When (river garry) is the hr name how many builts are there?
<|assistant|>
SELECT COUNT("built") FROM "numbers_and_names" WHERE "hr_name"='(River Garry)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
);
Question: What is the highest cr number?
<|assistant|>
SELECT MAX("cr_no") FROM "numbers_and_names";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
);
Question: When river ness is the hr name how many builts are there?
<|assistant|>
SELECT COUNT("built") FROM "numbers_and_names" WHERE "hr_name"='River Ness';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"dolphins_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: How many opponents are at Minnesota Vikings?
<|assistant|>
SELECT MAX("opponents") FROM "schedule" WHERE "opponent"='at Minnesota Vikings';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"dolphins_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: What is the date when the opponent is the New England Patriots?
<|assistant|>
SELECT "date" FROM "schedule" WHERE "opponent"='New England Patriots';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"dolphins_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: How many dates do the dolphins have 6 points?
<|assistant|>
SELECT "date" FROM "schedule" WHERE "dolphins_points"=6;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" text,
"margin" real,
"earnings" real
);
Question: What country does robert allenby represent?
<|assistant|>
SELECT "country" FROM "western_open" WHERE "player"='Robert Allenby';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" text,
"margin" real,
"earnings" real
);
Question: What score to par won in 1998?
<|assistant|>
SELECT "to_par" FROM "western_open" WHERE "year"=1998;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" text,
"margin" real,
"earnings" real
);
Question: What player(s) had the score of 64-70-67-69=270?
<|assistant|>
SELECT "player" FROM "western_open" WHERE "score"='64-70-67-69=270';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" text,
"margin" real,
"earnings" real
);
Question: What players had teh score of 64-71-67-67=269?
<|assistant|>
SELECT "player" FROM "western_open" WHERE "score"='64-71-67-67=269';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_open" (
"year" real,
"player" text,
"country" text,
"score" text,
"to_par" text,
"margin" real,
"earnings" real
);
Question: What is the first yar that someone won with a score of 68-66-68-71=273?
<|assistant|>
SELECT MIN("year") FROM "western_open" WHERE "score"='68-66-68-71=273';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"democratic_and_social_centre" text,
"lead" text
);
Question: How many socialist have a lead of 12.6%?
<|assistant|>
SELECT COUNT("socialist") FROM "116_seats_needed_for_a_majority" WHERE "lead"='12.6%';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,
"l" real,
"t" real,
"otl" real,
"sol" real,
"pts" real,
"pct" text,
"gf" real,
"ga" real,
"pim" real,
"coach_es" text,
"result" text
);
Question: What is every GA if coach is Bob Ferguson and T is 6?
<|assistant|>
SELECT "ga" FROM "table1_1888157_1" WHERE "coach_es"='Bob Ferguson' AND "t"=6;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,
"l" real,
"t" real,
"otl" real,
"sol" real,
"pts" real,
"pct" text,
"gf" real,
"ga" real,
"pim" real,
"coach_es" text,
"result" text
);
Question: What is the lowest SOL?
<|assistant|>
SELECT MIN("sol") FROM "table1_1888157_1";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,
"l" real,
"t" real,
"otl" real,
"sol" real,
"pts" real,
"pct" text,
"gf" real,
"ga" real,
"pim" real,
"coach_es" text,
"result" text
);
Question: What is the highest GA when GF is 39?
<|assistant|>
SELECT MAX("ga") FROM "table1_1888157_1" WHERE "gf"=39;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1888157_1" (
"season" text,
"league" text,
"division" text,
"gp" real,
"w" real,
"l" real,
"t" real,
"otl" real,
"sol" real,
"pts" real,
"pct" text,
"gf" real,
"ga" real,
"pim" real,
"coach_es" text,
"result" text
);
Question: What is every league for coach Jim Burton?
<|assistant|>
SELECT "league" FROM "table1_1888157_1" WHERE "coach_es"='Jim Burton';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: How many different records were there in the games that ended in w 70-66?
<|assistant|>
SELECT COUNT("record") FROM "regular_season" WHERE "score"='W 70-66';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: What was the record of the game in which Dydek (10) did the most high rebounds?
<|assistant|>
SELECT "record" FROM "regular_season" WHERE "high_rebounds"='Dydek (10)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: Who did the most high rebounds in the game where Sales (17) did the high points?
<|assistant|>
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='Sales (17)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
"serial" text,
"number_of_episodes" text,
"total_footage_remaining_from_missing_episodes_mm_ss" text,
"missing_episodes_with_recovered_footage" text,
"country_territory" text,
"source" text,
"format" text,
"total_footage_mm_ss" text
);
Question: When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?
<|assistant|>
SELECT "total_footage_remaining_from_missing_episodes_mm_ss" FROM "table1_1889619_5" WHERE "story_no"='018' AND "source"='Private individual';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
"serial" text,
"number_of_episodes" text,
"total_footage_remaining_from_missing_episodes_mm_ss" text,
"missing_episodes_with_recovered_footage" text,
"country_territory" text,
"source" text,
"format" text,
"total_footage_mm_ss" text
);
Question: When 01:18 is the total footage remaining from missing episodes (mm:ss) and bbc is the source what is the country/territory?
<|assistant|>
SELECT "country_territory" FROM "table1_1889619_5" WHERE "source"='BBC' AND "total_footage_remaining_from_missing_episodes_mm_ss"='01:18';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
"serial" text,
"number_of_episodes" text,
"total_footage_remaining_from_missing_episodes_mm_ss" text,
"missing_episodes_with_recovered_footage" text,
"country_territory" text,
"source" text,
"format" text,
"total_footage_mm_ss" text
);
Question: When 00:21 is the total footage (mm:ss) what is the serial?
<|assistant|>
SELECT "serial" FROM "table1_1889619_5" WHERE "total_footage_mm_ss"='00:21';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
"serial" text,
"number_of_episodes" text,
"total_footage_remaining_from_missing_episodes_mm_ss" text,
"missing_episodes_with_recovered_footage" text,
"country_territory" text,
"source" text,
"format" text,
"total_footage_mm_ss" text
);
Question: When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory?
<|assistant|>
SELECT "country_territory" FROM "table1_1889619_5" WHERE "story_no"='032' AND "missing_episodes_with_recovered_footage"='Episode 4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1889619_5" (
"doctor" text,
"season" text,
"story_no" text,
"serial" text,
"number_of_episodes" text,
"total_footage_remaining_from_missing_episodes_mm_ss" text,
"missing_episodes_with_recovered_footage" text,
"country_territory" text,
"source" text,
"format" text,
"total_footage_mm_ss" text
);
Question: When 00:02 is the total footage (mm:ss) what is the story number?
<|assistant|>
SELECT "story_no" FROM "table1_1889619_5" WHERE "total_footage_mm_ss"='00:02';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the least game for 8-3
<|assistant|>
SELECT MIN("game") FROM "regular_season" WHERE "record"='8-3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the opponent for record 10-4
<|assistant|>
SELECT "opponent" FROM "regular_season" WHERE "record"='10-4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high rebounds for record 7-1
<|assistant|>
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='7-1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the game for june 16
<|assistant|>
SELECT "game" FROM "regular_season" WHERE "date"='June 16';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the game for june 7
<|assistant|>
SELECT "game" FROM "regular_season" WHERE "date"='June 7';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who did the high rebounds in the game with a 19-6 record?
<|assistant|>
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='19-6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Where was the game with a 13-5 record played, and in front of how many people?
<|assistant|>
SELECT "location_attendance" FROM "regular_season" WHERE "record"='13-5';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who did the high rebounds in the game where Douglas (28) did the high points?
<|assistant|>
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='Douglas (28)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the record on the game played on July 1?
<|assistant|>
SELECT "record" FROM "regular_season" WHERE "date"='July 1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many opponents was a game with a record 17-6 played against?
<|assistant|>
SELECT COUNT("opponent") FROM "regular_season" WHERE "record"='17-6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" text,
"maidens" real,
"runs" real,
"wickets" real,
"average" text,
"best" text,
"5w" real,
"10w" real
);
Question: What was the career duration of the bowler who played 60 matches?
<|assistant|>
SELECT "career" FROM "references" WHERE "matches"=60;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" text,
"maidens" real,
"runs" real,
"wickets" real,
"average" text,
"best" text,
"5w" real,
"10w" real
);
Question: What is the Best score if the Maidens is 547 and Overs is 2755.1?
<|assistant|>
SELECT "best" FROM "references" WHERE "maidens"=547 AND "overs"='2755.1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" text,
"maidens" real,
"runs" real,
"wickets" real,
"average" text,
"best" text,
"5w" real,
"10w" real
);
Question: What was the Overs score of the career played from 1993-2007?
<|assistant|>
SELECT "overs" FROM "references" WHERE "career"='1993-2007';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"overs" text,
"maidens" real,
"runs" real,
"wickets" real,
"average" text,
"best" text,
"5w" real,
"10w" real
);
Question: What was the Best score during the game played from 1971-1984?
<|assistant|>
SELECT "best" FROM "references" WHERE "career"='1971-1984';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: When dydek (11) has the highest rebounds what is the date?
<|assistant|>
SELECT "date" FROM "regular_season" WHERE "high_rebounds"='Dydek (11)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: When mcwilliams-franklin (8) has the highest rebounds what is the date?
<|assistant|>
SELECT "date" FROM "regular_season" WHERE "high_rebounds"='McWilliams-Franklin (8)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: When dydek (8) has the highest rebounds who has the highest amount of points?
<|assistant|>
SELECT "high_points" FROM "regular_season" WHERE "high_rebounds"='Dydek (8)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: When w 73-70 is the score what is the location?
<|assistant|>
SELECT "location" FROM "regular_season" WHERE "score"='W 73-70';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: What was the score in the game that had a record of 25-8?
<|assistant|>
SELECT "score" FROM "regular_season" WHERE "record"='25-8';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: What was # of the first game played on August 20?
<|assistant|>
SELECT MIN("game") FROM "regular_season" WHERE "date"='August 20';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: What were the high points for the game played at the MCI Center?
<|assistant|>
SELECT COUNT("high_points") FROM "regular_season" WHERE "location"='MCI Center';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location" text,
"record" text
);
Question: Where was the game played that had a record of 19-6?
<|assistant|>
SELECT "location" FROM "regular_season" WHERE "record"='19-6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: What is the col (m) of the Barurumea Ridge peak?
<|assistant|>
SELECT MAX("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Barurumea Ridge';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: What is the elevation (m) of the Mount Wilhelm peak?
<|assistant|>
SELECT MAX("elevation_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Wilhelm';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: What is the col (m) of the Bewani Mountains High Point peak?
<|assistant|>
SELECT MIN("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Bewani Mountains High Point';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: When mount wondiwoi is the peak what is the island?
<|assistant|>
SELECT "island" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Wondiwoi';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: When mount gauttier is the peak what is the island?
<|assistant|>
SELECT "island" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Gauttier';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: When mount kobowre is the peak what is the highest elevation in meters?
<|assistant|>
SELECT MAX("elevation_m") FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Kobowre';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: When mount gauttier is the peak what is the highest prominence in meters?
<|assistant|>
SELECT MAX("prominence_m") FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Gauttier';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: When 44 is the col in meters what is the country?
<|assistant|>
SELECT "country" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "col_m"=44;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
);
Question: Name the release date for album # 2nd
<|assistant|>
SELECT "release_date" FROM "studio" WHERE "albumnum"='2nd';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
);
Question: Name the label for grown up overnight
<|assistant|>
SELECT "label" FROM "studio" WHERE "english_title"='Grown Up Overnight';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
);
Question: Name the label for traditional chinese 情歌沒有告訴你
<|assistant|>
SELECT "label" FROM "studio" WHERE "chinese_traditional"='情歌沒有告訴你';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
);
Question: Name the number of traditional chinese for album number 6th
<|assistant|>
SELECT COUNT("chinese_traditional") FROM "studio" WHERE "albumnum"='6th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
);
Question: Name the chinese traditional for 美丽人生
<|assistant|>
SELECT "chinese_traditional" FROM "studio" WHERE "chinese_simplified"='美丽人生';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
);
Question: Name the english title for album # 2nd
<|assistant|>
SELECT "english_title" FROM "studio" WHERE "albumnum"='2nd';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" text
);
Question: How many samples were taken of 嬰幼兒配方乳粉2段基粉 ?
<|assistant|>
SELECT COUNT("samples_taken") FROM "tests_conducted_by_aqsiq" WHERE "product"='嬰幼兒配方乳粉2段基粉';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" text
);
Question: What are the producers of 磊磊牌嬰幼兒配方乳粉 ?
<|assistant|>
SELECT "producer" FROM "tests_conducted_by_aqsiq" WHERE "product"='磊磊牌嬰幼兒配方乳粉';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" text
);
Question: What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?
<|assistant|>
SELECT MIN("samples_taken") FROM "tests_conducted_by_aqsiq" WHERE "product"='蒙牛牌嬰幼兒配方乳粉';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" text
);
Question: Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?
<|assistant|>
SELECT "producer" FROM "tests_conducted_by_aqsiq" WHERE "product"='金必氏牌嬰幼兒配方乳粉';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: How many live births per year are there in the period where the life expectancy for females is 73.3?
<|assistant|>
SELECT "live_births_per_year" FROM "table1_18950570_2" WHERE "life_expectancy_females"='73.3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What's the CDR for the period where the life expectancy is 61.5?
<|assistant|>
SELECT "cdr" FROM "table1_18950570_2" WHERE "life_expectancy_total"='61.5';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What's the IMR for the period with a life expectancy of 69.3?
<|assistant|>
SELECT "imr" FROM "table1_18950570_2" WHERE "life_expectancy_total"='69.3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What's the CBR for the period with 1 058 000 deaths per year?
<|assistant|>
SELECT "cbr" FROM "table1_18950570_2" WHERE "deaths_per_year"='1 058 000';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: How many births per year are there for the period with 998 000 deaths per year?
<|assistant|>
SELECT "live_births_per_year" FROM "table1_18950570_2" WHERE "deaths_per_year"='998 000';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What's the TFR for the period with NC of 13.4?
<|assistant|>
SELECT "tfr" FROM "table1_18950570_2" WHERE "nc"='13.4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: What is the highest value for col(m) when prominence(m) is 3755?
<|assistant|>
SELECT MAX("col_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "prominence_m"=3755;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: What is the highest value for col(m) at North Island?
<|assistant|>
SELECT MAX("col_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "island"='North Island';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: What is the lowest elevation(m) for the peak Mount Taylor?
<|assistant|>
SELECT MIN("elevation_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "peak"='Mount Taylor';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" (
"rank" real,
"peak" text,
"country" text,
"island" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
);
Question: How many values of prominence(m) occur at rank 5?
<|assistant|>
SELECT COUNT("prominence_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "rank"=5;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18950570_4" (
"age_group" text,
"brazil_100pct_percent_of_the_population" text,
"white_47_73pct_percent_in_the_race_percent_in_the_age_group" text,
"black_7_61pct_percent_in_the_race_percent_in_the_age_group" text,
"yellow_1_09pct_percent_in_the_race_percent_in_the_age_group" text,
"brown_multiracial_43_13pct_percent_in_the_race_percent_in_the_age_group" text,
"indians_0_43pct_percent_in_the_race_percent_in_the_age_group" text,
"unspecified_0_0034pct" text
);
Question: what ae all of the brazil 100% where the age group is 15-17?
<|assistant|>
SELECT "brazil_100pct_percent_of_the_population" FROM "table1_18950570_4" WHERE "age_group"='15-17';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" text,
"error" text,
"audio" text
);
Question: If the just ratio is 11:8 and the cents size is 560, what is the interval name?
<|assistant|>
SELECT "interval_name" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "size_cents"=560 AND "just_ratio"='11:8';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" text,
"error" text,
"audio" text
);
Question: If the just cents is 84.46, what is the just ratio?
<|assistant|>
SELECT "just_ratio" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_cents"='84.46';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" text,
"error" text,
"audio" text
);
Question: If the just cents is 701.96, what is the interval name?
<|assistant|>
SELECT "interval_name" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_cents"='701.96';<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.