instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_71289 (
"Device" real,
"Device type" text,
"Capacity [MB]" text,
"Avg seek time [ms]" text,
"Avg rotational delay [ms]" real,
"Avg transfer rate [kB/s]" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the avg seek time ... | SELECT "Avg seek time [ms]" FROM table_71289 WHERE "Device" < '3231' | wikisql |
CREATE TABLE table_72828 (
"Season" real,
"MLS Reg. Season" text,
"MLS Cup Playoffs" text,
"U.S. Open Cup" text,
"CONCACAF Champions Cup / Champions League" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How did the team place when they did not qual... | SELECT "MLS Cup Playoffs" FROM table_72828 WHERE "CONCACAF Champions Cup / Champions League" = 'Did not qualify' AND "U.S. Open Cup" = 'Round of 16' | wikisql |
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE ... | SELECT DISTINCT flight.flight_id FROM airport_service, city, flight, flight_stop WHERE city.city_code = airport_service.city_code AND city.city_name = 'DENVER' AND flight_stop.arrival_time < 1200 AND flight_stop.stop_airport = airport_service.airport_code AND flight.airline_code = 'UA' AND flight.flight_id = flight_sto... | atis |
CREATE TABLE table_28283535_4 (
weekly_rank VARCHAR,
episode VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the weekly rank of episode 1.03?
| SELECT weekly_rank FROM table_28283535_4 WHERE episode = "1.03" | sql_create_context |
CREATE TABLE table_22839669_12 (
atp_wins INTEGER,
money_list_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many atp wins did he have when his money list rank was 4?
| SELECT MAX(atp_wins) FROM table_22839669_12 WHERE money_list_rank = 4 | sql_create_context |
CREATE TABLE table_name_43 (
play_offs INTEGER,
fa_cup VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup?
| SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2 | sql_create_context |
CREATE TABLE table_1046 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of points for the right end
| SELECT COUNT("Points") FROM table_1046 WHERE "Position" = 'Right end' | wikisql |
CREATE TABLE table_27069503_2 (
conf_record VARCHAR,
standings VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the conference record for the Pandas when they were first in the standings in the 2003-04 season?
| SELECT conf_record FROM table_27069503_2 WHERE standings = "First" AND season = "2003-04" | sql_create_context |
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 zyjzjlb.JZLSH FROM person_info JOIN hz_info JOIN zyjzjlb JOIN person_info_hz_info ON person_info.RYBH = person_info_hz_info.RYBH AND hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX AND person_info_hz_info.KH = hz_info.KH AND person_info_hz_info.KLX = hz_info.KLX AND pers... | css |
CREATE TABLE driver (
home_city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all different home cities.
| SELECT DISTINCT home_city FROM driver | sql_create_context |
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_ca... | SELECT city_code, COUNT(*) FROM Student WHERE Sex = 'M' GROUP BY city_code ORDER BY city_code | nvbench |
CREATE TABLE table_name_37 (
title VARCHAR,
demo VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For demo 1.6/5, what is the title?
| SELECT title FROM table_name_37 WHERE demo = "1.6/5" | sql_create_context |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
la... | SELECT 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 = '006-47576')) AND STRFTIME('%y', treatment.treatmenttime) >= '2102... | eicu |
CREATE TABLE table_55376 (
"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.
-- What w... | SELECT "High assists" FROM table_55376 WHERE "Game" = '31' | wikisql |
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE video_games (
gameid number,
gname text,
gtype text
)
CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperw... | SELECT fname, age FROM student WHERE stuid IN (SELECT stuid FROM sportsinfo WHERE sportname = "Football" INTERSECT SELECT stuid FROM sportsinfo WHERE sportname = "Lacrosse") | spider |
CREATE TABLE table_23021 (
"Country" text,
"Total Drivers" real,
"Champions" real,
"Championships" real,
"Current March 20, 2010" real,
"First driver(s)" text,
"Last/Current driver(s) March 20, 2010" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... | SELECT COUNT("Total Drivers") FROM table_23021 WHERE "Current March 20, 2010" = '2' | wikisql |
CREATE TABLE table_4711 (
"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.
-- When did Geelong play as the home team?
| SELECT "Date" FROM table_4711 WHERE "Home team" = 'geelong' | wikisql |
CREATE TABLE table_name_10 (
lead_envoy VARCHAR,
year VARCHAR,
ryūkyūan_king VARCHAR,
mission_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the lead envoy of the congratulation mission in 1718 with the Ry ky an King sh kei?
| SELECT lead_envoy FROM table_name_10 WHERE ryūkyūan_king = "shō kei" AND mission_type = "congratulation" AND year = 1718 | sql_create_context |
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text... | SELECT * FROM Users WHERE Users.Location = 'Grenoble' | sede |
CREATE TABLE table_75833 (
"Episode #" real,
"Title" text,
"Air Date" text,
"Rating" real,
"Share" real,
"18\u201349" real,
"Viewers" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Episode # with a 7 shar... | SELECT AVG("Episode #") FROM table_75833 WHERE "Share" = '7' AND "18\u201349" < '2' AND "Air Date" = 'may 21, 2009' | 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... | 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.PERSON_NM = '苏清华' GROUP BY t_kc22.SOC_SRT_DIRE_CD ORDER BY COUNT(*) DESC | css |
CREATE TABLE table_name_72 (
rank VARCHAR,
start VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ranking that had a start of 19?
| SELECT rank FROM table_name_72 WHERE start = "19" | sql_create_context |
CREATE TABLE table_54529 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Grid had 14 laps completed?
| SELECT AVG("Grid") FROM table_54529 WHERE "Laps" = '14' | wikisql |
CREATE TABLE table_30583 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date (U.S.)" text,
"Original air date (International)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode d... | SELECT "Original air date (U.S.)" FROM table_30583 WHERE "Directed by" = 'Victor Cook' AND "Written by" = 'Brat Jennett' | wikisql |
CREATE TABLE table_54092 (
"Name" text,
"GNIS Feature ID" real,
"State" text,
"County" text,
"Type" text,
"USGS 7.5' Map" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name has a type of lake, a County of hennepin, and a USGS 7.5 Map of r... | SELECT "Name" FROM table_54092 WHERE "Type" = 'lake' AND "County" = 'hennepin' AND "USGS 7.5' Map" = 'rogers' | wikisql |
CREATE TABLE table_13114949_3 (
qualifying_rank INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest qualifying rank?
| SELECT MIN(qualifying_rank) FROM table_13114949_3 | sql_create_context |
CREATE TABLE table_30769 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Station Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where are the broadcasting companys with the callsign DWRH located?
| SELECT "Location" FROM table_30769 WHERE "Callsign" = 'DWRH' | wikisql |
CREATE TABLE table_name_70 (
average INTEGER,
english_title VARCHAR,
finale VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Average of Men in Pain with a Finale of less than 33?
| SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33 | sql_create_context |
CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
Number_of_host... | SELECT Nationality, COUNT(*) FROM host GROUP BY Nationality ORDER BY COUNT(*) | nvbench |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime... | SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-4486' AND patient.hospitaldischargetime IS NULL) ORDER BY patient.unitadmittime DESC LIMIT 1 | eicu |
CREATE TABLE table_6293 (
"County" text,
"Area (acres)" text,
"Area (km\u00b2)" real,
"Population" real,
"Population Density (per km 2 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area (km ) of Nairnshire county, which has a populat... | SELECT SUM("Area (km\u00b2)") FROM table_6293 WHERE "County" = 'nairnshire' AND "Population" < '11,050' | wikisql |
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
JY... | SELECT COUNT(*) FROM (SELECT jybgb.KSBM FROM wdmzjzjlb JOIN jybgb ON wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE wdmzjzjlb.YLJGDM = '7248033' AND jybgb.BGRQ BETWEEN '2003-11-19' AND '2012-11-05' GROUP BY jybgb.KSBM HAVING COUNT(*) < 21 UNION SELECT jybgb.KSBM FROM bdmzjzjlb J... | css |
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom te... | SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3929) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mchc') AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURREN... | mimic_iii |
CREATE TABLE match_season (
player VARCHAR,
College VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return all players sorted by college in ascending alphabetical order.
| SELECT player FROM match_season ORDER BY College | sql_create_context |
CREATE TABLE table_name_27 (
born_died VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Born-Died, when Name is Maliq Bushati?
| SELECT born_died FROM table_name_27 WHERE name = "maliq bushati" | 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... | SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-39724')) AND DATETIME(allergy.allergytime) <= DATETIME(CURRENT_TIME(), '-1 y... | eicu |
CREATE TABLE table_23186 (
"Rank" real,
"Mountain Peak" text,
"Mountain Range" text,
"Elevation" text,
"Prominence" text,
"Isolation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the isolation of the mountain peak with a prominence of 1... | SELECT "Isolation" FROM table_23186 WHERE "Prominence" = '1340.549 = 4,397feet 1,340m' | wikisql |
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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
... | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | nvbench |
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varc... | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(EMPLOYEE_ID) | nvbench |
CREATE TABLE table_24220 (
"Department" text,
"Micro (10ha)" real,
"Small (100ha)" real,
"Medium (500ha)" real,
"Big (>500ha)" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total catagories are there for La Paz?
| SELECT COUNT("Total") FROM table_24220 WHERE "Department" = 'La Paz' | wikisql |
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,
ZYLBDM text,
ZYMC text
)
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM ... | SELECT jyjgzbb.JCFF 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... | css |
CREATE TABLE table_30120619_1 (
barony VARCHAR,
townland VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the barony for the Ballintaggart townland?
| SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" | sql_create_context |
CREATE TABLE table_name_99 (
driver VARCHAR,
constructor VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver had brm as a constructor and a time/retired of engine?
| SELECT driver FROM table_name_99 WHERE constructor = "brm" AND time_retired = "engine" | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Medicare" AND lab.label = "Albumin/Creatinine, Urine" | mimicsql_data |
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT diagnoses.icd9_code, diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "53707" | mimicsql_data |
CREATE TABLE table_55831 (
"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.
-- What was the crowd size at the moorabbin oval ve... | SELECT COUNT("Crowd") FROM table_55831 WHERE "Venue" = 'moorabbin oval' | wikisql |
CREATE TABLE table_name_40 (
date VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game against the Indianapolis Colts?
| SELECT date FROM table_name_40 WHERE opponent = "indianapolis colts" | sql_create_context |
CREATE TABLE table_1342233_24 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for w. arthur winstead?
| SELECT result FROM table_1342233_24 WHERE incumbent = "W. Arthur Winstead" | 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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Opioid dependence-unspec" AND prescriptions.route = "PR" | mimicsql_data |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.admityear < "2156" | mimicsql_data |
CREATE TABLE addresses (
address_id number,
line_1_number_building text,
city text,
zip_postcode text,
state_province_county text,
country text
)
CREATE TABLE customer_payments (
customer_id number,
datetime_payment time,
payment_method_code text,
amount_payment number
)
CREATE... | SELECT COUNT(*) FROM staff WHERE first_name = "Ludie" | spider |
CREATE TABLE table_train_99 (
"id" int,
"mini_mental_state_examination_mmse" int,
"language" string,
"renal_disease" bool,
"hepatic_disease" bool,
"allergy_to_formoterol" bool,
"geriatric_depression_scale_gds" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions f... | SELECT * FROM table_train_99 WHERE hepatic_disease = 1 OR renal_disease = 1 | criteria2sql |
CREATE TABLE table_name_94 (
score VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score that has a To par of 3, for Branden Grace?
| SELECT score FROM table_name_94 WHERE to_par = "−3" AND player = "branden grace" | sql_create_context |
CREATE TABLE table_56787 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the leading scorer that was a visitor of the Trail B... | SELECT "Leading scorer" FROM table_56787 WHERE "Visitor" = 'trail blazers' | wikisql |
CREATE TABLE table_name_10 (
nation VARCHAR,
silver VARCHAR,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country had 1 Bronze, 1 Silver, with a total of 3 medals?
| SELECT nation FROM table_name_10 WHERE bronze = 1 AND total = 3 AND silver = 1 | sql_create_context |
CREATE TABLE table_name_70 (
city_or_town VARCHAR,
number_of_seasons_in_top_division VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City or town has top division smaller than 40 and Gaziantepspor Club ?
| SELECT city_or_town FROM table_name_70 WHERE number_of_seasons_in_top_division < 40 AND club = "gaziantepspor" | sql_create_context |
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPo... | SELECT TIME_TO_STR(Posts.CreationDate, '%Y') * 100 + TIME_TO_STR(Posts.CreationDate, '%m') AS YYYYMM, COUNT(0) AS CT FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE Posts.CreationDate > '2015-01-01' AND Tags.TagName = 'unity3d' GROUP BY TIME_TO_STR(Po... | sede |
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,
... | SELECT jyjgzbb.JCFF FROM hz_info JOIN txmzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX AND txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH... | css |
CREATE TABLE table_203_426 (
id number,
"year" number,
"title" text,
"peak chart positions\naus" number,
"peak chart positions\nnz" number,
"peak chart positions\nuk" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what title ... | SELECT "title" FROM table_203_426 ORDER BY "peak chart positions\naus" LIMIT 1 | squall |
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 chartevents (
ro... | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate, admissions.hadm_id FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'pyridoxine' AND DATETIME(prescriptions.startd... | mimic_iii |
CREATE TABLE table_name_34 (
constructor VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who constructed grid 14?
| SELECT constructor FROM table_name_34 WHERE grid = 14 | sql_create_context |
CREATE TABLE Maintenance_Contracts (
maintenance_contract_id INTEGER,
maintenance_contract_company_id INTEGER,
contract_start_date DATETIME,
contract_end_date DATETIME,
other_contract_details VARCHAR(255)
)
CREATE TABLE Skills (
skill_id INTEGER,
skill_code VARCHAR(20),
skill_descriptio... | SELECT staff_name, COUNT(*) FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id GROUP BY T1.staff_name ORDER BY COUNT(*) | nvbench |
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
... | 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 = 22973 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)) AND chartevent... | mimic_iii |
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight te... | 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_16090262_1 (
directed_by VARCHAR,
tv_broadcast VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the show that had a TV broadcast of S07E04?
| SELECT directed_by FROM table_16090262_1 WHERE tv_broadcast = "S07E04" | sql_create_context |
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >= 60) ... | mimic_iii |
CREATE TABLE table_6143 (
"Call sign" text,
"Frequency" text,
"City of license" text,
"Watts" real,
"Class" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Watts has a Class of a, and a Frequency of 91.5 fm, and a City of license of elkhart,... | SELECT MIN("Watts") FROM table_6143 WHERE "Class" = 'a' AND "Frequency" = '91.5 fm' AND "City of license" = 'elkhart, kansas' | wikisql |
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.language = "SPAN" AND demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" | mimicsql_data |
CREATE TABLE table_39856 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest game number with Aris Thessaloniki with points smaller than 120?
| SELECT MIN("Games") FROM table_39856 WHERE "Team" = 'aris thessaloniki' AND "Points" < '120' | wikisql |
CREATE TABLE table_77696 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game site has a result of bye?
| SELECT "Game site" FROM table_77696 WHERE "Result" = 'bye' | wikisql |
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
)
-- Using valid SQLite, answer the following questions for the... | SELECT Founder, SUM(Revenue) FROM Manufacturers GROUP BY Founder | nvbench |
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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2056" AND lab.fluid = "Joint Fluid" | mimicsql_data |
CREATE TABLE table_21436373_6 (
type_of_record VARCHAR,
result_games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which type of record has result/games of 9 games (57,144 avg.)
| SELECT type_of_record FROM table_21436373_6 WHERE result_games = "9 games (57,144 avg.)" | sql_create_context |
CREATE TABLE table_name_53 (
roll INTEGER,
area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the sum roll of Karaka area?
| SELECT SUM(roll) FROM table_name_53 WHERE area = "karaka" | sql_create_context |
CREATE TABLE table_75877 (
"Rank" real,
"Main span metres" text,
"Main span feet" text,
"Year opened" real,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank from the year greater than 2010 with 430 main span metres?
| SELECT MAX("Rank") FROM table_75877 WHERE "Year opened" > '2010' AND "Main span metres" = '430' | wikisql |
CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
CYBQDM tex... | SELECT BGDH FROM jyjgzbb WHERE JYZBLSH = '07937833273' | css |
CREATE TABLE table_13836704_6 (
rank VARCHAR,
freight___metric_tonnes__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the airport with a freight ( metric tonnes ) of 23791?
| SELECT rank FROM table_13836704_6 WHERE freight___metric_tonnes__ = 23791 | sql_create_context |
CREATE TABLE table_22319599_1 (
team_name VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the school is Rend Lake College, what is the team name?
| SELECT team_name FROM table_22319599_1 WHERE school = "Rend Lake College" | sql_create_context |
CREATE TABLE table_63660 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home team of the game with a Score of 2 2?
| SELECT "Home team" FROM table_63660 WHERE "Score" = '2 – 2' | wikisql |
CREATE TABLE table_train_106 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"mini_mental_state_examination_mmse" int,
"uncontrolled_diabetes" bool,
"blood_glucose" int,
"rosen_modified_hachinski_ischemic_score" int,
"body_mass_index_bmi" float,
"age" float,
"NOUSE" f... | SELECT * FROM table_train_106 WHERE (gender = 'male' OR (gender = 'female' AND pregnancy_or_lactation = 0)) AND age >= 50 | criteria2sql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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 t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "15" AND procedures.short_title = "Packed cell transfusion" | mimicsql_data |
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDat... | SELECT Q.Id AS "post_link", A.CreationDate, A.Score, Q.ViewCount, COALESCE(CAST(A.Score AS FLOAT) / NULLIF(Q.ViewCount, 0), 0) AS Traffic FROM Posts AS Q JOIN Posts AS A ON A.ParentId = Q.Id WHERE A.PostTypeId = 2 AND A.OwnerUserId = '##UserId##' ORDER BY A.Score DESC LIMIT 34100 | sede |
CREATE TABLE table_1341663_44 (
district VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which district is republican?
| SELECT district FROM table_1341663_44 WHERE party = "Republican" | sql_create_context |
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varchar,
has_p... | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017)) AND course.course_id = course_offering.course_id AND course.department = 'department0... | advising |
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... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2103" AND prescriptions.drug_type = "MAIN" | mimicsql_data |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | SELECT (SELECT SUM(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 = '031-3355')) AND intakeoutput.cellpath LI... | eicu |
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 procedures (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND prescriptions.drug_type = "BASE" | mimicsql_data |
CREATE TABLE table_34954 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the women's singles before 1965 with kaj l... | SELECT "Women's singles" FROM table_34954 WHERE "Year" < '1965' AND "Mixed doubles" = 'kaj lindfors ann-louise von essen' | wikisql |
CREATE TABLE table_33101 (
"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.
-- What was the average crowd size when the home te... | SELECT AVG("Crowd") FROM table_33101 WHERE "Home team score" = '9.8 (62)' | wikisql |
CREATE TABLE table_name_87 (
qual_1 VARCHAR,
team VARCHAR,
best VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the qual 1 for rusport and had a best of 58.665?
| SELECT qual_1 FROM table_name_87 WHERE team = "rusport" AND best = "58.665" | sql_create_context |
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
JY... | SELECT jybgb.SQKS, jybgb.SQKSMC FROM jybgb WHERE jybgb.BGDH = '77243094215' | css |
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
Owne... | SELECT SourceTagName, TargetTagName, CreationDate, ApprovalDate, OwnerUserId AS "user_link", ApprovedByUserId AS "user_link", Score, DATEDIFF(month, CreationDate, ApprovalDate) AS Months, DATEDIFF(day, CreationDate, ApprovalDate) AS Days, DATEDIFF(hour, CreationDate, ApprovalDate) AS Hours, DATEDIFF(minute, CreationDat... | sede |
CREATE TABLE table_62641 (
"Team 1" text,
"Score" text,
"Team 2" text,
"1st round" text,
"2nd round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team 1 with n mes olympique (d2) as team 2?
| SELECT "Team 1" FROM table_62641 WHERE "Team 2" = 'nîmes olympique (d2)' | wikisql |
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_M... | SELECT COUNT(DISTINCT hz_info.RYBH) FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX WHERE zyjzjlb.YLJGDM = '8444341' AND DATEDIFF(zyjzjlb.CYSJ, zyjzjlb.RYSJ) > 30 | css |
CREATE TABLE table_49850 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the score 123-112?
| SELECT "Date" FROM table_49850 WHERE "Score" = '123-112' | wikisql |
CREATE TABLE table_66576 (
"School" text,
"Mascot" text,
"Location" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Mascot has a Location of evansville, ... | SELECT "Mascot" FROM table_66576 WHERE "Location" = 'evansville' AND "Enrollment" > '1,392' AND "School" = 'evansville harrison' | wikisql |
CREATE TABLE table_23259077_1 (
championship VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which championship did John Newcombe play against Ken Rosewall in the final match?
| SELECT championship FROM table_23259077_1 WHERE opponent_in_the_final = "Ken Rosewall" | sql_create_context |
CREATE TABLE procedures (
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 diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND diagnoses.short_title = "Acute parametritis" | mimicsql_data |
CREATE TABLE chip_model (
RAM_MiB INTEGER,
model_name VARCHAR,
chip_model VARCHAR
)
CREATE TABLE phone (
RAM_MiB INTEGER,
model_name VARCHAR,
chip_model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the average ram mib size of the chip... | SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone) | 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 demographic (... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.icd9_code = "56210" | mimicsql_data |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.