instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_204_649 (
id number,
"rank" number,
"name" text,
"image" number,
"height\nft (m)" text,
"floors" number,
"year" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which building is the tallest ?
| SELECT "name" FROM table_204_649 ORDER BY "height\nft (m)" DESC LIMIT 1 | squall |
CREATE TABLE table_name_10 (
second VARCHAR,
team VARCHAR,
third VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second on the North America team for which Cathy Overton-Clapham the third?
| SELECT second FROM table_name_10 WHERE team = "north america" AND third = "cathy overton-clapham" | sql_create_context |
CREATE TABLE table_63519 (
"Year" real,
"Home Team" text,
"Away Team" text,
"Winner" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the winner when the home team is sioux falls storm and the year is earlier than 2012?
| SELECT "Winner" FROM table_63519 WHERE "Home Team" = 'sioux falls storm' AND "Year" < '2012' | wikisql |
CREATE TABLE people (
People_ID int,
Age int,
Name text,
Nationality text,
Graduation_College text
)
CREATE TABLE employment (
Company_ID int,
People_ID int,
Year_working int
)
CREATE TABLE company (
Company_ID real,
Name text,
Headquarters text,
Industry text,
Sale... | SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry | nvbench |
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE T... | SELECT RANK() OVER (ORDER BY COUNT(*) DESC) AS Rank, b.UserId AS "user_link", COUNT(*) AS "count" FROM Badges AS b INNER JOIN Users AS u ON b.UserId = u.Id WHERE (b.Name = '##name?Great Answer##') GROUP BY b.UserId ORDER BY COUNT(*) DESC LIMIT 100 | 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 aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,... | 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 = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DEN... | atis |
CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description v... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON student_record.course_id = program_course.course_id WHERE program_course.category LIKE '%PreMajor%' AND student_record.student_id = 1 | advising |
CREATE TABLE table_61852 (
"Poison/Klesha" text,
"Sanskrit" text,
"Pali" text,
"Tibetan" text,
"Alternate translations" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pali word for r ga in sanskrit?
| SELECT "Pali" FROM table_61852 WHERE "Sanskrit" = 'rāga' | wikisql |
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CRE... | SELECT Posts.Id FROM (SELECT * FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NULL AND Score > 2 AND CreationDate >= @start) AS posts JOIN Users ON Users.Id = Posts.OwnerUserId WHERE Users.Reputation > '##Parameter:INT?1000##' AND Users.Reputation < 1000 ORDER BY Posts.CreationDate DESC LIMIT 200 | 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.JYZBLSH FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN mzjzjlb_jybgb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.B... | css |
CREATE TABLE table_25505246_8 (
round VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what round types did the opponent come from south africa?
| SELECT round FROM table_25505246_8 WHERE against = "South Africa" | sql_create_context |
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 time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TA... | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare 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_... | atis |
CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE repair (
repair_ID int,
name text,
Launch_Date text,
Notes text
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team text,
Machin... | SELECT Team, COUNT(*) FROM technician GROUP BY Team ORDER BY Team | nvbench |
CREATE TABLE table_name_61 (
driver VARCHAR,
grid VARCHAR,
constructor VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver for Maserati has more laps than 23 and a grid greater than 7?
| SELECT driver FROM table_name_61 WHERE constructor = "maserati" AND laps > 23 AND grid > 7 | sql_create_context |
CREATE TABLE table_5219 (
"Variant id" text,
"5\u2019UTR splice" text,
"Coding" text,
"3\u2019UTR sequence" text,
"GenBank id" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Variant id has the GenBank id of nm_005411.4?
| SELECT "Variant id" FROM table_5219 WHERE "GenBank id" = 'nm_005411.4' | wikisql |
CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id va... | SELECT title, COUNT(title) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY COUNT(title) | nvbench |
CREATE TABLE table_32240 (
"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.
-- Where did Footscray play as the away team?
| SELECT "Venue" FROM table_32240 WHERE "Away team" = 'footscray' | wikisql |
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insuranc... | SELECT AVG(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3677) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'white blood cells') AND DATETIME(labevents.charttime) <= DATETIME(CURRENT_TI... | mimic_iii |
CREATE TABLE table_name_66 (
engine VARCHAR,
introduced VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine was introduced in 1935?
| SELECT engine FROM table_name_66 WHERE introduced = "1935" | sql_create_context |
CREATE TABLE table_79235 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What name has Fakel New Urengoy as the 2008 club?
| SELECT "Name" FROM table_79235 WHERE "2008 club" = 'fakel new urengoy' | wikisql |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE bdmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
K... | SELECT * FROM hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX AND wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE hz_i... | css |
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 (SELECT PER_ACC_PAY FROM t_kc24 WHERE MED_CLINIC_ID = '01530200654') / (SELECT MED_AMOUT FROM t_kc24 WHERE MED_CLINIC_ID = '01530200654') | css |
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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID... | SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME DESC | 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "VENTRICULAR TACHYCARDIA" AND demographic.age < "86" | mimicsql_data |
CREATE TABLE table_name_47 (
class VARCHAR,
wheel_arrangement VARCHAR,
quantity_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14?
| SELECT class FROM table_name_47 WHERE wheel_arrangement = "4-6-0" AND quantity_made = "14" | sql_create_context |
CREATE TABLE table_name_23 (
money___ INTEGER,
country VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which money has a Country of united states, and a Place of t6?
| SELECT AVG(money___) AS $__ FROM table_name_23 WHERE country = "united states" AND place = "t6" | sql_create_context |
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.MED_INV_ITEM_TYPE FROM t_kc22 JOIN t_kc21_t_kc22 JOIN t_kc21 ON t_kc21_t_kc22.MED_EXP_DET_ID = t_kc22.MED_EXP_DET_ID AND t_kc21_t_kc22.MED_CLINIC_ID = t_kc21.MED_CLINIC_ID WHERE t_kc21.MED_CLINIC_ID = '51918851726' AND t_kc22.SOC_SRT_DIRE_NM = '奥氮平片' | css |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE... | SELECT OwnerUserId AS "user_link", SUM(Score) AS sumscore FROM Posts WHERE PostTypeId = 2 GROUP BY OwnerUserId ORDER BY sumscore DESC LIMIT 100 | sede |
CREATE TABLE table_272313_1 (
vertical INTEGER,
aspect_ratio VARCHAR,
scanning VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced?
| SELECT MIN(vertical) FROM table_272313_1 WHERE aspect_ratio = "16:9" AND scanning = "interlaced" | sql_create_context |
CREATE TABLE individuals (
individual_id number,
individual_first_name text,
individual_middle_name text,
inidividual_phone text,
individual_email text,
individual_address text,
individual_last_name text
)
CREATE TABLE party_services (
booking_id number,
customer_id number,
serv... | SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.organization_name = "Labour Party" ORDER BY t2.date_contact_to DESC LIMIT 1 | spider |
CREATE TABLE table_11089 (
"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's the score during a game than had a tie no of 19?
| SELECT "Score" FROM table_11089 WHERE "Tie no" = '19' | wikisql |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.days_stay > "2" | 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 t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'coagulopathy' AND DATETIME(diagnosis.diagnosistime... | eicu |
CREATE TABLE table_1473672_3 (
player VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which players played right wing?
| SELECT player FROM table_1473672_3 WHERE position = "Right Wing" | sql_create_context |
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_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE proce... | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | mimic_iii |
CREATE TABLE table_26522 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Open Cup results for the year 2003?
| SELECT "Open Cup" FROM table_26522 WHERE "Year" = '2003' | wikisql |
CREATE TABLE people (
people_id number,
name text,
height number,
weight number,
home town text
)
CREATE TABLE perpetrator (
perpetrator_id number,
people_id number,
date text,
year number,
location text,
country text,
killed number,
injured number
)
-- Using valid... | SELECT injured FROM perpetrator ORDER BY injured | spider |
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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... | SELECT AVG(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 = 25668)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arte... | mimic_iii |
CREATE TABLE table_20256 (
"English country name" text,
"Arabic romanised country name" text,
"Arabic country name" text,
"English capital name" text,
"Arabic romanised capital name" text,
"Arabic capital name" text
)
-- Using valid SQLite, answer the following questions for the tables provide... | SELECT "Arabic capital name" FROM table_20256 WHERE "English capital name" = 'Beirut' | wikisql |
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Other shock without mention of trauma" AND lab.flag = "abnormal" | mimicsql_data |
CREATE TABLE table_58176 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the round for engine of ford cosworth dfv 3.0 v8 with chas... | SELECT "Rounds" FROM table_58176 WHERE "Engine" = 'ford cosworth dfv 3.0 v8' AND "Chassis" = '751' | wikisql |
CREATE TABLE table_73909 (
"Institution" text,
"Location (all in Ohio)" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" text,
"Joined" real,
"Left" real,
"Current Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... | SELECT MAX("Founded") FROM table_73909 | wikisql |
CREATE TABLE table_2125 (
"Rank" real,
"Couple" text,
"Judges" real,
"Public" real,
"Total" real,
"Vote percentage" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What couple had a total score of 6?
| SELECT "Couple" FROM table_2125 WHERE "Total" = '6' | wikisql |
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeri... | SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%intake%' AND STRFTIME('%y', intakeoutput.intakeoutputtime) = '2101' GROUP BY intakeoutput.celllabel) AS t1 WHERE t1.c1 <= 4 | eicu |
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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND demographic.dob_year < "2109" | mimicsql_data |
CREATE TABLE table_204_770 (
id number,
"season" number,
"date" text,
"jia-a/csl winner" text,
"result" text,
"fa cup winner" text,
"scorers" text,
"stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many different people scored... | SELECT "scorers" FROM table_204_770 WHERE "season" = 1997 | squall |
CREATE TABLE table_51724 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constructor for the driver with grid less than 2?
| SELECT "Constructor" FROM table_51724 WHERE "Grid" < '2' | wikisql |
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, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID | nvbench |
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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
)
... | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', admissions.admittime)) FROM admissions WHERE admissions.subject_id = 97395 AND admissions.dischtime IS NULL | mimic_iii |
CREATE TABLE table_34365 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were in Attendance on December 11, 1954?
| SELECT COUNT("Attendance") FROM table_34365 WHERE "Date" = 'december 11, 1954' | wikisql |
CREATE TABLE table_name_26 (
tie_no VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tie no for the home team swansea city?
| SELECT tie_no FROM table_name_26 WHERE home_team = "swansea city" | sql_create_context |
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
CO... | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | nvbench |
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following questions for the... | SELECT Founder, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Manufacturer) | nvbench |
CREATE TABLE table_2570269_2 (
episode__number VARCHAR,
episode_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the episode number for episode title Leave Takers?
| SELECT episode__number FROM table_2570269_2 WHERE episode_title = "Leave Takers" | sql_create_context |
CREATE TABLE table_23464 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... | SELECT COUNT("No. in series") FROM table_23464 WHERE "Title" = 'Skate or Die' | wikisql |
CREATE TABLE table_8160 (
"Municipality" text,
"Inhabitants" real,
"Mayor" text,
"Party" text,
"Election" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and a... | SELECT AVG("Inhabitants") FROM table_8160 WHERE "Party" = 'south tyrolean people''s party' AND "Municipality" = 'bruneck' AND "Election" > '2010' | wikisql |
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperfield (
fieldid int,
... | SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'stefan savage' AND writes.authorid = author.authorid | scholar |
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
stops int,... | SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.airline_code = 'AA') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to_airport = AIRP... | atis |
CREATE TABLE table_28989 (
"Proto-Slavic" text,
"Russian" text,
"Ukrainian" text,
"Belarusian" text,
"Polish" text,
"Czech" text,
"Slovak" text,
"Slovene" text,
"Serbo-Croatian" text,
"Bulgarian" text,
"Macedonian" text
)
-- Using valid SQLite, answer the following question... | SELECT "Macedonian" FROM table_28989 WHERE "Serbo-Croatian" = 'рука / ruka' | wikisql |
CREATE TABLE table_20349 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written By" text,
"Originalairdate" text,
"TV Broadcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director of the epi... | SELECT "Directed by" FROM table_20349 WHERE "Title" = 'Graduation Day: Class of 2105' | wikisql |
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_... | 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, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND date_day.day_number = 22 AND date_day.month_number = 3... | atis |
CREATE TABLE table_name_81 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the sum of the crowds that watched Fitzroy play as the away team?
| SELECT SUM(crowd) FROM table_name_81 WHERE away_team = "fitzroy" | sql_create_context |
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON student_record.course_id = program_course.course_id WHERE program_course.category LIKE '%Core%' AND student_record.student_id = 1 | advising |
CREATE TABLE table_41028 (
"Tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"Win %" text
)
-- Using valid SQLite, answer the following questions for the ... | SELECT "2006" FROM table_41028 WHERE "2012" = 'a' AND "2011" = '3r' | wikisql |
CREATE TABLE table_4743 (
"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 is the home team that played against an away... | SELECT "Home team" FROM table_4743 WHERE "Away team score" = '12.4 (76)' | wikisql |
CREATE TABLE table_name_14 (
film_title_used_in_nomination VARCHAR,
language VARCHAR,
original_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the German film that is originally called Mama, Ich Lebe?
| SELECT film_title_used_in_nomination FROM table_name_14 WHERE language = "german" AND original_name = "mama, ich lebe" | sql_create_context |
CREATE TABLE table_73155 (
"School" text,
"City / Town" text,
"Website" text,
"Size" real,
"Principal" text,
"Grades" text,
"IDOE Profile" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where's the school that Mark Fletcher is the principal ... | SELECT "City / Town" FROM table_73155 WHERE "Principal" = 'Mark Fletcher' | wikisql |
CREATE TABLE table_29637 (
"Season" text,
"Episodes" real,
"Timeslot ( EST )" text,
"Season premiere" text,
"Season finale" text,
"TV season" text,
"Rank" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When ... | SELECT "Season finale" FROM table_29637 WHERE "Rank" = '20th' | wikisql |
CREATE TABLE table_name_75 (
time_retired VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time/retired for the driver with fewer than 23 laps and grid larger than 23?
| SELECT time_retired FROM table_name_75 WHERE laps < 23 AND grid > 23 | sql_create_context |
CREATE TABLE table_name_62 (
fuel_type VARCHAR,
manufacturer VARCHAR,
mpg_us_extra_urban VARCHAR,
mpg_us_combined VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined lar... | SELECT fuel_type FROM table_name_62 WHERE mpg_us_extra_urban > 53.5 AND mpg_us_combined > 50 AND manufacturer = "renault" | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT demographic.age FROM demographic WHERE demographic.subject_id = "43220" | mimicsql_data |
CREATE TABLE table_58731 (
"Name" text,
"Total" real,
"First" text,
"Last" text,
"Highest rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is Takat riki having less than 30 total?
| SELECT "Highest rank" FROM table_58731 WHERE "Total" < '30' AND "Name" = 'takatōriki' | wikisql |
CREATE TABLE table_12962773_1 (
height VARCHAR,
position VARCHAR,
year_born VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's height with position being center and year born being bigger than 1980.0
| SELECT height FROM table_12962773_1 WHERE position = "Center" AND year_born > 1980.0 | sql_create_context |
CREATE TABLE table_name_2 (
label VARCHAR,
region VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Label of the release on April 24, 2009 in Germany?
| SELECT label FROM table_name_2 WHERE region = "germany" AND date = "april 24, 2009" | sql_create_context |
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 T2.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | nvbench |
CREATE TABLE table_2167226_3 (
winning_score VARCHAR,
margin_of_victory VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winning score when 5 strokes is the margin of victory?
| SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = "5 strokes" | sql_create_context |
CREATE TABLE ftxmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZD... | 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 = '矽肺(硅肺)I期' AND jyjgzbb.JCZBMC = '脂蛋白(a)二代' UNION SELECT jyjgzbb.CKZ... | css |
CREATE TABLE table_name_76 (
title VARCHAR,
translation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title has a translation of I know in it?
| SELECT title FROM table_name_76 WHERE translation = "i know" | sql_create_context |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CRE... | SELECT YEAR(p.CreationDate), MONTH(p.CreationDate), AVG(CAST((JULIANDAY(ClosedDate) - JULIANDAY(p.CreationDate)) * 24.0 AS INT)) FROM Tags AS t INNER JOIN PostTags AS pt ON t.Id = pt.TagId INNER JOIN Posts AS P ON p.Id = pt.PostId WHERE t.TagName = '##TagNam##' AND NOT p.ClosedDate IS NULL AND YEAR(p.CreationDate) = 20... | sede |
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 INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.icd9_code = "8848" | mimicsql_data |
CREATE TABLE table_46259 (
"Season" text,
"Race" real,
"Podium" real,
"Pole" real,
"FLap" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many races had 4 podiums, 5 poles and more than 3 Flaps?
| SELECT SUM("Race") FROM table_46259 WHERE "Podium" = '4' AND "Pole" = '5' AND "FLap" > '3' | wikisql |
CREATE TABLE table_63463 (
"Team" text,
"Location" text,
"County" text,
"Division" text,
"Home ground" text,
"Coach" text,
"Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team is in Sussex county?
| SELECT "Team" FROM table_63463 WHERE "County" = 'sussex' | wikisql |
CREATE TABLE table_30602 (
"Year" real,
"Austria" text,
"Belgium" text,
"England" text,
"Germany" text,
"Italy" text,
"Netherlands" text,
"Saudi Arabia" text,
"Spain" text,
"United Arab Emirates" text
)
-- Using valid SQLite, answer the following questions for the tables provid... | SELECT COUNT("Germany") FROM table_30602 WHERE "Italy" = 'Naples LL Naples' AND "England" = 'London Area Youth London' | wikisql |
CREATE TABLE table_46585 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To Par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Place is 'T9', and when Score is '73-70=143'?
| SELECT "Player" FROM table_46585 WHERE "Place" = 't9' AND "Score" = '73-70=143' | wikisql |
CREATE TABLE table_37092 (
"Weight Division" text,
"Winner" text,
"Loser" text,
"Method" text,
"Round" real,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What win method has a time of 2:32?
| SELECT "Method" FROM table_37092 WHERE "Time" = '2:32' | wikisql |
CREATE TABLE table_19576091_1 (
man_of_the_match VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the man of the match when the Rockets won by 9 wickets?
| SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets" | 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 hz_info JOIN mzjzjlb JOIN jybgb 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 WHERE hz_info.RYBH = '53573541' AND NOT jybgb.BGDH IN (SELECT jyjgzbb.BGDH FROM jyjgzbb WH... | css |
CREATE TABLE table_21055055_2 (
au_air_date VARCHAR,
viewers__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the episode seen by is 2.267 million people get aired?
| SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267" | sql_create_context |
CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
YQBH text... | SELECT SBBM, YQBH, YQMC FROM jyjgzbb WHERE JYZBLSH = '68679682654' | css |
CREATE TABLE table_52992 (
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the constructor of the car that Jan Lammers made 7-14 rounds in?
| SELECT "Constructor" FROM table_52992 WHERE "Driver" = 'jan lammers' AND "Rounds" = '7-14' | 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.label = "Troponin I" | mimicsql_data |
CREATE TABLE table_48465 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which game number was Chris ... | SELECT "Game" FROM table_48465 WHERE "High rebounds" = 'chris andersen (12)' | wikisql |
CREATE TABLE table_12951 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the United States win with a total of 278?
| SELECT "Year(s) won" FROM table_12951 WHERE "Country" = 'united states' AND "Total" = '278' | wikisql |
CREATE TABLE table_1966992_1 (
area__km_2__ VARCHAR,
census_2006_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many areas (km 2) have 151511 as the census 2006 population?
| SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511 | sql_create_context |
CREATE TABLE table_47536 (
"Frequency" text,
"Call sign" text,
"Location" text,
"Name / Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Frequency has an Owner of rogers communications rogers radio, and a Call sign of cikz-... | SELECT "Frequency" FROM table_47536 WHERE "Owner" = 'rogers communications rogers radio' AND "Call sign" = 'cikz-fm' | wikisql |
CREATE TABLE table_29281529_2 (
iron_chef VARCHAR,
challenger VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the iron chef when herb Faust was the challenger?
| SELECT iron_chef FROM table_29281529_2 WHERE challenger = "Herb Faust" | sql_create_context |
CREATE TABLE table_21559 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was replaced on 11 July?
| SELECT "Replaced by" FROM table_21559 WHERE "Date of appointment" = '11 July' | wikisql |
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE journal (
journalid int,
journalname... | SELECT DISTINCT AUTHOR_1.authorid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'ras bodik' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid | scholar |
CREATE TABLE table_name_16 (
place VARCHAR,
mark VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place of the rank 6 record, which has a mark greater than 91.29?
| SELECT place FROM table_name_16 WHERE mark > 91.29 AND rank = 6 | sql_create_context |
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 * FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb 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_MZJZ... | css |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.