context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
CREATE TABLE table_2651755_2 (
cons VARCHAR,
together_we_can_do_more VARCHAR
) | where together we can do more is gloria mujica ( ph ) what are all the cons. | SELECT cons FROM table_2651755_2 WHERE together_we_can_do_more = "Gloria Mujica ( PH )" | sql_create_context |
CREATE TABLE table_name_91 (
date VARCHAR,
race VARCHAR
) | When was the swiss grand prix? | SELECT date FROM table_name_91 WHERE race = "swiss grand prix" | sql_create_context |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
... | how many black/haitian patients have phenylephrine medication prescription? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND prescriptions.drug = "Phenylephrine" | mimicsql_data |
CREATE TABLE table_72875 (
"Fin. Pos" real,
"Car No." real,
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Laps Led" real,
"Points" text
) | What is the grid for the driver who earned 14 points? | SELECT "Grid" FROM table_72875 WHERE "Points" = '14' | wikisql |
CREATE TABLE table_69638 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) | In Los Banos, California, when the ERP W is than 10, what is the average Frequency MHz? | SELECT AVG("Frequency MHz") FROM table_69638 WHERE "City of license" = 'los banos, california' AND "ERP W" < '10' | wikisql |
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
... | did patient 70516 have any tests for phosphate since 3 years ago? | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'phosphate') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 70516) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-3 year') | mimic_iii |
CREATE TABLE table_12983929_1 (
construction_start VARCHAR,
net_power VARCHAR,
unit VARCHAR
) | When did the construction of the unit Chinon B1 with net power of 905 MW start? | SELECT construction_start FROM table_12983929_1 WHERE net_power = "905 MW" AND unit = "Chinon B1" | sql_create_context |
CREATE TABLE table_78002 (
"Bowl" text,
"Score" text,
"Season" real,
"Opponent" text,
"Stadium" text,
"Location" text,
"Attendance" text,
"Head coach" text
) | What stadium had an opponent of Cal State Fullerton Titans? | SELECT "Stadium" FROM table_78002 WHERE "Opponent" = 'cal state fullerton titans' | wikisql |
CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Statements (
Statement_ID INTEGER,
Statement_Details VARCHAR(255)
)
CREATE TABLE Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Document_Dat... | Bar chart x axis document name y axis the number of document name, rank X-axis in descending order. | SELECT Document_Name, COUNT(Document_Name) FROM Documents GROUP BY Document_Name ORDER BY Document_Name DESC | nvbench |
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
... | what does restriction AP/57 mean | SELECT DISTINCT advance_purchase, application, maximum_stay, minimum_stay, no_discounts, restriction_code, saturday_stay_required, stopovers FROM restriction WHERE restriction_code = 'AP/57' | atis |
CREATE TABLE table_name_29 (
score VARCHAR,
home_team VARCHAR
) | What is the score when the home team is queens park rangers? | SELECT score FROM table_name_29 WHERE home_team = "queens park rangers" | sql_create_context |
CREATE TABLE table_name_15 (
opponents_in_the_final VARCHAR,
tournament VARCHAR
) | Who were the opponents in the final at Noida? | SELECT opponents_in_the_final FROM table_name_15 WHERE tournament = "noida" | sql_create_context |
CREATE TABLE table_train_22 (
"id" int,
"pre_treatment_with_hydroxyethyl_starch" int,
"requiring_dialysis" bool,
"intracerebral_hemorrhage" bool,
"serum_creatinine" float,
"kidney_disease" bool,
"allergy_to_hydroxyethyl_starch" bool,
"age" float,
"NOUSE" float
) | age < 18 years | SELECT * FROM table_train_22 WHERE age < 18 | criteria2sql |
CREATE TABLE table_name_3 (
team_1 VARCHAR
) | Which 1st leg has a Team 1 of drita? | SELECT 1 AS st_leg FROM table_name_3 WHERE team_1 = "drita" | sql_create_context |
CREATE TABLE table_17839_1 (
avg_trips_per_mile__ VARCHAR,
map_colour VARCHAR
) | When turquoise is the map colour how many avg. trips per mile ( 1000) are there? | SELECT COUNT(avg_trips_per_mile__) AS ×1000_ FROM table_17839_1 WHERE map_colour = "Turquoise" | sql_create_context |
CREATE TABLE table_48948 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text
) | With a Mark of 46.47, What is the lowest Heat? | SELECT MIN("Heat") FROM table_48948 WHERE "Mark" = '46.47' | wikisql |
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_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE out... | in this year, when did patient 65401 last visit the hospital? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 65401 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime DESC LIMIT 1 | mimic_iii |
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversa... | Questions (total, answered, unanswered, users) by Date. | SELECT DATE(p.CreationDate) AS date, COUNT(DISTINCT p.OwnerUserId) AS users, SUM(1) AS total, SUM(CASE WHEN COALESCE(p.AcceptedAnswerId, 0) = 0 THEN 1 ELSE 0 END) AS unanswered, SUM(CASE WHEN COALESCE(p.AcceptedAnswerId, 0) = 0 THEN 0 ELSE 1 END) AS answered FROM Posts AS p GROUP BY DATE(p.CreationDate) ORDER BY DATE(p... | sede |
CREATE TABLE table_43610 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) | What date was the pyramid location? | SELECT "Date" FROM table_43610 WHERE "Location" = 'the pyramid' | wikisql |
CREATE TABLE player (
player_id number,
name text,
position text,
club_id number,
apps number,
tries number,
goals text,
points number
)
CREATE TABLE competition_result (
competition_id number,
club_id_1 number,
club_id_2 number,
score text
)
CREATE TABLE club_rank (
... | how many different positions are there? | SELECT COUNT(DISTINCT position) FROM player | spider |
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
C... | Links to answers by a given user. | SELECT CreationDate, Id AS "post_link" FROM Posts WHERE (PostTypeId = 2) AND (OwnerUserId = '##UserId##') ORDER BY CreationDate DESC | sede |
CREATE TABLE table_43196 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance (Miles)" text,
"Time" text,
"Purse" text
) | What Trainer had Jockey William Jenkins in a race with Time of 1:44.80? | SELECT "Trainer" FROM table_43196 WHERE "Time" = '1:44.80' AND "Jockey" = 'william jenkins' | wikisql |
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_20... | A bar chart for finding the number of the names of stadiums that some Australian swimmers have been to, list from high to low by the names. | SELECT T4.Name, COUNT(T4.Name) FROM swimmer AS t1 JOIN record AS t2 ON t1.ID = t2.Swimmer_ID JOIN event AS t3 ON t2.Event_ID = t3.ID JOIN stadium AS t4 ON t4.ID = t3.Stadium_ID WHERE t1.Nationality = 'Australia' GROUP BY T4.Name ORDER BY T4.Name DESC | nvbench |
CREATE TABLE table_15204 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) | What was the record at the game that had a loss of Brandon (4 8)? | SELECT "Record" FROM table_15204 WHERE "Loss" = 'brandon (4–8)' | wikisql |
CREATE TABLE table_4578 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | Which home team score occurred at Victoria Park? | SELECT "Home team score" FROM table_4578 WHERE "Venue" = 'victoria park' | wikisql |
CREATE TABLE Products (
product_id INTEGER,
parent_product_id INTEGER,
product_category_code VARCHAR(20),
date_product_first_available DATETIME,
date_product_discontinued DATETIME,
product_name VARCHAR(80),
product_description VARCHAR(255),
product_price DECIMAL(19,4)
)
CREATE TABLE Cus... | What are all the different product names, and how many complains has each received. Show the proportion. | SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name | nvbench |
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZDZZBM... | 在2001年9月2日到2009年7月11日期间,为患者43339704检测指标557689的医务人员工号及姓名分别是什么? | SELECT jyjgzbb.JCRGH, jyjgzbb.JCRXM FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN mzjzjlb_jybgb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGD... | css |
CREATE TABLE table_name_5 (
place VARCHAR,
rope VARCHAR,
name VARCHAR
) | What is Milena Reljin's place with a smaller than 9.8 rope? | SELECT place FROM table_name_5 WHERE rope < 9.8 AND name = "milena reljin" | sql_create_context |
CREATE TABLE table_name_3 (
year VARCHAR,
score VARCHAR
) | In what year was the score 204 (-6)? | SELECT year FROM table_name_3 WHERE score = "204 (-6)" | sql_create_context |
CREATE TABLE train (
Train_ID int,
Name text,
Time text,
Service text
)
CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Location text,
Main_Services text,
Number_of_Platforms int
)
CREATE TABLE t... | Show the names and total passengers for all train stations not in London Visualize by bar chart, I want to list in asc by the y-axis please. | SELECT Name, Total_Passengers FROM station WHERE Location <> 'London' ORDER BY Total_Passengers | nvbench |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
c... | tell me the name of allergies patient 009-9534 was having until 08/2102? | SELECT allergy.allergyname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-9534')) AND STRFTIME('%y-%m', allergy.allergytime) <= '2102-08' | eicu |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtim... | in 2104, what are the five most frequent interventions that patients were given within 2 months after receiving administration of electrolytes - magnesium? | SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'administration of electrolytes - magnesi... | eicu |
CREATE TABLE Invoice_Items (
Invoice_Item_ID INTEGER,
Invoice_ID INTEGER,
Order_ID INTEGER,
Order_Item_ID INTEGER,
Product_ID INTEGER,
Order_Quantity INTEGER,
Other_Item_Details VARCHAR(255)
)
CREATE TABLE Invoices (
Invoice_ID INTEGER,
Order_ID INTEGER,
payment_method_code CHAR... | List the distinct payment method codes with the number of orders mad. Plot them as pie chart. | SELECT payment_method_code, COUNT(*) FROM Invoices GROUP BY payment_method_code | nvbench |
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBLSH text,
... | 从06年1月17日至12年11月19日期间内为28372470患者检测促肾上腺皮质激素的医务人员姓名和工号分别什么? | SELECT jyjgzbb.JCRGH, jyjgzbb.JCRXM FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN jybgb_jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jybgb_jyjgzbb.YLJGDM ... | css |
CREATE TABLE table_54423 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | The driver Jacky Ickx had what time/retired? | SELECT "Time/Retired" FROM table_54423 WHERE "Driver" = 'jacky ickx' | wikisql |
CREATE TABLE diagnoses_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 labevents (
row_id number,
subject_id number,
hadm_id number,
... | when did patient 83062 receive a microbiology test in this hospital visit for the last time? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83062 AND admissions.dischtime IS NULL) ORDER BY microbiologyevents.charttime DESC LIMIT 1 | mimic_iii |
CREATE TABLE table_name_71 (
area_km_2 VARCHAR,
population VARCHAR
) | What is the Area of the Parish with a Population of 71? | SELECT area_km_2 FROM table_name_71 WHERE population = 71 | sql_create_context |
CREATE TABLE table_name_69 (
overall INTEGER,
name VARCHAR,
pick VARCHAR,
round VARCHAR
) | What is the sum of Overall, when Pick is greater than 5, when Round is less than 11, and when Name is 'Tom Barrington'? | SELECT SUM(overall) FROM table_name_69 WHERE pick > 5 AND round < 11 AND name = "tom barrington" | sql_create_context |
CREATE TABLE table_name_72 (
rank VARCHAR
) | What is the 2010 with a rank higher than 15 and a 2011 maserati? | SELECT 2010 FROM table_name_72 WHERE rank > 15 AND 2011 = "maserati" | sql_create_context |
CREATE TABLE table_38477 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
) | What is the class AAAAA of the school year 1993-94 with a class AAA of Mont Belvieu Barbers Hill? | SELECT "Class AAAAA" FROM table_38477 WHERE "Class AAA" = 'mont belvieu barbers hill' AND "School Year" = '1993-94' | wikisql |
CREATE TABLE table_9833 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
) | What is the event name when the method is submission (brabo choke)? | SELECT "Event" FROM table_9833 WHERE "Method" = 'submission (brabo choke)' | wikisql |
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZDZZBM... | 病患22945235在2001-12-09以前做过的检验报告在哪些门诊?列出这些门诊就诊的流水编码 | SELECT mzjzjlb.JZLSH 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 = '22945235' AND NOT mzjzjlb.JZLSH IN (SELECT jybgb.JZLSH FROM jybgb WHERE jybgb.BGRQ >= '2001-12-09') | css |
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... | Among patients admitted before the year 2154, how many were treated with drug sw? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2154" AND prescriptions.drug = "SW" | mimicsql_data |
CREATE TABLE table_57432 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | What team played Geelong at their away game? | SELECT "Home team" FROM table_57432 WHERE "Away team" = 'geelong' | wikisql |
CREATE TABLE table_name_97 (
Id VARCHAR
) | What shows for 2010 when 2007 is a and 2004 is 2r? | SELECT 2010 FROM table_name_97 WHERE 2007 = "a" AND 2004 = "2r" | sql_create_context |
CREATE TABLE table_73005 (
"No. overall" real,
"No. in series" real,
"Title" text,
"Director" text,
"Writer" text,
"Original air date" text,
"Production code" real
) | When 1 is the number in series who is the director? | SELECT "Director" FROM table_73005 WHERE "No. in series" = '1' | wikisql |
CREATE TABLE table_42977 (
"U.S. mission" text,
"Mass (kg)" real,
"Booster" text,
"Launched" text,
"Mission goal" text,
"Landing zone" text,
"Lat / Lon" text
) | What is the largest mass for Tycho Crater? | SELECT MAX("Mass (kg)") FROM table_42977 WHERE "Landing zone" = 'tycho crater' | wikisql |
CREATE TABLE table_17462 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) | What nationality is pick # 89 | SELECT "Nationality" FROM table_17462 WHERE "Pick #" = '89' | wikisql |
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZDZZMC ... | 哪些是俞以轩患者的检验报告单对应的检验结果指标均正常以及列出检验报告单号是多少? | SELECT jybgb.BGDH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN mzjzjlb_jybgb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND mzjzjl... | css |
CREATE TABLE table_46223 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | Who does p draig harrington play for? | SELECT "Country" FROM table_46223 WHERE "Player" = 'pádraig harrington' | wikisql |
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 patient (
uniquep... | what was the one year survival rate of s/p vascular bypass patients who were prescribed with prednisone? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid... | eicu |
CREATE TABLE table_32705 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) | What is his record at ufc 115? | SELECT "Record" FROM table_32705 WHERE "Event" = 'ufc 115' | wikisql |
CREATE TABLE table_name_20 (
country VARCHAR,
format VARCHAR,
catalog VARCHAR
) | What country has an LP format, catalog s 31503? | SELECT country FROM table_name_20 WHERE format = "lp" AND catalog = "s 31503" | sql_create_context |
CREATE TABLE table_77902 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | What is the top lap that had a tyre time? | SELECT MAX("Laps") FROM table_77902 WHERE "Time/Retired" = 'tyre' | wikisql |
CREATE TABLE table_name_23 (
chief_judge VARCHAR,
active_service VARCHAR
) | Which Chief Judge has Active service of 1873 1875? | SELECT chief_judge FROM table_name_23 WHERE active_service = "1873–1875" | sql_create_context |
CREATE TABLE table_15045 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original title" text,
"Director" text
) | What is the film title used in nomination for the film from South Korea? | SELECT "Film title used in nomination" FROM table_15045 WHERE "Country" = 'south korea' | wikisql |
CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_DIRE_NM text,... | 医院4248222的出院诊断医生陈医生给患者施方方做的出院诊断结果都分别是什么? | SELECT OUT_DIAG_DIS_CD, OUT_DIAG_DIS_NM FROM t_kc21 WHERE PERSON_NM = '施方方' AND MED_SER_ORG_NO = '4248222' AND OUT_DIAG_DOC_NM LIKE '陈%' | css |
CREATE TABLE table_204_23 (
id number,
"#" number,
"wrestlers" text,
"reign" number,
"date" text,
"days held" number,
"location" text,
"event" text,
"notes" text
) | how many times , from june 23 , 1992 to december 3 , 2000 , did the suicide blondes hold the title ? | SELECT COUNT(*) FROM table_204_23 WHERE "wrestlers" = 'the suicide blondes' | squall |
CREATE TABLE table_203_123 (
id number,
"year" number,
"title" text,
"b-side" text,
"mediums" text,
"label (catalog)" text
) | what was the first single released for the epic label ? | SELECT "title" FROM table_203_123 WHERE "label (catalog)" = 'epic' ORDER BY id LIMIT 1 | squall |
CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
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,
... | 孔雅静患者报告日期均在2011年1月25日之后的住院就诊记录对应着哪些检验报告单和住院就诊流水号是多少? | SELECT zyjzjlb.JZLSH FROM person_info JOIN hz_info JOIN zyjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX WHERE person_info.XM = '孔雅静' AND NOT zyjzjlb.JZLSH IN (SELECT zyjybgb.JZLSH FROM zyjybgb WHERE zyjybgb.BGRQ <= '2011-01-25' UNI... | css |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)... | what are the three most commonly ordered specimen tests for patients who have been diagnosed with hyperlipidemia previously within 2 months in 2105? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hyperlipidemia' AND STRFTIME('%y', diagnosis... | eicu |
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose... | when did patient 2238 have the .9% normal saline for the last time until 619 days ago? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2238)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label ... | mimic_iii |
CREATE TABLE table_name_7 (
july VARCHAR,
october VARCHAR
) | Who is in July where October is jill de vries? | SELECT july FROM table_name_7 WHERE october = "jill de vries" | sql_create_context |
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,... | For those employees who was hired before 2002-06-21, find job_id and the sum of employee_id , and group by attribute job_id, and visualize them by a bar chart. | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID | nvbench |
CREATE TABLE table_80012 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) | Who won the men's doubles the year Pernille Nedergaard won the women's singles? | SELECT "Men's doubles" FROM table_80012 WHERE "Women's singles" = 'pernille nedergaard' | wikisql |
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text... | Give me the comparison about the sum of ID over the meter_200 , and group by attribute meter_200 by a bar chart, order Y in descending order please. | SELECT meter_200, SUM(ID) FROM swimmer GROUP BY meter_200 ORDER BY SUM(ID) DESC | nvbench |
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | For those records from the products and each product's manufacturer, give me the comparison about the average of manufacturer over the name , and group by attribute name, and could you order X from high to low order please? | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name DESC | nvbench |
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)... | Potential formatting issues due to MathJax enabling. | SELECT Id AS "post_link", Body FROM Posts WHERE Body LIKE '%$%$%' | sede |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CRE... | Upvotes and downvotes cast by a community. | SELECT SUM(UpVotes) AS "Upvotes", SUM(DownVotes) AS "Downvotes", SUM(DownVotes) * 100 / (SUM(UpVotes) + SUM(DownVotes)) AS "Downvote %" FROM Users | sede |
CREATE TABLE market (
Market_ID int,
Country text,
Number_cities int
)
CREATE TABLE film (
Film_ID int,
Title text,
Studio text,
Director text,
Gross_in_dollar int
)
CREATE TABLE film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,
Film_ID ... | Show me the total number by studio in a histogram, I want to rank by the bar in asc. | SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY Studio | nvbench |
CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
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,
... | 在2012年8月24日到2015年7月31日之间医院2003934有多少科室在门诊就诊中开出检验报告单不超过12张? | SELECT COUNT(*) FROM (SELECT zyjybgb.KSBM FROM mzjzjlb JOIN zyjybgb ON mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB WHERE mzjzjlb.YLJGDM = '2003934' AND zyjybgb.BGRQ BETWEEN '2012-08-24' AND '2015-07-31' GROUP BY zyjybgb.KSBM HAVING COUNT(*) <= 12 UNION SELECT mzjybgb.KSBM FROM mzjz... | css |
CREATE TABLE advisor (
s_ID varchar(5),
i_ID varchar(5)
)
CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,0)
)
CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE student (
... | I want to see trend the total number over year by semester, and sort in ascending by the X. | SELECT year, COUNT(*) FROM section GROUP BY semester, year ORDER BY year | nvbench |
CREATE TABLE table_6735 (
"Rank" real,
"Goalkeeper" text,
"Club" text,
"MINS" real,
"SHTS" real,
"W-L-T" text
) | What is the club for the 132 SHTS? | SELECT "Club" FROM table_6735 WHERE "SHTS" = '132' | wikisql |
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZDZZBM... | 请把患者陶浩阔在二零零八年十二月十一日到二零一七年十月十日内所有检验结果指标记录中的仪器编号以及名称都找出来 | SELECT jyjgzbb.YQBH, jyjgzbb.YQMC FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybg... | css |
CREATE TABLE table_name_71 (
tuesday VARCHAR,
thursday VARCHAR
) | What is shown on Tuesday when Thursday shows Fox Sports Tonight (ends 1 am next day)? | SELECT tuesday FROM table_name_71 WHERE thursday = "fox sports tonight (ends 1 am next day)" | sql_create_context |
CREATE TABLE table_27631002_1 (
season VARCHAR,
f_laps VARCHAR,
races VARCHAR
) | Which season had f/laps is 0 and races is 2? | SELECT season FROM table_27631002_1 WHERE f_laps = 0 AND races = 2 | sql_create_context |
CREATE TABLE mill (
architect_id number,
id number,
location text,
name text,
type text,
built_year number,
notes text
)
CREATE TABLE bridge (
architect_id number,
id number,
name text,
location text,
length_meters number,
length_feet number
)
CREATE TABLE architect... | What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters? | SELECT DISTINCT T1.name FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id = T2.id JOIN bridge AS T3 ON T3.architect_id = T2.id WHERE T3.length_meters > 80 | spider |
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
... | how many patients were treated with prt lg intes exc nec/nos in this year? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'prt lg intes exc nec/nos') AND DATETIME(procedures_i... | mimic_iii |
CREATE TABLE table_25254 (
"Stage" real,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Sprint Classification" text,
"Team Classification" text
) | Name the most stage for alejandro valverde and astana greg henderson | SELECT MAX("Stage") FROM table_25254 WHERE "General Classification" = 'Alejandro Valverde' AND "Team Classification" = 'Astana' AND "Winner" = 'Greg Henderson' | wikisql |
CREATE TABLE basketball_match (
team_id number,
school_id number,
team_name text,
acc_regular_season text,
acc_percent text,
acc_home text,
acc_road text,
all_games text,
all_games_percent number,
all_home text,
all_road text,
all_neutral text
)
CREATE TABLE university (... | Count the number of schools that have had basketball matches. | SELECT COUNT(DISTINCT school_id) FROM basketball_match | spider |
CREATE TABLE table_63684 (
"Position" text,
"Appearances" real,
"Goals" real,
"First appearance" real,
"Last appearance" real
) | What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf? | SELECT AVG("Goals") FROM table_63684 WHERE "Last appearance" < '1984' AND "Appearances" > '17' AND "First appearance" < '1961' AND "Position" = 'mf' | wikisql |
CREATE TABLE table_name_13 (
on_air_id VARCHAR,
frequency VARCHAR
) | What is the On-air ID of the broadcaster at frequency 0 801? | SELECT on_air_id FROM table_name_13 WHERE frequency = "0 801" | sql_create_context |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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
)
C... | how many medicaid insurance patients were admitted in hospital before 2103? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.admityear < "2103" | mimicsql_data |
CREATE TABLE table_45522 (
"Poll Source" text,
"Dates administered" text,
"Democrat: Tom Harkin" text,
"Republican: Christopher Reed" text,
"Lead Margin" real
) | What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14? | SELECT "Democrat: Tom Harkin" FROM table_45522 WHERE "Poll Source" = 'rasmussen reports' AND "Lead Margin" = '14' | wikisql |
CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No... | List the number of counties of all appellations in a bar chart, and I want to list in ascending by the bars. | SELECT County, COUNT(County) FROM appellations GROUP BY County ORDER BY County | nvbench |
CREATE TABLE table_26842217_18 (
time VARCHAR,
result VARCHAR
) | Name the time for result msst 29 24 | SELECT time FROM table_26842217_18 WHERE result = "MSST 29–24" | sql_create_context |
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE month (
... | is there LIMOUSINE service available at BALTIMORE airport | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city, ground_service WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'BALTIMORE' AND ground_service.airport_code = airport.airport_code AND ground_service.transport_... | atis |
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... | Which courses offer 13 credits in regards to the RELIGION 200 -level ? | SELECT DISTINCT department, name, number FROM course WHERE credits = 13 AND department = 'RELIGION' AND number < 200 + 100 AND number >= 200 | advising |
CREATE TABLE table_name_40 (
team VARCHAR,
year VARCHAR
) | Which team was in 1951? | SELECT team FROM table_name_40 WHERE year = 1951 | sql_create_context |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | what is maximum age of patients whose admission type is urgent and admission year is greater than or equal to 2177? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.admityear >= "2177" | mimicsql_data |
CREATE TABLE ship (
Name VARCHAR,
Tonnage VARCHAR
) | What is the name of the ship with the largest tonnage? | SELECT Name FROM ship ORDER BY Tonnage DESC LIMIT 1 | sql_create_context |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wa... | calculate the duration of patient 027-82318's stay in the first icu. | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-82318') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | eicu |
CREATE TABLE table_10402018_1 (
toronto___broadway VARCHAR,
uk_tour VARCHAR
) | Which person is in the tronto/broadway and has a uk tour of n/a | SELECT toronto___broadway FROM table_10402018_1 WHERE uk_tour = "n/a" | sql_create_context |
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE restriction (
... | how do i get to PHILADELPHIA downtown from the airport | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'PHILADELPHIA' AND ground_service.city_code = city.city_code | atis |
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId numbe... | Answers posted after a Reward Existing Answer bounty. | SELECT Posts.Id AS "post_link", Posts.OwnerUserId AS "user_link", PostNotices.CreationDate AS BountyPosted, Posts.CreationDate AS AnswerPosted FROM PostNotices JOIN Posts ON PostNotices.PostId = Posts.ParentId WHERE PostNotices.PostNoticeTypeId = 15 AND PostNotices.CreationDate < Posts.CreationDate ORDER BY Posts.Creat... | sede |
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
... | You can return a bar chart to show the employees' first name and the corresponding manager's id, order in desc by the y axis. | SELECT FIRST_NAME, MANAGER_ID FROM employees ORDER BY MANAGER_ID DESC | nvbench |
CREATE TABLE table_10667 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | how many laps have a time/retired of +1 lap and mark blundell is the driver? | SELECT AVG("Laps") FROM table_10667 WHERE "Time/Retired" = '+1 lap' AND "Driver" = 'mark blundell' | wikisql |
CREATE TABLE table_61435 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
) | Which player is on the roster for the Sydney University Lions? | SELECT "Name" FROM table_61435 WHERE "Club" = 'sydney university lions' | wikisql |
CREATE TABLE table_77212 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | What is the place of player tom watson? | SELECT "Place" FROM table_77212 WHERE "Player" = 'tom watson' | wikisql |
CREATE TABLE table_49920 (
"Outcome" text,
"Date" text,
"Location" text,
"Surface" text,
"Partnering" text,
"Opponent in final" text,
"Score" text
) | What is Score, when Outcome is 'winner', when Partnering is 'Nicole Sewell', and when Opponent in Final is 'Victoria Davies / Kate Warne-Holland'? | SELECT "Score" FROM table_49920 WHERE "Outcome" = 'winner' AND "Partnering" = 'nicole sewell' AND "Opponent in final" = 'victoria davies / kate warne-holland' | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.