instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_PLACE_FLG numb... | SELECT COUNT(*) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_NM = '何戈雅' AND t_kc22.STA_DATE BETWEEN '2017-10-15' AND '2021-06-04' AND t_kc22.SELF_PAY_AMO > 6729.65 | css |
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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALA... | SELECT FIRST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME | nvbench |
CREATE TABLE table_name_92 (
drawn INTEGER,
against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest draws when more than 6 are played and the points against are 54?
| SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6 | sql_create_context |
CREATE TABLE table_name_11 (
alliance__association VARCHAR,
airline_holding VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For airlines named Aeroflot Group, what is the alliance?
| SELECT alliance__association FROM table_name_11 WHERE airline_holding = "aeroflot group" | 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
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND diagnoses.short_title = "Lower extremity embolism" | mimicsql_data |
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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'phentolamine mesylate' AND STRFTIME('%y', prescriptions.startdate... | mimic_iii |
CREATE TABLE table_name_18 (
evening VARCHAR,
sunday VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?
| SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express" | sql_create_context |
CREATE TABLE table_62457 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Spandau 04 Player Jens Pohlmann's Pos.?
| SELECT "Pos." FROM table_62457 WHERE "Club" = 'spandau 04' AND "Name" = 'jens pohlmann' | wikisql |
CREATE TABLE table_name_79 (
europe VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman
| SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman" | 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.age < "43" | mimicsql_data |
CREATE TABLE table_name_85 (
position VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Position has a Super League 1 Competition?
| SELECT position FROM table_name_85 WHERE competition = "super league 1" | 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
... | SELECT demographic.diagnosis, demographic.admittime FROM demographic WHERE demographic.name = "Michael Tyndall" | mimicsql_data |
CREATE TABLE table_name_64 (
high_assists VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is High Assists, when High Points is 'Tayshaun Prince (23)'?
| SELECT high_assists FROM table_name_64 WHERE high_points = "tayshaun prince (23)" | sql_create_context |
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text... | SELECT Id AS "post_link", Score FROM Posts WHERE OwnerUserId = '##id?210401##' ORDER BY Id | sede |
CREATE TABLE table_36673 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (h... | SELECT COUNT("Rank") FROM table_36673 WHERE "Bronze" > '1' AND "Silver" > '0' AND "Nation" = 'norway (host nation)' AND "Total" > '16' | wikisql |
CREATE TABLE table_name_16 (
surface VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Surface of the court in the match with a Score of 4 6, 6 4, 3 6?
| SELECT surface FROM table_name_16 WHERE score = "4–6, 6–4, 3–6" | sql_create_context |
CREATE TABLE table_51607 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the home team was footscray which venue did t... | SELECT "Venue" FROM table_51607 WHERE "Home team" = 'footscray' | wikisql |
CREATE TABLE staff (
staff_id number,
gender text,
first_name text,
last_name text,
email_address text,
phone_number text
)
CREATE TABLE customers (
customer_id number,
customer_type_code text,
address_line_1 text,
address_line_2 text,
town_city text,
state text,
ema... | SELECT COUNT(DISTINCT complaint_type_code) FROM complaints | spider |
CREATE TABLE table_name_44 (
lane INTEGER,
mark VARCHAR,
react VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?
| SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251 | sql_create_context |
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... | SELECT Team_ID, ACC_Percent FROM basketball_match | nvbench |
CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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 n... | SELECT jybgb.SHSJ 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_42912 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which week was attendance at 50,814?
| SELECT COUNT("Week") FROM table_42912 WHERE "Attendance" = '50,814' | wikisql |
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required varchar
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food_ser... | atis |
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAno... | SELECT Id AS "post_link", LENGTH(Body) AS Length, Score, (Score / CAST(NULLIF(LENGTH(Body), 0) AS FLOAT(9, 2))) AS Economy FROM Posts AS p ORDER BY Economy DESC LIMIT 100 | sede |
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text te... | SELECT P.OwnerUserId AS "user_link", SUM(1000 * P.Score / Q.ViewCount) AS TotalScore, SUM(P.Score) AS TotalVotes, SUM(Q.ViewCount) AS TotalViews, COUNT(*) AS "#Answers" FROM Posts AS P INNER JOIN Posts AS Q ON Q.Id = P.ParentId INNER JOIN PostTags AS PT ON PT.PostId = P.ParentId INNER JOIN Tags AS T ON T.Id = PT.TagId ... | sede |
CREATE TABLE gyb (
CLINIC_ID 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,
INSU_TYPE text,
IN... | SELECT qtb.MED_CLINIC_ID FROM qtb WHERE qtb.PERSON_NM = '鲁同济' AND qtb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT > 8376.61) UNION SELECT gyb.MED_CLINIC_ID FROM gyb WHERE gyb.PERSON_NM = '鲁同济' AND gyb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT > 8376.... | css |
CREATE TABLE table_203_663 (
id number,
"country" text,
"zone" text,
"national federation" text,
"#gm" number,
"#fide" number,
"national championship" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country has the most fide rated playe... | SELECT "country" FROM table_203_663 WHERE "country" <> 'germany' ORDER BY "#fide" DESC LIMIT 1 | squall |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND diagnoses.long_title = "Unspecified problem with head, neck, or trunk" | mimicsql_data |
CREATE TABLE table_20213 (
"#" real,
"Season" real,
"Bowl game" text,
"Result" text,
"Opponent" text,
"Stadium" text,
"Location" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many values for attendance correspond ... | SELECT COUNT("Attendance") FROM table_20213 WHERE "Bowl game" = '1986 Peach Bowl' | wikisql |
CREATE TABLE characteristics (
characteristic_id number,
characteristic_type_code text,
characteristic_data_type text,
characteristic_name text,
other_characteristic_details text
)
CREATE TABLE product_characteristics (
product_id number,
characteristic_id number,
product_characteristic... | SELECT product_name, typical_buying_price FROM products | spider |
CREATE TABLE table_79797 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tournament for top-5 more thn 1 and top-25 of 13 with w... | SELECT "Tournament" FROM table_79797 WHERE "Top-5" > '1' AND "Top-25" = '13' AND "Wins" = '3' | wikisql |
CREATE TABLE table_287 (
"Delegate" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the interview for peru delegate
| SELECT "Interview" FROM table_287 WHERE "Delegate" = 'Peru' | wikisql |
CREATE TABLE customer_addresses (
address_id VARCHAR
)
CREATE TABLE addresses (
state_province_county VARCHAR,
address_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the state names and the number of customers living in each state.
| SELECT t2.state_province_county, COUNT(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id = t2.address_id GROUP BY t2.state_province_county | sql_create_context |
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... | SELECT (LENGTH(Text) - LENGTH(REPLACE(Text, 'DisplayName', ''))) / 11 AS CloseVoters, COUNT(1) FROM PostHistory WHERE YEAR(CreationDate) = 2020 AND PostHistoryTypeId = 10 GROUP BY (LENGTH(Text) - LENGTH(REPLACE(Text, 'DisplayName', ''))) / 11 ORDER BY (LENGTH(Text) - LENGTH(REPLACE(Text, 'DisplayName', ''))) / 11 | sede |
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 flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE aircraft (... | 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER'... | atis |
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,
language text,
marital_status text,
ethnicity text,
age number
)
CREATE ... | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3327) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemi... | mimic_iii |
CREATE TABLE table_name_34 (
home VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the home court on April 14?
| SELECT home FROM table_name_34 WHERE date = "april 14" | 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardi... | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id 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 =... | mimic_iii |
CREATE TABLE table_58904 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in Final" text,
"Score in Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponent in Final, when Date is '13 January 1992'?
| SELECT "Opponent in Final" FROM table_58904 WHERE "Date" = '13 january 1992' | wikisql |
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
... | 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 = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BAL... | atis |
CREATE TABLE table_name_19 (
tournament VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Partner of mart n rodr guez?
| SELECT tournament FROM table_name_19 WHERE partner = "martín rodríguez" | sql_create_context |
CREATE TABLE table_73404 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the vacator when south carolina 4th is the district?
| SELECT "Vacator" FROM table_73404 WHERE "District" = 'South Carolina 4th' | wikisql |
CREATE TABLE table_69838 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the dates where the opponent was guillermo garc a-l pez albert portas?
| SELECT "Date" FROM table_69838 WHERE "Opponents" = 'guillermo garcía-lópez albert portas' | wikisql |
CREATE TABLE table_68198 (
"Year" real,
"English title" text,
"Original title" text,
"Country" text,
"Director'" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is the film directed by Michael Haneke from?
| SELECT "Country" FROM table_68198 WHERE "Director'" = 'michael haneke' | wikisql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions... | 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.long_title = "Acute glomerulonephritis with other specified pathological lesion in kidney" AND prescripti... | mimicsql_data |
CREATE TABLE table_train_78 (
"id" int,
"mini_mental_state_examination_mmse" int,
"consent" bool,
"swallow_oral_medication" bool,
"rosen_modified_hachinski_ischemic_score" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- unable to sw... | SELECT * FROM table_train_78 WHERE swallow_oral_medication = 0 | criteria2sql |
CREATE TABLE table_name_97 (
winner VARCHAR,
country VARCHAR,
fis_nordic_world_ski_championships VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Winner has a Country of norway, and a FIS Nordic World Ski Championships of 1924?
| SELECT winner FROM table_name_97 WHERE country = "norway" AND fis_nordic_world_ski_championships = "1924" | sql_create_context |
CREATE TABLE table_name_81 (
days VARCHAR,
_hours VARCHAR,
_minutes VARCHAR,
dates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Days, hours, minutes for 21 26 October?
| SELECT days, _hours, _minutes FROM table_name_81 WHERE dates = "21 – 26 october" | sql_create_context |
CREATE TABLE table_50191 (
"Player" text,
"Country" text,
"Year(s) won" real,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par... | SELECT COUNT("Year(s) won") FROM table_50191 WHERE "Player" = 'ed furgol' AND "To par" > '12' | wikisql |
CREATE TABLE albums (
id INTEGER,
title VARCHAR(160),
artist_id INTEGER
)
CREATE TABLE customers (
id INTEGER,
first_name VARCHAR(40),
last_name VARCHAR(20),
company VARCHAR(80),
address VARCHAR(70),
city VARCHAR(40),
state VARCHAR(40),
country VARCHAR(40),
postal_code V... | SELECT billing_country, SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8 | nvbench |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
... | SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM txmzjzjlb JOIN jybgb JOIN jyjgzbb ON txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE txmzjzjlb.JZZDSM = '慢性咽炎' AND jyjgzbb.JCZBDM = '487632' UNION SELECT jyjgzbb.CKZFWXX, ... | css |
CREATE TABLE table_1754531_4 (
domestic_mail VARCHAR,
total_freight_and_mail VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of domestic mail for 7853 for total frieght and mail
| SELECT COUNT(domestic_mail) FROM table_1754531_4 WHERE total_freight_and_mail = 7853 | sql_create_context |
CREATE TABLE table_name_65 (
score VARCHAR,
date VARCHAR,
competition VARCHAR,
brazil_scorers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march ... | SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954" | sql_create_context |
CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_PLACE_FLG numb... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.MED_SER_ORG_NO = '7265817' GROUP BY t_kc22.SOC_SRT_DIRE_CD ORDER BY SUM(t_kc22.AMOUNT) DESC LIMIT 24 | css |
CREATE TABLE table_24614 (
"Original number" text,
"UIC number" text,
"Name" text,
"Constructer" text,
"constructor number" real,
"Year" real,
"Withdrawn" text,
"Kilometers worked" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 2008... | SELECT MIN("Year") FROM table_24614 WHERE "Original number" = '2008 T' | wikisql |
CREATE TABLE time_slot (
time_slot_id text,
day text,
start_hr number,
start_min number,
end_hr number,
end_min number
)
CREATE TABLE section (
course_id text,
sec_id text,
semester text,
year number,
building text,
room_number text,
time_slot_id text
)
CREATE TABLE... | SELECT SUM(credits), dept_name FROM course GROUP BY dept_name | spider |
CREATE TABLE table_23292220_7 (
episode VARCHAR,
seans_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the episode for vic reeves and claudia winkleman
| SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman" | sql_create_context |
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
... | SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY COUNT(Minister) DESC | nvbench |
CREATE TABLE table_name_76 (
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much did the home team st kilda score?
| SELECT home_team AS score FROM table_name_76 WHERE home_team = "st kilda" | sql_create_context |
CREATE TABLE table_name_85 (
rank VARCHAR,
goals VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank of the player with 158 Goals in more than 362 Matches?
| SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362 | 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 flight_s... | SELECT DISTINCT ground_service.transport_type FROM airport, ground_service WHERE airport.airport_code = 'DEN' AND ground_service.airport_code = airport.airport_code AND ground_service.transport_type = 'RENTAL CAR' | atis |
CREATE TABLE table_name_52 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1944 result for the U.S. Championships?
| SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships" | sql_create_context |
CREATE TABLE table_25391981_20 (
viewers__millions_ VARCHAR,
episode_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers in millions watched the episode with the number 10.18?
| SELECT viewers__millions_ FROM table_25391981_20 WHERE episode_number = "10.18" | sql_create_context |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartr... | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'antiemetic - serotonin antagonist' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-1 yea... | eicu |
CREATE TABLE table_43995 (
"Rank" text,
"Time" text,
"Athlete" text,
"Nation" text,
"Date" text,
"Race" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What race is on 26 June 2011?
| SELECT "Race" FROM table_43995 WHERE "Date" = '26 june 2011' | wikisql |
CREATE TABLE diagnoses (
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,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.diagnosis = "GANGRENE" | mimicsql_data |
CREATE TABLE table_17968229_1 (
home__2nd_leg_ VARCHAR,
aggregate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With an aggregate of 0-2, what is listed for home?
| SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2" | sql_create_context |
CREATE TABLE table_10160447_1 (
position VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the total number of position with driver robby gordon
| SELECT COUNT(position) FROM table_10160447_1 WHERE driver = "Robby Gordon" | sql_create_context |
CREATE TABLE table_16796 (
"Ward" text,
"Bello" text,
"Ben-Tahir" text,
"Doucet" text,
"Furtenbacher" text,
"Gauthier" text,
"Haydon" text,
"Larter" text,
"Lawrance" text,
"Libweshya" text,
"Liscumb" text
)
-- Using valid SQLite, answer the following questions for the table... | SELECT "Doucet" FROM table_16796 WHERE "Lawrance" = '36' | 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 hz_info.person_info_JGDM, hz_info.person_info_JGMC, COUNT(hz_info.RYBH) FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE mzjzjlb.JZZDSM = '抽动秽语综合征' GROUP BY hz_info.person_info_JGDM | css |
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Reviewer (
rID int,
name text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show ... | SELECT title, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title | nvbench |
CREATE TABLE table_name_16 (
injured VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the injured entry for Venezuela?
| SELECT injured FROM table_name_16 WHERE country = "venezuela" | sql_create_context |
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
)... | SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '028-47306' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1 | eicu |
CREATE TABLE table_48468 (
"Name" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when Laps is '50', when Grid is greater than 9, when Team is 'Jim Beam Racing', and when Time/... | SELECT "Name" FROM table_48468 WHERE "Laps" = '50' AND "Grid" > '9' AND "Team" = 'jim beam racing' AND "Time/Retired" = '+ 18.0s' | wikisql |
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text... | SELECT PostId AS "post_link" FROM PostHistory WHERE PostHistoryTypeId IN (3, 6) AND Text LIKE '%<database-schema>%' | sede |
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ignor... | SELECT title, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" | nvbench |
CREATE TABLE table_19343 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" text,
"Date" text,
"Time" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadiu... | SELECT "Ground" FROM table_19343 WHERE "Crowd" = '8,256' | wikisql |
CREATE TABLE table_72118 (
"Rd" real,
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The race tony bettenhausen 200 has what smallest... | SELECT MIN("Rd") FROM table_72118 WHERE "Name" = 'Tony Bettenhausen 200' | wikisql |
CREATE TABLE table_204_310 (
id number,
"month" text,
"year" number,
"player" text,
"county" text,
"club" text,
"position" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players won at least later than 2010 ?
| SELECT COUNT("player") FROM table_204_310 WHERE "year" > 2010 | squall |
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... | SELECT MED_CLINIC_ID FROM t_kc21 WHERE PERSON_ID = '39827509' AND MED_SER_ORG_NO = '1609490' AND IN_DIAG_DIS_NM LIKE '%合并%' | css |
CREATE TABLE table_50246 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the match against at the PRIDE 31 event?
| SELECT "Opponent" FROM table_50246 WHERE "Event" = 'pride 31' | wikisql |
CREATE TABLE hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
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 ... | SELECT mzjzjlb.MZZYZDZZBM, mzjzjlb.MZZYZDZZMC FROM mzjzjlb WHERE mzjzjlb.JZLSH = '14585277536' | css |
CREATE TABLE table_31084 (
"Rk" real,
"Name" text,
"Country" text,
"Matches Played" real,
"Matches Won" real,
"Points" real,
"Prize Money (USD)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country offered a prize of 66400 US dollars?... | SELECT "Country" FROM table_31084 WHERE "Prize Money (USD)" = '66400' | wikisql |
CREATE TABLE table_29893 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who di... | SELECT "High rebounds" FROM table_29893 WHERE "Team" = 'Minnesota' | 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 person_info.JGDM, person_info.JGMC, COUNT(person_info.RYBH) FROM person_info JOIN hz_info JOIN mzjzjlb JOIN hz_info_mzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = hz_info_mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND hz_info_mzjzjlb.JZLSH = mzjzjlb.JZLSH AND hz_inf... | css |
CREATE TABLE table_57094 (
"car plates (since 1937)" text,
"Voivodeship Separate city" text,
"Capital" text,
"Area in 1000km\u00b2 (1930)" text,
"Population in 1000 (1931)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- between car plates of 80-84 w... | SELECT "Population in 1000 (1931)" FROM table_57094 WHERE "car plates (since 1937)" = '80-84' | wikisql |
CREATE TABLE table_63827 (
"Year" real,
"Competition Description" text,
"Location" text,
"Apparatus" text,
"Rank-Final" real,
"Score-Final" real,
"Rank-Qualifying" real,
"Score-Qualifying" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- C... | SELECT COUNT("Rank-Final") FROM table_63827 WHERE "Year" > '2008' AND "Apparatus" = 'balance beam' AND "Rank-Qualifying" > '4' | wikisql |
CREATE TABLE table_29509 (
"Period" text,
"Live births per year" text,
"Deaths per year" text,
"Natural change per year" text,
"CBR*" text,
"CDR*" text,
"NC*" text,
"TFR*" text,
"IMR*" real,
"Life expectancy total" text,
"Life expectancy males" text,
"Life expectancy fema... | SELECT "Natural change per year" FROM table_29509 WHERE "IMR*" = '34' | wikisql |
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city var... | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co... | advising |
CREATE TABLE table_1342218_35 (
party VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party does the incumbent from the Ohio 20 district belong to?
| SELECT party FROM table_1342218_35 WHERE district = "Ohio 20" | sql_create_context |
CREATE TABLE table_name_57 (
class VARCHAR,
weight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Class has a Weight of 203?
| SELECT class FROM table_name_57 WHERE weight = 203 | sql_create_context |
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... | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT icustays.hadm_id FROM icustays WHERE icustays.icustay_id IN (SELECT inputevents_cv.icustay_id FROM inputevents_cv WHERE inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'nicardipine hcl' AN... | mimic_iii |
CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name VARCHAR(80),... | SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name | nvbench |
CREATE TABLE table_21355 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many dates did David Savage get man of the mat... | SELECT COUNT("Date") FROM table_21355 WHERE "Man of the Match" = 'David Savage' | wikisql |
CREATE TABLE table_204_500 (
id number,
"year" number,
"title" text,
"peak chart positions\nus country" number,
"peak chart positions\nus" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last single kitty wells releas... | SELECT "title" FROM table_204_500 ORDER BY id DESC LIMIT 1 | squall |
CREATE TABLE table_name_97 (
super_cup VARCHAR,
league VARCHAR,
title_playoff VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Super Cup, when Title Playoff is '0', when Total is greater than 9, and when Leagu... | SELECT COUNT(super_cup) FROM table_name_97 WHERE title_playoff = 0 AND total > 9 AND league < 11 | sql_create_context |
CREATE TABLE table_name_54 (
round INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of rounds when fighting against Clay Guida?
| SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida" | sql_create_context |
CREATE TABLE photos (
photo_id number,
tourist_attraction_id number,
name text,
description text,
filename text,
other_details text
)
CREATE TABLE ref_attraction_types (
attraction_type_code text,
attraction_type_description text
)
CREATE TABLE visits (
visit_id number,
tourist... | SELECT other_hotel_details, star_rating_code FROM hotels ORDER BY price_range LIMIT 3 | spider |
CREATE TABLE table_47056 (
"Season" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Poles" real,
"Fastest Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the total number of podiums for more than 4 laps, and less than 149 races?
| SELECT COUNT("Podiums") FROM table_47056 WHERE "Fastest Laps" > '4' AND "Races" < '149' | wikisql |
CREATE TABLE Video_Games (
GameID INTEGER,
GName VARCHAR(40),
GType VARCHAR(40)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE SportsInfo (
St... | SELECT LName, COUNT(LName) FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.OnScholarship = 'Y' GROUP BY LName ORDER BY COUNT(LName) | nvbench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.