context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
CREATE TABLE table_name_17 (
team__number1 VARCHAR,
res VARCHAR
) | What was the team #1 for the match that had a result of 0-3? | SELECT team__number1 FROM table_name_17 WHERE res = "0-3" | sql_create_context |
CREATE TABLE table_28833 (
"Rnd" real,
"Circuit" text,
"Lites 1 Race One Winning Team" text,
"Lites 2 Race One Winning Team" text,
"Lites 1 Race Two Winning Team" text,
"Lites 2 Race Two Winning Team" text
) | On which circuit was the lites 1 race one winning team #66 Gunnar Racing? | SELECT "Circuit" FROM table_28833 WHERE "Lites 1 Race One Winning Team" = '#66 Gunnar Racing' | wikisql |
CREATE TABLE table_65740 (
"Place" text,
"Code" real,
"Area (km 2 )" real,
"Population" real,
"Most spoken language" text
) | What's the place with an area of less than 2,198.72 and a code more than 90909? | SELECT "Place" FROM table_65740 WHERE "Area (km 2 )" < '2,198.72' AND "Code" > '90909' | wikisql |
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decima... | For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of job_id and the average of salary , and group by attribute job_id, and could you list the average of salary in desc order please? | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(SALARY) DESC | nvbench |
CREATE TABLE table_name_72 (
driver VARCHAR,
time_retired VARCHAR,
laps VARCHAR,
grid VARCHAR,
points VARCHAR
) | Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? | SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023" | sql_create_context |
CREATE TABLE table_name_73 (
closed INTEGER,
city VARCHAR,
capacity VARCHAR
) | Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000 | SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 OFFSET 000 | sql_create_context |
CREATE TABLE table_204_847 (
id number,
"#" number,
"name" text,
"position" text,
"birthday" text,
"size" text,
"weight" text,
"last team" text
) | how many players were born after 1985 ? | SELECT COUNT("name") FROM table_204_847 WHERE "birthday" > 1985 | squall |
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... | 检验报告单11288812225的具体日期为何年?何月?何日 | SELECT jybgb.BGRQ FROM jybgb WHERE jybgb.BGDH = '11288812225' | css |
CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
per... | What are the number of the completion dates of all the tests that have result 'Fail'?, display from low to high by the total number. | SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" ORDER BY COUNT(date_of_completion) | nvbench |
CREATE TABLE table_name_43 (
date VARCHAR,
loss VARCHAR
) | What date was the loss of sparks (0 1)? | SELECT date FROM table_name_43 WHERE loss = "sparks (0–1)" | sql_create_context |
CREATE TABLE table_4314 (
"Player" text,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
) | What School/Club Team has a Player named Juan Dixon and a Position of guard? | SELECT "School/Club Team" FROM table_4314 WHERE "Position" = 'guard' AND "Player" = 'juan dixon' | wikisql |
CREATE TABLE table_name_55 (
branding VARCHAR,
owner VARCHAR,
frequency VARCHAR
) | what is the branding when the owner is jim pattison group and the frequency is fm 94.5? | SELECT branding FROM table_name_55 WHERE owner = "jim pattison group" AND frequency = "fm 94.5" | sql_create_context |
CREATE TABLE table_12665 (
"Year(s)" real,
"Final television commentator" text,
"Radio commentator" text,
"Spokesperson" text,
"Semi-final television commentator" text,
"Semi-final second television commentator" text
) | Who is the spokesperson after 2012? | SELECT "Spokesperson" FROM table_12665 WHERE "Year(s)" > '2012' | wikisql |
CREATE TABLE table_71203 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Pos." text,
"Class Pos." text
) | What was the final position of Arena Motorsports International? | SELECT "Pos." FROM table_71203 WHERE "Team" = 'arena motorsports international' | wikisql |
CREATE TABLE zyb (
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... | 分别在哪几次医疗记录中病人75906484被开出的均价超过1703.04元药品和医疗就诊编号是多少? | SELECT qtb.MED_CLINIC_ID FROM qtb WHERE qtb.PERSON_ID = '75906484' AND NOT qtb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT < 1703.04) UNION SELECT gyb.MED_CLINIC_ID FROM gyb WHERE gyb.PERSON_ID = '75906484' AND NOT gyb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_k... | css |
CREATE TABLE Services (
Service_ID INTEGER,
Service_Type_Code CHAR(15),
Workshop_Group_ID INTEGER,
Product_Description VARCHAR(255),
Product_Name VARCHAR(255),
Product_Price DECIMAL(20,4),
Other_Product_Service_Details VARCHAR(255)
)
CREATE TABLE Stores (
Store_ID VARCHAR(100),
Addr... | What are the number of the names of the workshop groups that have bookings with status code 'stop'? | SELECT Store_Name, COUNT(Store_Name) FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = "stop" GROUP BY Store_Name | nvbench |
CREATE TABLE table_12145 (
"Year" real,
"Title" text,
"Format/genre" text,
"Role" text,
"Staged by" text
) | What is the role in an original play, comedy in 1938? | SELECT "Role" FROM table_12145 WHERE "Format/genre" = 'original play, comedy' AND "Year" = '1938' | wikisql |
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label te... | how much has patient 27703's change of weight last measured on the first hospital visit compared to the first value measured on the first hospital visit? | 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 = 27703 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartev... | mimic_iii |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal bool... | High Standards - Top 100 Users that rarely upvote.. Top 100 Users that rarely upvote in comparison to the
estimated amount of upvotes they received (doesn't account
for e.g. bounties but should give a sufficient estimation).
Useful settings (MinRep, MinUpvotes): (1000, 100), (10000, 0). | SELECT Posts.Id, Body, TagId, TagName FROM Posts INNER JOIN PostTags ON Posts.Id = PostTags.PostId INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE TagName IN ('javascript', 'jquery', 'java', 'c#') ORDER BY Posts.Id LIMIT 1000 | sede |
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... | 查一下编号为63645719的病患在7473839这个医院的出院诊断结果,出院诊断医生要姓柏 | SELECT gwyjzb.OUT_DIAG_DIS_CD, gwyjzb.OUT_DIAG_DIS_NM FROM gwyjzb WHERE gwyjzb.PERSON_ID = '63645719' AND gwyjzb.MED_SER_ORG_NO = '7473839' AND gwyjzb.OUT_DIAG_DOC_NM LIKE '柏%' UNION SELECT fgwyjzb.OUT_DIAG_DIS_CD, fgwyjzb.OUT_DIAG_DIS_NM FROM fgwyjzb WHERE fgwyjzb.PERSON_ID = '63645719' AND fgwyjzb.MED_SER_ORG_NO = '7... | css |
CREATE TABLE table_23286223_5 (
date VARCHAR,
high_assists VARCHAR
) | When was the game in which Deron Williams (13) did the high assists played? | SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)" | sql_create_context |
CREATE TABLE table_72034 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) | What was the score of the game against the Royals when the record was 24 52? | SELECT "Score" FROM table_72034 WHERE "Opponent" = 'royals' AND "Record" = '24–52' | 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... | 检验项目在检验报告单92893885398上有什么代码以及名称? | SELECT zyjybgb.JYXMDM, zyjybgb.JYXMMC FROM zyjybgb WHERE zyjybgb.BGDH = '92893885398' UNION SELECT mzjybgb.JYXMDM, mzjybgb.JYXMMC FROM mzjybgb WHERE mzjybgb.BGDH = '92893885398' | css |
CREATE TABLE table_name_79 (
rank INTEGER,
year VARCHAR,
accolade VARCHAR
) | What was the lowest rank after 2009 with an accolade of 125 best albums of the past 25 years? | SELECT MIN(rank) FROM table_name_79 WHERE year > 2009 AND accolade = "125 best albums of the past 25 years" | sql_create_context |
CREATE TABLE table_37095 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
) | What is the fewest losses associated with more than 13 points and fewer than 8 games? | SELECT MIN("Lost") FROM table_37095 WHERE "Points" > '13' AND "Games" < '8' | wikisql |
CREATE TABLE table_39969 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
) | On what date was the opponent Ayr United, the result 1 0, and the attendance more than 668? | SELECT "Date" FROM table_39969 WHERE "Result" = '1–0' AND "Attendance" > '668' AND "Opponent" = 'ayr united' | wikisql |
CREATE TABLE table_61146 (
"Golden Rivers" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | What is the total number of Wins, when Losses is '6', and when Draws is greater than '0'? | SELECT COUNT("Wins") FROM table_61146 WHERE "Losses" = '6' AND "Draws" > '0' | wikisql |
CREATE TABLE table_203_405 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
) | how many times were the dallas cowboys listed as an opponent ? | SELECT COUNT(*) FROM table_203_405 WHERE "opponent" = 'dallas cowboys' | squall |
CREATE TABLE table_52411 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
) | What is the number played for the Barcelona B club, with wins under 11? | SELECT SUM("Played") FROM table_52411 WHERE "Club" = 'barcelona b' AND "Wins" < '11' | wikisql |
CREATE TABLE table_name_28 (
trans_1 VARCHAR,
total_time VARCHAR
) | How long did the trans 1 take when 2:00:40.20 is the total time? | SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.20" | sql_create_context |
CREATE TABLE table_44143 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"2012 club" text
) | What is the 2012 club of the cf pos. player? | SELECT "2012 club" FROM table_44143 WHERE "Pos." = 'cf' | wikisql |
CREATE TABLE table_name_66 (
week INTEGER,
date VARCHAR
) | What is the highest Week, when Date is 'November 8, 1970'? | SELECT MAX(week) FROM table_name_66 WHERE date = "november 8, 1970" | sql_create_context |
CREATE TABLE table_78017 (
"Rank" real,
"Player" text,
"Club" text,
"Country" text,
"Titles" real,
"Seasons" text
) | What player is ranked 2 and played in the seasons of 1982 83, 1983 84, 1984 85? | SELECT "Player" FROM table_78017 WHERE "Rank" = '2' AND "Seasons" = '1982–83, 1983–84, 1984–85' | wikisql |
CREATE TABLE table_name_69 (
award VARCHAR,
category VARCHAR
) | Which award has the category of the best direction of a musical? | SELECT award FROM table_name_69 WHERE category = "best direction of a musical" | sql_create_context |
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,... | list all the flights that depart from MKE | SELECT DISTINCT flight.flight_id FROM airport, flight WHERE airport.airport_code = 'MKE' AND flight.from_airport = airport.airport_code | atis |
CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
) | How many musicals has each nominee been nominated for Plot them as bar chart, show in asc by the total number. | SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee ORDER BY COUNT(*) | nvbench |
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... | 有哪些就诊编号的医疗记录里显示医院给病员35376610开出的药品均低于3078.5元? | SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.t_kc21_PERSON_ID = '35376610' AND NOT t_kc22.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT >= 3078.5) | css |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | what is admission time of subject id 2560? | SELECT demographic.admittime FROM demographic WHERE demographic.subject_id = "2560" | mimicsql_data |
CREATE TABLE nomination (
artwork_id number,
festival_id number,
result text
)
CREATE TABLE festival_detail (
festival_id number,
festival_name text,
chair_name text,
location text,
year number,
num_of_audience number
)
CREATE TABLE artwork (
artwork_id number,
type text,
... | List the name of artworks that are not nominated. | SELECT name FROM artwork WHERE NOT artwork_id IN (SELECT artwork_id FROM nomination) | spider |
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,
... | Among patients admitted before the year 2123, how many of them had a blood gas test by lab? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2123" AND lab."CATEGORY" = "Blood Gas" | mimicsql_data |
CREATE TABLE table_name_6 (
tournament VARCHAR
) | What is the 2012 value with a 1r in 2011 in the Australian Open? | SELECT 2012 FROM table_name_6 WHERE 2011 = "1r" AND tournament = "australian open" | sql_create_context |
CREATE TABLE table_name_32 (
home_team VARCHAR,
result VARCHAR
) | Who was the home team with a result of 105-99? | SELECT home_team FROM table_name_32 WHERE result = "105-99" | sql_create_context |
CREATE TABLE table_597 (
"No" real,
"Player" text,
"Height" text,
"Position" text,
"Year born" real,
"Current Club" text
) | WHat is the number for the player whose height is 2.01? | SELECT COUNT("Player") FROM table_597 WHERE "Height" = '2.01' | wikisql |
CREATE TABLE table_10803 (
"Episode" real,
"Title" text,
"Airdate" text,
"Rating" real,
"Share" real,
"18-49" real,
"Viewers" real,
"Rank" text
) | Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers? | SELECT SUM("Viewers") FROM table_10803 WHERE "Rating" > '7.8' AND "Airdate" = 'october 26, 2006' AND "Share" > '14' | wikisql |
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
Mark... | List UI5 related questions for a user. | SELECT Title, Posts.CreationDate, AcceptedAnswerId, Tags, Posts.Id AS "post_link" FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId INNER JOIN Users ON Users.Id = Posts.OwnerUserId WHERE PostTypeId = 1 AND DisplayName = '##Username:string##' AND TagName = '##Tagnam... | sede |
CREATE TABLE table_name_47 (
wins INTEGER,
year INTEGER
) | What is the sum of wins after 1999? | SELECT SUM(wins) FROM table_name_47 WHERE year > 1999 | sql_create_context |
CREATE TABLE table_30795 (
"Player" text,
"Matches" real,
"Innings" real,
"Wickets" real,
"Average" text,
"BBI" text,
"BBM" text,
"5wi" real,
"10wi" real
) | how many innings have an average of 19.60? | SELECT "Innings" FROM table_30795 WHERE "Average" = '19.60' | wikisql |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost numbe... | how many patients were given analgesics - continuous parenteral analgesics until 2103? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'analgesics - continuous parenteral analgesics' AND STRFTIME('%y', treatment.treatmenttime) <= '2103') | eicu |
CREATE TABLE table_30938 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Date" text
) | How many home teams are there when the away team score was 4.2 (26) and away team was footscray? | SELECT COUNT("Home team score") FROM table_30938 WHERE "Away team score" = '4.2 (26)' AND "Away team" = 'Footscray' | wikisql |
CREATE TABLE table_47729 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
) | Which Date has an Attendance larger than 1,858? | SELECT "Date" FROM table_47729 WHERE "Attendance" > '1,858' | wikisql |
CREATE TABLE table_203_192 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
) | david oliver has come in 3rd place in how many competitions ? | SELECT COUNT("competition") FROM table_203_192 WHERE "position" = 3 | squall |
CREATE TABLE table_71219 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | With Round 3 and Pick # over 10, what is the higher Overall number? | SELECT MAX("Overall") FROM table_71219 WHERE "Round" = '3' AND "Pick #" > '10' | wikisql |
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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 c... | how many hours has it been since the last hpt c w/o hepat coma nos diagnosis for patient 9964 on the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hpt c w/o hepat coma nos') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM ad... | mimic_iii |
CREATE TABLE table_67561 (
"Season" text,
"Player" text,
"Team" text,
"Position" text,
"Rating" text,
"Win #" text
) | What is the name of the team that had 1 win and a rating of +85? | SELECT "Team" FROM table_67561 WHERE "Win #" = '1' AND "Rating" = '+85' | wikisql |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | what is the number of patients whose ethnicity is asian and admission year is less than 2107? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.admityear < "2107" | mimicsql_data |
CREATE TABLE table_48632 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
) | What is the Studio of the Rank 10 Film? | SELECT "Studio" FROM table_48632 WHERE "Rank" = '10' | wikisql |
CREATE TABLE table_70076 (
"Goal" text,
"Location" text,
"Lineup" text,
"Assist/pass" text,
"Score" text,
"Result" text,
"Competition" text
) | Which Assist/pass has a Goal of 5? | SELECT "Assist/pass" FROM table_70076 WHERE "Goal" = '5' | wikisql |
CREATE TABLE table_name_40 (
date VARCHAR,
format VARCHAR
) | What date has the format of cd? | SELECT date FROM table_name_40 WHERE format = "cd" | 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | count the number of patients with procedure icd9 code 5732 who were hospitalized for more than 4 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "4" AND procedures.icd9_code = "5732" | mimicsql_data |
CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
c... | How many faculty members do we have for each rank? Show bar chart, and could you show x axis in asc order? | SELECT Rank, COUNT(Rank) FROM Faculty GROUP BY Rank ORDER BY Rank | nvbench |
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 ... | 编号52715047918的医疗就诊中,超过16份检验报告单的有哪些申请人,把这些申请人的工号还有名字列出来 | SELECT jybgb.SQRGH, jybgb.SQRXM FROM jybgb WHERE jybgb.JZLSH = '52715047918' GROUP BY jybgb.SQRGH HAVING COUNT(*) > 16 | css |
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
... | KML tag with language tags (rough estimate). | SELECT COUNT(DISTINCT P.Id) FROM Posts AS P INNER JOIN PostTags AS PT ON PT.PostId = P.Id INNER JOIN Tags AS T ON T.Id = PT.TagId INNER JOIN PostTags AS PT2 ON PT2.PostId = P.Id INNER JOIN Tags AS T2 ON T2.Id = PT2.TagId WHERE P.PostTypeId = 1 AND T.TagName = 'xml' AND T2.TagName IN ('javascript', 'android', 'java', 'p... | sede |
CREATE TABLE table_66847 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | What loss was against the angels with a 50-31 record? | SELECT "Loss" FROM table_66847 WHERE "Opponent" = 'angels' AND "Record" = '50-31' | wikisql |
CREATE TABLE table_37510 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | What was the Result on November 9, 1958? | SELECT "Result" FROM table_37510 WHERE "Date" = 'november 9, 1958' | wikisql |
CREATE TABLE table_name_48 (
driver VARCHAR,
race_2 VARCHAR
) | What is Driver, when Race 2 is 14? | SELECT driver FROM table_name_48 WHERE race_2 = "14" | sql_create_context |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
C... | count the number of patients whose days of hospital stay is greater than 27 and lab test name is albumin, body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "27" AND lab.label = "Albumin, Body Fluid" | mimicsql_data |
CREATE TABLE table_204_238 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer (s)" text,
"time" text
) | which is the shortest song ? | SELECT "title" FROM table_204_238 ORDER BY "time" LIMIT 1 | squall |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | what is the number of patients whose admission location is emergency room admit with procedure oth cardiac mon output? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND procedures.short_title = "Oth cardiac mon output" | mimicsql_data |
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... | 患者59707759所有检验结果指标记录在2019年2月27日到2019年5月21日内,有什么检测方法? | (SELECT jyjgzbb.JCFF FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE hz_i... | css |
CREATE TABLE table_79085 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | What was the score of the game against away team crewe alexandra? | SELECT "Score" FROM table_79085 WHERE "Away team" = 'crewe alexandra' | wikisql |
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod... | how much changes in the weight of patient 28966 last measured on the last hospital visit compared to the second to last value measured on the last hospital visit? | 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 = 28966 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)) AND ch... | mimic_iii |
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,
... | what is the number of emergency room hospital admitted patients who were diagnosed with other malignant lymphomas, unspecified site, extranodal and solid organ sites? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Other malignant lymphomas, unspecified site, extranodal and solid organ sites" | mimicsql_data |
CREATE TABLE table_name_7 (
surface VARCHAR,
score VARCHAR
) | What type of surface was played on when the score was 2 6, 6 1, [10 5]? | SELECT surface FROM table_name_7 WHERE score = "2–6, 6–1, [10–5]" | sql_create_context |
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
Exp... | Best average score per post. | SELECT Users.Id AS "user_link", COUNT(Posts.Id) AS "posts", SUM(Posts.Score) AS "score", ROUND(CAST(SUM(Posts.Score) AS FLOAT) / COUNT(Posts.Id), 1) AS "average_score" FROM Users, Posts WHERE Posts.OwnerUserId = Users.Id GROUP BY Users.Id HAVING COUNT(Posts.Id) >= 10 ORDER BY 'average_score' DESC | sede |
CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... | 看看医疗机构科室的编码及名称,就是负责医疗就诊91661477964的那个科室 | SELECT t_kc21.MED_ORG_DEPT_CD, t_kc21.MED_ORG_DEPT_NM FROM t_kc21 WHERE t_kc21.MED_CLINIC_ID = '91661477964' | css |
CREATE TABLE table_name_38 (
engine VARCHAR,
year VARCHAR,
points VARCHAR,
chassis VARCHAR
) | Name the engine when points are 0 and chassis is kuzma indy roadster for 1954 | SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954 | sql_create_context |
CREATE TABLE table_12251936_1 (
tfr_2006 VARCHAR,
gfr_2006 VARCHAR
) | How many TFR were there in 2006 when the GFR was 53.8? | SELECT tfr_2006 FROM table_12251936_1 WHERE gfr_2006 = "53.8" | sql_create_context |
CREATE TABLE Orders (
order_id INTEGER,
customer_id INTEGER,
date_order_placed DATETIME,
order_details VARCHAR(255)
)
CREATE TABLE Accounts (
account_id INTEGER,
customer_id INTEGER,
date_account_opened DATETIME,
account_name VARCHAR(50),
other_account_details VARCHAR(255)
)
CREATE... | What are total transaction amounts for each transaction type, and show transaction_type in asc order. | SELECT transaction_type, SUM(transaction_amount) FROM Financial_Transactions GROUP BY transaction_type ORDER BY transaction_type | nvbench |
CREATE TABLE table_name_99 (
venue VARCHAR,
away_team VARCHAR
) | In the game where richmond was the away team, what venue was it played at? | SELECT venue FROM table_name_99 WHERE away_team = "richmond" | sql_create_context |
CREATE TABLE table_23492 (
"Ostrich" text,
"Hamerkop" text,
"Hadeda Ibis" text,
"African Spoonbill" text,
"Whitefaced Duck" text,
"Knobbilled Duck" text
) | What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle? | SELECT "African Spoonbill" FROM table_23492 WHERE "Hadeda Ibis" = 'Brown Snake Eagle' | wikisql |
CREATE TABLE table_17292 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) | Who did the high points of game 5? | SELECT "High points" FROM table_17292 WHERE "Game" = '5' | wikisql |
CREATE TABLE table_8995 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | What was Ben Hogan's par? | SELECT "To par" FROM table_8995 WHERE "Player" = 'ben hogan' | wikisql |
CREATE TABLE table_16164 (
"Season" real,
"Premier" text,
"Runner-up" text,
"Score" text,
"Margin" real,
"Venue" text,
"Attendance" real
) | what's the minimum attendance with score 10.16 (76) 9.22 (76) | SELECT MIN("Attendance") FROM table_16164 WHERE "Score" = '10.16 (76) – 9.22 (76)' | wikisql |
CREATE TABLE table_46035 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
) | What is the number of the game when the opponent was the New York Islanders, and a February less than 24? | SELECT SUM("Game") FROM table_46035 WHERE "Opponent" = 'new york islanders' AND "February" < '24' | wikisql |
CREATE TABLE table_50170 (
"Cartridge" text,
"Bullet weight" text,
"Muzzle velocity" text,
"Muzzle energy" text,
"Max pressure" text
) | What is the muzzle velocity for the .38 long colt cartridge? | SELECT "Muzzle velocity" FROM table_50170 WHERE "Cartridge" = '.38 long colt' | 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, draw a bar chart about the distribution of founder and the sum of manufacturer , and group by attribute founder. | SELECT Founder, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | nvbench |
CREATE TABLE table_23612439_2 (
opponent VARCHAR,
date VARCHAR
) | Which opponents are on the date September 5? | SELECT opponent FROM table_23612439_2 WHERE date = "September 5" | sql_create_context |
CREATE TABLE pitStops (
raceId INTEGER,
driverId INTEGER,
stop INTEGER,
lap INTEGER,
time TEXT,
duration TEXT,
milliseconds INTEGER
)
CREATE TABLE drivers (
driverId INTEGER,
driverRef TEXT,
number TEXT,
code TEXT,
forename TEXT,
surname TEXT,
dob TEXT,
natio... | Find the names of Japanese constructors that have once earned more than 5 points, and count them by a pie chart | SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name | nvbench |
CREATE TABLE fgwyjzb (
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年10月6日到2007年9月19日内因为科室800矽肺(硅肺)Ⅲ期而产生的住院平均花费了多少? | SELECT AVG(gwyjzb.MED_AMOUT) FROM gwyjzb WHERE gwyjzb.MED_ORG_DEPT_CD = '800' AND gwyjzb.IN_HOSP_DATE BETWEEN '2001-10-06' AND '2007-09-19' AND gwyjzb.IN_DIAG_DIS_NM = '矽肺(硅肺)Ⅲ期' AND gwyjzb.CLINIC_TYPE = '住院' UNION SELECT AVG(fgwyjzb.MED_AMOUT) FROM fgwyjzb WHERE fgwyjzb.MED_ORG_DEPT_CD = '800' AND fgwyjzb.IN_HOSP_DATE... | css |
CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_DIRE_NM text,... | 在医院7700550中,根据不同的科室名称和出院诊断疾病编码,列出所有医疗就诊记录中患者平均是多大年龄? | SELECT MED_ORG_DEPT_NM, OUT_DIAG_DIS_CD, AVG(PERSON_AGE) FROM t_kc21 WHERE MED_SER_ORG_NO = '7700550' GROUP BY MED_ORG_DEPT_NM, OUT_DIAG_DIS_CD | css |
CREATE TABLE table_52342 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | what is the grid when the time/retired is oil pressure and the laps are more than 50? | SELECT AVG("Grid") FROM table_52342 WHERE "Time/Retired" = 'oil pressure' AND "Laps" > '50' | wikisql |
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_i... | what are the four most frequent intakes in 2100? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT inputevents_cv.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM inputevents_cv WHERE STRFTIME('%y', inputevents_cv.charttime) = '2100' GROUP BY inputevents_cv.itemid) AS t1 WHERE t1.c1 <= 4) | mimic_iii |
CREATE TABLE Person (
name VARCHAR
)
CREATE TABLE PersonFriend (
name VARCHAR
) | Find Alice's friends of friends. | SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name = T2.name JOIN PersonFriend AS T3 ON T1.friend = T3.name JOIN PersonFriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name <> 'Alice' | sql_create_context |
CREATE TABLE table_1218 (
"Municipality" text,
"League of Communists" real,
"Peoples Party" real,
"Union of Reform Forces" real,
"Democratic Coalition" real,
"DSSP" real,
"Total seats" real
) | How many league of communists have the people's party at 7? | SELECT COUNT("League of Communists") FROM table_1218 WHERE "Peoples Party" = '7' | wikisql |
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,
... | how many days has passed since the last time patient 027-151154 has had a procedure in the current hospital visit? | 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 = '027-151154... | eicu |
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,
... | 医疗机构5289268有多少检查记录,在项目072012上? | SELECT COUNT(*) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.MED_SER_ORG_NO = '5289268' AND t_kc22.SOC_SRT_DIRE_CD = '072012' | css |
CREATE TABLE table_name_11 (
result VARCHAR,
venue VARCHAR
) | What is the result in oakland? | SELECT result FROM table_name_11 WHERE venue = "oakland" | 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.BGDH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb 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.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB ... | css |
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetake... | what were the top three most frequent medications that followed in the same month for the patients who took the hormonal therapy (for varices) - octreotide in the previous year? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'hormonal therapy (for varices) - octreotide' AND D... | eicu |
CREATE TABLE table_27437601_2 (
original_air_date VARCHAR,
no_in_season VARCHAR
) | List the 1st air date for season 12. | SELECT original_air_date FROM table_27437601_2 WHERE no_in_season = 12 | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.