input
stringlengths
12
517
instruction
stringlengths
38
7.14k
response
stringlengths
22
3.27k
show me all flights from DENVER to PITTSBURGH which serve DINNER
CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food...
How many bids were there for the .500 win percentage in the Ohio Valley conference?
CREATE TABLE table_32437 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text )
SELECT SUM("# of Bids") FROM table_32437 WHERE "Win %" = '.500' AND "Conference" = 'ohio valley'
What were the points for when there were 30 tries against?
CREATE TABLE table_810 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points for" FROM table_810 WHERE "Tries against" = '30'
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 ( Id VARCHAR )
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
what is kannada name of tamil name anusham
CREATE TABLE table_23558 ( "#" real, "Sanskrit" text, "Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text, "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text, "Telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text, "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text, "Western star name"...
SELECT "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" FROM table_23558 WHERE "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'Anusham அனுஷம்'
Get Posts by Tags (searching ddd synonimous).
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId ...
SELECT * FROM Tags WHERE TagName = 'domain-driven-design'
Name the country that has m ntt
CREATE TABLE table_54739 ( "Date" real, "Country" text, "Place" text, "Building" text, "Size" text )
SELECT "Country" FROM table_54739 WHERE "Place" = 'mänttä'
Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
CREATE TABLE table_50545 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Away team" FROM table_50545 WHERE "Tie no" = 'replay' AND "Home team" = 'chesterfield'
What is the first locomotive that has a SLM number lower than 924?
CREATE TABLE table_41775 ( "Built" real, "Number" real, "Type" text, "SLM Number" real, "Wheel arrangement" text, "Location" text, "Notes" text )
SELECT MIN("Number") FROM table_41775 WHERE "SLM Number" < '924'
负责11994027078患者门诊就诊的首诊医生还有其他所有接诊医生的工号是啥啊?
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT txmzjzjlb.ZZYSGH, txmzjzjlb.QTJZYSGH FROM txmzjzjlb WHERE txmzjzjlb.JZLSH = '11994027078' UNION SELECT ftxmzjzjlb.ZZYSGH, ftxmzjzjlb.QTJZYSGH FROM ftxmzjzjlb WHERE ftxmzjzjlb.JZLSH = '11994027078'
Name the original air date for 3.04 production code
CREATE TABLE table_2226817_4 ( original_air_date VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"
In what Borough is the History Type Fairbanks Community Museum?
CREATE TABLE table_34537 ( "Name" text, "Town/City" text, "Borough" text, "Region" text, "Type" text )
SELECT "Borough" FROM table_34537 WHERE "Type" = 'history' AND "Name" = 'fairbanks community museum'
What date has ed as an actual title?
CREATE TABLE table_name_93 ( date VARCHAR, actual_title VARCHAR )
SELECT date FROM table_name_93 WHERE actual_title = "ed"
what is the minimum total cost of the hospital which include hemogloblin s in this year?
CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title te...
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemogloblin s')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of ...
What is the average laps for Grid 9?
CREATE TABLE table_name_87 ( laps INTEGER, grid VARCHAR )
SELECT AVG(laps) FROM table_name_87 WHERE grid = 9
从2005年12月14日至2010年2月5日这期间里,编码为98519847的患者曾在医院就诊多少次?
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, ...
SELECT (SELECT COUNT(*) FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE hz_info.RYBH = '98519847' AND mzjzjlb.JZKSRQ BETWEEN '2005-12-14' AND '2010-02-05') + (SELECT COUNT(*) FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_...
What is the College of the LB Player with Big Ten Conf.?
CREATE TABLE table_name_70 ( college VARCHAR, pos VARCHAR, conf VARCHAR )
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
What is the Office when spencer c. young is on the liberal ticket??
CREATE TABLE table_40327 ( "Office" text, "Republican ticket" text, "Democratic ticket" text, "American Labor ticket" text, "Liberal ticket" text, "Communist ticket" text )
SELECT "Office" FROM table_40327 WHERE "Liberal ticket" = 'spencer c. young'
What was his record when he went over 1 round?
CREATE TABLE table_6119 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_6119 WHERE "Round" > '1'
When 3 is the rr1 points what is won score?
CREATE TABLE table_24404 ( "Team name" text, "Races" real, "Won" real, "RR1 Pts." real, "RR2 Pts." real, "RR3 Pts." real, "RR4 Pts." text, "Total Pts." real, "Ranking" real )
SELECT "Won" FROM table_24404 WHERE "RR1 Pts." = '3'
show me all flights from DENVER to PITTSBURGH which serve DINNER
CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food...
How many bids were there for the .500 win percentage in the Ohio Valley conference?
CREATE TABLE table_32437 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text )
SELECT SUM("# of Bids") FROM table_32437 WHERE "Win %" = '.500' AND "Conference" = 'ohio valley'
What were the points for when there were 30 tries against?
CREATE TABLE table_810 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points for" FROM table_810 WHERE "Tries against" = '30'
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 ( Id VARCHAR )
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
what is kannada name of tamil name anusham
CREATE TABLE table_23558 ( "#" real, "Sanskrit" text, "Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text, "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text, "Telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text, "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text, "Western star name"...
SELECT "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" FROM table_23558 WHERE "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'Anusham அனுஷம்'
Get Posts by Tags (searching ddd synonimous).
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId ...
SELECT * FROM Tags WHERE TagName = 'domain-driven-design'
Name the country that has m ntt
CREATE TABLE table_54739 ( "Date" real, "Country" text, "Place" text, "Building" text, "Size" text )
SELECT "Country" FROM table_54739 WHERE "Place" = 'mänttä'
Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
CREATE TABLE table_50545 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Away team" FROM table_50545 WHERE "Tie no" = 'replay' AND "Home team" = 'chesterfield'
What is the first locomotive that has a SLM number lower than 924?
CREATE TABLE table_41775 ( "Built" real, "Number" real, "Type" text, "SLM Number" real, "Wheel arrangement" text, "Location" text, "Notes" text )
SELECT MIN("Number") FROM table_41775 WHERE "SLM Number" < '924'
负责11994027078患者门诊就诊的首诊医生还有其他所有接诊医生的工号是啥啊?
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT txmzjzjlb.ZZYSGH, txmzjzjlb.QTJZYSGH FROM txmzjzjlb WHERE txmzjzjlb.JZLSH = '11994027078' UNION SELECT ftxmzjzjlb.ZZYSGH, ftxmzjzjlb.QTJZYSGH FROM ftxmzjzjlb WHERE ftxmzjzjlb.JZLSH = '11994027078'
Name the original air date for 3.04 production code
CREATE TABLE table_2226817_4 ( original_air_date VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"
What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?
CREATE TABLE table_name_78 ( pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR )
SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf"
In what Borough is the History Type Fairbanks Community Museum?
CREATE TABLE table_34537 ( "Name" text, "Town/City" text, "Borough" text, "Region" text, "Type" text )
SELECT "Borough" FROM table_34537 WHERE "Type" = 'history' AND "Name" = 'fairbanks community museum'
What date has ed as an actual title?
CREATE TABLE table_name_93 ( date VARCHAR, actual_title VARCHAR )
SELECT date FROM table_name_93 WHERE actual_title = "ed"
what is the minimum total cost of the hospital which include hemogloblin s in this year?
CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title te...
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemogloblin s')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of ...
What is the average laps for Grid 9?
CREATE TABLE table_name_87 ( laps INTEGER, grid VARCHAR )
SELECT AVG(laps) FROM table_name_87 WHERE grid = 9
从2005年12月14日至2010年2月5日这期间里,编码为98519847的患者曾在医院就诊多少次?
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, ...
SELECT (SELECT COUNT(*) FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE hz_info.RYBH = '98519847' AND mzjzjlb.JZKSRQ BETWEEN '2005-12-14' AND '2010-02-05') + (SELECT COUNT(*) FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_...
What is the College of the LB Player with Big Ten Conf.?
CREATE TABLE table_name_70 ( college VARCHAR, pos VARCHAR, conf VARCHAR )
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
What is the Office when spencer c. young is on the liberal ticket??
CREATE TABLE table_40327 ( "Office" text, "Republican ticket" text, "Democratic ticket" text, "American Labor ticket" text, "Liberal ticket" text, "Communist ticket" text )
SELECT "Office" FROM table_40327 WHERE "Liberal ticket" = 'spencer c. young'
What was his record when he went over 1 round?
CREATE TABLE table_6119 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_6119 WHERE "Round" > '1'
When 3 is the rr1 points what is won score?
CREATE TABLE table_24404 ( "Team name" text, "Races" real, "Won" real, "RR1 Pts." real, "RR2 Pts." real, "RR3 Pts." real, "RR4 Pts." text, "Total Pts." real, "Ranking" real )
SELECT "Won" FROM table_24404 WHERE "RR1 Pts." = '3'
show me all flights from DENVER to PITTSBURGH which serve DINNER
CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food...
How many bids were there for the .500 win percentage in the Ohio Valley conference?
CREATE TABLE table_32437 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text )
SELECT SUM("# of Bids") FROM table_32437 WHERE "Win %" = '.500' AND "Conference" = 'ohio valley'
What were the points for when there were 30 tries against?
CREATE TABLE table_810 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points for" FROM table_810 WHERE "Tries against" = '30'
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 ( Id VARCHAR )
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
what is kannada name of tamil name anusham
CREATE TABLE table_23558 ( "#" real, "Sanskrit" text, "Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text, "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text, "Telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text, "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text, "Western star name"...
SELECT "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" FROM table_23558 WHERE "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'Anusham அனுஷம்'
Get Posts by Tags (searching ddd synonimous).
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId ...
SELECT * FROM Tags WHERE TagName = 'domain-driven-design'
Name the country that has m ntt
CREATE TABLE table_54739 ( "Date" real, "Country" text, "Place" text, "Building" text, "Size" text )
SELECT "Country" FROM table_54739 WHERE "Place" = 'mänttä'
Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
CREATE TABLE table_50545 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Away team" FROM table_50545 WHERE "Tie no" = 'replay' AND "Home team" = 'chesterfield'
What is the first locomotive that has a SLM number lower than 924?
CREATE TABLE table_41775 ( "Built" real, "Number" real, "Type" text, "SLM Number" real, "Wheel arrangement" text, "Location" text, "Notes" text )
SELECT MIN("Number") FROM table_41775 WHERE "SLM Number" < '924'
负责11994027078患者门诊就诊的首诊医生还有其他所有接诊医生的工号是啥啊?
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT txmzjzjlb.ZZYSGH, txmzjzjlb.QTJZYSGH FROM txmzjzjlb WHERE txmzjzjlb.JZLSH = '11994027078' UNION SELECT ftxmzjzjlb.ZZYSGH, ftxmzjzjlb.QTJZYSGH FROM ftxmzjzjlb WHERE ftxmzjzjlb.JZLSH = '11994027078'
Name the original air date for 3.04 production code
CREATE TABLE table_2226817_4 ( original_air_date VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"
What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?
CREATE TABLE table_name_78 ( pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR )
SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf"
Episode of 9 in which performer 3 had?
CREATE TABLE table_36205 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text )
SELECT "Performer 3" FROM table_36205 WHERE "Episode" = '9'
In what Borough is the History Type Fairbanks Community Museum?
CREATE TABLE table_34537 ( "Name" text, "Town/City" text, "Borough" text, "Region" text, "Type" text )
SELECT "Borough" FROM table_34537 WHERE "Type" = 'history' AND "Name" = 'fairbanks community museum'
What date has ed as an actual title?
CREATE TABLE table_name_93 ( date VARCHAR, actual_title VARCHAR )
SELECT date FROM table_name_93 WHERE actual_title = "ed"
what is the minimum total cost of the hospital which include hemogloblin s in this year?
CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title te...
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemogloblin s')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of ...
What is the average laps for Grid 9?
CREATE TABLE table_name_87 ( laps INTEGER, grid VARCHAR )
SELECT AVG(laps) FROM table_name_87 WHERE grid = 9
从2005年12月14日至2010年2月5日这期间里,编码为98519847的患者曾在医院就诊多少次?
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, ...
SELECT (SELECT COUNT(*) FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE hz_info.RYBH = '98519847' AND mzjzjlb.JZKSRQ BETWEEN '2005-12-14' AND '2010-02-05') + (SELECT COUNT(*) FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_...
What is the College of the LB Player with Big Ten Conf.?
CREATE TABLE table_name_70 ( college VARCHAR, pos VARCHAR, conf VARCHAR )
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
What is the Office when spencer c. young is on the liberal ticket??
CREATE TABLE table_40327 ( "Office" text, "Republican ticket" text, "Democratic ticket" text, "American Labor ticket" text, "Liberal ticket" text, "Communist ticket" text )
SELECT "Office" FROM table_40327 WHERE "Liberal ticket" = 'spencer c. young'
What was his record when he went over 1 round?
CREATE TABLE table_6119 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_6119 WHERE "Round" > '1'
When 3 is the rr1 points what is won score?
CREATE TABLE table_24404 ( "Team name" text, "Races" real, "Won" real, "RR1 Pts." real, "RR2 Pts." real, "RR3 Pts." real, "RR4 Pts." text, "Total Pts." real, "Ranking" real )
SELECT "Won" FROM table_24404 WHERE "RR1 Pts." = '3'
show me all flights from DENVER to PITTSBURGH which serve DINNER
CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food...
How many bids were there for the .500 win percentage in the Ohio Valley conference?
CREATE TABLE table_32437 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text )
SELECT SUM("# of Bids") FROM table_32437 WHERE "Win %" = '.500' AND "Conference" = 'ohio valley'
What were the points for when there were 30 tries against?
CREATE TABLE table_810 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points for" FROM table_810 WHERE "Tries against" = '30'
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 ( Id VARCHAR )
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
what is kannada name of tamil name anusham
CREATE TABLE table_23558 ( "#" real, "Sanskrit" text, "Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text, "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text, "Telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text, "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text, "Western star name"...
SELECT "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" FROM table_23558 WHERE "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'Anusham அனுஷம்'
Get Posts by Tags (searching ddd synonimous).
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId ...
SELECT * FROM Tags WHERE TagName = 'domain-driven-design'
Name the country that has m ntt
CREATE TABLE table_54739 ( "Date" real, "Country" text, "Place" text, "Building" text, "Size" text )
SELECT "Country" FROM table_54739 WHERE "Place" = 'mänttä'
Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
CREATE TABLE table_50545 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Away team" FROM table_50545 WHERE "Tie no" = 'replay' AND "Home team" = 'chesterfield'
What is the first locomotive that has a SLM number lower than 924?
CREATE TABLE table_41775 ( "Built" real, "Number" real, "Type" text, "SLM Number" real, "Wheel arrangement" text, "Location" text, "Notes" text )
SELECT MIN("Number") FROM table_41775 WHERE "SLM Number" < '924'
负责11994027078患者门诊就诊的首诊医生还有其他所有接诊医生的工号是啥啊?
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT txmzjzjlb.ZZYSGH, txmzjzjlb.QTJZYSGH FROM txmzjzjlb WHERE txmzjzjlb.JZLSH = '11994027078' UNION SELECT ftxmzjzjlb.ZZYSGH, ftxmzjzjlb.QTJZYSGH FROM ftxmzjzjlb WHERE ftxmzjzjlb.JZLSH = '11994027078'
Name the original air date for 3.04 production code
CREATE TABLE table_2226817_4 ( original_air_date VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"
What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?
CREATE TABLE table_name_78 ( pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR )
SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf"
Episode of 9 in which performer 3 had?
CREATE TABLE table_36205 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text )
SELECT "Performer 3" FROM table_36205 WHERE "Episode" = '9'
Name the game for l 111 126
CREATE TABLE table_31448 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Game" FROM table_31448 WHERE "Score" = 'L 111–126'
In what Borough is the History Type Fairbanks Community Museum?
CREATE TABLE table_34537 ( "Name" text, "Town/City" text, "Borough" text, "Region" text, "Type" text )
SELECT "Borough" FROM table_34537 WHERE "Type" = 'history' AND "Name" = 'fairbanks community museum'
What date has ed as an actual title?
CREATE TABLE table_name_93 ( date VARCHAR, actual_title VARCHAR )
SELECT date FROM table_name_93 WHERE actual_title = "ed"
what is the minimum total cost of the hospital which include hemogloblin s in this year?
CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title te...
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemogloblin s')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of ...
What is the average laps for Grid 9?
CREATE TABLE table_name_87 ( laps INTEGER, grid VARCHAR )
SELECT AVG(laps) FROM table_name_87 WHERE grid = 9
从2005年12月14日至2010年2月5日这期间里,编码为98519847的患者曾在医院就诊多少次?
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, ...
SELECT (SELECT COUNT(*) FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE hz_info.RYBH = '98519847' AND mzjzjlb.JZKSRQ BETWEEN '2005-12-14' AND '2010-02-05') + (SELECT COUNT(*) FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_...
What is the College of the LB Player with Big Ten Conf.?
CREATE TABLE table_name_70 ( college VARCHAR, pos VARCHAR, conf VARCHAR )
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
What is the Office when spencer c. young is on the liberal ticket??
CREATE TABLE table_40327 ( "Office" text, "Republican ticket" text, "Democratic ticket" text, "American Labor ticket" text, "Liberal ticket" text, "Communist ticket" text )
SELECT "Office" FROM table_40327 WHERE "Liberal ticket" = 'spencer c. young'
What was his record when he went over 1 round?
CREATE TABLE table_6119 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_6119 WHERE "Round" > '1'
When 3 is the rr1 points what is won score?
CREATE TABLE table_24404 ( "Team name" text, "Races" real, "Won" real, "RR1 Pts." real, "RR2 Pts." real, "RR3 Pts." real, "RR4 Pts." text, "Total Pts." real, "Ranking" real )
SELECT "Won" FROM table_24404 WHERE "RR1 Pts." = '3'
show me all flights from DENVER to PITTSBURGH which serve DINNER
CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food...
How many bids were there for the .500 win percentage in the Ohio Valley conference?
CREATE TABLE table_32437 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text )
SELECT SUM("# of Bids") FROM table_32437 WHERE "Win %" = '.500' AND "Conference" = 'ohio valley'
What were the points for when there were 30 tries against?
CREATE TABLE table_810 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points for" FROM table_810 WHERE "Tries against" = '30'
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 ( Id VARCHAR )
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
what is kannada name of tamil name anusham
CREATE TABLE table_23558 ( "#" real, "Sanskrit" text, "Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text, "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text, "Telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text, "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text, "Western star name"...
SELECT "Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" FROM table_23558 WHERE "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'Anusham அனுஷம்'
Get Posts by Tags (searching ddd synonimous).
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId ...
SELECT * FROM Tags WHERE TagName = 'domain-driven-design'
Name the country that has m ntt
CREATE TABLE table_54739 ( "Date" real, "Country" text, "Place" text, "Building" text, "Size" text )
SELECT "Country" FROM table_54739 WHERE "Place" = 'mänttä'
Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
CREATE TABLE table_50545 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Away team" FROM table_50545 WHERE "Tie no" = 'replay' AND "Home team" = 'chesterfield'
What is the first locomotive that has a SLM number lower than 924?
CREATE TABLE table_41775 ( "Built" real, "Number" real, "Type" text, "SLM Number" real, "Wheel arrangement" text, "Location" text, "Notes" text )
SELECT MIN("Number") FROM table_41775 WHERE "SLM Number" < '924'
负责11994027078患者门诊就诊的首诊医生还有其他所有接诊医生的工号是啥啊?
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT txmzjzjlb.ZZYSGH, txmzjzjlb.QTJZYSGH FROM txmzjzjlb WHERE txmzjzjlb.JZLSH = '11994027078' UNION SELECT ftxmzjzjlb.ZZYSGH, ftxmzjzjlb.QTJZYSGH FROM ftxmzjzjlb WHERE ftxmzjzjlb.JZLSH = '11994027078'
Name the original air date for 3.04 production code
CREATE TABLE table_2226817_4 ( original_air_date VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"
What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?
CREATE TABLE table_name_78 ( pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR )
SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf"
Episode of 9 in which performer 3 had?
CREATE TABLE table_36205 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text )
SELECT "Performer 3" FROM table_36205 WHERE "Episode" = '9'
Name the game for l 111 126
CREATE TABLE table_31448 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Game" FROM table_31448 WHERE "Score" = 'L 111–126'