answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily" | Which district does the incumbent Luther Reily represent? | CREATE TABLE table_2668169_2 (
district VARCHAR,
incumbent VARCHAR
) |
SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011" | Which opponent has an Outcome of winner, and a Date of 5 november 2011? | CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) |
SELECT player FROM table_197638_6 WHERE french_open = 1999 | Who won the French Open in 1999? | CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR) |
SELECT COUNT(*) FROM PostTags AS pt JOIN (SELECT PostId, COUNT(*) AS ct FROM PostTags AS p GROUP BY PostId HAVING COUNT(*) = 1) AS db ON pt.PostId = db.PostId WHERE TagId = 30 | Number of questions with just [database]. | CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE TagSynonyms (
Id number... |
SELECT date FROM table_name_92 WHERE score = "4–6, 2–6" | Which date has a Score of 4–6, 2–6? | CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR) |
SELECT player FROM table_197638_6 WHERE us_open = 1937 | Who won the US Open in 1937? | CREATE TABLE table_197638_6 (player VARCHAR, us_open VARCHAR) |
SELECT "Host" FROM table_31696 WHERE "State" = 'georgia' | What is the host in Georgia? | CREATE TABLE table_31696 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
) |
SELECT date FROM table_name_60 WHERE opponent = "juan mónaco" AND score = "6–2, 4–6, 7–6 (7–3)" | Which date has a Opponent of juan mónaco, and a Score of 6–2, 4–6, 7–6 (7–3)? | CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, score VARCHAR) |
SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson" | How many times did Roy Emerson win the Australian Open? | CREATE TABLE table_197638_6 (australian_open VARCHAR, player VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "2089" | count the number of patients whose admission location is trsf within this facility and year of birth is less than 2089? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... |
SELECT outcome FROM table_name_16 WHERE opponent = "fernando verdasco" | Which outcome has a Opponent of fernando verdasco? | CREATE TABLE table_name_16 (outcome VARCHAR, opponent VARCHAR) |
SELECT MAX(age) FROM table_197638_6 WHERE player = "Roy Emerson" | At what age did Roy Emerson complete the Grand Slam? | CREATE TABLE table_197638_6 (age INTEGER, player VARCHAR) |
SELECT date_of_issue FROM table_name_43 WHERE design = "john belisle, kosta tsetsekas" | What date was the John Belisle, Kosta Tsetsekas stamp issued? | CREATE TABLE table_name_43 (
date_of_issue VARCHAR,
design VARCHAR
) |
SELECT surface FROM table_name_41 WHERE opponent = "fernando verdasco" | Which surface has an Opponent of fernando verdasco? | CREATE TABLE table_name_41 (surface VARCHAR, opponent VARCHAR) |
SELECT MIN(rank) FROM table_19764939_1 WHERE total = 2 | Name the least rank for 2 | CREATE TABLE table_19764939_1 (rank INTEGER, total VARCHAR) |
SELECT "Women's doubles" FROM table_35474 WHERE "Men's singles" = 'andrey antropov' AND "Women's singles" = 'marina yakusheva' | Who won the women's doubles when andrey antropov won the men's singles and marina yakusheva won the womens' singles? | CREATE TABLE table_35474 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) |
SELECT surface FROM table_name_40 WHERE date = "5 november 2011" | Which surface has a Date of 5 november 2011? | CREATE TABLE table_name_40 (surface VARCHAR, date VARCHAR) |
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher" | Name the total for jamie carragher | CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR) |
SELECT mark FROM table_name_65 WHERE name = "laura turner" | What is the mark set by Laura Turner? | CREATE TABLE table_name_65 (
mark VARCHAR,
name VARCHAR
) |
SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg" | When the Venue was mcg what was the sum of all Crowds for that venue? | CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR) |
SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = "Djibril Cisse" | Name the total number of club worl cup for djibril cisse | CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR) |
SELECT COUNT(*) > 0 FROM course, program, program_course WHERE course.department = 'EHS' AND course.number = 642 AND program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | Can I take EHS 642 as MDE ? | CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
has_final_proje... |
SELECT date FROM table_name_62 WHERE away_team = "essendon" | If the Away team is essendon, what was the Date they played? | CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR) |
SELECT MIN(post_code) FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "潜山县 / 潛山縣" | What's the post code of the county with the Chinese name 潜山县 / 潛山縣? | CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR) |
SELECT country FROM table_name_57 WHERE entities = "emsa" | Which Country has Entities of emsa? | CREATE TABLE table_name_57 (
country VARCHAR,
entities VARCHAR
) |
SELECT date FROM table_name_11 WHERE away_team = "essendon" | On what Date did the Away team essendon play? | CREATE TABLE table_name_11 (date VARCHAR, away_team VARCHAR) |
SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县 / 太湖縣" | What's the English name of the county called 太湖县 / 太湖縣 in Chinese? | CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR) |
SELECT "Kit manufacturer" FROM table_80119 WHERE "Team" = 'everton' | Which Kit Manufacturer supports team Everton? | CREATE TABLE table_80119 (
"Team" text,
"Manager" text,
"Captain" text,
"Kit manufacturer" text,
"Shirt sponsor" text
) |
SELECT date FROM table_name_49 WHERE home_team = "north melbourne" | When the Home team was north melbourne what was the Date of the game? | CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR) |
SELECT english_name FROM table_1976898_1 WHERE post_code = 246400 | What's the English name of the county with a postcode 246400? | CREATE TABLE table_1976898_1 (english_name VARCHAR, post_code VARCHAR) |
SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 57050 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'vancomycin') | what is in the current hospital encounter maximum vancomycin value of patient 57050? | CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_typ... |
SELECT record FROM table_name_72 WHERE date = "september 1" | What was the record as of September 1? | CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR) |
SELECT chinese_name__simplified___traditional_ FROM table_1976898_1 WHERE english_name = "Susong County" | What's the Chinese (simplified/traditional) name of Susong County? | CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR) |
SELECT SUM(laps) FROM table_name_29 WHERE grid < 20 AND driver = "johnny herbert" | what is the sum of laps when grid is less than 20 and johnny herbert is driving? | CREATE TABLE table_name_29 (
laps INTEGER,
grid VARCHAR,
driver VARCHAR
) |
SELECT loss FROM table_name_48 WHERE date = "september 1" | What was the losing score on September 1? | CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR) |
SELECT pinyin FROM table_1976898_1 WHERE post_code = 246500 | What's the Pinyin name of the county with a postcode 246500? | CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR) |
SELECT "Attendance" FROM table_32429 WHERE "Week" = '1' | What was the attendance for Week 1? | CREATE TABLE table_32429 (
"Week" real,
"Kickoff" text,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game site" text,
"Attendance" text
) |
SELECT 1988 FROM table_name_88 WHERE 1987 = "1r" | What is the 1988 value when the 1987 value was 1r? | CREATE TABLE table_name_88 (Id VARCHAR) |
SELECT COUNT(date) FROM table_19778010_5 WHERE opponent = "Houston" | On how many different dates was a game against Houston played? | CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR) |
SELECT loss FROM table_name_90 WHERE record = "46-48" | What was the loss of the Brewers game when the record was 46-48? | CREATE TABLE table_name_90 (
loss VARCHAR,
record VARCHAR
) |
SELECT 1981 FROM table_name_97 WHERE tournament = "wimbledon" | What is the 1981 value at the Tournament of Wimbledon? | CREATE TABLE table_name_97 (tournament VARCHAR) |
SELECT COUNT(high_assists) FROM table_19778010_5 WHERE high_rebounds = "Sales (10)" | How many different players did the high assists in games where the high rebounds were done by Sales (10)? | CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "GREEK ORTHODOX" AND lab.itemid = "51419" | give me the number of patients whose religion is greek orthodox and item id is 51419? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... |
SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland" | What is the name of the rollercoaster that opened in 2004 in bobbejaanland? | CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR) |
SELECT MAX(game) FROM table_19778010_5 WHERE date = "June 22" | What's the number of the game played on June 22? | CREATE TABLE table_19778010_5 (game INTEGER, date VARCHAR) |
SELECT DEPT_CODE, SUM(T1.CRS_CREDIT) FROM COURSE AS T1 JOIN CLASS AS T2 ON T1.CRS_CODE = T2.CRS_CODE GROUP BY T1.DEPT_CODE | What are the total number of credits offered by each department. Show bar chart. | CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS varchar(20),
... |
SELECT status FROM table_name_89 WHERE opened = "2008" AND model = "junior coaster" | What is the status of the junior coaster model that opened in 2008? | CREATE TABLE table_name_89 (status VARCHAR, opened VARCHAR, model VARCHAR) |
SELECT opponent FROM table_19778010_5 WHERE game = 8 | Who was game number 8 played against? | CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR) |
SELECT MIN("Goals") FROM table_10519 WHERE "Seasons" = '1996 – 2001' AND "Order" > '939' | What is the low goal for orders more than 939 during Seasons of 1996 2001? | CREATE TABLE table_10519 (
"Order" real,
"Name" text,
"Seasons" text,
"Games" real,
"Goals" real
) |
SELECT model FROM table_name_16 WHERE status = "operating" AND name = "thor's hammer" | What is the model for Thor's Hammer which is listed as operating? | CREATE TABLE table_name_16 (model VARCHAR, status VARCHAR, name VARCHAR) |
SELECT high_rebounds FROM table_19778010_5 WHERE high_assists = "Five Players (3)" | Who did the high rebounds in the game in which five players (3) did the high assists? | CREATE TABLE table_19778010_5 (high_rebounds VARCHAR, high_assists VARCHAR) |
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cataract extract s... | since 2100 how many patients have undergone closed bronchial biopsy within 2 months after the diagnosis of cataract extract status? | CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE icustays (
row... |
SELECT name FROM table_name_80 WHERE model = "euro-fighter" AND opened = "2011" | What is the name of the coaster that opened in 2011 and is a euro-fighter model? | CREATE TABLE table_name_80 (name VARCHAR, model VARCHAR, opened VARCHAR) |
SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = "piense" | What are all the conjugated forms of the verb where the el/ ella/usted verb is piense? | CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR) |
SELECT team FROM table_name_27 WHERE make = "dodge" | What team drove a Dodge vehicle? | CREATE TABLE table_name_27 (
team VARCHAR,
make VARCHAR
) |
SELECT winning_driver FROM table_name_9 WHERE race_name = "iv j.c.c. jersey road race" | Which driver won the iv j.c.c. jersey road race? | CREATE TABLE table_name_9 (winning_driver VARCHAR, race_name VARCHAR) |
SELECT yo FROM table_1977630_2 WHERE vosotros___vosotras = "moláis" | What are all the conjugated forms of the verb moler where the vosotros / vosotras is moláis for the yo tense? | CREATE TABLE table_1977630_2 (yo VARCHAR, vosotros___vosotras VARCHAR) |
SELECT "Run 2" FROM table_45515 WHERE "Rank" = '4' | Which Run 2 has a Rank of 4? | CREATE TABLE table_45515 (
"Rank" text,
"Team" text,
"Athletes" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Run 4" text,
"Final" text
) |
SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3 | What's the total number of games that had more than 34 points and exactly 3 losses? | CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR) |
SELECT COUNT(verbs) FROM table_1977630_2 WHERE yo = "sienta" | how many verbs have the yo form as sienta? | CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR) |
SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-80293')) AND STRFTIME('%y-%m', allergy.allergytime) >= '2104-10' | tell me the drugs patient 021-80293 was allergic to since 10/2104? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatment (
treat... |
SELECT COUNT(losses) FROM table_name_14 WHERE points < 19 AND games > 36 | What's the total number of losses with less than 19 points and more than 36 games? | CREATE TABLE table_name_14 (losses VARCHAR, points VARCHAR, games VARCHAR) |
SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molás" | What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás? | CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Pseudomonas infect NOS" AND prescriptions.drug_type = "MAIN" | find the number of patients whose diagnosis short title is pseudomonas infect nos and the drug type is main. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... |
SELECT season FROM table_name_78 WHERE points < 26 AND games > 18 AND losses = 13 | Which season has less than 26 points, more than 18 games, and exactly 13 losses? | CREATE TABLE table_name_78 (season VARCHAR, losses VARCHAR, points VARCHAR, games VARCHAR) |
SELECT vos__ * _ FROM table_1977630_2 WHERE él___ella___usted = "muela" | What are the forms of the conjucated vos(*) where él / ella / usted is muela | CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "Sodium, Urine" | give me the number of patients whose lab test name is sodium, urine? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... |
SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne" | What is the highest crowd number of the game where the away team was south melbourne? | CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) |
SELECT COUNT(till_mathura) FROM table_19787093_1 WHERE till_agra = 500 | How many have the Till Agra of 500? | CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR) |
SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian grand_prix" | How many on the list are called the Austrian Grand Prix? | CREATE TABLE table_1132568_3 (
rd VARCHAR,
grand_prix VARCHAR
) |
SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne" | What is the home team score that played the away team of north melbourne? | CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) |
SELECT vehicle_category FROM table_19787093_1 WHERE till_agra = 1050 | What kind of vehicle is the agra 1050? | CREATE TABLE table_19787093_1 (vehicle_category VARCHAR, till_agra VARCHAR) |
SELECT "Home team score" FROM table_53646 WHERE "Venue" = 'princes park' | What was the home teams score when the VFL played Princes Park? | CREATE TABLE table_53646 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT away_team AS score FROM table_name_47 WHERE venue = "princes park" | What is the away team score of the game that was played at princes park? | CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR) |
SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = 150 | If the till aligarh is 150, what the mac till mathura? | CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR) |
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic" | What is the purse total for the royal caribbean golf classic? | CREATE TABLE table_name_5 (
purse__ INTEGER,
tournament VARCHAR
) |
SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton" | If the Home team is carlton, what's the lowest Crowd found? | CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR) |
SELECT MAX(for_round_trip) FROM table_19787093_1 WHERE till_agra = 1050 | If the till agra is 1050, what is the max round trip? | CREATE TABLE table_19787093_1 (for_round_trip INTEGER, till_agra VARCHAR) |
SELECT MIN(round4) FROM table_16815824_1 WHERE team = "team Toshiba" | What was team Toshiba's round 4 score? | CREATE TABLE table_16815824_1 (
round4 INTEGER,
team VARCHAR
) |
SELECT block_a FROM table_name_14 WHERE el_nosawa_mendoza = "kondo (7:08)" | What is the Block A value for an El NOSAWA Mendoza value of kondo (7:08)? | CREATE TABLE table_name_14 (block_a VARCHAR, el_nosawa_mendoza VARCHAR) |
SELECT MIN(till_aligarh) FROM table_19787093_1 WHERE vehicle_category = "Multi-axle Vehicle" | If the vehicle category is multi-axle vehicle, what is the till aligarh? | CREATE TABLE table_19787093_1 (till_aligarh INTEGER, vehicle_category VARCHAR) |
SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4987')) AND STRFTIME('%y-%m', microlab.culturetakentime) >= '2102-... | tell me the name of the first specimen test that patient 031-4987 since 03/2102 received? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... |
SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)" | What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)? | CREATE TABLE table_name_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR) |
SELECT MIN(game) FROM table_19789597_6 WHERE high_assists = "S. Johnson (3)" | What's the lowest number of a game where S. Johnson (3) did the most high assists? | CREATE TABLE table_19789597_6 (game INTEGER, high_assists VARCHAR) |
SELECT "Opponent" FROM table_39057 WHERE "Surface" = 'clay' AND "Score" = '6–3, 2–6, [10–8]' | With the score of 6 3, 2 6, [10 8] and played on clay who was the opponent? | CREATE TABLE table_39057 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent" text,
"Score" text
) |
SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)" | What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)? | CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR) |
SELECT opponent FROM table_19789597_6 WHERE date = "July 12" | Who was the game on July 12 played against? | CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR) |
SELECT T2.organisation_details, T1.organisation_id FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_details ORDER BY T1.organisation_id DESC | Show me a bar chart for what are the ids and details for all organizations that have grants of more than 6000 dollars?, could you sort y axis in desc order? | CREATE TABLE Grants (
grant_id INTEGER,
organisation_id INTEGER,
grant_amount DECIMAL(19,4),
grant_start_date DATETIME,
grant_end_date DATETIME,
other_details VARCHAR(255)
)
CREATE TABLE Tasks (
task_id INTEGER,
project_id INTEGER,
task_details VARCHAR(255),
"eg Agree Objectives... |
SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750 | Tell me the declination with NGC number larger than 5750 | CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER) |
SELECT record FROM table_19789597_6 WHERE high_rebounds = "McWilliams (8)" | What was the record in the game where McWilliams (8) did the most high rebounds? | CREATE TABLE table_19789597_6 (record VARCHAR, high_rebounds VARCHAR) |
SELECT FIRST_NAME, SALARY FROM employees ORDER BY FIRST_NAME DESC | Just show employees' salaries by their first name in a bar chart, sort in descending by the bar please. | CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMENT_ID decimal(... |
SELECT final_position___round FROM table_name_22 WHERE competition = "fa community shield" | Tell me the final position for fa community shield | CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR) |
SELECT opponent FROM table_19789597_6 WHERE date = "July 7" | Who was the game on July 7 played against? | CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR) |
SELECT lost FROM table_name_35 WHERE try_bonus = "2" AND losing_bonus = "4" | What is the value for Lost, when the value for Try bonus is 2, and when the value for Losing bonus is 4? | CREATE TABLE table_name_35 (
lost VARCHAR,
try_bonus VARCHAR,
losing_bonus VARCHAR
) |
SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008" | Name the first match for 11 may 2008 | CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR) |
SELECT owner FROM table_1979203_1 WHERE callsign = "WLIW" | what is the owner of the callsign wliw | CREATE TABLE table_1979203_1 (owner VARCHAR, callsign VARCHAR) |
SELECT date FROM table_name_65 WHERE team = "accrington" AND venue = "home" | What was the date of the home game against Accrington? | CREATE TABLE table_name_65 (
date VARCHAR,
team VARCHAR,
venue VARCHAR
) |
SELECT COUNT(lifetime_india_distributor_share) FROM table_name_39 WHERE year < 2009 | What is the total number of Lifetime India Distributor share earlier than 2009? | CREATE TABLE table_name_39 (lifetime_india_distributor_share VARCHAR, year INTEGER) |
SELECT COUNT(callsign) FROM table_1979203_1 WHERE branding = "Telemundo 47" | how many callsigns are for the branding telemundo 47 | CREATE TABLE table_1979203_1 (callsign VARCHAR, branding VARCHAR) |
SELECT "Time" FROM table_43039 WHERE "Laps" < '18' AND "Grid" > '8' AND "Rider" = 'loic napoleone' | What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8? | CREATE TABLE table_43039 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.