text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "triangles_and_their_sides" (
"number" real,
"name" text,
"vertices" text,
"hypotenuse_0_c" text,
"vertical_0_b" text,
"horizontal_0_a" text
);
Question: Name the horizontal 0 for 通 tong
<|assistant|>
SELECT "horizontal_0_a" FROM "triangles_and_their_sides" WHERE "name"='通 TONG';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "triangles_and_their_sides" (
"number" real,
"name" text,
"vertices" text,
"hypotenuse_0_c" text,
"vertical_0_b" text,
"horizontal_0_a" text
);
Question: Name the horizontal 0 for 明弦(ry日月)
<|assistant|>
SELECT "horizontal_0_a" FROM "triangles_and_their_sides" WHERE "hypotenuse_0_c"='明弦(RY日月)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "triangles_and_their_sides" (
"number" real,
"name" text,
"vertices" text,
"hypotenuse_0_c" text,
"vertical_0_b" text,
"horizontal_0_a" text
);
Question: Name the vertical for 明勾(ys月南)
<|assistant|>
SELECT "vertical_0_b" FROM "triangles_and_their_sides" WHERE "horizontal_0_a"='明勾(YS月南)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "triangles_and_their_sides" (
"number" real,
"name" text,
"vertices" text,
"hypotenuse_0_c" text,
"vertical_0_b" text,
"horizontal_0_a" text
);
Question: Name the horizontal number for number 10
<|assistant|>
SELECT COUNT("horizontal_0_a") FROM "triangles_and_their_sides" WHERE "number"=10;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25518547_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: How many teams drafted players from the University of Maryland?
<|assistant|>
SELECT COUNT("mls_team") FROM "table1_25518547_3" WHERE "affiliation"='University of Maryland';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25518547_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: What MLS team drafted samuel appiah?
<|assistant|>
SELECT "mls_team" FROM "table1_25518547_3" WHERE "player"='Samuel Appiah';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25518547_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: What player was drafted by the philadelphia union?
<|assistant|>
SELECT "player" FROM "table1_25518547_3" WHERE "mls_team"='Philadelphia Union';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text
);
Question: This institution nicknamed Fightin' engineers was founded on what year?
<|assistant|>
SELECT "founded" FROM "current_members" WHERE "nickname"='Fightin'' Engineers';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text
);
Question: How many inputs joined this institution located in Franklin, Indiana?
<|assistant|>
SELECT COUNT("joined") FROM "current_members" WHERE "location"='Franklin, Indiana';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text
);
Question: How many times this institution was founded that was nicknamed Beavers?
<|assistant|>
SELECT COUNT("founded") FROM "current_members" WHERE "nickname"='Beavers';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text
);
Question: How many joined this Private/Church of God institution?
<|assistant|>
SELECT "joined" FROM "current_members" WHERE "type"='Private/Church of God';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text
);
Question: How many joined Manchester University?
<|assistant|>
SELECT "joined" FROM "current_members" WHERE "institution"='Manchester University';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25531112_2" (
"rd" text,
"event" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
);
Question: What circuit was the Clipsal 500 on?
<|assistant|>
SELECT "circuit" FROM "table1_25531112_2" WHERE "event"='Clipsal 500';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25531112_2" (
"rd" text,
"event" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
);
Question: Who made the challenge on the Albert Park Grand Prix Circuit?
<|assistant|>
SELECT "challenge" FROM "table1_25531112_2" WHERE "circuit"='Albert Park Grand Prix Circuit';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25531112_2" (
"rd" text,
"event" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
);
Question: In what round was the circuit Eastern Creek Raceway?
<|assistant|>
SELECT "rd" FROM "table1_25531112_2" WHERE "circuit"='Eastern Creek Raceway';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25531112_2" (
"rd" text,
"event" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
);
Question: Who made the challenge in the Australian Grand Prix?
<|assistant|>
SELECT "challenge" FROM "table1_25531112_2" WHERE "event"='Australian Grand Prix';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_kits" (
"team" text,
"manager" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text,
"average_squad_age" text
);
Question: Who is the shirt sponsor of the team with an average squad age of 25.46?
<|assistant|>
SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "average_squad_age"='25.46';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_kits" (
"team" text,
"manager" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text,
"average_squad_age" text
);
Question: Who is the shirt sponsor for FC Bunyodkor?
<|assistant|>
SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "team"='FC Bunyodkor';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_kits" (
"team" text,
"manager" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text,
"average_squad_age" text
);
Question: What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas?
<|assistant|>
SELECT "average_squad_age" FROM "personnel_and_kits" WHERE "shirt_sponsor"='Sho''rtan Gaz Mahsulot' AND "kit_manufacturer"='Adidas';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_kits" (
"team" text,
"manager" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text,
"average_squad_age" text
);
Question: Who is the captain of the team whose kit manufacturer is Nike?
<|assistant|>
SELECT "captain" FROM "personnel_and_kits" WHERE "kit_manufacturer"='Nike';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_kits" (
"team" text,
"manager" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text,
"average_squad_age" text
);
Question: Who is the manager of FK Andijan?
<|assistant|>
SELECT "manager" FROM "personnel_and_kits" WHERE "team"='FK Andijan';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the year for open cup did not qualify and national final
<|assistant|>
SELECT COUNT("year") FROM "year_by_year" WHERE "open_cup"='Did not qualify' AND "playoffs"='National Final';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the league for 2000
<|assistant|>
SELECT "league" FROM "year_by_year" WHERE "year"=2000;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the league for conference finals
<|assistant|>
SELECT "league" FROM "year_by_year" WHERE "playoffs"='Conference Finals';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25547943_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who directed the episode that was written by Bill Lawrence?
<|assistant|>
SELECT "directed_by" FROM "table1_25547943_1" WHERE "written_by"='Bill Lawrence';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series" (
"series" real,
"season" text,
"played_in" text,
"first_match" text,
"tests_played_sched" text,
"tests_won_by_australia" real,
"tests_won_by_england" real,
"tests_drawn" real,
"series_result" text,
"holder_at_series_end" text
);
Question: Name the series result for season being 1998
<|assistant|>
SELECT "series_result" FROM "series" WHERE "season"='1998';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series" (
"series" real,
"season" text,
"played_in" text,
"first_match" text,
"tests_played_sched" text,
"tests_won_by_australia" real,
"tests_won_by_england" real,
"tests_drawn" real,
"series_result" text,
"holder_at_series_end" text
);
Question: Name the total number of tests won by australia for series 10
<|assistant|>
SELECT COUNT("tests_won_by_australia") FROM "series" WHERE "series"=10;<|endoftext|> |
<|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,
"combination_classification" text,
"team_classification" text
);
Question: How many winners were there when the mountains classification was not awarded?
<|assistant|>
SELECT COUNT("winner") FROM "classification_leadership" WHERE "mountains_classification"='not awarded';<|endoftext|> |
<|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,
"combination_classification" text,
"team_classification" text
);
Question: Who was awarded mountains classifications when Mikel Nieve was the winner?
<|assistant|>
SELECT "mountains_classification" FROM "classification_leadership" WHERE "winner"='Mikel Nieve';<|endoftext|> |
<|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,
"combination_classification" text,
"team_classification" text
);
Question: Who was awarded mountains classification when Alessandro petacchi won?
<|assistant|>
SELECT "mountains_classification" FROM "classification_leadership" WHERE "winner"='Alessandro Petacchi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548213_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What is the production code for he episode titled "my best friend's baby's baby and my baby's baby"
<|assistant|>
SELECT MIN("production_code") FROM "table1_25548213_1" WHERE "title"='\"My Best Friend''s Baby''s Baby and My Baby''s Baby\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548213_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: List the number of episodes directed by linda mendoza.
<|assistant|>
SELECT COUNT("production_code") FROM "table1_25548213_1" WHERE "directed_by"='Linda Mendoza';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548213_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: How many million viewers watch the episode that kevin biegel & aseem batra wrote?
<|assistant|>
SELECT "u_s_viewers_million" FROM "table1_25548213_1" WHERE "written_by"='Kevin Biegel & Aseem Batra';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548213_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What is the series number that had 5.31 million viewers?
<|assistant|>
SELECT MAX("series_num") FROM "table1_25548213_1" WHERE "u_s_viewers_million"='5.31';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548213_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What was the name of the episode that bill lawrence directed?
<|assistant|>
SELECT "title" FROM "table1_25548213_1" WHERE "directed_by"='Bill Lawrence';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548213_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What was the name of the episode that had 4.65 million viewers?
<|assistant|>
SELECT "title" FROM "table1_25548213_1" WHERE "u_s_viewers_million"='4.65';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548505_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What is the original air date of the episode titled "My Hard Labor"?
<|assistant|>
SELECT "original_air_date" FROM "table1_25548505_1" WHERE "title"='\"My Hard Labor\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548505_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What is the production code of the episode directed by Michael McDonald?
<|assistant|>
SELECT "production_code" FROM "table1_25548505_1" WHERE "directed_by"='Michael McDonald';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548505_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What was the original air date of the episode that had 5.30 million U.S. viewers?
<|assistant|>
SELECT "original_air_date" FROM "table1_25548505_1" WHERE "u_s_viewers_millions"='5.30';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25548505_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What is the title of the episode directed by Linda Mendoza?
<|assistant|>
SELECT "title" FROM "table1_25548505_1" WHERE "directed_by"='Linda Mendoza';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political" (
"city_municipality" text,
"type" text,
"no_of_barangays" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" real,
"income_class" text,
"zip_code" real
);
Question: What are all the political types where area is 155.77?
<|assistant|>
SELECT "type" FROM "political" WHERE "area_km"='155.77';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political" (
"city_municipality" text,
"type" text,
"no_of_barangays" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" real,
"income_class" text,
"zip_code" real
);
Question: What is the minimum number of barangays where the type is component city?
<|assistant|>
SELECT MIN("no_of_barangays") FROM "political" WHERE "type"='Component City';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political" (
"city_municipality" text,
"type" text,
"no_of_barangays" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" real,
"income_class" text,
"zip_code" real
);
Question: What city/municipality has area of 176.40?
<|assistant|>
SELECT "city_municipality" FROM "political" WHERE "area_km"='176.40';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political" (
"city_municipality" text,
"type" text,
"no_of_barangays" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" real,
"income_class" text,
"zip_code" real
);
Question: What is the area where population in 2010 is 38062?
<|assistant|>
SELECT "area_km" FROM "political" WHERE "population_2010"=38062;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political" (
"city_municipality" text,
"type" text,
"no_of_barangays" real,
"population_2010" real,
"area_km" text,
"pop_density_per_km" real,
"income_class" text,
"zip_code" real
);
Question: What is the population density where area is 48.67?
<|assistant|>
SELECT COUNT("pop_density_per_km") FROM "political" WHERE "area_km"='48.67';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
);
Question: What couple averaged 21.0?
<|assistant|>
SELECT "couple" FROM "average_chart" WHERE "average"='21.0';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
);
Question: What was the number of dances for the competition finish of 3?
<|assistant|>
SELECT MAX("number_of_dances") FROM "average_chart" WHERE "competition_finish"=3;<|endoftext|> |
<|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,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What was his minimum number wins in a single year?
<|assistant|>
SELECT MIN("wins") FROM "career_summary";<|endoftext|> |
<|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,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: In which series was his position NC† ?
<|assistant|>
SELECT "series" FROM "career_summary" WHERE "position"='NC†';<|endoftext|> |
<|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,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What was his position when he garnered 38 points?
<|assistant|>
SELECT "position" FROM "career_summary" WHERE "points"='38';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
Question: What was the sail number of Two True?
<|assistant|>
SELECT "sail_number" FROM "handicap_results_top_10" WHERE "yacht"='Two True';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
Question: What was Swish's corrected time?
<|assistant|>
SELECT "corrected_time_d_hh_mm_ss" FROM "handicap_results_top_10" WHERE "yacht"='Swish';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
Question: What yacht did Andrew Saies sail on?
<|assistant|>
SELECT "yacht" FROM "handicap_results_top_10" WHERE "skipper"='Andrew Saies';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What was the LOA when the elapsed time was 3:06:41:37?
<|assistant|>
SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:06:41:37';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What was the LOA for the Simonis Voogd Maxi?
<|assistant|>
SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "yacht_type"='Simonis Voogd Maxi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: In what position did skipper Mark Richards place?
<|assistant|>
SELECT "position" FROM "line_honours_results_top_10" WHERE "skipper"='Mark Richards';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What is the yacht type of Icap Leopard?
<|assistant|>
SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "yacht"='ICAP Leopard';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: How many elapsed times were posted for the yacht with 27.38 LOA meters?
<|assistant|>
SELECT COUNT("elapsed_time_d_hh_mm_ss") FROM "line_honours_results_top_10" WHERE "loa_metres"='27.38';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: what skipper has the sail number aus60000?
<|assistant|>
SELECT "skipper" FROM "line_honours_results_top_10" WHERE "sail_number"='AUS60000';<|endoftext|> |
<|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,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
);
Question: Who was the aggressive rider when the winner was luis león sánchez?
<|assistant|>
SELECT "aggressive_rider" FROM "classification_leadership" WHERE "winner"='Luis León Sánchez';<|endoftext|> |
<|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,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
);
Question: Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe?
<|assistant|>
SELECT "aggressive_rider" FROM "classification_leadership" WHERE "sprint_classification"='André Greipel' AND "mountains_classification"='Timothy Roe';<|endoftext|> |
<|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,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
);
Question: What was the stage when the winner was luis león sánchez?
<|assistant|>
SELECT "stage" FROM "classification_leadership" WHERE "winner"='Luis León Sánchez';<|endoftext|> |
<|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,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
);
Question: What was the young rider classification when manuel cardoso was the winner?
<|assistant|>
SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Manuel Cardoso';<|endoftext|> |
<|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,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
);
Question: How many winners were there for stage 5?
<|assistant|>
SELECT COUNT("winner") FROM "classification_leadership" WHERE "stage"=5;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"municipality" text,
"no_of_barangays" real,
"area_hectares" real,
"population_2007" real,
"population_2010" real,
"pop_density_per_km_2" text
);
Question: What is the 2007 population of Gigmoto?
<|assistant|>
SELECT COUNT("population_2007") FROM "subdivisions" WHERE "municipality"='Gigmoto';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"municipality" text,
"no_of_barangays" real,
"area_hectares" real,
"population_2007" real,
"population_2010" real,
"pop_density_per_km_2" text
);
Question: What is the 2010 population of the municipality with 31 barangays?
<|assistant|>
SELECT "population_2010" FROM "subdivisions" WHERE "no_of_barangays"=31;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"municipality" text,
"no_of_barangays" real,
"area_hectares" real,
"population_2007" real,
"population_2010" real,
"pop_density_per_km_2" text
);
Question: What is the population density of Caramoran?
<|assistant|>
SELECT "pop_density_per_km_2" FROM "subdivisions" WHERE "municipality"='Caramoran';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subdivisions" (
"municipality" text,
"no_of_barangays" real,
"area_hectares" real,
"population_2007" real,
"population_2010" real,
"pop_density_per_km_2" text
);
Question: What municipality has a 130.6 pupulation density?
<|assistant|>
SELECT "municipality" FROM "subdivisions" WHERE "pop_density_per_km_2"='130.6';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"no_of_s_barangay" real,
"area_km" text,
"population_2007" real,
"population_2010" real
);
Question: What is the number of S Barangay for Paracale?
<|assistant|>
SELECT "no_of_s_barangay" FROM "municipalities" WHERE "municipality"='Paracale';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"no_of_s_barangay" real,
"area_km" text,
"population_2007" real,
"population_2010" real
);
Question: What is the municipality that has an area of exactly 199.35 sq. km?
<|assistant|>
SELECT "municipality" FROM "municipalities" WHERE "area_km"='199.35';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"no_of_s_barangay" real,
"area_km" text,
"population_2007" real,
"population_2010" real
);
Question: What is the municipality that has an area of exactly 214.44 sq. km?
<|assistant|>
SELECT "municipality" FROM "municipalities" WHERE "area_km"='214.44';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25574050_7" (
"case" text,
"1st_pers_sing" text,
"2nd_pers_sing" text,
"3rd_pers_sing" text,
"1st_pers_pl" text,
"2nd_pers_pl" text,
"3rd_pers_pl" text
);
Question: Name the 3rd person pl for тонэн ~ тонэныд
<|assistant|>
SELECT "3rd_pers_pl" FROM "table1_25574050_7" WHERE "2nd_pers_sing"='тонэн ~ тонэныд';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25574050_7" (
"case" text,
"1st_pers_sing" text,
"2nd_pers_sing" text,
"3rd_pers_sing" text,
"1st_pers_pl" text,
"2nd_pers_pl" text,
"3rd_pers_pl" text
);
Question: Name the 1st person pl for тонэ
<|assistant|>
SELECT "1st_pers_pl" FROM "table1_25574050_7" WHERE "2nd_pers_sing"='тонэ';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25574050_7" (
"case" text,
"1st_pers_sing" text,
"2nd_pers_sing" text,
"3rd_pers_sing" text,
"1st_pers_pl" text,
"2nd_pers_pl" text,
"3rd_pers_pl" text
);
Question: Name the 3rd pers pl for dative
<|assistant|>
SELECT "3rd_pers_pl" FROM "table1_25574050_7" WHERE "case"='dative';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"circuit" text,
"location" text,
"date" text,
"series" text,
"winning_driver" text,
"winning_team" text
);
Question: When fr2.0 9 is the series who is the winning team?
<|assistant|>
SELECT "winning_team" FROM "race_calendar" WHERE "series"='FR2.0 9';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"circuit" text,
"location" text,
"date" text,
"series" text,
"winning_driver" text,
"winning_team" text
);
Question: When fairuz fauzy is the winning driver what is the date?
<|assistant|>
SELECT "date" FROM "race_calendar" WHERE "winning_driver"='Fairuz Fauzy';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"circuit" text,
"location" text,
"date" text,
"series" text,
"winning_driver" text,
"winning_team" text
);
Question: When emt 9 is the series what is the date?
<|assistant|>
SELECT "date" FROM "race_calendar" WHERE "series"='EMT 9';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: what are all the state/nation where the race number is 36
<|assistant|>
SELECT "state_country" FROM "line_honours_results_top_10" WHERE "race_number"='36';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What State/Country is Sean Langman the skipper?
<|assistant|>
SELECT "state_country" FROM "line_honours_results_top_10" WHERE "skipper"='Sean Langman';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What yacht type is involved where Bob Oatley is the skipper?
<|assistant|>
SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "skipper"='Bob Oatley';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: How many races was Loki in?
<|assistant|>
SELECT COUNT("race_number") FROM "line_honours_results_top_10" WHERE "yacht"='Loki';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What were the LOA (metres) for the yacht where the skipper was Jez Fanstone?
<|assistant|>
SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "skipper"='Jez Fanstone';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: Who was the skipper of the yacht with an elapsed time of 3:07:39:33?
<|assistant|>
SELECT "skipper" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:07:39:33';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What was the elapsed time for the yacht that was a Farr 65 type?
<|assistant|>
SELECT "elapsed_time_d_hh_mm_ss" FROM "line_honours_results_top_10" WHERE "yacht_type"='Farr 65';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What is the sail number of the yacht that had an elapsed time of 2:22:30:42?
<|assistant|>
SELECT "sail_number" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='2:22:30:42';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What state/country was the yacht that had an elapsed time of 3:04:06:38 from?
<|assistant|>
SELECT "state_country" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:04:06:38';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What state/country was the yacht from that had 15.79 LOA (metres)?
<|assistant|>
SELECT "state_country" FROM "line_honours_results_top_10" WHERE "loa_metres"='15.79';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What is Matt Allen's sail number?
<|assistant|>
SELECT "sail_number" FROM "line_honours_results_top_10" WHERE "skipper"='Matt Allen';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What is the state that the boat is from that finished in 2:15:14:06?
<|assistant|>
SELECT "state_country" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='2:15:14:06';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What is the LOA of Brindabella?
<|assistant|>
SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "yacht"='Brindabella';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: What the is the state that the boat is from with LOA of 19.50?
<|assistant|>
SELECT "state_country" FROM "line_honours_results_top_10" WHERE "loa_metres"='19.50';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: How many states is Grant Wharington from?
<|assistant|>
SELECT COUNT("state_country") FROM "line_honours_results_top_10" WHERE "skipper"='Grant Wharington';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed_time_d_hh_mm_ss" text
);
Question: How many times are provided for the boat with LOA of 20.49?
<|assistant|>
SELECT COUNT("elapsed_time_d_hh_mm_ss") FROM "line_honours_results_top_10" WHERE "loa_metres"='20.49';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_lighthouses_in_the_philippines" (
"lighthouse" text,
"location" text,
"province_city" text,
"date_first_lit" text,
"tower_height_in_ft_m" text,
"focal_plane_in_ft_m" text,
"current_status" text,
"current_condition_description" text
);
Question: The date first lit is 1853 total number of current status.
<|assistant|>
SELECT COUNT("current_status") FROM "list_of_lighthouses_in_the_philippines" WHERE "date_first_lit"='1853';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_lighthouses_in_the_philippines" (
"lighthouse" text,
"location" text,
"province_city" text,
"date_first_lit" text,
"tower_height_in_ft_m" text,
"focal_plane_in_ft_m" text,
"current_status" text,
"current_condition_description" text
);
Question: Location for focal plane in ft (m) is naidi hills, basco.
<|assistant|>
SELECT "focal_plane_in_ft_m" FROM "list_of_lighthouses_in_the_philippines" WHERE "location"='Naidi Hills, Basco';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_lighthouses_in_the_philippines" (
"lighthouse" text,
"location" text,
"province_city" text,
"date_first_lit" text,
"tower_height_in_ft_m" text,
"focal_plane_in_ft_m" text,
"current_status" text,
"current_condition_description" text
);
Question: Focal plane in ft (m) is 43ft (13.1m) is the first date lit.
<|assistant|>
SELECT "date_first_lit" FROM "list_of_lighthouses_in_the_philippines" WHERE "focal_plane_in_ft_m"='43ft (13.1m)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_lighthouses_in_the_philippines" (
"lighthouse" text,
"location" text,
"province_city" text,
"date_first_lit" text,
"tower_height_in_ft_m" text,
"focal_plane_in_ft_m" text,
"current_status" text,
"current_condition_description" text
);
Question: The province/city corregidor island (2) is where the lighthouse is located.
<|assistant|>
SELECT "province_city" FROM "list_of_lighthouses_in_the_philippines" WHERE "lighthouse"='Corregidor Island (2)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_lighthouses_in_the_philippines" (
"lighthouse" text,
"location" text,
"province_city" text,
"date_first_lit" text,
"tower_height_in_ft_m" text,
"focal_plane_in_ft_m" text,
"current_status" text,
"current_condition_description" text
);
Question: Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).
<|assistant|>
SELECT "focal_plane_in_ft_m" FROM "list_of_lighthouses_in_the_philippines" WHERE "tower_height_in_ft_m"='46ft (14.0m)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25604014_6" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What are the number in series of the pieces directed by Win Phelps and which number in season is 11?
<|assistant|>
SELECT "no_in_series" FROM "table1_25604014_6" WHERE "directed_by"='Win Phelps' AND "no_in_season"=11;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25604014_6" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What are the titles of the pieces that are number 2 in season?
<|assistant|>
SELECT "title" FROM "table1_25604014_6" WHERE "no_in_season"=2;<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.