context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
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... | how many days have passed since last time patient 013-11660 has received a procedure during this hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-11660'... | eicu |
CREATE TABLE table_name_1 (
position VARCHAR,
pick VARCHAR,
player VARCHAR
) | Which Position has a Pick smaller than 14, and a Player of tyrone bogues? | SELECT position FROM table_name_1 WHERE pick < 14 AND player = "tyrone bogues" | sql_create_context |
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
va... | since 2102 tell me the three most common output events? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE STRFTIME('%y', outputevents.charttime) >= '2102' GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 3) | mimic_iii |
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
... | the last time in 2105 patient 27146 was diagnosed with what was? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27146) AND STRFTIME('%y', diagnoses_icd.charttime) = '2105' ORDER BY diagn... | mimic_iii |
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE prescriptions (
... | how many prescriptions of salmeterol xinafoate diskus (50 mcg) took place during the previous year? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'salmeterol xinafoate diskus (50 mcg)' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | mimic_iii |
CREATE TABLE table_3321 (
"Episode #" text,
"Fan Title" text,
"Writer" text,
"Artist(s)" text,
"Start Date" text,
"End Date" text,
"Inc. Dailies?" text,
"Inc. Sundays?" text
) | What is the end date for the artist s. moldoff/j. giella/c. infantino? | SELECT "End Date" FROM table_3321 WHERE "Artist(s)" = 'S. Moldoff/J. Giella/C. Infantino' | wikisql |
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varc... | For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, could you list in descending by the names? | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | nvbench |
CREATE TABLE table_69422 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | How many points did the car with the brm v8 engine have? | SELECT COUNT("Points") FROM table_69422 WHERE "Engine" = 'brm v8' | wikisql |
CREATE TABLE Shipments (
shipment_id INTEGER,
order_id INTEGER,
invoice_number INTEGER,
shipment_tracking_number VARCHAR(80),
shipment_date DATETIME,
other_shipment_details VARCHAR(255)
)
CREATE TABLE Invoices (
invoice_number INTEGER,
invoice_date DATETIME,
invoice_details VARCHAR(... | What is the placement date of the order whose invoice number is 10, and count them by a bar chart | SELECT date_order_placed, COUNT(date_order_placed) FROM Orders AS T1 JOIN Shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10 | nvbench |
CREATE TABLE table_13462 (
"Japanese Title" text,
"Romaji Title" text,
"TV Station" text,
"Episodes" text,
"Average Ratings" text
) | What is the Japanese Title of the Episode on NTV Station with a Romaji Title of Kuitan 2? | SELECT "Japanese Title" FROM table_13462 WHERE "TV Station" = 'ntv' AND "Romaji Title" = 'kuitan 2' | wikisql |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
medicationid number,
... | a medication has been prescribed to patient 006-47576 in 12/2105? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-47576')) AND STRFTIME('%y-%m', medication.drugstarttime) = '2105-12' | eicu |
CREATE TABLE table_16889 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) | What tournament did Tiger hold a 2 shot lead after 54 holes? | SELECT "Championship" FROM table_16889 WHERE "54 holes" = '2 shot lead' | wikisql |
CREATE TABLE table_name_68 (
democratic_ticket VARCHAR,
liberal_ticket VARCHAR
) | Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket? | SELECT democratic_ticket FROM table_name_68 WHERE liberal_ticket = "edward r. dudley" | sql_create_context |
CREATE TABLE table_204_992 (
id number,
"team" text,
"manager" text,
"city" text,
"stadium" text,
"capacity" text
) | what is the name of the biggest capacity stadium ? | SELECT "stadium" FROM table_204_992 ORDER BY "capacity" DESC LIMIT 1 | squall |
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 microlab (
microl... | provide the daily average amount of enteral tube intake: nasoduodenal nostril, l that patient 013-12480 has received until 02/2104. | SELECT AVG(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-12480')) AND intakeoutput.celllabel = 'enter... | eicu |
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | For those products with a price between 60 and 120, a scatter chart shows the correlation between code and price . | SELECT Code, Price FROM Products WHERE Price BETWEEN 60 AND 120 | nvbench |
CREATE TABLE member (
membership_card VARCHAR,
address VARCHAR
) | What is the membership card held by both members living in Hartford and ones living in Waterbury address? | SELECT membership_card FROM member WHERE address = 'Hartford' INTERSECT SELECT membership_card FROM member WHERE address = 'Waterbury' | sql_create_context |
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
... | 姜越彬这位患者自01.12.6起,到20.3.27止,看病从医保的统筹基金总共支付了多少金额 | SELECT SUM(t_kc24.OVE_PAY) FROM t_kc21 JOIN t_kc24 JOIN t_kc21_t_kc24 ON t_kc21.MED_CLINIC_ID = t_kc21_t_kc24.MED_CLINIC_ID AND t_kc21_t_kc24.MED_SAFE_PAY_ID = t_kc24.MED_SAFE_PAY_ID WHERE t_kc21.PERSON_NM = '姜越彬' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2001-12-06' AND '2020-03-27' | css |
CREATE TABLE table_204_865 (
id number,
"date" text,
"tournament" text,
"winner" text,
"purse ($)" number,
"notes" text
) | how many tournaments were held in april ? | SELECT COUNT("tournament") FROM table_204_865 WHERE "date" = 4 | squall |
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,
... | 在检验报告单26946687277上写的的报告人工号以及姓名是什么? | SELECT zyjybgb.BGRGH, zyjybgb.BGRXM FROM zyjybgb WHERE zyjybgb.BGDH = '26946687277' UNION SELECT mzjybgb.BGRGH, mzjybgb.BGRXM FROM mzjybgb WHERE mzjybgb.BGDH = '26946687277' | css |
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
... | Number of badges (all kinds) for each user. | SELECT Users.Id AS "user_link", COUNT(*) AS "numbadges" FROM Users INNER JOIN Badges ON Users.Id = Badges.UserId GROUP BY Users.Id ORDER BY NumBadges DESC | sede |
CREATE TABLE Students (
student_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(40),
last_name VARCHAR(40),
cell_mobile_number VARCHAR(40),
email_address VARCHAR(40),
date_first_rental DATETIME,
date_left_university DATETIME,
other_student_details VARC... | Return a bar chart about the distribution of date_address_to and the amount of date_address_to , and group by attribute other_details and bin date_address_to by weekday. | SELECT date_address_to, COUNT(date_address_to) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC | nvbench |
CREATE TABLE table_76415 (
"Season" text,
"Series" text,
"Team" text,
"Races" text,
"Wins" text,
"Poles" text,
"F/Laps" text,
"Podiums" text,
"Points" text,
"Position" text
) | What was his position in 2009 with 1 win? | SELECT "Position" FROM table_76415 WHERE "Wins" = '1' AND "Season" = '2009' | wikisql |
CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE election (
... | Show how many delegates in each party with a bar chart, I want to show by the y axis in descending. | SELECT T2.Party, COUNT(T2.Party) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY COUNT(T2.Party) DESC | nvbench |
CREATE TABLE table_49978 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
) | What is the total number of Laps, when Ride is Aleix Espargaro? | SELECT COUNT("Laps") FROM table_49978 WHERE "Rider" = 'aleix espargaro' | wikisql |
CREATE TABLE table_name_12 (
away_team VARCHAR,
venue VARCHAR
) | Who was the away team at MCG? | SELECT away_team FROM table_name_12 WHERE venue = "mcg" | sql_create_context |
CREATE TABLE table_name_96 (
format VARCHAR,
owner VARCHAR
) | What is the Format of the Frequency owned by Laval University? | SELECT format FROM table_name_96 WHERE owner = "laval university" | sql_create_context |
CREATE TABLE table_name_82 (
opening_weekend_net_gross VARCHAR,
year VARCHAR,
rank VARCHAR
) | What's the Total number of Opening Weekend Net Gross that occured after the year 2012 with a Rank of 1? | SELECT COUNT(opening_weekend_net_gross) FROM table_name_82 WHERE year > 2012 AND rank = 1 | sql_create_context |
CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
... | 有多少外地病人来医疗机构3922120看病的 | SELECT COUNT(t_kc21.PERSON_ID) FROM t_kc21 WHERE t_kc21.MED_SER_ORG_NO = '3922120' AND t_kc21.REMOTE_SETTLE_FLG = '异地1' OR t_kc21.REMOTE_SETTLE_FLG = '异地2' | css |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TA... | among patients who were prescribed magnesium sulfate in d5w after having been diagnosed with hepatic dysfunction - with cirrhosis show me the three year survival rate. | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 3 * 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 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 demographic (... | Provide the number of patients that survived and had the procedure with a long title of closure of skin and subcutaneous tissue of other sites. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.long_title = "Closure of skin and subcutaneous tissue of other sites" | mimicsql_data |
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fa... | list the flight from PHILADELPHIA to SAN FRANCISCO on AA | 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 WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ... | atis |
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... | 列出病人王阳焱从0七年八月二十一日起,至0九年一月二日止的所有检验结果指标记录中的检测方法 | SELECT jyjgzbb.JCFF FROM person_info JOIN hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX AND wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.... | css |
CREATE TABLE table_name_70 (
home_team VARCHAR,
away_team VARCHAR
) | What is the score of the home team that played Collingwood? | SELECT home_team AS score FROM table_name_70 WHERE away_team = "collingwood" | sql_create_context |
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
CREATE TAB... | i would like a flight from ATLANTA to DENVER | 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 WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER... | atis |
CREATE TABLE Financial_Transactions (
transaction_type VARCHAR
) | Show all transaction types. | SELECT DISTINCT transaction_type FROM Financial_Transactions | sql_create_context |
CREATE TABLE table_25730123_2 (
touchdowns VARCHAR,
extra_points INTEGER
) | How many touchdowns were the when there was more than 1.0 extra point? | SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0 | sql_create_context |
CREATE TABLE table_30223 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
) | What series number is the episode entitled 'Booty'? | SELECT MAX("Series #") FROM table_30223 WHERE "Title" = 'Booty' | wikisql |
CREATE TABLE table_name_3 (
record VARCHAR,
home VARCHAR,
visitor VARCHAR,
decision VARCHAR
) | What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? | SELECT record FROM table_name_3 WHERE visitor = "columbus" AND decision = "denis" AND home = "phoenix" | sql_create_context |
CREATE TABLE table_name_81 (
score VARCHAR,
competition VARCHAR
) | which Score has a Competition of match reports? | SELECT score FROM table_name_81 WHERE competition = "match reports" | sql_create_context |
CREATE TABLE table_204_279 (
id number,
"name of place" text,
"number\nof\ncounties" number,
"principal\ncounty" text,
"zip code\nlower" number,
"zip code\nupper" number
) | how many low zip codes are there in total ? | SELECT COUNT("zip code\nlower") FROM table_204_279 | squall |
CREATE TABLE table_27374004_3 (
outgoing_manager VARCHAR,
replaced_by VARCHAR
) | How many outgoing managers were replaced by Bob Peeters? | SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters" | sql_create_context |
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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | how many patients whose diagnoses long title is diaphragmatic hernia without mention of obstruction or gangrene and lab test fluid is urine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Diaphragmatic hernia without mention of obstruction or gangrene" AND lab.fluid = "Urine" | mimicsql_data |
CREATE TABLE table_14027 (
"Actor" text,
"Character" text,
"Soap Opera" text,
"Years" text,
"Duration" text
) | What duration has rosa gonzalez as the character? | SELECT "Duration" FROM table_14027 WHERE "Character" = 'rosa gonzalez' | wikisql |
CREATE TABLE table_name_83 (
supplier VARCHAR,
year VARCHAR
) | Which Supplier has a Year of 2006-2008? | SELECT supplier FROM table_name_83 WHERE year = "2006-2008" | sql_create_context |
CREATE TABLE table_55409 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | What did the team score when playing at home with a score of 13.8 (86)? | SELECT "Home team score" FROM table_55409 WHERE "Away team score" = '13.8 (86)' | wikisql |
CREATE TABLE table_30926 (
"GE-DL works no." real,
"Year built" text,
"Built for" text,
"Original no." text,
"New owner" text,
"New no." text
) | What is listed in built for when the original number is 24d? | SELECT "Built for" FROM table_30926 WHERE "Original no." = '24D' | wikisql |
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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | what is the minimum age of patients whose language is russian and primary disease is st elevated myocardial infarction\cardiac cath? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.language = "RUSS" AND demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" | mimicsql_data |
CREATE TABLE table_6431 (
"Year" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
) | Which player was pick 2 later than 2010? | SELECT "Player" FROM table_6431 WHERE "Year" > '2010' AND "Pick" = '2' | wikisql |
CREATE TABLE table_name_76 (
score VARCHAR,
attendance INTEGER
) | What was the score of the Kings game attended by more than 18,630 people? | SELECT score FROM table_name_76 WHERE attendance > 18 OFFSET 630 | sql_create_context |
CREATE TABLE table_9867 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Points" real
) | What was the record when Vancouver was the visitor? | SELECT "Record" FROM table_9867 WHERE "Visitor" = 'vancouver' | wikisql |
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE journal (
journalid int,
jo... | Does brian curless do convolution ? | SELECT DISTINCT author.authorid, paper.paperid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'brian curless' AND keyphrase.keyphrasename = 'convolution' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.author... | scholar |
CREATE TABLE table_29263 (
"No. in series" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) | What is the name of the episode written by Michael Price? | SELECT "Title" FROM table_29263 WHERE "Written by" = 'Michael Price' | wikisql |
CREATE TABLE table_77548 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | what is the score when the team is @ cleveland? | SELECT "Score" FROM table_77548 WHERE "Team" = '@ cleveland' | wikisql |
CREATE TABLE table_name_99 (
home_team VARCHAR,
venue VARCHAR
) | Which home team has the Brunswick Street Oval venue? | SELECT home_team AS score FROM table_name_99 WHERE venue = "brunswick street oval" | sql_create_context |
CREATE TABLE table_74567 (
"Area" text,
"Advertisement date" text,
"Block" text,
"Winning applicant" text,
"Ensemble name" text
) | What is Ensemble Name Muxco Gloucestershire's Advertisement Date in Block 10C? | SELECT "Advertisement date" FROM table_74567 WHERE "Block" = '10c' AND "Ensemble name" = 'muxco gloucestershire' | wikisql |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | how many patients less than 81 years of age had primary disease as liver transplant? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LIVER TRANSPLANT" AND demographic.age < "81" | mimicsql_data |
CREATE TABLE table_2668336_17 (
district VARCHAR,
incumbent VARCHAR
) | In what district is the incumbent Charles Fisher? | SELECT district FROM table_2668336_17 WHERE incumbent = "Charles Fisher" | sql_create_context |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
... | what was the first sao2 in patient 027-85328's body on the current intensive care unit visit? | SELECT vitalperiodic.sao2 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-85328') AND patient.unitdischargetime IS NULL) AND NOT vit... | eicu |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)... | how much is enoxaparin 40 mg/0.4 ml syr? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'enoxaparin 40 mg/0.4 ml syr') | eicu |
CREATE TABLE table_name_75 (
parts_per_example VARCHAR,
value_of_quantity VARCHAR
) | What is the Parts-per example of 2 10 6? | SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2×10 −6" | sql_create_context |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text... | 吴嘉惠这个病患腰部的各项指标的检验咋样 | SELECT * FROM person_info JOIN hz_info JOIN mzjzjlb 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 = jyjgzbb.jybgb_YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jyjgzbb.jybgb_JZLSH_MZJZJLB WHERE person_info.XM = '吴嘉惠'... | css |
CREATE TABLE genres (
id number,
name text
)
CREATE TABLE customers (
id number,
first_name text,
last_name text,
company text,
address text,
city text,
state text,
country text,
postal_code text,
phone text,
fax text,
email text,
support_rep_id number
)
CRE... | How many orders does Luca Mancini have in his invoices? | SELECT COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini" | spider |
CREATE TABLE table_name_73 (
total INTEGER,
country VARCHAR,
year_s__won VARCHAR
) | What was the average total for the player from the United States, who won in 1978? | SELECT AVG(total) FROM table_name_73 WHERE country = "united states" AND year_s__won = "1978" | sql_create_context |
CREATE TABLE addresses (
address_id number,
address_details text
)
CREATE TABLE ref_document_types (
document_type_code text,
document_type_description text
)
CREATE TABLE draft_copies (
document_id number,
draft_number number,
copy_number number
)
CREATE TABLE circulation_history (
d... | How many documents were shipped by USPS? | SELECT COUNT(*) FROM ref_shipping_agents JOIN documents ON documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code WHERE ref_shipping_agents.shipping_agent_name = "USPS" | spider |
CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
g... | Would you say that SPANISH 287 is more difficult that SPANISH 859 ? | SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, program_course AS PROGRAM_COURSE_0, program_course AS PROGRAM_COURSE_1 WHERE COURSE_0.department = 'SPANISH' AND COURSE_0.number = 287 AND COURSE_1.department = 'SPANISH' AND COURSE_1.number = 859 AND PROGRAM_COURSE_0.course_id = COURSE_0.course_id AND PR... | advising |
CREATE TABLE table_18536769_1 (
format VARCHAR,
frequency VARCHAR
) | When fm 97.3 is the frequency how many formats are there? | SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = "FM 97.3" | sql_create_context |
CREATE TABLE table_train_121 (
"id" int,
"depression" bool,
"suicidality" bool,
"neurodegenerative_disease" bool,
"unstable_asthmatic_condition" bool,
"vitamin_k_deficiency" bool,
"renal_disease" bool,
"cerebrovascular_disease" bool,
"hepatic_disease" bool,
"liver_disease" bool,
... | major depression, alcohol or drug dependence or suicidality | SELECT * FROM table_train_121 WHERE depression = 1 OR alcohol_abuse = 1 OR drug_abuse = 1 OR suicidality = 1 | criteria2sql |
CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
OVE_PAY numb... | 病患任秀颖在医院5443291中去肾病就诊科室做过的医疗就诊记录有多少 | SELECT * FROM t_kc21 WHERE PERSON_NM = '任秀颖' AND MED_SER_ORG_NO = '5443291' AND MED_ORG_DEPT_NM LIKE '%肾病%' | 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... | count the number of patients whose drug code is levobase3. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LEVOBASE3" | mimicsql_data |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescription... | count the number of patients with drug code keto15i who were admitted in hospital via clinic referral/premature. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND prescriptions.formulary_drug_cd = "KETO15I" | mimicsql_data |
CREATE TABLE table_15637 (
"Rank" real,
"Team" text,
"Country" text,
"Value ($M)" real,
"% change on year" real,
"Revenue ($M)" real
) | What is the lowest rank with a value less than 1,200 million and revenue less than 396 million for Manchester City? | SELECT MIN("Rank") FROM table_15637 WHERE "Value ($M)" < '1,200' AND "Revenue ($M)" < '396' AND "Team" = 'manchester city' | wikisql |
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | For those records from the products and each product's manufacturer, find name and code , and group by attribute founder, and visualize them by a bar chart, order X-axis from low to high order. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name | nvbench |
CREATE TABLE table_69245 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | What was the score on April 18? | SELECT "Score" FROM table_69245 WHERE "Date" = 'april 18' | wikisql |
CREATE TABLE table_8529 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
) | What is the name of the player that lost more than 4? | SELECT "Name" FROM table_8529 WHERE "Lost" > '4' | wikisql |
CREATE TABLE table_203_486 (
id number,
"place" number,
"team" text,
"matches" number,
"won" number,
"drawn" number,
"lost" number,
"difference" text,
"points" number
) | which team won more matches , finland or norway ? | SELECT "team" FROM table_203_486 WHERE "team" IN ('finland', 'norway') ORDER BY "won" DESC LIMIT 1 | squall |
CREATE TABLE table_204_93 (
id number,
"round" number,
"pick" number,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
) | college attended of previous pick to bob anderegg | SELECT "college" FROM table_204_93 WHERE "pick" = (SELECT "pick" FROM table_204_93 WHERE "player" = 'bob anderegg') - 1 | squall |
CREATE TABLE table_15956 (
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) | What club team is Per Gustafsson play for? | SELECT "College/junior/club team" FROM table_15956 WHERE "Player" = 'Per Gustafsson' | wikisql |
CREATE TABLE table_204_543 (
id number,
"national team" text,
"title(s)\nrepresented" text,
"first\nworn" number,
"number\nof stars" number,
"notes" text
) | who was the last team to win the world cup ? | SELECT "national team" FROM table_204_543 WHERE "title(s)\nrepresented" = 'world cup' ORDER BY "first\nworn" DESC LIMIT 1 | squall |
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId numb... | Questions containing the given tag - only ids. | SELECT q.Id AS "post_link" FROM Posts AS q INNER JOIN PostTags AS pt ON q.Id = pt.PostId INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = '##tagName:string?geometry##' ORDER BY q.CreationDate DESC | sede |
CREATE TABLE table_14562722_2 (
episodes VARCHAR,
region_1 VARCHAR
) | Name the episodes when region 1 is september 19, 2006 | SELECT episodes FROM table_14562722_2 WHERE region_1 = "September 19, 2006" | sql_create_context |
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
Work_Type text
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working... | Show me a bar chart for what are the nationalities and total ages of journalists?, and list Y-axis in descending order. | SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality ORDER BY SUM(Age) DESC | nvbench |
CREATE TABLE table_11214212_1 (
numer_of_jamaicans_granted_british_citizenship VARCHAR,
naturalisation_by_residence VARCHAR
) | what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927 | SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927 | sql_create_context |
CREATE TABLE table_1539201_1 (
june VARCHAR
) | Name the junes | SELECT june FROM table_1539201_1 | sql_create_context |
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy_assignments ... | In 549 , is there a lab ? | SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 549 | advising |
CREATE TABLE affected_region (
Region_id int,
Storm_ID int,
Number_city_affected real
)
CREATE TABLE region (
Region_id int,
Region_code text,
Region_name text
)
CREATE TABLE storm (
Storm_ID int,
Name text,
Dates_active text,
Max_speed int,
Damage_millions_USD real,
Nu... | List the name for storms and the number of affected regions for each storm with a bar chart, and could you sort bar in descending order? | SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY Name DESC | nvbench |
CREATE TABLE table_23940 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
) | What percentage of the votes in Copiah did McCain get? | SELECT "McCain%" FROM table_23940 WHERE "County" = 'Copiah' | wikisql |
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | Draw a scatter chart about the correlation between Team_ID and School_ID , and group by attribute ACC_Home. | SELECT Team_ID, School_ID FROM basketball_match GROUP BY ACC_Home | nvbench |
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDispl... | Tag wikis with internal chat.stackoverflow.com/rooms links. | SELECT DISTINCT Tags.Id, Tags.TagName, 'site://tags/' + Tags.TagName + '/info|Url' AS Url, LENGTH(Posts.Body) FROM Tags LEFT JOIN Posts ON Posts.Id = Tags.WikiPostId OR Posts.Id = Tags.ExcerptPostId WHERE (LOWER(Posts.Body) LIKE '%chat.stackoverflow.com/rooms%') ORDER BY Tags.Id | sede |
CREATE TABLE table_1213511_6 (
nationality VARCHAR,
position VARCHAR
) | What country does the goaltender come from? | SELECT nationality FROM table_1213511_6 WHERE position = "Goaltender" | sql_create_context |
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,
... | 从06年1月17日至12年11月19日期间内为28372470患者检测促肾上腺皮质激素的医务人员姓名和工号分别什么? | SELECT jyjgzbb.JCRGH, jyjgzbb.JCRXM FROM hz_info JOIN mzjzjlb JOIN zyjybgb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB AND zyjybgb.YLJGDM = jyjgzbb.YLJGDM AND zyjybgb.BGDH ... | css |
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
lan... | has patient 5310 been administered any d10w during the last month? | SELECT COUNT(*) > 0 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 = 5310)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'd10w' AND... | mimic_iii |
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... | how many patients whose diagnoses short title is ac posthemorrhag anemia and lab test fluid is joint fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Ac posthemorrhag anemia" AND lab.fluid = "Joint Fluid" | mimicsql_data |
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
) | Show the smallest enrollment of each state using a bar chart, order in ascending by the X-axis. | SELECT state, MIN(enr) FROM College GROUP BY state ORDER BY state | nvbench |
CREATE TABLE table_23122988_1 (
comedians VARCHAR,
episode VARCHAR
) | Who were the comedians on episode 1x03? | SELECT comedians FROM table_23122988_1 WHERE episode = "1x03" | sql_create_context |
CREATE TABLE table_name_90 (
rank INTEGER,
floors VARCHAR,
name VARCHAR
) | What is the rank of Etihad Tower 5, with less than 62 floors? | SELECT MIN(rank) FROM table_name_90 WHERE floors < 62 AND name = "etihad tower 5" | sql_create_context |
CREATE TABLE table_name_40 (
year INTEGER,
opponent VARCHAR
) | What is the sum of Year, when Opponent is #3 UCONN? | SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn" | sql_create_context |
CREATE TABLE table_31502 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
) | what is the barony and an area of 560? | SELECT "Barony" FROM table_31502 WHERE "Area( acres )" = '560' | wikisql |
CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY number,
F... | 1033267医疗机构在09年5月9到19年5月8日的这十年里全部的检查费用有多少 | SELECT SUM(t_kc22.AMOUNT) FROM t_kc22 WHERE t_kc22.t_kc21_MED_SER_ORG_NO = '1033267' AND t_kc22.STA_DATE BETWEEN '2009-05-09' AND '2019-05-08' AND t_kc22.MED_INV_ITEM_TYPE = '检查费' | css |
CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE team (
Team_id int,
Name text
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country int,
Team i... | How many players are from each country Visualize by bar chart, list bar in asc order. | SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name ORDER BY Country_name | nvbench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.