text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the record for the Argonauts on September 7?
<|assistant|>
SELECT "record" FROM "schedule" WHERE "date"='September 7';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What is he smallest numbered week?
<|assistant|>
SELECT MIN("week") FROM "schedule";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suggested_string_section_sizes" (
"reference" text,
"author" text,
"section_size" text,
"violins" real,
"violas" real,
"celli" real,
"basses" real
);
Question: How many violines are suggested in the "Arranged by Nelson Riddle" reference with section size of 12 players?
<|assistant|>
SELECT "violins" FROM "suggested_string_section_sizes" WHERE "reference"='\"Arranged By Nelson Riddle\"' AND "section_size"='12 players';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suggested_string_section_sizes" (
"reference" text,
"author" text,
"section_size" text,
"violins" real,
"violas" real,
"celli" real,
"basses" real
);
Question: How many cellos are suggested in the reference with section size for 20 players?
<|assistant|>
SELECT "celli" FROM "suggested_string_section_sizes" WHERE "section_size"='20 players';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suggested_string_section_sizes" (
"reference" text,
"author" text,
"section_size" text,
"violins" real,
"violas" real,
"celli" real,
"basses" real
);
Question: What reference, written by Nelson Riddle, suggests 2 violas?
<|assistant|>
SELECT "reference" FROM "suggested_string_section_sizes" WHERE "violas"=2 AND "author"='Nelson Riddle';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suggested_string_section_sizes" (
"reference" text,
"author" text,
"section_size" text,
"violins" real,
"violas" real,
"celli" real,
"basses" real
);
Question: What is the biggest number of basses suggested in either one of the references?
<|assistant|>
SELECT MAX("basses") FROM "suggested_string_section_sizes";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: What is Stella Farentino's current relationship status?
<|assistant|>
SELECT "current_marital_status" FROM "television" WHERE "name"='Stella Farentino';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: How many children did Dennis Hawley have at his time of death?
<|assistant|>
SELECT "children_together" FROM "television" WHERE "deceased_spouse"='Dennis Hawley';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: How did Stella Farentino die?
<|assistant|>
SELECT "cause_of_death" FROM "television" WHERE "name"='Stella Farentino';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "literature" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: What was the cause of death in the marriage that lasted 28 years?
<|assistant|>
SELECT "cause_of_death" FROM "literature" WHERE "length_of_marriage"='28 years';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "literature" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: How long were Ray Bradbury and his wife married?
<|assistant|>
SELECT "length_of_marriage" FROM "literature" WHERE "name"='Ray Bradbury';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: Name the name for deceased spouse being louis malle
<|assistant|>
SELECT "name" FROM "film" WHERE "deceased_spouse"='Louis Malle';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: Name the deceased spouse for length of marriage being 24 years
<|assistant|>
SELECT "deceased_spouse" FROM "film" WHERE "length_of_marriage"='24 years';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: Name the decease spouse for carol deluise
<|assistant|>
SELECT "deceased_spouse" FROM "film" WHERE "name"='Carol DeLuise';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: Name the children together for 9 years of marriage
<|assistant|>
SELECT "children_together" FROM "film" WHERE "length_of_marriage"='9 years';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_presidents" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: Who was the deceased spouse who was married for 4 years?
<|assistant|>
SELECT "deceased_spouse" FROM "u_s_presidents" WHERE "length_of_marriage"='4 years';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_presidents" (
"name" text,
"deceased_spouse" text,
"cause_of_death" text,
"date_of_spouses_death" text,
"length_of_marriage" text,
"children_together" text,
"current_marital_status" text
);
Question: Who were the children of Benjamin Harrison?
<|assistant|>
SELECT "children_together" FROM "u_s_presidents" WHERE "name"='Benjamin Harrison';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24172078_2" (
"episode_num" text,
"segment_1" text,
"segment_2" text,
"original_airdate" text,
"lessons_taught" text
);
Question: Name the segment 1 for episode # 2/225
<|assistant|>
SELECT "segment_1" FROM "table1_24172078_2" WHERE "episode_num"='2/225';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24172078_2" (
"episode_num" text,
"segment_1" text,
"segment_2" text,
"original_airdate" text,
"lessons_taught" text
);
Question: Name the lessons taught for episode # 2/205
<|assistant|>
SELECT "lessons_taught" FROM "table1_24172078_2" WHERE "episode_num"='2/205';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417308_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: What state had william bigler (d) as a successor)
<|assistant|>
SELECT "state_class" FROM "table1_2417308_3" WHERE "successor"='William Bigler (D)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417330_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the date successor seated for successor being vacant
<|assistant|>
SELECT "date_successor_seated" FROM "table1_2417330_4" WHERE "successor"='Vacant';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417330_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the vacator for kentucky 2nd
<|assistant|>
SELECT "vacator" FROM "table1_2417330_4" WHERE "district"='Kentucky 2nd';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417330_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the successor for election was successfully contested july 30, 1861
<|assistant|>
SELECT "successor" FROM "table1_2417330_4" WHERE "reason_for_change"='Election was successfully contested July 30, 1861';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417330_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the successor for vacant and december 3, 1862
<|assistant|>
SELECT "successor" FROM "table1_2417330_4" WHERE "reason_for_change"='Vacant' AND "date_successor_seated"='December 3, 1862';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417340_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: What was the vacator for georgia 2nd?
<|assistant|>
SELECT "vacator" FROM "table1_2417340_4" WHERE "district"='Georgia 2nd';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417340_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: What was the successor for vacant alabama 3rd?
<|assistant|>
SELECT "successor" FROM "table1_2417340_4" WHERE "vacator"='Vacant' AND "district"='Alabama 3rd';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417340_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Who was the successor for vacant louisiana 5th
<|assistant|>
SELECT "successor" FROM "table1_2417340_4" WHERE "vacator"='Vacant' AND "district"='Louisiana 5th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417345_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who were the successors when the date the successors were installed was February 23, 1870?
<|assistant|>
SELECT "successor" FROM "table1_2417345_3" WHERE "date_of_successors_formal_installation"='February 23, 1870';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417345_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who was the vacator when the successor was formally installed on February 1, 1871?
<|assistant|>
SELECT "vacator" FROM "table1_2417345_3" WHERE "date_of_successors_formal_installation"='February 1, 1871';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417345_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who was the successor that was formally installed on March 30, 1870?
<|assistant|>
SELECT "successor" FROM "table1_2417345_3" WHERE "date_of_successors_formal_installation"='March 30, 1870';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417330_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: When did Orville H. Browning (r) succeed?
<|assistant|>
SELECT "date_of_successors_formal_installation" FROM "table1_2417330_3" WHERE "successor"='Orville H. Browning (R)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417330_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: List all dates of succession in the state class Missouri (3).
<|assistant|>
SELECT "date_of_successors_formal_installation" FROM "table1_2417330_3" WHERE "state_class"='Missouri (3)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417340_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: List the number of vacators when successors were formally installed on June 22, 1868.
<|assistant|>
SELECT COUNT("vacator") FROM "table1_2417340_3" WHERE "date_of_successors_formal_installation"='June 22, 1868';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417340_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: List all state classes when successors were formally installed on June 22, 1868.
<|assistant|>
SELECT "state_class" FROM "table1_2417340_3" WHERE "date_of_successors_formal_installation"='June 22, 1868';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417395_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: What was the reason for change to the successor that was seated on December 13, 1880?
<|assistant|>
SELECT "reason_for_change" FROM "table1_2417395_4" WHERE "date_successor_seated"='December 13, 1880';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417445_4" (
"district" text,
"vacator" text,
"reason_for_vacancy" text,
"successor" text,
"date_of_successors_taking_office" text
);
Question: When the person died May 22, 1895 is the reason for vacancy what is the district?
<|assistant|>
SELECT "district" FROM "table1_2417445_4" WHERE "reason_for_vacancy"='Died May 22, 1895';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417445_4" (
"district" text,
"vacator" text,
"reason_for_vacancy" text,
"successor" text,
"date_of_successors_taking_office" text
);
Question: When frederick remann (r) is the vacator what is the reason for vacancy?
<|assistant|>
SELECT "reason_for_vacancy" FROM "table1_2417445_4" WHERE "vacator"='Frederick Remann (R)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417445_4" (
"district" text,
"vacator" text,
"reason_for_vacancy" text,
"successor" text,
"date_of_successors_taking_office" text
);
Question: When rudolph kleberg (d) is the successor is the reason for vacancy?
<|assistant|>
SELECT "reason_for_vacancy" FROM "table1_2417445_4" WHERE "successor"='Rudolph Kleberg (D)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417445_4" (
"district" text,
"vacator" text,
"reason_for_vacancy" text,
"successor" text,
"date_of_successors_taking_office" text
);
Question: When massachusetts 6th is the district what is the reason for vacancy?
<|assistant|>
SELECT "reason_for_vacancy" FROM "table1_2417445_4" WHERE "district"='Massachusetts 6th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2417445_4" (
"district" text,
"vacator" text,
"reason_for_vacancy" text,
"successor" text,
"date_of_successors_taking_office" text
);
Question: When rudolph kleberg (d) is the successor what is the date of successors taking office?
<|assistant|>
SELECT "date_of_successors_taking_office" FROM "table1_2417445_4" WHERE "successor"='Rudolph Kleberg (D)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: What geographical region is the province distrito nacional located in?
<|assistant|>
SELECT "geographical_regions" FROM "delegates" WHERE "province_community"='Distrito Nacional';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: What geographical region is contestant laura jiménez ynoa from?
<|assistant|>
SELECT "geographical_regions" FROM "delegates" WHERE "contestant"='Laura Jiménez Ynoa';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: How many hometowns have a height of m (ft 10 1⁄2 in)?
<|assistant|>
SELECT COUNT("hometown") FROM "delegates" WHERE "height"='m (ft 10 1⁄2 in)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: Which contestant is from the province of baoruco
<|assistant|>
SELECT "contestant" FROM "delegates" WHERE "province_community"='Baoruco';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: How old is the person with the height of m (ft 3⁄4 in)?
<|assistant|>
SELECT "age" FROM "delegates" WHERE "height"='m (ft 3⁄4 in)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episodes" (
"episode" real,
"broadcast_date" real,
"bbc_one_presenter_s" text,
"starring" text,
"radio_1_presenter" text,
"viewers_millions" text
);
Question: What was the number of viewers in millions for the broadcast from 2010?
<|assistant|>
SELECT "viewers_millions" FROM "episodes" WHERE "broadcast_date"=2010;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episodes" (
"episode" real,
"broadcast_date" real,
"bbc_one_presenter_s" text,
"starring" text,
"radio_1_presenter" text,
"viewers_millions" text
);
Question: Who starred in episode 3?
<|assistant|>
SELECT "starring" FROM "episodes" WHERE "episode"=3;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episodes" (
"episode" real,
"broadcast_date" real,
"bbc_one_presenter_s" text,
"starring" text,
"radio_1_presenter" text,
"viewers_millions" text
);
Question: How many episodes were broadcast in 2010?
<|assistant|>
SELECT COUNT("episode") FROM "episodes" WHERE "broadcast_date"=2010;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episodes" (
"episode" real,
"broadcast_date" real,
"bbc_one_presenter_s" text,
"starring" text,
"radio_1_presenter" text,
"viewers_millions" text
);
Question: Who was the radio 1 presenter for the broadcast that had 9.73 million viewers?
<|assistant|>
SELECT "radio_1_presenter" FROM "episodes" WHERE "viewers_millions"='9.73';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_bus_fleet_roster" (
"order_year" real,
"fleet_series_qty" text,
"manufacturer" text,
"model" text,
"powertrain_engine_transmission" text,
"fuel_or_propulsion" text,
"division" text
);
Question: Name the powertrain for kmd and c40lf
<|assistant|>
SELECT "powertrain_engine_transmission" FROM "current_bus_fleet_roster" WHERE "division"='KMD' AND "model"='C40LF';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_bus_fleet_roster" (
"order_year" real,
"fleet_series_qty" text,
"manufacturer" text,
"model" text,
"powertrain_engine_transmission" text,
"fuel_or_propulsion" text,
"division" text
);
Question: Name the division for detroit diesel series 50egr allison wb-400r
<|assistant|>
SELECT "division" FROM "current_bus_fleet_roster" WHERE "powertrain_engine_transmission"='Detroit Diesel Series 50EGR Allison WB-400R';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_bus_fleet_roster" (
"order_year" real,
"fleet_series_qty" text,
"manufacturer" text,
"model" text,
"powertrain_engine_transmission" text,
"fuel_or_propulsion" text,
"division" text
);
Question: Name the manufacturer for 2011
<|assistant|>
SELECT "manufacturer" FROM "current_bus_fleet_roster" WHERE "order_year"=2011;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: List the number of locations for the team known as the billikens.
<|assistant|>
SELECT COUNT("location") FROM "members" WHERE "nickname"='Billikens';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: How many people are enrolled at the university in milwaukee, wisconsin
<|assistant|>
SELECT MIN("enrollment") FROM "members" WHERE "location"='Milwaukee, Wisconsin';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: In what year did the teams leave the conference?
<|assistant|>
SELECT MAX("left") FROM "members";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: What university team is referred to as the tigers?
<|assistant|>
SELECT "institution" FROM "members" WHERE "nickname"='Tigers';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_foreshocks_and_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
Question: When 43.048° n is the latitude what is the magnitude?
<|assistant|>
SELECT "magnitude" FROM "list_of_foreshocks_and_aftershocks" WHERE "latitude"='43.048° N';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_foreshocks_and_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
Question: When 9:47:38 is the time (utc) how many measurements of latitude are there?
<|assistant|>
SELECT COUNT("latitude") FROM "list_of_foreshocks_and_aftershocks" WHERE "time_utc"='9:47:38';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_foreshocks_and_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
Question: When 42.903° n is the latitude how many measurements of longitude are there?
<|assistant|>
SELECT COUNT("longitude") FROM "list_of_foreshocks_and_aftershocks" WHERE "latitude"='42.903° N';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_foreshocks_and_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
Question: When 11:40:26 is the time (utc) what is the depth?
<|assistant|>
SELECT "depth" FROM "list_of_foreshocks_and_aftershocks" WHERE "time_utc"='11:40:26';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_reality_television_show_franchis" (
"region_country" text,
"local_name" text,
"main_presenter" text,
"network" text,
"year_premiered" real
);
Question: Who is every main presenter for the year 2011?
<|assistant|>
SELECT "main_presenter" FROM "list_of_reality_television_show_franchis" WHERE "year_premiered"=2011;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_reality_television_show_franchis" (
"region_country" text,
"local_name" text,
"main_presenter" text,
"network" text,
"year_premiered" real
);
Question: Who is every main presenter for the Estonia region/country?
<|assistant|>
SELECT "main_presenter" FROM "list_of_reality_television_show_franchis" WHERE "region_country"='Estonia';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_reality_television_show_franchis" (
"region_country" text,
"local_name" text,
"main_presenter" text,
"network" text,
"year_premiered" real
);
Question: What is the highest year premiered for the TV2 network when main present is øyvind mund?
<|assistant|>
SELECT MAX("year_premiered") FROM "list_of_reality_television_show_franchis" WHERE "network"='TV2' AND "main_presenter"='Øyvind Mund';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_reality_television_show_franchis" (
"region_country" text,
"local_name" text,
"main_presenter" text,
"network" text,
"year_premiered" real
);
Question: How many years premiered have Sa Beining as main presenter?
<|assistant|>
SELECT COUNT("year_premiered") FROM "list_of_reality_television_show_franchis" WHERE "main_presenter"='Sa Beining';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_reality_television_show_franchis" (
"region_country" text,
"local_name" text,
"main_presenter" text,
"network" text,
"year_premiered" real
);
Question: What is every year premiered when Behzat Uighur is main presenter?
<|assistant|>
SELECT "year_premiered" FROM "list_of_reality_television_show_franchis" WHERE "main_presenter"='Behzat Uighur';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_reality_television_show_franchis" (
"region_country" text,
"local_name" text,
"main_presenter" text,
"network" text,
"year_premiered" real
);
Question: What is the highest year premiered when Benjamin Castaldi is main presenter?
<|assistant|>
SELECT MAX("year_premiered") FROM "list_of_reality_television_show_franchis" WHERE "main_presenter"='Benjamin Castaldi';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "united_kingdom" (
"episode_number_production_number" text,
"title" text,
"original_airdate" text,
"time_of_airing" text,
"total_viewers_on_hallmark" real,
"total_viewers_on_hallmark_1" real,
"total_viewers" real,
"rank_on_channel" text
);
Question: Name the episode number for tasers and mind erasers
<|assistant|>
SELECT "episode_number_production_number" FROM "united_kingdom" WHERE "title"='Tasers and Mind Erasers';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "united_kingdom" (
"episode_number_production_number" text,
"title" text,
"original_airdate" text,
"time_of_airing" text,
"total_viewers_on_hallmark" real,
"total_viewers_on_hallmark_1" real,
"total_viewers" real,
"rank_on_channel" text
);
Question: Name the original air date for 7 1-07
<|assistant|>
SELECT "original_airdate" FROM "united_kingdom" WHERE "episode_number_production_number"='7 1-07';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "united_kingdom" (
"episode_number_production_number" text,
"title" text,
"original_airdate" text,
"time_of_airing" text,
"total_viewers_on_hallmark" real,
"total_viewers_on_hallmark_1" real,
"total_viewers" real,
"rank_on_channel" text
);
Question: Name the total viewers on hallmark for pilot
<|assistant|>
SELECT "total_viewers_on_hallmark_1" FROM "united_kingdom" WHERE "title"='Pilot';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "united_kingdom" (
"episode_number_production_number" text,
"title" text,
"original_airdate" text,
"time_of_airing" text,
"total_viewers_on_hallmark" real,
"total_viewers_on_hallmark_1" real,
"total_viewers" real,
"rank_on_channel" text
);
Question: Name the rank on channel mooning and crooning
<|assistant|>
SELECT "rank_on_channel" FROM "united_kingdom" WHERE "title"='Mooning and Crooning';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "united_kingdom" (
"episode_number_production_number" text,
"title" text,
"original_airdate" text,
"time_of_airing" text,
"total_viewers_on_hallmark" real,
"total_viewers_on_hallmark_1" real,
"total_viewers" real,
"rank_on_channel" text
);
Question: Name the rank on channel for pilot
<|assistant|>
SELECT "rank_on_channel" FROM "united_kingdom" WHERE "title"='Pilot';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: What is the manner of departure for the team racing santander?
<|assistant|>
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='Racing Santander';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: Who replaced on the date of appointment 2 november 2010?
<|assistant|>
SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_appointment"='2 November 2010';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: What is the team for the position in table 19th?
<|assistant|>
SELECT "team" FROM "managerial_changes" WHERE "position_in_table"='19th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: What is the team that the replaced by is miroslav đukić?
<|assistant|>
SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='Miroslav Đukić';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: How many times was the date of vacancy 14 february 2011?
<|assistant|>
SELECT COUNT("position_in_table") FROM "managerial_changes" WHERE "date_of_vacancy"='14 February 2011';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: what is the date of appointment for the team osasuna?
<|assistant|>
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "team"='Osasuna';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wilderness_years_1888_1893" (
"season" real,
"pl" real,
"w" real,
"l" real,
"d" real,
"captain" text,
"most_runs" text,
"most_wkts" text,
"wkt_keeper" text
);
Question: What is the lowest amount of L in any season?
<|assistant|>
SELECT MIN("l") FROM "wilderness_years_1888_1893";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wilderness_years_1888_1893" (
"season" real,
"pl" real,
"w" real,
"l" real,
"d" real,
"captain" text,
"most_runs" text,
"most_wkts" text,
"wkt_keeper" text
);
Question: What was the L in the season where Levi Wright had the most runs?
<|assistant|>
SELECT "l" FROM "wilderness_years_1888_1893" WHERE "most_runs"='Levi Wright';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24233848_2" (
"episode" real,
"airdate" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: Name the total number of votes for 3rd voted out day 9
<|assistant|>
SELECT COUNT("vote") FROM "table1_24233848_2" WHERE "finish"='3rd Voted Out Day 9';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24233848_2" (
"episode" real,
"airdate" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: Name the eliminated 7th voted out day 21
<|assistant|>
SELECT "eliminated" FROM "table1_24233848_2" WHERE "finish"='7th Voted Out Day 21';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24233848_2" (
"episode" real,
"airdate" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: Name the vote for thiago
<|assistant|>
SELECT "vote" FROM "table1_24233848_2" WHERE "eliminated"='Thiago';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24233848_2" (
"episode" real,
"airdate" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: Name the vote for 9th voted out day 22
<|assistant|>
SELECT "vote" FROM "table1_24233848_2" WHERE "finish"='9th Voted Out Day 22';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24233848_2" (
"episode" real,
"airdate" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: Name the reward eliminated hilca
<|assistant|>
SELECT "reward" FROM "table1_24233848_2" WHERE "eliminated"='Hilca';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "development_regions" (
"county" text,
"exports_us_mil" text,
"percent_of_total_exports" text,
"imports_us_mil" text,
"percent_of_total_imports" text
);
Question: When the country is vest, what were the exports?
<|assistant|>
SELECT "exports_us_mil" FROM "development_regions" WHERE "county"='Vest';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "windows" (
"major_version" text,
"minor_version" text,
"web_kit_version" text,
"operating_system" text,
"release_date" text,
"features" text
);
Question: What was the major version when the webkit version was 528.17?
<|assistant|>
SELECT "major_version" FROM "windows" WHERE "web_kit_version"='528.17';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "windows" (
"major_version" text,
"minor_version" text,
"web_kit_version" text,
"operating_system" text,
"release_date" text,
"features" text
);
Question: List major versions released on May 12, 2009, that had a minor version of 3.2.3.
<|assistant|>
SELECT "major_version" FROM "windows" WHERE "release_date"='May 12, 2009' AND "minor_version"='3.2.3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "windows" (
"major_version" text,
"minor_version" text,
"web_kit_version" text,
"operating_system" text,
"release_date" text,
"features" text
);
Question: What was the minor version released on April 16, 2008?
<|assistant|>
SELECT "minor_version" FROM "windows" WHERE "release_date"='April 16, 2008';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "windows" (
"major_version" text,
"minor_version" text,
"web_kit_version" text,
"operating_system" text,
"release_date" text,
"features" text
);
Question: List all webkit versions when the major version was Safari 3, and the minor version was 3.1.2.
<|assistant|>
SELECT "web_kit_version" FROM "windows" WHERE "major_version"='Safari 3' AND "minor_version"='3.1.2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "windows" (
"major_version" text,
"minor_version" text,
"web_kit_version" text,
"operating_system" text,
"release_date" text,
"features" text
);
Question: List all OS's with a webkit version of 525.29.1.
<|assistant|>
SELECT "operating_system" FROM "windows" WHERE "web_kit_version"='525.29.1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "windows" (
"major_version" text,
"minor_version" text,
"web_kit_version" text,
"operating_system" text,
"release_date" text,
"features" text
);
Question: What is the webkit version when the minor version was 3.1.2.?
<|assistant|>
SELECT "web_kit_version" FROM "windows" WHERE "minor_version"='3.1.2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_3" (
"legion_no_and_title" text,
"main_legion_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: What was the main legion base for the Romans when the notes were "primigenia goddess of fate. xx in batavi revolt"?
<|assistant|>
SELECT "main_legion_base" FROM "table1_242785_3" WHERE "notes"='Primigenia goddess of Fate. XX in Batavi revolt';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_3" (
"legion_no_and_title" text,
"main_legion_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: What are the notes during 57 bc caesar?
<|assistant|>
SELECT "notes" FROM "table1_242785_3" WHERE "date_founded_founder"='57 BC Caesar';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_3" (
"legion_no_and_title" text,
"main_legion_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: What are the notes when castra legionaria (legion bases) is 39-c.300 moguntiacum * (gs)?
<|assistant|>
SELECT "notes" FROM "table1_242785_3" WHERE "castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified"='39-c.300 Moguntiacum * (GS)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_3" (
"legion_no_and_title" text,
"main_legion_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: What is the date founded/founder when the emblem was Hercules?
<|assistant|>
SELECT "date_founded_founder" FROM "table1_242785_3" WHERE "emblem"='Hercules';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_3" (
"legion_no_and_title" text,
"main_legion_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: What is the main legion base that disbanded 70 xx?
<|assistant|>
SELECT "main_legion_base" FROM "table1_242785_3" WHERE "date_disband"='70 XX';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_1" (
"legion_no_and_title" text,
"main_legionary_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: When did svishtov , bulgaria disband?
<|assistant|>
SELECT "date_disband" FROM "table1_242785_1" WHERE "main_legionary_base"='Svishtov , Bulgaria';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_1" (
"legion_no_and_title" text,
"main_legionary_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: when notes are prima italica:raised for aborted caucasus war, when was that founded?
<|assistant|>
SELECT "date_founded_founder" FROM "table1_242785_1" WHERE "notes"='prima Italica:raised for aborted Caucasus war';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_242785_1" (
"legion_no_and_title" text,
"main_legionary_base" text,
"emblem" text,
"date_founded_founder" text,
"date_disband" text,
"castra_legionaria_legion_bases_main_base_start_date_31_bc_if_unspecified" text,
"notes" text
);
Question: What are the notes for svishtov , bulgaria?
<|assistant|>
SELECT "notes" FROM "table1_242785_1" WHERE "main_legionary_base"='Svishtov , Bulgaria';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pitchers" (
"pitcher" text,
"strikeouts" real,
"season" real,
"team" text,
"league" text,
"overall_rank" real
);
Question: Name the team ranked 4
<|assistant|>
SELECT COUNT("team") FROM "pitchers" WHERE "overall_rank"=4;<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.