source
stringclasses 25
values | schema_syll
stringlengths 26
5.37k
| schema_word
stringlengths 26
5.37k
| question_syll
stringlengths 0
1.08k
| question_word
stringlengths 0
1.11k
| query_syll
stringlengths 0
4.53k
| query_word
stringlengths 0
4.53k
|
|---|---|---|---|---|---|---|
wikisql
|
CREATE TABLE table 38879("Địa điểm" text,"Mã" real,"Khu vực(km 2)" real,"Dân số" real,"Ngôn ngữ được nói nhiều nhất" text)
|
CREATE TABLE table_38879("Địa_điểm" text,"Mã" real,"Khu_vực(km 2)" real,"Dân_số" real,"Ngôn_ngữ được nói nhiều nhất" text)
|
Mã thấp nhất có Ngôn ngữ được nói nhiều nhất là Xhosa, Vườn quốc gia voi Addo và Khu vực (KM 2) nhỏ hơn 1,08 là gì?
|
Mã_thấp nhất có Ngôn_ngữ được nói nhiều nhất là Xhosa , Vườn_quốc_gia voi Addo và Khu_vực ( KM 2 ) nhỏ hơn 1,08 là gì ?
|
SELECT MIN ( "Code" ) FROM table 38879 WHERE "Ngôn ngữ được nói nhiều nhất" = 'xhosa' AND "Địa điểm" = 'vườn quốc gia voi addo' AND "Khu vực ( km 2 ) " < '1.08'
|
SELECT MIN ( "Code" ) FROM table_38879 WHERE "Ngôn_ngữ được nói nhiều nhất" = "xhosa"_ AND "Địa_điểm" = "vườn_quốc_gia voi addo" AND "Khu_vực ( km 2 ) " < "1.08"
|
advising
|
CREATE TABLE chương trình requirement(program id int,category varchar,min credit int,Added req varchar) CREATE TABLE gsi(course offering id int,student id int) CREATE TABLE Course tags count(course id int,clear grading int,pop quiz int,group projects int,truyền cảm hứng int,bài giảng dài int,extra credit int,few tests int,good feedback int,tough tests int,heavy papers int,cares for students int,heavy tasks int,được tôn trọng int,sự tham gia int,đọc nặng int,học sinh lớp khó int,vui nhộn int,sẽ học lại int,bài giảng hay int,no skip int) CREATE TABLE khu vực(course id int,khu vực varchar) CREATE TABLE chương trình(program id int,tên varchar,đại học varchar,giới thiệu varchar) CREATE TABLE sinh viên record(student id int,course id int,semester int,grade varchar,how varchar,transfer source varchar,earn credit varchar,repeat term varchar,test id varchar) CREATE TABLE ta(campus job id int,student id int,location varchar) CREATE TABLE Offering instructor(offering instructor id int,offering id int,instructor id int) CREATE TABLE giảng viên(instructor id int,tên varchar,uniqname varchar) CREATE TABLE học kỳ(semester id int,semester varchar,year int) CREATE TABLE Course offering(offering id int,course id int,semester int,section number int,start time time,kết thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ bảy varchar,chủ nhật varchar,has final project varchar,has final exam varchar,sách giáo khoa varchar,địa chỉ lớp học varchar,allow audit varchar) CREATE TABLE Course precondition(pre course id int,course id int) CREATE TABLE jobs(job id int,job title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLE comment instructor(instructor id int,student id int,score int,comment text varchar) CREATE TABLE khóa học(course id int,tên varchar,bộ phận varchar,number varchar,credit varchar,advisory requirement varchar,enforced requirement varchar,description varchar,num semesters int,num enrolled int,has discussion varchar,has lab varchar,has projects varchar,has exams varchar,num reviews int,clarity score int,easiness score int,điểm trợ giúp int) CREATE TABLE require(requirement id int,requirement varchar,college varchar) CREATE TABLE sinh viên(student id int,lastname varchar,firstname varchar,program id int,declare major varchar,tổng tín chỉ int,tổng gpa float,entered as varchar,admit term int,predicted graduation semester int,degree varchar,minor varchar,thực tập varchar) CREATE TABLEprogram course(program id int,course id int,workload int,loại varchar)
|
CREATE TABLE chương trình_requirement(program_id int,category varchar,min_credit int,Added_req varchar) CREATE TABLE gsi(course_offering_id int,student_id int) CREATE TABLE Course_tags_count(course_id int,clear_grading int,pop_quiz int,group_projects int,truyền cảm_hứng int,bài giảng dài int,extra_credit int,few_tests int,good_feedback int,tough_tests int,heavy_papers int,cares_for_students int,heavy_tasks int,được tôn_trọng int,sự tham_gia int,đọc_nặng int,học_sinh lớp khó int,vui nhộn int,sẽ_học_lại int,bài_giảng hay int,no_skip int) CREATE TABLE khu_vực(course_id int,khu_vực varchar) CREATE TABLE chương_trình(program_id int,tên varchar,đại_học varchar,giới_thiệu varchar) CREATE TABLE sinh viên_record(student_id int,course_id int,semester int,grade varchar,how varchar,transfer_source varchar,earn_credit varchar,repeat_term varchar,test_id varchar) CREATE TABLE ta(campus_job_id int,student_id int,location varchar) CREATE TABLE Offering_instructor(offering_instructor_id int,offering_id int,instructor_id int) CREATE TABLE giảng_viên(instructor_id int,tên varchar,uniqname varchar) CREATE TABLE học_kỳ(semester_id int,semester varchar,year int) CREATE TABLE Course_offering(offering_id int,course_id int,semester int,section_number int,start_time time,kết_thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ_bảy varchar,chủ_nhật varchar,has_final_project varchar,has_final_exam varchar,sách_giáo_khoa varchar,địa_chỉ lớp_học varchar,allow_audit varchar) CREATE TABLE Course_precondition(pre_course_id int,course_id int) CREATE TABLE jobs(job_id int,job_title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLE comment_instructor(instructor_id int,student_id int,score int,comment_text varchar) CREATE TABLE khóa_học(course_id int,tên varchar,bộ_phận varchar,number varchar,credit varchar,advisory_requirement varchar,enforced_requirement varchar,description varchar,num_semesters int,num_enrolled int,has_discussion varchar,has_lab varchar,has_projects varchar,has_exams varchar,num_reviews int,clarity_score int,easiness_score int,điểm_trợ giúp int) CREATE TABLE require(requirement_id int,requirement varchar,college varchar) CREATE TABLE sinh_viên(student_id int,lastname varchar,firstname varchar,program_id int,declare_major varchar,tổng_tín chỉ int,tổng_gpa float,entered_as varchar,admit_term int,predicted_graduation_semester int,degree varchar,minor varchar,thực_tập varchar) CREATE TABLEprogram_course(program_id int,course_id int,workload int,loại varchar)
|
Các khóa học phần mềm được giảng dạy bởi ai?
|
Các khóa_học phần_mềm được giảng_dạy bởi ai ?
|
SELECT DISTINCT tên người hướng dẫn FROM người hướng dẫn INNER JOIN chào hàng instructor ON chào hàng instructor.instructor id = người hướng dẫn.instructor id INNER JOIN khóa học offering ON chào hàng instructor.offering id = khóa học offering.offering id INNER JOIN khu vực ON khóa học offering.course id = khu vực.course id WHERE khu vực.khu vực LIKE 'software'
|
SELECT DISTINCT tên người hướng_dẫn FROM người hướng_dẫn INNER JOIN chào_hàng_instructor ON chào_hàng_instructor.instructor_id = người hướng_dẫn.instructor_id INNER JOIN khóa học_offering ON chào_hàng_instructor.offering_id = khóa học_offering.offering_id INNER JOIN khu_vực ON khóa học_offering.course_id = khu_vực.course_id WHERE khu_vực.khu_vực LIKE " software "
|
sql_create_context
|
CREATE TABLE table name 97(quốc gia VARCHAR,người chơi VARCHAR)
|
CREATE TABLE table_name_97(quốc_gia VARCHAR,người chơi VARCHAR)
|
Lee Trevino đến từ nước nào?
|
Lee_Trevino đến từ nước nào ?
|
SELECT quốc gia FROM table name 97 WHERE player = "lee trevino"
|
SELECT quốc_gia FROM table_name_97 WHERE player = "lee_trevino"
|
wikisql
|
CREATE TABLE table 16731("Rnd" real,"Cuộc đua" text,"Ngày" text,"Vị trí" text,"Vị trí pole" text,"Vòng đua nhanh nhất" text,"Người chiến thắng cuộc đua" text,"Trình tạo" text,"Báo cáo" text)
|
CREATE TABLE table_16731("Rnd" real,"Cuộc đua" text,"Ngày" text,"Vị_trí" text,"Vị_trí pole" text,"Vòng_đua nhanh nhất" text,"Người chiến_thắng cuộc đua" text,"Trình_tạo" text,"Báo_cáo" text)
|
báo cáo có âm thanh nổi vị trí là gì
|
báo_cáo có âm_thanh nổi vị_trí là gì
|
SELECT "Báo cáo" FROM table 16731 WHERE "Vị trí" = 'Österreichring'
|
SELECT "Báo_cáo" FROM table_16731 _ _ WHERE "Vị_trí" = "Österreichring"
|
wikisql
|
CREATE TABLE table 45221("Tuần" real,"Ngày" text,"Đối thủ" text,"Kết quả" text,"Tham dự" real)
|
CREATE TABLE table_45221("Tuần" real,"Ngày" text,"Đối_thủ" text,"Kết_quả" text,"Tham_dự" real)
|
Đối thủ ngày 2 tháng 12 năm 1962 là ai?
|
Đối_thủ ngày 2 tháng 12 năm 1962 là ai ?
|
SELECT "Đối thủ" FROM table 45221 WHERE "Ngày" = '2121962'
|
SELECT "Đối_thủ" FROM table_45221 WHERE "Ngày" = "2121962"
|
sql_create_context
|
CREATE TABLE table name 35(time retired VARCHAR,tay đua VARCHAR,vòng VARCHAR,nhà sản xuất VARCHAR,lưới VARCHAR)
|
CREATE TABLE table_name_35(time_retired VARCHAR,tay đua VARCHAR,vòng VARCHAR,nhà_sản_xuất VARCHAR,lưới VARCHAR)
|
Thời gian dành cho Aprilia và tay đua Casey Stoner của họ là bao nhiêu, trước vòng 9 và chưa đầy 26 vòng?
|
Thời_gian dành cho Aprilia và tay đua Casey_Stoner của họ là bao_nhiêu , trước vòng 9 và chưa đầy 26 vòng ?
|
SELECT time retired FROM table name 35 WHERE nhà sản xuất = "aprilia" AND lưới < 9 AND vòng < 26 AND Rider = "casey stoner"
|
SELECT time_retired FROM table_name_35 WHERE nhà_sản_xuất = "aprilia" AND lưới < 9 AND vòng < 26 AND Rider = "casey stoner"
|
sql_create_context
|
CREATE TABLE table 28211213 2(cơ quan VARCHAR,địa điểm VARCHAR)
|
CREATE TABLE table_28211213_2(cơ_quan VARCHAR,địa_điểm VARCHAR)
|
Khi Indianapolis, Indiana là địa điểm tổ chức là gì?
|
Khi Indianapolis , Indiana là địa_điểm tổ_chức là gì ?
|
SELECT tổ chức FROM bảng 28211213 2 WHERE vị trí = "Indianapolis,Indiana"
|
SELECT tổ_chức FROM bảng_28211213_2 WHERE vị_trí = "Indianapolis,Indiana"
|
wikisql
|
CREATE TABLE table 44105("Model" text,"Năm" text,"Động cơ" text,"Dịch chuyển" text,"Công suất" text,"Hệ thống nhiên liệu" text)
|
CREATE TABLE table_44105("Model" text,"Năm" text,"Động_cơ" text,"Dịch_chuyển" text,"Công_suất" text,"Hệ_thống nhiên_liệu" text)
|
Hệ thống nhiên liệu nào được sử dụng vào năm 1960-62?
|
Hệ_thống nhiên_liệu nào được sử_dụng vào năm 1960 - 62 ?
|
SELECT "Hệ thống nhiên liệu" FROM table 44105 WHERE "Năm" = '196062'
|
SELECT "Hệ_thống nhiên_liệu" FROM table_44105 WHERE "Năm" = "1960 62"
|
wikisql
|
CREATE TABLE table 362("Phóng tên lửa" text,"Ngày phóng" text,"Sứ mệnh" text,"Cơ quan thể chế" text,"Địa điểm phóng tên lửa" text,"Kết quả" text,"Công cụ phái sinh" text)
|
CREATE TABLE table_362("Phóng tên_lửa" text,"Ngày phóng" text,"Sứ_mệnh" text,"Cơ_quan thể_chế" text,"Địa_điểm phóng tên_lửa" text,"Kết_quả" text,"Công_cụ phái_sinh" text)
|
Cơ quan nào có vụ phóng tên lửa mang tên shahpar-2?
|
Cơ_quan nào có vụ phóng tên_lửa mang tên shahpar-2 ?
|
SELECT "Cơ quan có thẩm quyền" FROM table 362 WHERE "Phóng tên lửa" = 'Shahpar2'
|
SELECT "Cơ_quan có thẩm_quyền" FROM table_362 WHERE "Phóng tên_lửa" = "Shahpar2"
|
nvbench
|
CREATE TABLE vị trí(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 job history(EMPLOYEE ID decimal(6,0),START DATE date,END DATE date,JOB ID varchar(10),DEPARTMENT ID decimal(4,0)) CREATE TABLE khu vực(REGION ID decimal(5,0),REGION NAME varchar(25)) CREATE TABLE nhân viên(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),LƯƠNG decimal(8,2),COMMISSION PCT decimal(2,2),MANAGER ID decimal(6,0),DEPARTMENT ID decimal(4,0)) CREATE TABLE quốc gia(COUNTRY ID varchar(2),COUNTRY NAME varchar(40),REGION ID decimal(10,0)) CREATE TABLE phòng ban(DEPARTMENT ID decimal(4,0),DEPARTMENT NAME varchar(30),MANAGER ID decimal(6,0),LOCATION ID decimal(4,0)) CREATE TABLE công việc(JOB ID varchar(10),JOB TITLE varchar(35),MIN SALARY decimal(6,0),MAX SALARY decimal(6,0))
|
CREATE TABLE vị_trí(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 job_history(EMPLOYEE_ID_decimal(6,0),START_DATE_date,END_DATE_date,JOB_ID varchar(10),DEPARTMENT_ID_decimal(4,0)) CREATE TABLE khu_vực(REGION_ID_decimal(5,0),REGION_NAME varchar(25)) CREATE TABLE nhân_viên(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),LƯƠNG_decimal(8,2),COMMISSION_PCT_decimal(2,2),MANAGER_ID_decimal(6,0),DEPARTMENT_ID_decimal(4,0)) CREATE TABLE quốc_gia(COUNTRY_ID varchar(2),COUNTRY_NAME varchar(40),REGION_ID_decimal(10,0)) CREATE TABLE phòng_ban(DEPARTMENT_ID_decimal(4,0),DEPARTMENT_NAME varchar(30),MANAGER_ID_decimal(6,0),LOCATION_ID_decimal(4,0)) CREATE TABLE công_việc(JOB_ID varchar(10),JOB_TITLE varchar(35),MIN_SALARY_decimal(6,0),MAX_SALARY_decimal(6,0))
|
Đối với những nhân viên có mức lương trong khoảng 8000 và 12000 và hoa hồng không bằng 0 hoặc số bộ phận không bằng 40, hãy cho tôi so sánh về số lượng job id so với job id và nhóm theo thuộc tính job id và sắp xếp theo trục y trong mô tả.
|
Đối_với những nhân_viên có mức lương trong khoảng 8000 và 12000 và hoa_hồng không bằng 0 hoặc số bộ_phận không bằng 40 , hãy cho tôi so_sánh về số_lượng job_id so với job_id và nhóm theo thuộc_tính job_id và sắp_xếp theo trục_y trong mô_tả .
|
SELECT JOB ID, COUNT ( JOB ID ) FROM nhân viên WHERE LƯƠNG BETWEEN 8000 AND 12000 AND COMMISSION PCT <> "null" OR DEPARTMENT ID <> 40 GROUP BY JOB ID ORDER BY COUNT ( JOB ID ) DESC
|
SELECT JOB_ID, COUNT ( JOB_ID ) FROM nhân_viên WHERE LƯƠNG BETWEEN 8000 AND 12000 AND COMMISSION_PCT < >"null" OR DEPARTMENT_ID< > 40 GROUP BY JOB_ID ORDER BY COUNT ( JOB_ID ) DESC
|
squall
|
CREATE TABLE table 203 102(id number,"event" text,"performance" text,"vận động viên" text,"quốc gia" text,"địa điểm" text,"ngày" text)
|
CREATE TABLE table_203_102(id number,"event" text,"performance" text,"vận_động_viên" text,"quốc_gia" text,"địa_điểm" text,"ngày" text)
|
Ethiopia nắm giữ bao nhiêu kỷ lục thế giới?
|
Ethiopia nắm giữ bao_nhiêu kỷ_lục thế_giới ?
|
SELECT COUNT ( * ) FROM table 203 102 WHERE "quốc gia" = 'ethiopia'
|
SELECT COUNT ( * ) FROM table_203_102 WHERE "quốc_gia" = "ethiopia"
|
squall
|
CREATE TABLE table 203 783(id number,"season" text,"tier" number,"phân chia" text,"địa điểm" text)
|
CREATE TABLE table_203_783(id number,"season" text,"tier" number,"phân_chia" text,"địa_điểm" text)
|
Đã bao nhiêu lần Internacional de Madrid kết thúc mùa giải ở vị trí đầu bảng?
|
Đã bao_nhiêu lần Internacional_de Madrid kết_thúc mùa giải ở vị_trí đầu_bảng ?
|
SELECT COUNT ( * ) FROM bảng 203 783 WHERE "địa điểm" = 1
|
SELECT COUNT ( * ) FROM bảng_203_783 WHERE "địa_điểm" = 1
|
eicu
|
CREATE TABLE microlab(microlabid number,BNunitstayid number,culturesite text,organism text,culturetakentime time) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,Treatmenttime time) CREATE TABLE chẩn đoán(diagnosisid number,Patientunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE drug(medicidid number,Patientunitstayid number,tên thuốc text,liều lượng text,lộ trình text,thời gian bắt đầu dùng thuốc time,thời gian ngừng dùng thuốc time) CREATE TABLE bệnh nhân(duniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới tính text,tuổi text,dân tộc text,hospitalid number,wardid number,độ cao nhập viện number,trọng lượng nhập viện number,cân nặng xuất viện number,thời gian nhập viện time,nguồn nhập viện text,thời gian nhập viện time,thời gian xuất viện của đơn vị time,thời gian xuất viện time,trạng thái xuất viện text) CREATE TABLE lab(labid number,BNunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE đầu ra đầu ra(đầu ra đầu vào number,bệnh nhânunitstayid number,đường dẫn tế bào text,celllabel text,giá trị tế bào number,thời gian đầu ra time) CREATE TABLE quan trọng định kỳ(quan trọng number,bệnh nhân đơn vị number,nhiệt độ number,sao2 number,nhịp tim number,hô hấp number,tâm thu hệ thống number,tâm trương hệ thống number,trung bình hệ thống number,thời gian quan sát time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,loại sự kiện text,eventid number,thời gian tính phí time,chi phí number) CREATE TABLE dị ứng(dị ứng number,bệnh nhân đơn vị lưu trú number,tên thuốc text,tên dị ứng text,thời gian dị ứng time)
|
CREATE TABLE microlab(microlabid number,BNunitstayid number,culturesite text,organism text,culturetakentime time) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,Treatmenttime time) CREATE TABLE chẩn_đoán(diagnosisid number,Patientunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE drug(medicidid number,Patientunitstayid number,tên thuốc text,liều_lượng text,lộ_trình text,thời_gian bắt_đầu dùng thuốc time,thời_gian ngừng dùng thuốc time) CREATE TABLE bệnh_nhân(duniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới_tính text,tuổi text,dân_tộc text,hospitalid number,wardid number,độ cao nhập_viện number,trọng_lượng nhập_viện number,cân nặng xuất_viện number,thời_gian nhập_viện time,nguồn nhập_viện text,thời_gian nhập_viện time,thời_gian xuất_viện của đơn_vị time,thời_gian xuất_viện time,trạng_thái xuất_viện text) CREATE TABLE lab(labid number,BNunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE đầu_ra đầu_ra(đầu_ra đầu vào number,bệnh nhânunitstayid number,đường_dẫn tế_bào text,celllabel text,giá_trị tế_bào number,thời_gian đầu_ra time) CREATE TABLE quan_trọng định_kỳ(quan_trọng number,bệnh_nhân đơn_vị number,nhiệt_độ number,sao2 number,nhịp tim number,hô_hấp number,tâm_thu hệ_thống number,tâm_trương hệ_thống number,trung_bình hệ_thống number,thời_gian quan_sát time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,loại sự_kiện text,eventid number,thời_gian tính phí time,chi_phí number) CREATE TABLE dị_ứng(dị_ứng number,bệnh_nhân đơn_vị lưu_trú number,tên thuốc text,tên dị_ứng text,thời_gian dị_ứng time)
|
Tháng 12 năm nay, lần xét nghiệm cuối cùng của bệnh nhân 006-124193 là khi nào?
|
Tháng 12 năm nay , lần xét_nghiệm cuối_cùng của bệnh_nhân 006 - 124193 là khi nào ?
|
SELECT lab.labresulttime FROM lab WHERE lab.Patientunitstayid IN ( SELECT Patient.Patientunitstayid FROM Patient WHERE Patient.Patienthealthsystemstayid IN ( SELECT Patient.Patienthealthsystemstayid FROM Patient WHERE Patient.uniquepid = '006124193 ' ) ) AND DATETIME ( lab.labresulttime,'bắt đầu năm' ) = DATETIME ( CURRENT TIME ( ) ,'bắt đầu năm','0 năm' ) AND STRFTIME ( 'm',lab.labresulttime ) = '12' ORDER BY lab.labresulttime DESC LIMIT 1
|
SELECT lab.labresulttime FROM lab WHERE lab.Patientunitstayid IN ( SELECT Patient.Patientunitstayid FROM Patient WHERE Patient.Patienthealthsystemstayid IN ( SELECT Patient.Patienthealthsystemstayid FROM Patient WHERE Patient.uniquepid = "006 124193" ) ) AND DATETIME ( lab.labresulttime,"bắt_đầu năm" ) = DATETIME ( CURRENT_TIME ( ) ,"bắt_đầu năm"," 0 năm" ) AND STRFTIME ( " m",lab.labresulttime ) = "12" ORDER BY lab.labresulttime DESC LIMIT 1
|
nvbench
|
CREATE TABLE Nhà sản xuất(Mã INTEGER,Tên VARCHAR(255),Trụ sở chính VARCHAR(255),Người sáng lập VARCHAR(255),Doanh thu REAL) CREATE TABLE Sản phẩm(Mã INTEGER,Tên VARCHAR(255)),Giá DECIMAL,Nhà sản xuất INTEGER)
|
CREATE TABLE Nhà_sản_xuất(Mã INTEGER,Tên VARCHAR(255),Trụ_sở chính VARCHAR(255),Người sáng_lập VARCHAR(255),Doanh_thu REAL) CREATE TABLE Sản_phẩm(Mã INTEGER,Tên VARCHAR(255)),Giá_DECIMAL,Nhà_sản_xuất INTEGER)
|
Đối với những bản ghi từ sản phẩm và nhà sản xuất của từng sản phẩm, hãy cho tôi biết về cách phân bổ tên và giá cũng như nhóm theo trụ sở thuộc tính trong biểu đồ thanh.
|
Đối_với những bản ghi từ sản_phẩm và nhà_sản_xuất của từng sản_phẩm , hãy cho tôi biết về cách phân_bổ tên và giá cũng như nhóm theo trụ_sở thuộc_tính trong biểu_đồ thanh .
|
SELECT T1.Tên,T1.Giá FROM Sản phẩm AS T1 JOIN Nhà sản xuất AS T2 ON T1.Nhà sản xuất = T2.Mã GROUP BY Trụ sở chính,T1.Name
|
SELECT T1.Tên,T1.Giá FROM Sản_phẩm AS T1 JOIN Nhà_sản_xuất AS T2 ON T1.Nhà_sản_xuất = T2.Mã_GROUP BY Trụ_sở chính,T1.Name
|
sql_create_context
|
CREATE TABLE table 1277350 3(sunday surya the sun VARCHAR,thứ năm guru jupiter VARCHAR)
|
CREATE TABLE table_1277350_3(sunday_surya__the_sun_ VARCHAR,thứ năm_guru__jupiter_ VARCHAR)
|
Trong ngôn ngữ mà Thứ Năm là bres'var thì Chủ Nhật là gì?
|
Trong ngôn_ngữ mà Thứ Năm là bres'var thì Chủ_Nhật là gì ?
|
SELECT chủ nhật surya the sun FROM bảng 1277350 3 WHERE thứ năm guru jupiter =
|
SELECT chủ nhật_surya__the_sun FROM bảng_1277350_3 WHERE thứ năm_guru__jupiter =
|
sql_create_context
|
CREATE TABLE table name 41(high rebounds VARCHAR,date VARCHAR)
|
CREATE TABLE table_name_41(high_rebounds VARCHAR,date VARCHAR)
|
Ai có nhiều rebound nhất và anh ấy có bao nhiêu trong trận đấu vào ngày 11 tháng 6?
|
Ai có nhiều rebound nhất và anh ấy có bao_nhiêu trong trận đấu vào ngày 11 tháng 6 ?
|
SELECT high rebounds FROM table name 41 WHERE date = "ngày 11 tháng 6"
|
SELECT high_rebounds FROM table_name_41 WHERE date = "ngày 11 tháng 6"
|
wikisql
|
CREATE TABLE table 5751("Mùa giải" real,"Cấp độ" text,"Bộ phận" text,"Quản trị" text,"Vị trí" text)
|
CREATE TABLE table_5751("Mùa giải" real,"Cấp_độ" text,"Bộ_phận" text,"Quản_trị" text,"Vị_trí" text)
|
Bộ phận nào có vị trí thứ 6?
|
Bộ_phận nào có vị_trí thứ 6 ?
|
SELECT "Phân chia" FROM bảng 5751 WHERE "Vị trí" = 'thứ 6'
|
SELECT "Phân_chia" FROM bảng_5751 WHERE "Vị_trí" = "thứ 6"
|
wikisql
|
CREATE TABLE table 9708("Ngày" text,"Đội chủ nhà" text,"Tỷ số" text,"Đội khách" text,"Địa điểm" text,"Hộp tỷ số" text,"Báo cáo" text)
|
CREATE TABLE table_9708("Ngày" text,"Đội chủ nhà" text,"Tỷ_số" text,"Đội khách" text,"Địa_điểm" text,"Hộp tỷ_số" text,"Báo_cáo" text)
|
Ngày nào có địa điểm của Trung tâm Thể thao Nhà nước?
|
Ngày nào có địa_điểm của Trung_tâm Thể_thao Nhà_nước ?
|
SELECT "Ngày" FROM table 9708 WHERE "Địa điểm" = 'trung tâm thể thao của bang'
|
SELECT "Ngày" FROM table_9708 WHERE "Địa_điểm" = "trung_tâm thể_thao của bang"
|
mimicsql_data
|
CREATE TABLE thủ tục(subject id text,hadm id text,icd9 code text,short title text,long title text) CREATE TABLE đơn thuốc(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 nhân khẩu học(subject id text,hadm id text,name text,hôn nhân status text,age text,dob text,giới tính text,ngôn ngữ text,tôn giáo text,loại nhập viện text,ngày ở text,bảo hiểm text,dân tộc text,hết hạn cờ text,vị trí nhập viện text,vị trí xuất viện text,chẩn đoán text,dod text,dob year text,dod year text,thời gian thừa nhận text,dischtime text,admityear text) CREATE TABLE chẩn đoán(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 thủ_tục(subject_id text,hadm_id text,icd9_code text,short_title text,long_title text) CREATE TABLE đơn thuốc(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 nhân_khẩu học(subject_id text,hadm_id text,name text,hôn_nhân_status text,age text,dob text,giới_tính text,ngôn_ngữ text,tôn_giáo text,loại_nhập_viện text,ngày_ở text,bảo_hiểm text,dân_tộc text,hết hạn_cờ text,vị trí_nhập_viện text,vị_trí xuất_viện text,chẩn_đoán text,dod text,dob_year text,dod_year text,thời_gian thừa_nhận text,dischtime text,admityear text) CREATE TABLE chẩn_đoán(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)
|
thời gian xuất viện và chẩn đoán tiêu đề ngắn của tên chủ đề Cynthia Robinson là gì?
|
thời_gian xuất_viện và chẩn_đoán tiêu_đề_ngắn của tên chủ_đề Cynthia_Robinson là gì ?
|
SELECT nhân khẩu học.dischtime,diagnoses.short title FROM nhân khẩu học INNER JOIN chẩn đoán ON nhân khẩu học.hadm id = chẩn đoán.hadm id WHERE nhân khẩu học.name = "Cynthia Robinson"
|
SELECT nhân_khẩu học.dischtime,diagnoses.short_title FROM nhân_khẩu học INNER JOIN chẩn_đoán ON nhân_khẩu học.hadm_id = chẩn_đoán.hadm_id WHERE nhân_khẩu học.name = "Cynthia_Robinson"
|
nvbench
|
CREATE TABLE đám cưới(Church ID int,Male ID int,Female ID int,Year int) CREATE TABLE Church(Church ID int,Name text,Organized by text,Open Date int,Continuation of text) CREATE TABLE người(People ID int,Tên text,Quốc gia text,Là Nam text,Tuổi int)
|
CREATE TABLE đám_cưới(Church_ID int,Male_ID int,Female_ID int,Year int) CREATE TABLE Church(Church_ID int,Name text,Organized_by text,Open_Date int,Continuation_of text) CREATE TABLE người(People_ID int,Tên text,Quốc_gia text,Là_Nam text,Tuổi int)
|
Hãy cho tôi một biểu đồ thanh về tổng số lượng của mỗi quốc gia, bạn có thể sắp xếp thứ tự từ thấp đến cao theo tổng số không?
|
Hãy cho tôi một biểu_đồ thanh về tổng số_lượng của mỗi quốc_gia , bạn có_thể sắp_xếp thứ_tự từ thấp đến cao theo tổng_số không ?
|
SELECT Quốc gia, COUNT ( * ) FROM người GROUP BY Quốc gia ORDER BY COUNT ( * )
|
SELECT Quốc_gia, COUNT ( * ) FROM người GROUP BY Quốc_gia ORDER BY COUNT ( * )
|
wikisql
|
CREATE TABLE table 19136("Trường học" text,"Linh vật" text,"Hội nghị" text,"Danh hiệu quốc gia" real,"Thành lập" real)
|
CREATE TABLE table_19136("Trường_học" text,"Linh_vật" text,"Hội_nghị" text,"Danh_hiệu quốc_gia" real,"Thành_lập" real)
|
trường nào có 14 giải vô địch lớn
|
trường nào có 14 giải vô_địch lớn
|
SELECT "Trường học" FROM table 19136 WHERE "Danh hiệu quốc gia" = '14'
|
SELECT "Trường_học" FROM table_19136 WHERE "Danh_hiệu quốc_gia" = "14"
|
sql_create_context
|
CREATE TABLE table name 57(home team VARCHAR,địa điểm VARCHAR)
|
CREATE TABLE table_name_57(home_team VARCHAR,địa_điểm VARCHAR)
|
Tỉ số của đội chủ nhà trên sân Glenferrie Oval là bao nhiêu?
|
Tỉ_số của đội chủ nhà trên sân Glenferrie_Oval là bao_nhiêu ?
|
SELECT home team AS điểm FROM table name 57 WHERE địa điểm = "glenferrie hình bầu dục"
|
SELECT home_team AS điểm FROM table_name_57 WHERE địa_điểm = "glenferrie_hình bầu_dục"
|
wikisql
|
CREATE TABLE table 4826("Giải thưởng" text,"Năm" real,"Danh mục" text,"Công việc được đề cử" text,"Kết quả" text)
|
CREATE TABLE table_4826("Giải_thưởng" text,"Năm" real,"Danh_mục" text,"Công_việc được đề_cử" text,"Kết_quả" text)
|
Tác phẩm được đề cử của Cecilie, người đoạt giải Robert, thuộc hạng mục nào?
|
Tác_phẩm được đề_cử của Cecilie , người đoạt giải Robert , thuộc hạng_mục nào ?
|
SELECT "Danh mục" FROM table 4826 WHERE "Tác phẩm được đề cử" = 'cecilie' AND "Giải thưởng" = 'giải thưởng robert'
|
SELECT "Danh_mục" FROM table_4826 WHERE "Tác_phẩm được đề_cử" = "cecilie" AND "Giải_thưởng" = "giải_thưởng robert"
|
wikisql
|
CREATE TABLE table 65807("Vẽ" real,"Nghệ sĩ" text,"Bài hát" text,"Phần trăm" text,"Địa điểm" real)
|
CREATE TABLE table_65807("Vẽ" real,"Nghệ_sĩ" text,"Bài hát" text,"Phần_trăm" text,"Địa_điểm" real)
|
Có bao nhiêu trận hòa ở một nơi nhỏ hơn 1?
|
Có bao_nhiêu trận hòa ở một nơi nhỏ hơn 1 ?
|
SELECT COUNT ( "Rút" ) FROM table 65807 WHERE "Địa điểm" < '1'
|
SELECT COUNT ( "Rút" ) FROM table_65807 WHERE "Địa_điểm" < "1"
|
nvbench
|
CREATE TABLE culture company(Company name text,Type text,Incorporated in text,Group Equity Shareholding real,book club id text,movie id text) CREATE TABLE book club(book club id int,Year int,Author or Editor text,Book Title text,Nhà xuất bản text,Danh mục text,Kết quả text) CREATE TABLE movie(movie id int,Title text,Year int,Director text,Budget million real,Gross worldwide int)
|
CREATE TABLE culture_company(Company_name text,Type text,Incorporated_in text,Group_Equity_Shareholding real,book_club_id text,movie_id text) CREATE TABLE book_club(book_club_id int,Year int,Author_or_Editor text,Book_Title text,Nhà_xuất_bản text,Danh_mục text,Kết_quả text) CREATE TABLE movie(movie_id int,Title text,Year int,Director text,Budget_million real,Gross_worldwide int)
|
Hiển thị tất cả các danh mục sách và số lượng sách trong mỗi danh mục, liệt kê theo thứ tự tăng dần theo thanh.
|
Hiển_thị tất_cả các danh_mục sách và số_lượng sách trong mỗi danh_mục , liệt_kê theo thứ_tự tăng dần theo thanh .
|
SELECT Danh mục, COUNT ( * ) FROM book club GROUP BY Danh mục ORDER BY Danh mục
|
SELECT Danh_mục, COUNT ( * ) FROM book_club GROUP BY Danh_mục ORDER BY Danh_mục
|
sql_create_context
|
CREATE TABLE table name 12(ngc number INTEGER,object type VARCHAR,chòm sao VARCHAR)
|
CREATE TABLE table_name_12(ngc_number INTEGER,object_type VARCHAR,chòm sao VARCHAR)
|
Số ngc là bao nhiêu khi loại vật thể là thiên hà dạng thấu kính và chòm sao là hydra?
|
Số ngc là bao_nhiêu khi loại vật_thể là thiên_hà_dạng thấu_kính và chòm_sao là hydra ?
|
SELECT MAX ( ngc number ) FROM table name 12 WHERE object type = "thiên hà dạng thấu kính" AND chòm sao = "hydra"
|
SELECT MAX ( ngc_number ) FROM table_name_12 WHERE object_type = "thiên_hà_dạng thấu kính" AND chòm sao = "hydra"
|
wikisql
|
CREATE TABLE table 62741("Tên" text,"Tính năng" text,"Vĩ độ" text,"Kinh độ" text,"Khoảng cách" text,"Phương vị" text)
|
CREATE TABLE table_62741("Tên" text,"Tính_năng" text,"Vĩ_độ" text,"Kinh_độ" text,"Khoảng_cách" text,"Phương_vị" text)
|
khoảng cách tới sườn núi là bao nhiêu?
|
khoảng_cách tới sườn núi là bao_nhiêu ?
|
SELECT "Khoảng cách" FROM table 62741 WHERE "Tính năng" = 'sườn núi'
|
SELECT "Khoảng_cách" FROM table_62741 WHERE "Tính_năng" = "sườn núi"
|
wikisql
|
CREATE TABLE table 79088("Quận" text,"Đảng đương nhiệm" text,"Đảng" text,"Bầu chọn lần đầu" real,"Kết quả" text)
|
CREATE TABLE table_79088("Quận" text,"Đảng đương_nhiệm" text,"Đảng" text,"Bầu_chọn lần đầu" real,"Kết_quả" text)
|
Đảng của quận 6 Maryland là gì?
|
Đảng của quận 6 Maryland là gì ?
|
SELECT "Bữa tiệc" FROM table 79088 WHERE "Quận" = 'maryland 6'
|
SELECT "Bữa tiệc" FROM table_79088 WHERE "Quận" = "maryland 6"
|
spider
|
CREATE TABLE sinh viên tests taken(registration id number,date test taken time,test result text) CREATE TABLE Course authors and tutors(author id number,author tutor atb text,login name text,password text,personal name text,middle name text,family name text,giới tính mf text,địa chỉ line 1 text) CREATE TABLE sinh viên(student id number,date of registration time,date of latest logon time,login name text,password text,personal name text,middle name text,family name text) CREATE TABLE môn học(subject id number,subject name text) CREATE TABLE khóa học(course id number,author id number,subject id number,tên khóa học text,course description text) CREATE TABLE sinh viên khóa học enrolment(registration id number,student id number,id khóa học number,ngày đăng ký time,ngày hoàn thành time)
|
CREATE TABLE sinh viên_tests_taken(registration_id number,date_test_taken time,test_result text) CREATE TABLE Course_authors_and_tutors(author_id number,author_tutor_atb text,login_name text,password text,personal_name text,middle_name text,family_name text,giới tính_mf text,địa_chỉ_line_1 text) CREATE TABLE sinh_viên(student_id number,date_of_registration time,date_of_latest_logon time,login_name text,password text,personal_name text,middle_name text,family_name text) CREATE TABLE môn_học(subject_id number,subject_name text) CREATE TABLE khóa_học(course_id number,author_id number,subject_id number,tên khóa học text,course_description text) CREATE TABLE sinh viên_khóa_học_enrolment(registration_id number,student_id number,id_khóa học number,ngày_đăng ký time,ngày_hoàn thành time)
|
Liệt kê ngày nhập học và hoàn thành của học sinh với họ 'Trái đất' và tên cá nhân 'Bernie'.
|
Liệt_kê ngày nhập_học và hoàn_thành của học_sinh với họ ' Trái_đất ' và tên cá_nhân ' Bernie ' .
|
SELECT T1.date of enrollment,T1.date of completion FROMstudent course enrolment AST1 JOINstudents AS T2 ON T1.student id = T2.student id WHERE T2.family name = "Zieme" AND T2.personal name = "Bernie"
|
SELECT T1.date_of_enrollment,T1.date_of_completion FROM student_course_enrolment AS T1 JOIN students AS T2 ON T1.student_id = T2.student_id WHERE T2.family_name = "Zieme" AND T2.personal_name = "Bernie"
|
sql_create_context
|
CREATE TABLE bảng 22355 65(tổng min 2 huy chương INTEGER)
|
CREATE TABLE bảng_22355_65(tổng_min_2_huy chương_ INTEGER)
|
Tổng số huy chương thấp nhất (tối thiểu 2 huy chương) là bao nhiêu?
|
Tổng_số huy_chương thấp nhất ( tối_thiểu 2 huy_chương ) là bao_nhiêu ?
|
SELECT MIN ( tổng min 2 huy chương ) FROM bảng 22355 65
|
SELECT MIN ( tổng_min_2_huy chương ) FROM bảng_22355_65
|
imdb
|
CREATE TABLE nhà sản xuất(pid int,giới tính text,tên text,quốc tịch text,thành phố sinh text,năm sinh int) CREATE TABLE phân loại(id int,msid int,gid int) CREATE TABLE phim(giữa int,tiêu đề text,năm phát hành int,title aka text,ngân sách text) CREATE TABLE diễn viên(viện trợ int,giới tính text,tên text,quốc tịch text,thành phố sinh text,năm sinh int) CREATE TABLE tags(id int,msid int,kid int) CREATE TABLE company(id int,name text,country code varchar) CREATE TABLE direct by(id int,msid int,did int) CREATE TABLE Copyright(id int,msid int,cid int) CREATE TABLE tv series(sid int,title text,release year int,num of seasons int,num of episodes int,title aka text,ngân sách text) CREATE TABLE cast(id int,msid int,aid int,role text) CREATE TABLE writing by(id int,msid int,wid int) CREATE TABLE giám đốc(đã làm int,giới tính text,tên text,quốc tịch text,thành phố sinh text,năm sinh int) CREATE TABLE made by(id int,msid int,pid int) CREATE TABLE thể loại(gid int,thể loại text) CREATE TABLE từ khóa(id int,từ khóa text) CREATE TABLE nhà văn(wid int,giới tính text,tên text,quốc tịch text,thành phố sinh text,năm sinh int)
|
CREATE TABLE nhà_sản_xuất(pid int,giới_tính text,tên text,quốc_tịch text,thành_phố sinh text,năm sinh int) CREATE TABLE phân_loại(id int,msid int,gid int) CREATE TABLE phim(giữa int,tiêu_đề text,năm phát_hành int,title_aka text,ngân_sách text) CREATE TABLE diễn_viên(viện_trợ int,giới_tính text,tên text,quốc_tịch text,thành_phố sinh text,năm sinh int) CREATE TABLE tags(id int,msid int,kid int) CREATE TABLE company(id int,name text,country_code varchar) CREATE TABLE direct_by(id int,msid int,did int) CREATE TABLE Copyright(id int,msid int,cid int) CREATE TABLE tv_series(sid int,title text,release_year int,num_of_seasons int,num_of_episodes int,title_aka text,ngân_sách text) CREATE TABLE cast(id int,msid int,aid int,role text) CREATE TABLE writing_by(id int,msid int,wid int) CREATE TABLE giám_đốc(đã làm int,giới_tính text,tên text,quốc_tịch text,thành_phố sinh text,năm sinh int) CREATE TABLE made_by(id int,msid int,pid int) CREATE TABLE thể_loại(gid int,thể_loại text) CREATE TABLE từ khóa(id int,từ khóa text) CREATE TABLE nhà_văn(wid int,giới_tính text,tên text,quốc_tịch text,thành_phố sinh text,năm sinh int)
|
Kinh phí của 'Đi tìm Nemo là bao nhiêu?
|
Kinh_phí của ' Đi tìm Nemo là bao_nhiêu ?
|
SELECT ngân sách FROM phim WHERE title = 'Đi tìm Nemo'
|
SELECT ngân_sách FROM phim WHERE title = "Đi tìm Nemo"
|
sql_create_context
|
CREATE TABLE table 26387382 1(công suất mw VARCHAR,tuabin VARCHAR)
|
CREATE TABLE table_26387382_1(công_suất__mw_ VARCHAR,tuabin VARCHAR)
|
Tất cả những gì có công suất tua-bin trong khoảng 50-60?
|
Tất_cả những gì có công_suất tua-bin trong khoảng 50-60 ?
|
SELECT công suất mw FROM bảng 26387382 1 WHERE tuabin = "5060"
|
SELECT công_suất__mw FROM bảng_26387382_1 WHERE tuabin = "5060"
|
wikisql
|
CREATE TABLE table 51226("Số NGC" real,"Loại đối tượng" text,"Chòm sao" text,"Thăng thiên phải(J2000)" text,"Độ lệch(J2000)" text,"Độ lớn biểu kiến" real)
|
CREATE TABLE table_51226("Số NGC" real,"Loại đối_tượng" text,"Chòm_sao" text,"Thăng_thiên phải(J2000)" text,"Độ_lệch(J2000)" text,"Độ lớn biểu_kiến" real)
|
Chòm sao nào có cường độ biểu kiến lớn hơn 7,7 và số NGC là 7777
|
Chòm sao nào có cường_độ biểu_kiến _ lớn hơn 7,7 và số NGC là 7777
|
SELECT "Chòm sao" FROM table 51226 WHERE "Cường độ biểu kiến" > '7,7' AND "Số NGC" = '7777'
|
SELECT "Chòm_sao" FROM table_51226 WHERE "Cường_độ biểu_kiến" > "7,7" AND "Số NGC" = "7777"
|
sql_create_context
|
CREATE TABLE tên bảng 37(tuần 14 nov 27 VARCHAR,tuần 13 nov 20 VARCHAR)
|
CREATE TABLE tên_bảng_37(tuần_14_nov_27 VARCHAR,tuần_13_nov_20 VARCHAR)
|
Tuần 14 là gì khi Tuần 13 là Nebraska (8-2)?
|
Tuần 14 là gì khi Tuần 13 là Nebraska ( 8-2 ) ?
|
SELECT tuần 14 nov 27 FROM tên bảng 37 WHERE tuần 13 nov 20 = "nebraska ( 82 ) "
|
SELECT tuần_14_nov_27 FROM tên_bảng_37 WHERE tuần_13_nov_20 = "nebraska ( 82 ) "
|
wikisql
|
CREATE TABLE table 12115("Quận" text,"Thu nhập bình quân đầu người" text,"Thu nhập hộ gia đình trung bình" text,"Thu nhập hộ gia đình trung bình" text,"Dân số" real,"Số hộ gia đình" real)
|
CREATE TABLE table_12115("Quận" text,"Thu_nhập bình_quân đầu người" text,"Thu_nhập hộ gia_đình trung_bình" text,"Thu_nhập hộ gia_đình trung_bình" text,"Dân_số" real,"Số hộ gia_đình" real)
|
Thu nhập bình quân đầu người với hơn 2.466 hộ gia đình và thu nhập trung bình của một gia đình là 53.940 USD là bao nhiêu?
|
Thu_nhập bình_quân đầu người với hơn 2.466_hộ gia_đình và thu_nhập trung_bình của một gia_đình là 53.940 USD là bao_nhiêu ?
|
SELECT "Thu nhập bình quân đầu người" FROM table 12115 WHERE "Số hộ gia đình" > '2.466' AND "Thu nhập gia đình trung bình" = '53.940'
|
SELECT "Thu_nhập bình_quân đầu người" FROM table_12115 WHERE "Số hộ gia_đình" > "2.466" AND "Thu_nhập gia_đình trung_bình" = "53.940"
|
wikisql
|
CREATE TABLE table 42164("Bàn thắng" real,"Ngày" text,"Địa điểm" text,"Điểm số" text,"Kết quả" text,"Thi đấu" text)
|
CREATE TABLE table_42164("Bàn_thắng" real,"Ngày" text,"Địa_điểm" text,"Điểm_số" text,"Kết_quả" text,"Thi_đấu" text)
|
Kết quả của Mục tiêu số 3 là gì?
|
Kết_quả của Mục_tiêu số 3 là gì ?
|
SELECT "Kết quả" FROM table 42164 WHERE "Mục tiêu" = '3'
|
SELECT "Kết_quả" FROM table_42164 WHERE "Mục_tiêu" = "3"
|
wikisql
|
CREATE TABLE table 45325("Lễ" text,"Ngày" text,"Người chủ trì" text,"Địa điểm" text,"Phim của năm" text)
|
CREATE TABLE table_45325("Lễ" text,"Ngày" text,"Người chủ_trì" text,"Địa_điểm" text,"Phim của năm" text)
|
Lễ trao giải nào diễn ra vào ngày 15/5/1965?
|
Lễ trao giải nào diễn ra vào ngày 15/5/1965 ?
|
SELECT "Lễ" FROM table 45325 WHERE "Ngày" = '1551965'
|
SELECT "Lễ" FROM table_45325 WHERE "Ngày" = "1551965"
|
wikisql
|
CREATE TABLE table 48996("Vị trí" real,"Tên" text,"Đã chơi" real,"Rút" real,"Thua" real,"Điểm" real)
|
CREATE TABLE table_48996("Vị_trí" real,"Tên" text,"Đã chơi" real,"Rút" real,"Thua" real,"Điểm" real)
|
mức thua trung bình khi chơi lớn hơn 14 là bao nhiêu?
|
mức thua trung_bình khi chơi lớn hơn 14 là bao_nhiêu ?
|
SELECT AVG ( "Mất" ) FROM table 48996 WHERE "Đã chơi" > '14'
|
SELECT AVG ( "Mất" ) FROM table_48996 WHERE "Đã chơi" > "14"
|
spider
|
CREATE TABLE player(player id text,birth year number,birth month number,birth day number,birth country text,birth state text,birth city text,death year number,death month number,death day number,death country text,death state text,death city text,name first text,name last text,name given text,weight number,height number,bats text,ném text,ra mắt text,final game text,retro id text,bbref id text) CREATE TABLE player award vote(award id text,year number,league id text,player id text,points won number,points max number,votes first number) CREATE TABLE đại học(college id text,name full text,thành phố text,tiểu bang text,quốc gia text) CREATE TABLE batting postseason(year number,round text,player id text,team id text,league id text,g number,ab number,r number,h number,double number,triple number,hr number,rbi number,sb number,cs number,bb number,so number,ibb number,hbp number,sh number,sf number,g idp number) CREATE TABLE all star(player id text,year number,game num number,game id text,team id text,league id text,gp number,starting pos number) CREATE TABLE ném bóng(player id text,year number,stint number,team id text,league id text,w number,l number,g number,gs number,cg number,sho number,sv number,ipouts number,h number,er number,hr number,bb number,so number,baopp number,era number,ibb number,wp number,hbp number,bk number,bfp number,gf number,r number,sh number,sf number,g idp number) CREATE TABLE fielding(player id text,year number,stint number,team id text,league id text,pos text,g number,gs number,inn outs number,po number,a number,e number,dp number,pb number,wp number,sb number,cs number,zr number) CREATE TABLE postseason(năm number,vòng text,team id winner text,league id winner text,team id loser text,league id loser text,thắng number,thua number,ties number) CREATE TABLE fielding outfield(player id text,năm number,thời gian number,glf number,gcf number,grf number) CREATE TABLE pitching postseason(player id text,year number,round text,team id text,league id text,w number,l number,g number,gs number,cg number,sho number,sv number,ipouts number,h number,er number,hr number,bb number,so number,baopp text,era number,ibb number,wp number,hbp number,bk number,bfp number,gf number,r number,sh number,sf number,g idp number) CREATE TABLE người quản lý(player id text,year number,team id text,league id text,inseason number,g number,w number,l number,rank number,plyr mgr text) CREATE TABLE team(năm number,league id text,team id text,franchise id text,div id text,rank number,g number,ghome number,w number,l number,div win text,wc win text,lg win text,ws win text,r number,ab number,h number,double number,triple number,hr number,bb number,so number,sb number,cs number,hbp number,sf number,ra number,er number,era number,cg number,sho number,sv number,ipouts number,ha number,hra number,bba number,soa number,e number,dp number,fp number,name text,park text,attendance number,bpf number,ppf number,team id br text,team id lahman45 text,team id retro text) CREATE TABLE đánh bóng(player id text,năm number,thời gian number,team id text,league id text,g number,ab number,r number,h number,double number,triple number,hr number,rbi number,sb number,cs number,bb number,so number,ibb number,hbp number,sh number,sf number,g idp number) CREATE TABLE lần xuất hiện(năm number,team id text,league id text,player id text,g all number,gs number,g batting number,g defense number,g p number,g c number,g 1b number,g 2b number,g 3b number,g ss number,g lf number,g cf number,g rf number,g of number,g dh number,g ph number,g pr number) CREATE TABLE manager award(player id text,award id text,year number,league id text,tie text,notes number) CREATE TABLE park(park id text,park name text,park alias text,city text,state text,country text) CREATE TABLE player college(player id text,college id text,năm number) CREATE TABLE hall of fame(player id text,yearid number,votedby text,ballots number,Needed number,votes number,inducted text,category text,Need note text) CREATE TABLE manager half(player id text,year number,team id text,league id text,inseason number,half number,g number,w number,l number,rank number) CREATE TABLE player award(player id text,award id text,year number,league id text,tie text,notes text) CREATE TABLE manager award vote(award id text,year number,league id text,player id text,points won number,điểm max number,votes first number) CREATE TABLE home game(năm number,league id text,team id text,park id text,span first text,span last text,trận đấu number,khai mạc number,tham dự number) CREATE TABLE fielding postseason(player id text,year number,team id text,league id text,round text,pos text,g number,gs number,inn outs number,po number,a number,e number,dp number,tp number,pb number,sb number,cs number) CREATE TABLE lương(năm number,team id text,league id text,player id text,lương number) CREATE TABLE team franchise(franchise id text,franchise name text,active text,na assoc text) CREATE TABLE team half(year number,league id text,team id text,half number,div id text,div win text,xếp hạng number,g number,w number,l number)
|
CREATE TABLE player(player_id text,birth_year number,birth_month number,birth_day number,birth_country text,birth_state text,birth_city text,death_year number,death_month number,death_day number,death_country text,death_state text,death_city text,name_first text,name_last text,name_given text,weight number,height number,bats text,ném text,ra_mắt text,final_game text,retro_id text,bbref_id text) CREATE TABLE player_award_vote(award_id text,year number,league_id text,player_id text,points_won number,points_max number,votes_first number) CREATE TABLE đại_học(college_id text,name_full text,thành_phố text,tiểu_bang text,quốc_gia text) CREATE TABLE batting_postseason(year number,round text,player_id text,team_id text,league_id text,g number,ab number,r number,h number,double number,triple number,hr number,rbi number,sb number,cs number,bb number,so number,ibb number,hbp number,sh number,sf number,g_idp number) CREATE TABLE all_star(player_id text,year number,game_num number,game_id text,team_id text,league_id text,gp number,starting_pos number) CREATE TABLE ném bóng(player_id text,year number,stint number,team_id text,league_id text,w number,l number,g number,gs number,cg number,sho number,sv number,ipouts number,h number,er number,hr number,bb number,so number,baopp number,era number,ibb number,wp number,hbp number,bk number,bfp number,gf number,r number,sh number,sf number,g_idp number) CREATE TABLE fielding(player_id text,year number,stint number,team_id text,league_id text,pos text,g number,gs number,inn_outs number,po number,a number,e number,dp number,pb number,wp number,sb number,cs number,zr number) CREATE TABLE postseason(năm number,vòng text,team_id_winner text,league_id_winner text,team_id_loser text,league_id_loser text,thắng number,thua number,ties number) CREATE TABLE fielding_outfield(player_id text,năm number,thời_gian number,glf number,gcf number,grf number) CREATE TABLE pitching_postseason(player_id text,year number,round text,team_id text,league_id text,w number,l number,g number,gs number,cg number,sho number,sv number,ipouts number,h number,er number,hr number,bb number,so number,baopp text,era number,ibb number,wp number,hbp number,bk number,bfp number,gf number,r number,sh number,sf number,g_idp number) CREATE TABLE người_quản_lý(player_id text,year number,team_id text,league_id text,inseason number,g number,w number,l number,rank number,plyr_mgr text) CREATE TABLE team(năm number,league_id text,team_id text,franchise_id text,div_id text,rank number,g number,ghome number,w number,l number,div_win text,wc_win text,lg_win text,ws_win text,r number,ab number,h number,double number,triple number,hr number,bb number,so number,sb number,cs number,hbp number,sf number,ra number,er number,era number,cg number,sho number,sv number,ipouts number,ha number,hra number,bba number,soa number,e number,dp number,fp number,name text,park text,attendance number,bpf number,ppf number,team_id_br text,team_id_lahman45 text,team_id_retro text) CREATE TABLE đánh bóng(player_id text,năm number,thời_gian number,team_id text,league_id text,g number,ab number,r number,h number,double number,triple number,hr number,rbi number,sb number,cs number,bb number,so number,ibb number,hbp number,sh number,sf number,g_idp number) CREATE TABLE lần xuất_hiện(năm number,team_id text,league_id text,player_id text,g_all number,gs number,g_batting number,g_defense number,g_p number,g_c number,g_1b number,g_2b number,g_3b number,g_ss number,g_lf number,g_cf number,g_rf number,g_of number,g_dh number,g_ph number,g_pr number) CREATE TABLE manager_award(player_id text,award_id text,year number,league_id text,tie text,notes number) CREATE TABLE park(park_id text,park_name text,park_alias text,city text,state text,country text) CREATE TABLE player_college(player_id text,college_id text,năm number) CREATE TABLE hall_of_fame(player_id text,yearid number,votedby text,ballots number,Needed number,votes number,inducted text,category text,Need_note text) CREATE TABLE manager_half(player_id text,year number,team_id text,league_id text,inseason number,half number,g number,w number,l number,rank number) CREATE TABLE player_award(player_id text,award_id text,year number,league_id text,tie text,notes text) CREATE TABLE manager_award_vote(award_id text,year number,league_id text,player_id text,points_won number,điểm_max number,votes_first number) CREATE TABLE home_game(năm number,league_id text,team_id text,park_id text,span_first text,span_last text,trận đấu number,khai_mạc number,tham_dự number) CREATE TABLE fielding_postseason(player_id text,year number,team_id text,league_id text,round text,pos text,g number,gs number,inn_outs number,po number,a number,e number,dp number,tp number,pb number,sb number,cs number) CREATE TABLE lương(năm number,team_id text,league_id text,player_id text,lương number) CREATE TABLE team_franchise(franchise_id text,franchise_name text,active text,na_assoc text) CREATE TABLE team_half(year number,league_id text,team_id text,half number,div_id text,div_win text,xếp_hạng number,g number,w number,l number)
|
Số lượng người tham dự các trận đấu trên sân nhà trung bình mỗi năm là bao nhiêu?
|
Số_lượng người tham_dự các trận đấu trên sân_nhà trung_bình mỗi năm là bao_nhiêu ?
|
SELECT năm, AVG ( tham dự ) FROM home game GROUP BY năm
|
SELECT năm, AVG ( tham_dự ) FROM home_game GROUP BY năm
|
nvbench
|
CREATE TABLE Sản phẩm(Mã INTEGER,Tên VARCHAR(255),Giá DECIMAL,Nhà sản xuất INTEGER) CREATE TABLE Nhà sản xuất(Mã INTEGER,Tên VARCHAR(255),Trụ sở chính VARCHAR(255),Người sáng lập VARCHAR(255),Doanh thu REAL)
|
CREATE TABLE Sản_phẩm(Mã INTEGER,Tên VARCHAR(255),Giá_DECIMAL,Nhà_sản_xuất INTEGER) CREATE TABLE Nhà_sản_xuất(Mã INTEGER,Tên VARCHAR(255),Trụ_sở chính VARCHAR(255),Người sáng_lập VARCHAR(255),Doanh_thu REAL)
|
Đối với những bản ghi từ sản phẩm và nhà sản xuất của từng sản phẩm, mối quan hệ giữa mã và doanh thu cũng như nhóm theo thuộc tính trụ sở chính là gì?
|
Đối_với những bản ghi từ sản_phẩm và nhà_sản_xuất của từng sản_phẩm , mối quan_hệ giữa mã và doanh_thu cũng như nhóm theo thuộc_tính trụ_sở chính là gì ?
|
SELECT T1.Code,T2.Doanh thu FROM Sản phẩm AS T1 JOIN Nhà sản xuất AS T2 ON T1.Nhà sản xuất = T2.Code GROUP BY Trụ sở chính
|
SELECT T1.Code,T2.Doanh_thu FROM Sản_phẩm AS T1 JOIN Nhà_sản_xuất AS T2 ON T1.Nhà_sản_xuất = T2.Code GROUP BY Trụ_sở chính
|
sql_create_context
|
CREATE TABLE table name 8(county team VARCHAR,club team s VARCHAR)
|
CREATE TABLE table_name_8(county_team VARCHAR,club_team_s_ VARCHAR)
|
Đội tuyển quốc gia nào có Thurles Sarsfields?
|
Đội_tuyển quốc_gia nào có Thurles_Sarsfields ?
|
SELECT County team FROM table name 8 WHERE club team s = "thurles sarsfields"
|
SELECT County_team FROM table_name_8 WHERE club_team_s = "thurles sarsfields"
|
nvbench
|
CREATE TABLE NgườiBạn(tên varchar(20),bạn varchar(20),năm INTEGER) CREATE TABLE Người(tên varchar(20),tuổi INTEGER,thành phố TEXT,giới tính TEXT,công việc TEXT)
|
CREATE TABLE NgườiBạn(tên varchar(20),bạn varchar(20),năm INTEGER) CREATE TABLE Người(tên varchar(20),tuổi INTEGER,thành_phố TEXT,giới_tính TEXT,công_việc TEXT)
|
Trả lại biểu đồ hình tròn về người trẻ nhất đảm nhận mỗi công việc bao nhiêu tuổi?
|
Trả lại biểu_đồ hình_tròn về người trẻ nhất đảm_nhận mỗi công_việc bao_nhiêu tuổi ?
|
SELECT công việc, MIN ( tuổi ) FROM Người GROUP BY công việc
|
SELECT công_việc, MIN ( tuổi ) FROM Người GROUP BY công_việc
|
sql_create_context
|
CREATE TABLE table 11793221 2(chỉ huy VARCHAR,bị thương VARCHAR)
|
CREATE TABLE table_11793221_2(chỉ_huy VARCHAR,bị_thương VARCHAR)
|
Ai là người chỉ huy khi 8 trên 0 người bị thương?
|
Ai là người chỉ_huy khi 8 trên 0 người bị_thương ?
|
SELECT chỉ huy FROM table 11793221 2 WHERE bị thương = "8 trên 0 người"
|
SELECT chỉ_huy FROM table_11793221_2 WHERE bị_thương = "8 trên 0 người"
|
wikisql
|
CREATE TABLE table 2378("Năm(Lễ)" text,"Tiêu đề phim dùng để đề cử" text,"Tiêu đề gốc" text,"Đạo diễn" text,"Kết quả" text)
|
CREATE TABLE table_2378("Năm(Lễ)" text,"Tiêu_đề phim dùng để đề_cử" text,"Tiêu_đề gốc" text,"Đạo_diễn" text,"Kết_quả" text)
|
Đặt tên tựa gốc cho không có sao trong rừng
|
Đặt tên tựa gốc cho không có sao trong rừng
|
SELECT "Tiêu đề gốc" FROM table 2378 WHERE "Tiêu đề phim dùng để đề cử" = 'No Stars in the Jungle'
|
SELECT "Tiêu_đề gốc" FROM table_2378 WHERE "Tiêu_đề phim dùng để đề_cử" = "No Stars in the Jungle"
|
mimic_iii
|
CREATE TABLE tuyển sinh(row id number,subject id number,hadm id number,admittime time,dischtime time,admission type text,admission location text,discharge location text,bảo hiểm text,ngôn ngữ text,hôn nhân status text,dân tộc text,tuổi number) CREATE TABLE d labitems(row id number,itemid number,label text) CREATE TABLE microbiologyevents(row id number,subject id number,hadm id number,charttime time,spec type desc text,org name text) CREATE TABLE d icd procedures(row id number,icd9 code text,short title text,long title text) CREATE TABLE chuyển(row id number,subject id number,hadm id number,icustay id number,loại sự kiện text,careunit text,wardid number,intime time,outtime 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,last wardid number,intime time,outtime time) CREATE TABLE labevents(row id number,subject id number,hadm id number,itemid number,charttime time,valuenum number,valueuom text) 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 thủ tục icd(row id number,subject id number,hadm id number,icd9 code text,charttime time) CREATE TABLE bệnh nhân(row id number,subject id number,gender text,dob time,dod time) CREATE TABLE cost(row id number,chủ id number,hadm id number,event type text,event id number,thời gian tính phí time,chi phí number) CREATE TABLE đơn thuốc(row id number,subject id number,hadm id number,ngày bắt đầu time,ngày kết thúc time,thuốc 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 chẩn đoán icd(row id number,subject id number,hadm id number,icd9 code text,charttime time) CREATE TABLE inputevents cv(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,amount number) CREATE TABLE đầu rasự kiện(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,value number) CREATE TABLE d icd diagnoses(row id number,icd9 code text,short title text,tiêu đề dài text)
|
CREATE TABLE tuyển_sinh(row_id number,subject_id number,hadm_id number,admittime time,dischtime time,admission_type text,admission_location text,discharge_location text,bảo_hiểm text,ngôn_ngữ text,hôn_nhân_status text,dân_tộc text,tuổi number) CREATE TABLE d_labitems(row_id number,itemid number,label text) CREATE TABLE microbiologyevents(row_id number,subject_id number,hadm_id number,charttime time,spec_type_desc text,org_name text) CREATE TABLE d_icd_procedures(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE chuyển(row_id number,subject_id number,hadm_id number,icustay_id number,loại sự_kiện text,careunit text,wardid number,intime time,outtime 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,last_wardid number,intime time,outtime time) CREATE TABLE labevents(row_id number,subject_id number,hadm_id number,itemid number,charttime time,valuenum number,valueuom text) 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 thủ_tục_icd(row_id number,subject_id number,hadm_id number,icd9_code text,charttime time) CREATE TABLE bệnh_nhân(row_id number,subject_id number,gender text,dob time,dod time) CREATE TABLE cost(row_id number,chủ_id number,hadm_id number,event_type text,event_id number,thời_gian tính phí time,chi_phí number) CREATE TABLE đơn thuốc(row_id number,subject_id number,hadm_id number,ngày bắt_đầu time,ngày kết_thúc time,thuốc 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 chẩn_đoán_icd(row_id number,subject_id number,hadm_id number,icd9_code text,charttime time) CREATE TABLE inputevents_cv(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,amount number) CREATE TABLE đầu rasự_kiện(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,value number) CREATE TABLE d_icd_diagnoses(row_id number,icd9_code text,short_title text,tiêu_đề dài text)
|
Thời gian chẩn đoán thất bại chr syst/diastl hrt đầu tiên của bệnh nhân 87232 trong lần khám bệnh hiện tại là bao nhiêu?
|
Thời_gian chẩn_đoán thất_bại chr syst / diastl hrt đầu_tiên của bệnh_nhân 87232 trong lần khám bệnh hiện_tại là bao_nhiêu ?
|
SELECT chẩn đoán icd.charttime FROM chẩn đoán icd WHERE chẩn đoán icd.icd9 code = ( SELECT d icd diagnoses.icd9 code FROM d icd diagnoses WHERE d icd diagnoses.short title = 'chr systdiastl hrt failed' ) AND chẩn đoán icd.hadm id IN ( SELECT tuyển sinh.hadm id FROM tuyển sinh WHERE tuyển sinh.subject id = 87232 AND tuyển sinh.dischtime IS NULL ) ORDER BY chẩn đoán icd.charttime LIMIT 1
|
SELECT chẩn_đoán_icd.charttime FROM chẩn_đoán_icd WHERE chẩn_đoán_icd.icd9_code = ( SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = "chr systdiastl hrt failed" ) AND chẩn_đoán_icd.hadm_id IN ( SELECT tuyển_sinh.hadm_id FROM tuyển_sinh WHERE tuyển_sinh.subject_id = 87232 AND tuyển sinh.dischtime IS NULL ) ORDER BY chẩn_đoán_icd.charttime LIMIT 1
|
sql_create_context
|
CREATE TABLE table name 90(date VARCHAR,địa điểm VARCHAR)
|
CREATE TABLE table_name_90(date VARCHAR,địa_điểm VARCHAR)
|
VFL thanh toán MCG vào ngày nào?
|
VFL thanh_toán MCG vào ngày nào ?
|
SELECT date FROM table name 90 WHERE địa điểm = "mcg"
|
SELECT date FROM table_name_90 WHERE địa_điểm = "mcg"
|
sql_create_context
|
CREATE TABLE table 11044765 1(giải đấu VARCHAR,linh vật VARCHAR)
|
CREATE TABLE table_11044765_1(giải đấu VARCHAR,linh_vật VARCHAR)
|
Những giải đấu nào có Raiders làm linh vật?
|
Những giải đấu nào có Raiders làm linh_vật ?
|
SELECT giải đấu FROM bảng 11044765 1 WHERE linh vật = "Raiders"
|
SELECT giải đấu FROM bảng_11044765_1 WHERE linh_vật = "Raiders"
|
squall
|
CREATE TABLE table 203 179(id number,"goal" number,"date" text,"địa điểm" text,"đối thủ" text,"điểm" text,"kết quả" text,"cạnh tranh" text)
|
CREATE TABLE table_203_179(id number,"goal" number,"date" text,"địa_điểm" text,"đối_thủ" text,"điểm" text,"kết_quả" text,"cạnh_tranh" text)
|
bảng có bao nhiêu trận giao hữu?
|
bảng có bao_nhiêu trận giao_hữu ?
|
SELECT COUNT ( * ) FROM table 203 179 WHERE "cạnh tranh" = 'trận giao hữu'
|
SELECT COUNT ( * ) FROM table_203_179 WHERE "cạnh_tranh" = "trận giao_hữu"
|
sql_create_context
|
CREATE TABLE tên bảng 79(đám đông VARCHAR,đội khách VARCHAR)
|
CREATE TABLE tên_bảng_79(đám đông VARCHAR,đội khách VARCHAR)
|
Trong trận đấu mà Newcastle Jets là đội khách, số người tham dự sẽ như thế nào?
|
Trong trận đấu mà Newcastle_Jets là đội khách , số người tham_dự sẽ như_thế_nào ?
|
SELECT đám đông FROM table name 79 WHERE away team = "máy bay phản lực newcastle"
|
SELECT đám đông FROM table_name_79 WHERE away_team= "máy_bay_phản_lực newcastle"
|
eicu
|
CREATE TABLE lượng đầu ra(lượng đầu raid number,BNunitstayid number,cellpath text,celllabel text,cellvaluenumeric number,intakeoutputtime time) CREATE TABLE microlab(microlabid number,Patientunitstayid number,culturesite text,organism text,thời gian nuôi cấy time) CREATE TABLE điều trị(Treatmentid number,Patientunitstayid number,Treatmentname text,TreatmentTime time) CREATE TABLE Diagnostic(diagnosisid number,Patientunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE disease(uniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới tính text,tuổi text,dân tộc text,mệnh viện number,khu vực number,chiều cao nhập viện number,cân nặng nhập viện number,cân nặng xuất viện number,thời gian nhập viện time,nguồn nhập viện text,thời gian nhập viện time,thời gian xuất viện của đơn vị time,thời gian xuất viện time,trạng thái xuất viện text) CREATE TABLE quan trọng định kỳ(quan trọng chu kỳ number,bệnh nhân đơn vị ở lại id number,nhiệt độ number,sao2 number,nhịp tim number,hô hấp number,tâm thu hệ thống number,tâm trương hệ thống number,trung bình hệ thống number,thời gian quan sát time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number) CREATE TABLE drug(medicid id number,Patientunitstayid number,tên thuốc text,liều lượng text,routeadmin text,thời gian bắt đầu dùng thuốc time,thời gian ngừng thuốc time) CREATE TABLE dị ứng(dị ứng number,bệnh nhân đơn vị lưu trú number,tên thuốc text,tên dị ứng text,thời gian dị ứng time)
|
CREATE TABLE lượng đầu_ra(lượng đầu raid number,BNunitstayid number,cellpath text,celllabel text,cellvaluenumeric number,intakeoutputtime time) CREATE TABLE microlab(microlabid number,Patientunitstayid number,culturesite text,organism text,thời_gian nuôi_cấy time) CREATE TABLE điều_trị(Treatmentid number,Patientunitstayid number,Treatmentname text,TreatmentTime time) CREATE TABLE Diagnostic(diagnosisid number,Patientunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE disease(uniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới_tính text,tuổi text,dân_tộc text,mệnh_viện number,khu_vực number,chiều cao nhập_viện number,cân nặng nhập_viện number,cân nặng xuất_viện number,thời_gian nhập_viện time,nguồn nhập_viện text,thời_gian nhập_viện time,thời_gian xuất_viện của đơn_vị time,thời_gian xuất_viện time,trạng_thái xuất_viện text) CREATE TABLE quan_trọng định_kỳ(quan_trọng chu_kỳ number,bệnh_nhân đơn_vị ở lại id number,nhiệt_độ number,sao2 number,nhịp tim number,hô_hấp number,tâm_thu hệ_thống number,tâm_trương hệ_thống number,trung_bình hệ_thống number,thời_gian quan_sát time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number) CREATE TABLE drug(medicid id number,Patientunitstayid number,tên thuốc text,liều_lượng text,routeadmin text,thời_gian bắt_đầu dùng thuốc time,thời_gian ngừng thuốc time) CREATE TABLE dị_ứng(dị_ứng number,bệnh_nhân đơn_vị lưu_trú number,tên thuốc text,tên dị_ứng text,thời_gian dị_ứng time)
|
có bao nhiêu loại thuốc được kê trong năm nay cho bệnh nhân 018-99743?
|
có bao_nhiêu loại thuốc được kê trong năm nay cho bệnh_nhân 018 - 99743 ?
|
SELECT COUNT ( * ) FROM thuốc WHERE thuốc.bệnh nhân.bệnh nhânunitstayid IN ( SELECT bệnh nhân.bệnh nhânunitstayid FROM bệnh nhân WHERE bệnh nhân.bệnh nhânhealthsystemstayid IN ( SELECT bệnh nhân.bệnh nhânhealthsystemstayid FROM bệnh nhân WHERE bệnh nhân.uniquepid = '018 99743' ) ) AND DATETIME ( thuốc.drugstarttime,'đầu năm' ) = DATETIME ( CURRENT TIME ( ) ,'đầu năm','0 năm' )
|
SELECT COUNT ( * ) FROM thuốc WHERE thuốc.bệnh_nhân.bệnh nhânunitstayid IN ( SELECT bệnh_nhân.bệnh nhânunitstayid FROM bệnh_nhân WHERE bệnh_nhân.bệnh nhânhealthsystemstayid IN ( SELECT bệnh_nhân.bệnh nhânhealthsystemstayid FROM bệnh_nhân WHERE bệnh_nhân.uniquepid = "018 99743" ) ) AND DATETIME ( thuốc.drugstarttime,"đầu năm" ) = DATETIME ( CURRENT_TIME ( ) ,"đầu năm"," 0 năm" )
|
sql_create_context
|
CREATE TABLE tên bảng 63(mùa VARCHAR,phân ba VARCHAR)
|
CREATE TABLE tên_bảng_63(mùa VARCHAR,phân_ba VARCHAR)
|
Mùa giải nào là nhà vô địch của Division Three Hampton Park Rangers?
|
Mùa giải nào là nhà vô_địch của Division_Three Hampton Park_Rangers ?
|
SELECT mùa FROM table name 63 WHERE Division ba = "kiểm lâm viên Hampton"
|
SELECT mùa FROM table_name_63 WHERE Division_ba = "kiểm_lâm_viên Hampton"
|
sql_create_context
|
CREATE TABLE tên bảng 80(d 47 o VARCHAR,d 48 o VARCHAR)
|
CREATE TABLE tên_bảng_80(d_47_o VARCHAR,d_48_o VARCHAR)
|
Đặt tên D 47 O bằng D 48 O của r 9
|
Đặt tên D 47 O bằng D 48 O của r 9
|
SELECT d 47 o FROM tên bảng 80 WHERE d 48 o = "r 9"
|
SELECT d_47_o FROM tên_bảng_80 WHERE d_48_o = "r 9"
|
sql_create_context
|
CREATE TABLE Vị trí văn phòng(tên VARCHAR,id VARCHAR,building id VARCHAR) CREATE TABLE tòa nhà(tên VARCHAR,id VARCHAR,building id VARCHAR)
|
CREATE TABLE Vị_trí văn_phòng(tên VARCHAR,id VARCHAR,building_id VARCHAR) CREATE TABLE tòa nhà(tên VARCHAR,id VARCHAR,building_id VARCHAR)
|
Liệt kê tên các tòa nhà không có văn phòng công ty.
|
Liệt_kê tên các tòa nhà không có văn_phòng công_ty .
|
SELECT tên FROM tòa nhà WHERE NOT id IN ( SELECT Building id FROM Office locations )
|
SELECT tên FROM tòa nhà WHERE NOT id IN ( SELECT Building_id FROM Office_locations )
|
squall
|
CREATE TABLE table 204 805(id number,"tên" text,"câu lạc bộ" text,"ngày khởi hành" text,"thay thế" text,"ngày hẹn" text)
|
CREATE TABLE table_204_805(id number,"tên" text,"câu_lạc_bộ" text,"ngày khởi_hành" text,"thay_thế" text,"ngày hẹn" text)
|
hans r. esmer và christophe larrouilh đều được thay thế vào tháng nào trong năm 2009 ?
|
hans r . esmer và christophe larrouilh đều được thay_thế vào tháng nào trong năm 2009 ?
|
SELECT "ngày khởi hành" FROM table 204 805 WHERE "name" = 'hans r.emser'
|
SELECT "ngày khởi_hành" FROM table_204_805 WHERE "name" = "hans r.emser"
|
sql_create_context
|
CREATE TABLE table name 54(tên VARCHAR,vị trí VARCHAR,cân nặng lbs VARCHAR)
|
CREATE TABLE table_name_54(tên VARCHAR,vị_trí VARCHAR,cân nặng__lbs_ VARCHAR)
|
Tên là gì khi vị trí là g và trọng lượng là 190 pound?
|
Tên là gì khi vị_trí là g và trọng_lượng là 190 pound ?
|
SELECT tên FROM tên bảng 54 WHERE vị trí = "g" AND trọng lượng lbs = 190
|
SELECT tên FROM tên_bảng_54 WHERE vị_trí = "g" AND trọng lượng__lbs = 190
|
spider
|
CREATE TABLE player(player id number,player text,year played text,total wl text,singles wl text,doubles wl text,team number) CREATE TABLE country(country id number,country name text,capital text,ngôn ngữ native chính thức text) CREATE TABLE match season(mùa number,người chơi text,vị trí text,quốc gia number,đội number,số dự thảo pick number,lớp dự thảo text,đại học text) CREATE TABLE đội(team id number,tên text)
|
CREATE TABLE player(player_id number,player text,year_played text,total_wl text,singles_wl text,doubles_wl text,team number) CREATE TABLE country(country_id number,country_name text,capital text,ngôn ngữ_native_chính_thức text) CREATE TABLE match_season(mùa number,người chơi text,vị_trí text,quốc_gia number,đội number,số dự thảo_pick number,lớp dự_thảo text,đại_học text) CREATE TABLE đội(team_id number,tên text)
|
Tất cả các cầu thủ đã chơi trong mùa thi đấu, được sắp xếp theo thứ tự bảng chữ cái tăng dần theo trường đại học là gì?
|
Tất_cả các cầu_thủ đã chơi trong mùa thi_đấu , được sắp_xếp theo thứ_tự bảng chữ_cái tăng dần theo trường đại_học là gì ?
|
SELECT cầu thủ FROM match season ORDER BY đại học
|
SELECT cầu_thủ FROM match_season ORDER BY đại_học
|
wikisql
|
CREATE TABLE table 76396("Tên" text,"Tăng" real,"Mất" real,"Dài" real,"Trung bình/G" real)
|
CREATE TABLE table_76396("Tên" text,"Tăng" real,"Mất" real,"Dài" real,"Trung_bình/G" real)
|
Leon patton đã thua bao nhiêu lần với mức tăng dài nhất cao hơn 45?
|
Leon patton đã thua bao_nhiêu lần với mức tăng dài nhất cao hơn 45 ?
|
SELECT COUNT ( "Mất" ) FROM table 76396 WHERE "Name" = 'leon patton' AND "Long" > '45'
|
SELECT COUNT ( "Mất" ) FROM table_76396 WHERE "Name" = "leon patton" AND "Long" > "45"
|
wikisql
|
CREATE TABLE table 17371("Năm" real,"Division" text,"Giải đấu" text,"Regular.Season" text,"Playoffs" text,"Open Cup" text)
|
CREATE TABLE table_17371("Năm" real,"Division" text,"Giải đấu" text,"Regular.Season" text,"Playoffs" text,"Open_Cup" text)
|
Có bao nhiêu cốc mở được tổ chức vào năm 1993?
|
Có bao_nhiêu cốc mở được tổ_chức vào năm 1993 ?
|
SELECT COUNT ( "Cúp mở" ) FROM table 17371 WHERE "Năm" = '1993'
|
SELECT COUNT ( "Cúp mở" ) FROM table_17371 WHERE "Năm" = "1993"
|
sql_create_context
|
CREATE TABLE tên bảng 53(total VARCHAR,người chơi VARCHAR)
|
CREATE TABLE tên_bảng_53(total VARCHAR,người chơi VARCHAR)
|
Tổng cộng có bao nhiêu Người chơi của dave stockton?
|
Tổng_cộng có bao_nhiêu Người chơi của dave stockton ?
|
SELECT COUNT ( total ) FROM table name 53 WHERE player = "dave stockton"
|
SELECT COUNT ( total ) FROM table_name_53 WHERE player = "dave stockton"
|
sql_create_context
|
CREATE TABLE table 24195232 1(thành lập VARCHAR,vị trí VARCHAR)
|
CREATE TABLE table_24195232_1(thành_lập VARCHAR,vị_trí VARCHAR)
|
Có bao nhiêu mục được thành lập khi địa điểm là Springfield, Ohio?
|
Có bao_nhiêu mục được thành_lập khi địa_điểm là Springfield , Ohio ?
|
SELECT COUNT ( đã thành lập ) FROM table 24195232 1 WHERE location = "Springfield,Ohio"
|
SELECT COUNT ( đã thành_lập ) FROM table_24195232_1 WHERE location = "Springfield,Ohio"
|
nvbench
|
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 phòng ban(DEPARTMENT ID decimal(4,0),DEPARTMENT NAME varchar(30),MANAGER ID decimal(6,0),LOCATION ID decimal(4,0)) CREATE TABLE khu vực(REGION ID decimal(5,0),REGION NAME varchar(25)) CREATE TABLE nhân viên(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),LƯƠNG decimal(8,2),COMMISSION PCT decimal(2,2),MANAGER ID decimal(6,0),DEPARTMENT ID decimal(4,0)) CREATE TABLE vị trí(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 quốc gia(COUNTRY ID varchar(2),COUNTRY NAME varchar(40),REGION ID decimal(10,0)) CREATE TABLE việc làm(JOB ID varchar(10),JOB TITLE varchar(35),MIN SALARY decimal(6,0),MAX SALARY decimal(6,0))
|
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 phòng_ban(DEPARTMENT_ID_decimal(4,0),DEPARTMENT_NAME varchar(30),MANAGER_ID_decimal(6,0),LOCATION_ID_decimal(4,0)) CREATE TABLE khu_vực(REGION_ID_decimal(5,0),REGION_NAME varchar(25)) CREATE TABLE nhân_viên(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),LƯƠNG_decimal(8,2),COMMISSION_PCT_decimal(2,2),MANAGER_ID_decimal(6,0),DEPARTMENT_ID_decimal(4,0)) CREATE TABLE vị_trí(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 quốc_gia(COUNTRY_ID varchar(2),COUNTRY_NAME varchar(40),REGION_ID_decimal(10,0)) CREATE TABLE việc_làm(JOB_ID varchar(10),JOB_TITLE varchar(35),MIN_SALARY_decimal(6,0),MAX_SALARY_decimal(6,0))
|
Đối với những nhân viên không làm việc trong các phòng ban có người quản lý có id từ 100 đến 200, hãy trực quan hóa biểu đồ thanh về sự phân bổ của job id và manager id và bạn có thể liệt kê trong asc theo MANAGER ID không?
|
Đối_với những nhân_viên không làm_việc trong các phòng_ban có người_quản_lý có id từ 100 đến 200 , hãy trực_quan hóa_biểu đồ_thanh về sự phân_bổ của job_id và manager_id và bạn có_thể liệt_kê trong asc theo MANAGER_ID không ?
|
SELECT JOB ID,MANAGER ID FROM nhân viên WHERE NOT DEPARTMENT ID IN ( SELECT DEPARTMENT ID FROM phòng ban WHERE MANAGER ID BETWEEN 100 AND 200 ) ORDER BY MANAGER ID
|
SELECT JOB_ID,MANAGER_ID FROM nhân_viên WHERE NOT DEPARTMENT_ID IN ( SELECT DEPARTMENT_ID FROM phòng_ban WHERE MANAGER_ID BETWEEN 100 AND 200 ) ORDER BY MANAGER_ID
|
eicu
|
CREATE TABLE chẩn đoán(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 Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,TreatmentTime time) CREATE TABLE Thuốc(Mid chỉ định number,Patientunitstayid number,Tên thuốc text,Liều lượng text,Routeadmin text,thời gian bắt đầu dùng thuốc time,thời gian ngừng thuốc time) CREATE TABLE Vital Periodic(vital Periodicid number,Patientunitstayid number,nhiệt độ number,sao2 number,nhịp tim number,hô hấp number,tâm thu hệ thống number,tâm trương hệ thống number,trung bình hệ thống number,thời gian quan sát time) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE Intakeoutput(intakeoutputid number,Patientunitstayid number,cellpath text,celllabel text,giá trị tế bàonumber,thời gian đưa vào đầu ra time) CREATE TABLE dị ứng(dị ứng number,BNunitstayid number,tên thuốc text,tên dị ứng text,thời gian dị ứng time) CREATE TABLE bệnh nhân(uniquepid text,Patienthealthsystemstayid number,bệnh nhân đơn vị lưu trú number,giới tính text,tuổi text,dân tộc text,bệnh viện number,khu bệnh number,chiều cao nhập viện number,cân nặng nhập viện number,cân nặng xuất viện number,thời gian nhập viện time,nguồn nhập viện text,thời gian nhập viện time,thời gian xuất viện time,thời gian xuất viện time,trạng thái xuất viện text) CREATE TABLE chi phí(chi phí number,duy nhất text,bệnh nhânhệ thống sức khỏelưu trúid number,loại sự kiện text,id sự kiện number,thời gian tính phí time,chi phí number)
|
CREATE TABLE chẩn_đoán(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 Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,TreatmentTime time) CREATE TABLE Thuốc(Mid chỉ_định number,Patientunitstayid number,Tên thuốc text,Liều_lượng text,Routeadmin text,thời_gian bắt_đầu dùng thuốc time,thời_gian ngừng thuốc time) CREATE TABLE Vital_Periodic(vital Periodicid number,Patientunitstayid number,nhiệt_độ number,sao2 number,nhịp tim number,hô_hấp number,tâm_thu hệ_thống number,tâm_trương hệ_thống number,trung_bình hệ_thống number,thời_gian quan_sát time) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE Intakeoutput(intakeoutputid number,Patientunitstayid number,cellpath text,celllabel text,giá_trị tế_bàonumber,thời_gian đưa vào đầu_ra time) CREATE TABLE dị_ứng(dị_ứng number,BNunitstayid number,tên thuốc text,tên dị_ứng text,thời_gian dị_ứng time) CREATE TABLE bệnh_nhân(uniquepid text,Patienthealthsystemstayid number,bệnh_nhân đơn_vị lưu_trú number,giới_tính text,tuổi text,dân_tộc text,bệnh_viện number,khu bệnh number,chiều cao nhập_viện number,cân nặng nhập_viện number,cân nặng xuất_viện number,thời_gian nhập_viện time,nguồn nhập_viện text,thời_gian nhập_viện time,thời_gian xuất_viện time,thời_gian xuất_viện time,trạng_thái xuất_viện text) CREATE TABLE chi_phí(chi_phí number,duy_nhất text,bệnh nhânhệ_thống sức khỏelưu trúid number,loại sự_kiện text,id sự_kiện number,thời_gian tính phí time,chi_phí number)
|
Bốn xét nghiệm vi sinh thường được thực hiện nhất đối với những bệnh nhân đã dùng thuốc vận mạch - norepinephrine > 0,1 microgram/kg/phút trước đó, trong vòng 2 tháng vào năm 2105 là gì?
|
Bốn xét_nghiệm vi_sinh thường được thực_hiện nhất đối_với những bệnh_nhân đã dùng thuốc vận_mạch - norepinephrine > 0,1 microgram / kg / phút trước đó , trong vòng 2 tháng vào năm 2105 là gì ?
|
SELECT t3.culturesite FROM ( SELECT t2.culturesite,DENSE RANK ( ) OVER ( ORDER BY COUNT ( * ) DESC ) AS c1 FROM ( SELECT disease.uniquepid,Treatment.Treatmenttime FROM Treatment JOIN bệnh nhân ON điều trị.bệnh nhânunitstayid = bệnh nhân.bệnh nhânunitstayid WHERE điều trị.Treatmentname = 'thuốc vận mạch norepinephrine > 0,1 microgamkgphút' AND STRFTIME ( 'y',Treatment.Treatmenttime ) = '2105' ) AS t1 JOIN ( SELECT bệnh nhân.uniquepid,microlab.culturesite,microlab.culturetakentime FROM microlab JOIN bệnh nhân ON microlab.bnunitstayid = bệnh nhân.bệnh nhânunitstayid WHERE STRFTIME ( 'y',microlab.culturetakentime ) = '2105' ) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.Treatmenttime < t2.culturetakentime AND DATETIME ( t2.culturetakentime ) BETWEEN DATETIME ( t1.Treatmenttime ) AND DATETIME ( t1.Treatmenttime,' 2 tháng' ) GROUP BY t2.culturesite ) AS t3 WHERE t3.c1 <= 4
|
SELECT t3.culturesite FROM ( SELECT t2.culturesite,DENSE_RANK ( ) OVER ( ORDER BY COUNT ( * ) DESC ) AS c1 FROM ( SELECT disease.uniquepid,Treatment.Treatmenttime FROM Treatment JOIN bệnh_nhân ON điều_trị.bệnh nhânunitstayid = bệnh_nhân.bệnh nhânunitstayid WHERE điều_trị.Treatmentname = "thuốc vận_mạch norepinephrine > 0,1 microgamkgphút" AND STRFTIME ( " y",Treatment.Treatmenttime ) = "2105" ) AS t1 JOIN ( SELECT bệnh_nhân.uniquepid,microlab.culturesite,microlab.culturetakentime FROM microlab JOIN bệnh_nhân ON microlab.bnunitstayid = bệnh_nhân.bệnh nhânunitstayid WHERE STRFTIME ( " y",microlab.culturetakentime ) = "2105" ) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.Treatmenttime <t2.culturetakentime AND DATETIME ( t2.culturetakentime ) BETWEEN DATETIME ( t1.Treatmenttime ) AND DATETIME ( t1.Treatmenttime," 2 tháng" ) GROUP BY t2.culturesite ) AS t3 WHERE t3.c1 < = 4
|
wikisql
|
CREATE TABLE table 47606("Ngày" text,"Khách" text,"Điểm" text,"Trang chủ" text,"Bản ghi" text)
|
CREATE TABLE table_47606("Ngày" text,"Khách" text,"Điểm" text,"Trang_chủ" text,"Bản_ghi" text)
|
Đội chủ nhà trong trận đấu có thành tích 2-4 là ai?
|
Đội chủ nhà trong trận đấu có thành_tích 2-4 là ai ?
|
SELECT "Nhà" FROM table 47606 WHERE "Bản ghi" = '24'
|
SELECT "Nhà" FROM table_47606 WHERE "Bản_ghi" = "24"
|
wikisql
|
CREATE TABLE table 60370("Quốc gia" text,"Khoảng cách" text,"Vận động viên" text,"Địa điểm" text,"Ngày" text)
|
CREATE TABLE table_60370("Quốc_gia" text,"Khoảng_cách" text,"Vận_động_viên" text,"Địa_điểm" text,"Ngày" text)
|
Ngày là gì khi vận động viên là 'đồng minh Yussuf'?
|
Ngày là gì khi vận_động_viên là ' đồng_minh Yussuf ' ?
|
SELECT "Ngày" FROM table 60370 WHERE "Vận động viên" = 'viết hay'
|
SELECT "Ngày" FROM table_60370 WHERE "Vận_động_viên" = "viết hay"
|
sql_create_context
|
CREATE TABLE table name 86(điểm VARCHAR,hòa no VARCHAR)
|
CREATE TABLE table_name_86(điểm VARCHAR,hòa_no VARCHAR)
|
TỶ SỐ VỚI SỐ HÒA 13 LÀ GÌ?
|
TỶ_SỐ VỚI SỐ HÒA 13 LÀ GÌ ?
|
SELECT điểm FROM tên bảng 86 WHERE tie no = "13"
|
SELECT điểm FROM tên_bảng_86 WHERE tie_no = "13"
|
advising
|
CREATE TABLE chương trình(program id int,tên varchar,college varchar,giới thiệu varchar) CREATE TABLEstudent(student id int,lastname varchar,firstname varchar,program id int,declare major varchar,total credit int,tổng gpa float,entered as varchar,admit term int,predicted graduation semester int,degree varchar,minor varchar,thực tập varchar) CREATE TABLE giảng viên(instructor id int,name varchar,uniqname varchar) CREATE TABLE gsi(course offering id int,student id int) CREATE TABLE require(requirement id int,requirement varchar,college varchar) CREATE TABLE comment instructor(instructor id int,student id int,score int,comment text varchar) CREATE TABLE chương trình requirement(chương trình id int,danh mục varchar,min credit int,bổ sung req varchar) CREATE TABLE Course preRequirement(pre course id int,course id int) CREATE TABLE Course tags count(course id int,clear grading int,pop quiz int,group projects int,truyền cảm hứng int,bài giảng dài int,extra credit int,few tests int,good feedback int,tough tests int,heavy papers int,cares for students int,heavy tasks int,được tôn trọng int,tham gia int,đọc nặng int,học sinh khó int,vui nhộn int,sẽ học again int,bài giảng hay int,không bỏ qua int) CREATE TABLE khu vực(khóa học id int,khu vực varchar) CREATE TABLE khóa học offering(offering id int,khóa học int,học kỳ int,số phần int,thời gian bắt đầu time,thời gian kết thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ bảy varchar,chủ nhật varchar,has final project varchar,has final exam varchar,sách giáo khoa varchar,class address varchar,allow audit varchar) CREATE TABLE học kỳ(semester id int,semester varchar,year int) CREATE TABLE Offer instructor(offering instructor id int,offering id int,instructor id int) CREATE TABLEprogram course(program id int,course id int,workload int,category varchar) CREATE TABLE ta(campus job id int,student id int,location varchar) CREATE TABLE jobs(job id int,job title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLE sinh viên record(student id int,course id int,semester int,lớp varchar,làm thế nào varchar,transfer source varchar,earn credit varchar,repeat term varchar,test id varchar) CREATE TABLE khóa học(course id int,tên varchar,bộ môn varchar,number varchar,tín chỉ varchar,advisory requirement varchar,enforced requirement varchar,description varchar,num semesters int,num enrolled int,has discussion varchar,has lab varchar,has projects varchar,has exams varchar,num reviews int,clarity score int,easiness score int,điểm hữu ích int)
|
CREATE TABLE chương_trình(program_id int,tên varchar,college varchar,giới_thiệu varchar) CREATE TABLEstudent(student_id int,lastname varchar,firstname varchar,program_id int,declare_major varchar,total_credit int,tổng_gpa float,entered_as varchar,admit_term int,predicted_graduation_semester int,degree varchar,minor varchar,thực_tập varchar) CREATE TABLE giảng_viên(instructor_id int,name varchar,uniqname varchar) CREATE TABLE gsi(course_offering_id int,student_id int) CREATE TABLE require(requirement_id int,requirement varchar,college varchar) CREATE TABLE comment_instructor(instructor_id int,student_id int,score int,comment_text varchar) CREATE TABLE chương trình_requirement(chương trình_id int,danh_mục varchar,min_credit int,bổ_sung_req varchar) CREATE TABLE Course_preRequirement(pre_course_id int,course_id int) CREATE TABLE Course_tags_count(course_id int,clear_grading int,pop_quiz int,group_projects int,truyền cảm_hứng int,bài giảng dài int,extra_credit int,few_tests int,good_feedback int,tough_tests int,heavy_papers int,cares_for_students int,heavy_tasks int,được tôn_trọng int,tham_gia int,đọc_nặng int,học_sinh khó int,vui nhộn int,sẽ_học_again int,bài_giảng hay int,không_bỏ qua int) CREATE TABLE khu_vực(khóa học_id int,khu_vực varchar) CREATE TABLE khóa học_offering(offering_id int,khóa học int,học kỳ int,số phần int,thời_gian bắt_đầu time,thời_gian kết_thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ_bảy varchar,chủ_nhật varchar,has_final_project varchar,has_final_exam varchar,sách_giáo_khoa varchar,class_address varchar,allow_audit varchar) CREATE TABLE học_kỳ(semester_id int,semester varchar,year int) CREATE TABLE Offer_instructor(offering_instructor_id int,offering_id int,instructor_id int) CREATE TABLEprogram_course(program_id int,course_id int,workload int,category varchar) CREATE TABLE ta(campus_job_id int,student_id int,location varchar) CREATE TABLE jobs(job_id int,job_title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLE sinh viên_record(student_id int,course_id int,semester int,lớp varchar,làm thế_nào varchar,transfer_source varchar,earn_credit varchar,repeat_term varchar,test_id varchar) CREATE TABLE khóa_học(course_id int,tên varchar,bộ_môn varchar,number varchar,tín chỉ varchar,advisory_requirement varchar,enforced_requirement varchar,description varchar,num_semesters int,num_enrolled int,has_discussion varchar,has_lab varchar,has_projects varchar,has_exams varchar,num_reviews int,clarity_score int,easiness_score int,điểm hữu_ích int)
|
Tôi chưa thi 373, tôi có thể học lớp trên nào?
|
Tôi chưa thi 373 , tôi có_thể học lớp trên nào ?
|
SELECT DISTINCT COURSE 0.department,COURSE 0.name,COURSE 0.number FROM khóa học AS COURSE 0,khóa học AS COURSE 1,course precondition,program course WHERE NOT COURSE 1.course id IN ( SELECT Course precondition.pre course id FROM khóa học AS COURSE 0,course precondition WHERE COURSE 0.course id = Course precondition.course id ) AND COURSE 1.department = 'department0' AND COURSE 1.number = 373 AND PROGRAM COURSE 0.category LIKE 'ULCS' AND PROGRAM COURSE 0.course id = COURSE 0.course id
|
SELECT DISTINCT COURSE_0.department,COURSE_0.name,COURSE_0.number FROM khóa học AS COURSE_0,khóa_học AS COURSE_1,course_precondition,program_course WHERE NOT COURSE_1.course_id IN ( SELECT Course_precondition.pre_course_id FROM khóa học AS COURSE_0,course_precondition WHERE COURSE_0.course_id = Course_precondition.course_id ) AND COURSE_1.department = "department0" AND COURSE_1.number = 373 AND PROGRAM_COURSE_0.category LIKE " ULCS " AND PROGRAM_COURSE_0.course_id = COURSE_0.course_id
|
squall
|
CREATE TABLE table 203 751(id number,"year" number,"title" text,"vị trí đỉnh trên biểu đồ\nus\nair" number,"vị trí đỉnh trên biểu đồ\nus\nmain" number,"vị trí đỉnh trên biểu đồ\nus\nmod" number,"album" text)
|
CREATE TABLE table_203_751(id number,"year" number,"title" text,"vị_trí đỉnh trên biểu_đồ\_nus\_nair" number,"vị_trí đỉnh trên biểu_đồ\_nus\_nmain" number,"vị_trí đỉnh trên biểu_đồ\_nus\_nmod" number,"album" text)
|
đĩa đơn nào được phát hành sau bài hát tôi ghét?
|
đĩa đơn nào được phát_hành sau bài hát tôi ghét ?
|
SELECT "title" FROM table 203 751 WHERE "year" > ( SELECT "year" FROM table 203 751 WHERE "title" = '"bài hát tôi ghét"' ) ORDER BY "năm" LIMIT 1
|
SELECT "title" FROM table_203_751 WHERE "year" > ( SELECT "year" FROM table_203_751 WHERE "title" = "" bài hát tôi ghét"" ) ORDER BY"năm" LIMIT 1
|
sql_create_context
|
CREATE TABLE bảng 26436 2(bản gốc broadway cast VARCHAR)
|
CREATE TABLE bảng_26436_2(bản gốc_broadway_cast VARCHAR)
|
người đảm nhận vai diễn năm 2005 khi dàn diễn viên ban đầu của Broadway do Jesse L. Martin?
|
người đảm_nhận vai diễn năm 2005 khi dàn diễn_viên ban_đầu của Broadway do Jesse L._Martin ?
|
SELECT 2005 AS film FROM table 26436 2 WHERE original broadway cast = "Jesse L.Martin"
|
SELECT 2005 AS film FROM table_26436_2 WHERE original_broadway_cast = "Jesse_L.Martin"
|
wikisql
|
CREATE TABLE table 21642("Trận đấu" real,"Ngày" text,"Đối thủ" text,"Điểm" text,"Vị trí" text,"Tham dự" real,"Kỷ lục" text,"Điểm" real)
|
CREATE TABLE table_21642("Trận đấu" real,"Ngày" text,"Đối_thủ" text,"Điểm" text,"Vị_trí" text,"Tham_dự" real,"Kỷ_lục" text,"Điểm" real)
|
Cho biết ngày thi đấu với minnesota Wild
|
Cho biết ngày thi_đấu với minnesota Wild
|
SELECT "Ngày" FROM table 21642 WHERE "Đối thủ" = 'Minnesota Wild'
|
SELECT "Ngày" FROM table_21642 WHERE "Đối_thủ" = "Minnesota_Wild"
|
mimicsql_data
|
CREATE TABLE chẩn đoán(subject id text,hadm id text,icd9 code text,short title text,long title text) CREATE TABLE thủ tục(subject id text,hadm id text,icd9 code text,short title text,long title text) CREATE TABLE nhân khẩu học(subject id text,hadm id text,name text,hôn nhân status text,tuổi text,dob text,giới tính text,ngôn ngữ text,tôn giáo text,loại nhập học text,ngày ở text,bảo hiểm text,dân tộc text,hết hạn cờ text,địa điểm nhập học text,vị trí xuất viện text,chẩn đoán text,dod text,dob year text,dod year text,thời gian nhập học text,thời gian nhập viện text,năm nhập học 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 đơn thuốc(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 chẩn_đoán(subject_id text,hadm_id text,icd9_code text,short_title text,long_title text) CREATE TABLE thủ_tục(subject_id text,hadm_id text,icd9_code text,short_title text,long_title text) CREATE TABLE nhân_khẩu học(subject_id text,hadm_id text,name text,hôn_nhân_status text,tuổi text,dob text,giới_tính text,ngôn_ngữ text,tôn_giáo text,loại_nhập học text,ngày_ở text,bảo_hiểm text,dân_tộc text,hết hạn cờ text,địa_điểm nhập_học text,vị_trí xuất_viện text,chẩn_đoán text,dod text,dob_year text,dod_year text,thời_gian nhập_học text,thời_gian nhập_viện text,năm nhập_học 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 đơn thuốc(subject_id text,hadm_id text,icustay_id text,drug_type text,drug text,formulary_drug_cd text,route text,drug_dose text)
|
số bệnh nhân có năm nhập viện dưới 2138 và tên xét nghiệm là folate là bao nhiêu?
|
số bệnh_nhân có năm nhập_viện dưới 2138 và tên xét_nghiệm là folate là bao_nhiêu ?
|
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) FROM nhân khẩu học INNER JOIN lab ON nhân khẩu học.hadm id = lab.hadm id WHERE nhân khẩu học.admityear < "2138" AND lab.label = "Folate"
|
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) FROM nhân_khẩu học INNER JOIN lab ON nhân_khẩu học.hadm_id = lab.hadm_id WHERE nhân_khẩu học.admityear <"2138" AND lab.label = "Folate"
|
wikisql
|
CREATE TABLE table 24976("Chọn #" real,"Cầu thủ" text,"Vị trí" text,"Quốc tịch" text,"Đội tuyển NHL" text,"Đội tuyển đại học/cấp dưới/câu lạc bộ" text)
|
CREATE TABLE table_24976("Chọn #" real,"Cầu_thủ" text,"Vị_trí" text,"Quốc_tịch" text,"Đội_tuyển NHL" text,"Đội_tuyển đại_học/cấp dưới/câu_lạc_bộ" text)
|
Có bao nhiêu lựa chọn # cho vị trí thủ môn?
|
Có bao_nhiêu lựa_chọn # cho vị_trí thủ_môn ?
|
SELECT MIN ( "Chọn " ) FROM table 24976 WHERE "Vị trí" = 'Người ghi bàn'
|
SELECT MIN ( "Chọn " ) FROM table_24976 WHERE "Vị_trí" = "Người ghi_bàn"
|
wikisql
|
CREATE TABLE table 19725("Nhân vật" text,"Diễn viên lồng tiếng Pháp" text,"Diễn viên lồng tiếng Ý" text,"Diễn viên lồng tiếng Đức" text,"Diễn viên lồng tiếng Tây Ban Nha" text)
|
CREATE TABLE table_19725("Nhân_vật" text,"Diễn_viên lồng_tiếng Pháp" text,"Diễn_viên lồng_tiếng Ý" text,"Diễn_viên lồng_tiếng Đức" text,"Diễn_viên lồng_tiếng Tây_Ban_Nha" text)
|
Đặt tên nhân vật cho sophie arthuys
|
Đặt tên nhân_vật cho sophie arthuys
|
SELECT "Nhân vật" FROM table 19725 WHERE "Diễn viên lồng tiếng Pháp" = 'Sophie Arthuys'
|
SELECT "Nhân_vật" FROM table_19725 WHERE "Diễn_viên lồng_tiếng Pháp" = "Sophie_Arthuys"
|
wikisql
|
CREATE TABLE table 80081("Chương" real,"Tiếng Trung" text,"Bính âm" text,"Dịch" text,"Chủ đề" text)
|
CREATE TABLE table_80081("Chương" real,"Tiếng_Trung" text,"Bính_âm" text,"Dịch" text,"Chủ_đề" text)
|
Kể tên tổng số chương tiếng Trung của
|
Kể tên tổng_số chương tiếng Trung của
|
SELECT COUNT ( "Chương" ) FROM table 80081 WHERE "Tiếng Trung" = '釋宮'
|
SELECT COUNT ( "Chương" ) FROM table_80081 WHERE "Tiếng_Trung" = "釋宮"
|
advising
|
CREATE TABLE yêu cầu(requirement id int,requirement varchar,college varchar) CREATE TABLE Offer instructor(offering instructor id int,offering id int,instructor id int) CREATE TABLE sinh viên(student id int,họ varchar,firstname varchar,program id int,declare major varchar,total credit int,total gpa float,entered as varchar,admit term int,predicted graduation semester int,degree varchar,minor varchar,internship varchar) CREATE TABLE học kỳ(học kỳ id int,học kỳ varchar,năm int) CREATE TABLE khóa học precondition(pre course id int,course id int) CREATE TABLE giảng viên(instructor id int,name varchar,uniqname varchar) CREATE TABLE jobs(job id int,job title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLEprogram requirement(program id int,category varchar,min credit int,bổ sung req varchar) CREATE TABLE ta(campus job id int,student id int,location varchar) 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 projects varchar,has exams varchar,num reviews int,clarity score int,easiness score int,helpfulness score int) CREATE TABLE chương trình course(program id int,course id int,workload int,category varchar) CREATE TABLE khu vực(course id int,khu vực varchar) CREATE TABLE sinh viên record(student id int,course id int,học kỳ int,lớp varchar,làm thế nào varchar,transfer source varchar,kiếm credit varchar,repeat term varchar,test id varchar) CREATE TABLE comment instructor(instructor id int,student id int,score int,comment text varchar) CREATE TABLE Course tags count(course id int,clear grading int,pop quiz int,group projects int,inspiral int,long lectures int,extra credit int,few tests int,good feedback int,tough tests int,heavy papers int,quan tâm cho students int,bài tập nặng int,tôn trọng int,tham gia int,đọc nhiều int,học sinh khó int,vui nhộn int,sẽ học lại int,bài giảng hay int,không bỏ qua int) CREATE TABLE khóa học offering(offering id int,khóa học int,học kỳ int,số phần int,thời gian bắt đầu time,thời gian kết thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ bảy varchar,chủ nhật varchar,has final project varchar,has final exam varchar,sách giáo khoa varchar,class address varchar,allow audit varchar) CREATE TABLE chương trình(program id int,name varchar,college varchar,introduction varchar) CREATE TABLE gsi(course offering id int,thẻ học sinh int)
|
CREATE TABLE yêu_cầu(requirement_id int,requirement varchar,college varchar) CREATE TABLE Offer_instructor(offering_instructor_id int,offering_id int,instructor_id int) CREATE TABLE sinh_viên(student_id int,họ varchar,firstname varchar,program_id int,declare_major varchar,total_credit int,total_gpa float,entered_as varchar,admit_term int,predicted_graduation_semester int,degree varchar,minor varchar,internship varchar) CREATE TABLE học_kỳ(học kỳ_id int,học kỳ varchar,năm int) CREATE TABLE khóa học_precondition(pre_course_id int,course_id int) CREATE TABLE giảng_viên(instructor_id int,name varchar,uniqname varchar) CREATE TABLE jobs(job_id int,job_title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLEprogram_requirement(program_id int,category varchar,min_credit int,bổ_sung_req varchar) CREATE TABLE ta(campus_job_id int,student_id int,location varchar) 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_projects varchar,has_exams varchar,num_reviews int,clarity_score int,easiness_score int,helpfulness_score int) CREATE TABLE chương trình_course(program_id int,course_id int,workload int,category varchar) CREATE TABLE khu_vực(course_id int,khu_vực varchar) CREATE TABLE sinh viên_record(student_id int,course_id int,học kỳ int,lớp varchar,làm thế_nào varchar,transfer_source varchar,kiếm_credit varchar,repeat_term varchar,test_id varchar) CREATE TABLE comment_instructor(instructor_id int,student_id int,score int,comment_text varchar) CREATE TABLE Course_tags_count(course_id int,clear_grading int,pop_quiz int,group_projects int,inspiral int,long_lectures int,extra_credit int,few_tests int,good_feedback int,tough_tests int,heavy_papers int,quan_tâm_cho_students int,bài_tập nặng int,tôn_trọng int,tham_gia int,đọc nhiều int,học_sinh khó int,vui nhộn int,sẽ_học lại int,bài giảng hay int,không_bỏ qua int) CREATE TABLE khóa học_offering(offering_id int,khóa học int,học kỳ int,số phần int,thời_gian bắt_đầu time,thời_gian kết_thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ_bảy varchar,chủ_nhật varchar,has_final_project varchar,has_final_exam varchar,sách_giáo_khoa varchar,class_address varchar,allow_audit varchar) CREATE TABLE chương_trình(program_id int,name varchar,college varchar,introduction varchar) CREATE TABLE gsi(course_offering_id int,thẻ học_sinh int)
|
Những lớp học nào Giáo sư George Bornstein sẽ hướng dẫn trong năm tới?
|
Những lớp_học nào Giáo_sư George_Bornstein sẽ hướng_dẫn trong năm tới ?
|
SELECT DISTINCT Course.department,course.name,course.number FROM khóa học,course offering,người hướng dẫn,offering instructor,học kỳ WHERE Course.course id = Course offering.course id AND giảng viên.name LIKE 'George Bornstein' AND chào hàng instructor.instructor id = giảng viên.instructor id AND chào hàng instructor.offering id = khóa học offering.offering id AND học kỳ.semester id = khóa học offering.semester AND ( ( học kỳ.semester = 'FA' AND học kỳ.năm = 2016 ) OR ( học kỳ.học kỳ = 'WN' AND học kỳ.năm = 2017 ) )
|
SELECT DISTINCT Course.department,course.name,course.number FROM khóa_học,course_offering,người hướng_dẫn,offering_instructor,học_kỳ WHERE Course.course_id = Course_offering.course_id AND giảng_viên.name LIKE " George Bornstein " AND chào_hàng_instructor.instructor_id = giảng_viên.instructor_id AND chào_hàng_instructor.offering_id = khóa học_offering.offering_id AND học_kỳ.semester_id = khóa học_offering.semester AND ( ( học_kỳ.semester = "FA" AND học_kỳ.năm = 2016 ) OR ( học_kỳ.học kỳ= "WN" AND học_kỳ.năm = 2017 ) )
|
wikisql
|
CREATE TABLE table 53848("Loài" text,"Chủng" text,"Loại" text,"Cặp cơ bản" real,"Gen" real)
|
CREATE TABLE table_53848("Loài" text,"Chủng" text,"Loại" text,"Cặp cơ_bản" real,"Gen" real)
|
Loại nào có loài không xác định và có ít hơn 367 gen?
|
Loại nào có loài không xác_định và có ít hơn 367 gen ?
|
SELECT "Loại" FROM table 53848 WHERE "Loài" = 'không xác định' AND "Gen" < '367'
|
SELECT "Loại" FROM table_53848 WHERE "Loài" = "không xác_định" AND "Gen" < "367"
|
wikisql
|
CREATE TABLE table 15570("Giải đấu" text,"Thắng" real,"Top-5" real,"Top-10" real,"Top-25" real,"Sự kiện" real,"Cắt làm ra" real)
|
CREATE TABLE table_15570("Giải đấu" text,"Thắng" real,"Top-5" real,"Top-10" real,"Top-25" real,"Sự_kiện" real,"Cắt làm ra" real)
|
Giá trị thấp nhất của Sự kiện là bao nhiêu khi giá trị của Top-5 lớn hơn 1?
|
Giá_trị thấp nhất của Sự_kiện là bao_nhiêu khi giá_trị của Top-5 lớn hơn 1 ?
|
SELECT MIN ( "Sự kiện" ) FROM table 15570 WHERE "Top5" > '1'
|
SELECT MIN ( "Sự_kiện" ) FROM table_15570 WHERE "Top5" > "1"
|
mimic_iii
|
CREATE TABLE đơn thuốc(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 sự kiện đầu ra(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,value number) CREATE TABLE bệnh nhân(row id number,subject id number,giới tính text,dob time,dod time) CREATE TABLE microbiologyevents(row id number,subject id number,hadm id number,charttime time,spec type desc text,org name text) CREATE TABLE thủ tục icd(row id number,subject id number,hadm id number,icd9 code text,charttime time) CREATE TABLE d icd procedures(row id number,icd9 code text,short title text,long title text) CREATE TABLE cost(row id number,subject id number,hadm id number,event type text,event id number,chargetime time,cost number) CREATE TABLE inputevents cv(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,amount number) 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 tuyển sinh(row id number,subject id number,hadm id number,admittime time,dischtime time,admission type text,admission location text,discharge location text,bảo hiểm text,ngôn ngữ text,hôn nhân status text,dân tộc text,tuổi number) CREATE TABLE chẩn đoán icd(row id number,subject id number,hadm id number,icd9 code text,charttime time) CREATE TABLE labevents(row id number,subject id number,hadm id number,itemid number,Charttime time,valuenum number,valueuom text) CREATE TABLE d labitems(row id number,itemid number,label text) CREATE TABLE d icd diagnoses(row id number,icd9 code text,short title text,long title text) 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 items(row id number,itemid number,label text,linksto text) CREATE TABLE chuyển(row id number,subject id number,hadm id number,icustay id number,eventtype text,careunit text,wardid number,intime time,ngoài giờ time)
|
CREATE TABLE đơn thuốc(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 sự_kiện đầu_ra(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,value number) CREATE TABLE bệnh_nhân(row_id number,subject_id number,giới_tính text,dob time,dod time) CREATE TABLE microbiologyevents(row_id number,subject_id number,hadm_id number,charttime time,spec_type_desc text,org_name text) CREATE TABLE thủ_tục_icd(row_id number,subject_id number,hadm_id number,icd9_code text,charttime time) CREATE TABLE d_icd_procedures(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE cost(row_id number,subject_id number,hadm_id number,event_type text,event_id number,chargetime time,cost number) CREATE TABLE inputevents_cv(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,amount number) 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 tuyển_sinh(row_id number,subject_id number,hadm_id number,admittime time,dischtime time,admission_type text,admission_location text,discharge_location text,bảo_hiểm text,ngôn_ngữ text,hôn_nhân_status text,dân_tộc text,tuổi number) CREATE TABLE chẩn_đoán_icd(row_id number,subject_id number,hadm_id number,icd9_code text,charttime time) CREATE TABLE labevents(row_id number,subject_id number,hadm_id number,itemid number,Charttime time,valuenum number,valueuom text) CREATE TABLE d_labitems(row_id number,itemid number,label text) CREATE TABLE d_icd_diagnoses(row_id number,icd9_code text,short_title text,long_title text) 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_items(row_id number,itemid number,label text,linksto text) CREATE TABLE chuyển(row_id number,subject_id number,hadm_id number,icustay_id number,eventtype text,careunit text,wardid number,intime time,ngoài giờ time)
|
là lượng kali của bệnh nhân 51858 được đo lần cuối trong lần khám bệnh hiện tại nhỏ hơn giá trị thứ hai tính đến lần đo cuối cùng trong lần khám bệnh hiện tại.
|
là lượng kali của bệnh_nhân 51858 được đo lần cuối trong lần khám bệnh hiện_tại nhỏ hơn giá_trị thứ hai tính đến lần đo cuối_cùng trong lần khám bệnh hiện_tại .
|
SELECT ( SELECT labevents.valuenum FROM labevents WHERE labevents.hadm id IN ( SELECT tuyển sinh.hadm id FROM tuyển sinh WHERE tuyển sinh.subject id = 51858 AND tuyển sinh.dischtime IS NULL ) AND labevents.itemid IN ( SELECT d labitems.itemid FROM d labitems WHERE d labitems.label = 'kali' ) ORDER BY labevents.charttime DESC LIMIT 1 ) < ( SELECT labevents.valuenum FROM labevents WHERE labevents.hadm id IN ( SELECT tuyển sinh.hadm id FROM tuyển sinh WHERE tuyển sinh.subject id = 51858 AND tuyển sinh.dischtime IS NULL ) AND labevents.itemid IN ( SELECT d labitems.itemid FROM d labitems WHERE d labitems.label = 'kali ' ) ORDER BY labevents.charttime DESC LIMIT 1 OFF SET 1 )
|
SELECT ( SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN ( SELECT tuyển_sinh.hadm_id FROM tuyển_sinh WHERE tuyển_sinh.subject_id = 51858 AND tuyển sinh.dischtime IS NULL ) AND labevents.itemid IN ( SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = "kali" ) ORDER BY labevents.charttime DESC LIMIT 1 ) < ( SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN ( SELECT tuyển_sinh.hadm_id FROM tuyển_sinh WHERE tuyển_sinh.subject_id = 51858 AND tuyển sinh.dischtime IS NULL ) AND labevents.itemid IN ( SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = "kali" ) ORDER BY labevents.charttime DESC LIMIT 1 OFF SET 1 )
|
sede
|
CREATE TABLE Huy hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLicen text) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE Users(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,Url trang web text,Vị trí text,Giới thiệu về tôi text,Lượt xem number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE PostWithDeleted(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLince text) CREATE TABLE SuggestedEdits(Id number,PostId number,CreationDate time,ApprovalDate time,Ngày từ chối time,OwnerUserId number,Nhận xét text,Text text,Tiêu đề text,Thẻ text,RevisionGUID khác) CREATE TABLE Nhận xét(Id number,PostId number,Điểm number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince 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) CREATE TABLE PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body text,IsHidden boolean,Được xác định trước boolean,PostNoticeDurationId number) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Score number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,Ngày tạo time,Ngày xóa time,Ngày hết hạn time,Nội dung text,OwnerUserId number,DeletionUserId number) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,InputTitle text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,ApprovalDate time,ApprovalModeratorId number,DeactivationDate time,DeactivationModeratorId number) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,Giấy phép Nội dung text) CREATE TABLE PostTags(PostId number,TagId number)
|
CREATE TABLE Huy_hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLicen text) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE Users(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,Url trang_web text,Vị_trí text,Giới_thiệu về tôi text,Lượt xem number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE PostWithDeleted(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLince text) CREATE TABLE SuggestedEdits(Id number,PostId number,CreationDate time,ApprovalDate time,Ngày từ_chối time,OwnerUserId number,Nhận_xét text,Text text,Tiêu_đề text,Thẻ text,RevisionGUID khác) CREATE TABLE Nhận_xét(Id number,PostId number,Điểm number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince 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) CREATE TABLE PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body text,IsHidden boolean,Được xác_định trước boolean,PostNoticeDurationId number) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Score number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,Ngày tạo time,Ngày xóa time,Ngày hết hạn time,Nội_dung text,OwnerUserId number,DeletionUserId number) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,InputTitle text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,ApprovalDate time,ApprovalModeratorId number,DeactivationDate time,DeactivationModeratorId number) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,Giấy_phép Nội_dung text) CREATE TABLE PostTags(PostId number,TagId number)
|
Oracle PL/SQL hàng đầu từ Ấn Độ.
|
Oracle PL / SQL hàng_đầu từ Ấn_Độ .
|
SELECT DisplayName, COUNT ( * ) AS UpVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Bài viết ON Post.ParentId = PostTags.PostId INNER JOIN Phiếu bầu ON Phiếu bầu.PostId = Bài viết.Id AND VoteTypeId = 2 INNER JOIN Người dùng ON Bài viết.OwnerUserId = Users.Id WHERE ( TagName LIKE 'java' ) AND LOWER ( Location ) LIKE 'india ' GROUP BY Tên hiển thị ORDER BY UpVotes DESC
|
SELECT DisplayName, COUNT ( * ) AS UpVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Bài viết ON Post.ParentId = PostTags.PostId INNER JOIN Phiếu bầu ON Phiếu bầu.PostId = Bài viết.Id AND VoteTypeId = 2 INNER JOIN Người dùng ON Bài viết.OwnerUserId = Users.Id WHERE ( TagName LIKE " java " ) AND LOWER ( Location ) LIKE " india " GROUP BY Tên hiển_thị ORDER BY UpVotes DESC
|
wikisql
|
CREATE TABLE table 59394("Tần số" real,"Callsign" text,"Thương hiệu" text,"Thành phố được cấp phép" text,"Loại" text)
|
CREATE TABLE table_59394("Tần_số" real,"Callsign" text,"Thương_hiệu" text,"Thành_phố được cấp phép" text,"Loại" text)
|
Thành phố được cấp phép là gì khi Tần suất lớn hơn 1380?
|
Thành_phố được cấp phép là gì khi Tần_suất lớn hơn 1380 ?
|
SELECT "Thành phố được cấp phép" FROM table 59394 WHERE "Tần số" > '1380'
|
SELECT "Thành_phố được cấp phép" FROM table_59394 WHERE "Tần_số" > "1380"
|
sql_create_context
|
CREATE TABLE table name 26(đội khách VARCHAR,đội nhà VARCHAR)
|
CREATE TABLE table_name_26(đội khách VARCHAR,đội nhà VARCHAR)
|
Tỷ số đội khách ở Hawthorn là bao nhiêu?
|
Tỷ_số đội khách ở Hawthorn là bao_nhiêu ?
|
SELECT đội khách AS điểm FROM tên bảng 26 WHERE đội nhà = "táo gai"
|
SELECT đội khách AS điểm FROM tên_bảng_26 WHERE đội_nhà = "táo_gai"
|
advising
|
CREATE TABLE ta(campus job id int,student id int,location varchar) CREATE TABLE gsi(course offering id int,student id int) CREATE TABLE học kỳ(semester id int,semester varchar,year int) CREATE TABLE giảng viên(instructor id int,name varchar,uniqname varchar) CREATE TABLE Course precondition(pre course id int,course id int) 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 projects varchar,has exams varchar,num reviews int,clarity score int,điểm dễ dùng int,điểm trợ giúp int) CREATE TABLE khóa học offering(offering id int,course id int,học kỳ int,số phần int,thời gian bắt đầu time,thời gian kết thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ bảy varchar,chủ nhật varchar,has final project varchar,has final exam varchar,sách giáo khoa varchar,class address varchar,allow audit varchar) CREATE TABLE sinh viên(student id int,lastname varchar,firstname varchar,program id int,declare major varchar,total credit int,total gpa float,entered as varchar,admit term int,predicted graduation semester int,bằng cấp varchar,nhỏ varchar,thực tập varchar) CREATE TABLE chương trình khóa học(program id int,course id int,workload int,category varchar) CREATE TABLE chào instructor(offering instructor id int,offering id int,instructor id int) CREATE TABLE require(requirement id int,requirement varchar,college varchar) CREATE TABLE comment instructor(instructor id int,student id int,score int,comment text varchar) CREATE TABLEprogram(program id int,name varchar,college varchar,introduction varchar) CREATE TABLE việc làm(job id int,job title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLE khu vực(khóa học id int,khu vực varchar) CREATE TABLE Course tags count(course id int,clear grading int,pop quiz int,group projects int,inspiral int,long lectures int,extra credit int,few tests int,good feedback int,tough tests int,heavy papers int,quan tâm cho học sinh int,bài tập nặng int,tôn trọng int,tham gia int,đọc nhiều int,học sinh khó int,vui nhộn int,sẽ làm lại int,bài giảng hay int,không bỏ qua int) CREATE TABLE chương trình requirement(program id int,category varchar,min credit int,extra req varchar) CREATE TABLE sinh viên record(student id int,course id int,semester int,grade varchar,how varchar,transfer source varchar,earn credit varchar,repeat term varchar,id id varchar)
|
CREATE TABLE ta(campus_job_id int,student_id int,location varchar) CREATE TABLE gsi(course_offering_id int,student_id int) CREATE TABLE học_kỳ(semester_id int,semester varchar,year int) CREATE TABLE giảng_viên(instructor_id int,name varchar,uniqname varchar) CREATE TABLE Course_precondition(pre_course_id int,course_id int) 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_projects varchar,has_exams varchar,num_reviews int,clarity_score int,điểm_dễ_dùng int,điểm_trợ giúp int) CREATE TABLE khóa học_offering(offering_id int,course_id int,học kỳ int,số_phần int,thời_gian bắt_đầu time,thời_gian kết_thúc time,thứ hai varchar,thứ ba varchar,thứ tư varchar,thứ năm varchar,thứ sáu varchar,thứ_bảy varchar,chủ_nhật varchar,has_final_project varchar,has_final_exam varchar,sách_giáo_khoa varchar,class_address varchar,allow_audit varchar) CREATE TABLE sinh_viên(student_id int,lastname varchar,firstname varchar,program_id int,declare_major varchar,total_credit int,total_gpa float,entered_as varchar,admit_term int,predicted_graduation_semester int,bằng_cấp varchar,nhỏ varchar,thực_tập varchar) CREATE TABLE chương trình_khóa học(program_id int,course_id int,workload int,category varchar) CREATE TABLE chào_instructor(offering_instructor_id int,offering_id int,instructor_id int) CREATE TABLE require(requirement_id int,requirement varchar,college varchar) CREATE TABLE comment_instructor(instructor_id int,student_id int,score int,comment_text varchar) CREATE TABLEprogram(program_id int,name varchar,college varchar,introduction varchar) CREATE TABLE việc_làm(job_id int,job_title varchar,description varchar,requirement varchar,city varchar,state varchar,country varchar,zip int) CREATE TABLE khu_vực(khóa học_id int,khu_vực varchar) CREATE TABLE Course_tags_count(course_id int,clear_grading int,pop_quiz int,group_projects int,inspiral int,long_lectures int,extra_credit int,few_tests int,good_feedback int,tough_tests int,heavy_papers int,quan_tâm_cho_học sinh int,bài_tập nặng int,tôn_trọng int,tham_gia int,đọc nhiều int,học_sinh khó int,vui nhộn int,sẽ_làm_lại int,bài giảng hay int,không_bỏ qua int) CREATE TABLE chương trình_requirement(program_id int,category varchar,min_credit int,extra_req varchar) CREATE TABLE sinh viên_record(student_id int,course_id int,semester int,grade varchar,how varchar,transfer_source varchar,earn_credit varchar,repeat_term varchar,id_id varchar)
|
Giữa 429 và 311, khóa học nào khó hơn?
|
Giữa 429 và 311 , khóa_học nào khó hơn ?
|
SELECT DISTINCT Course.number FROM Course,program course WHERE ( course.number = 429 OR Course.number = 311 ) AND Course.department = 'EECS' AND program course.course id = Course.course id ORDER BY chương trình course.workload DESC LIMIT 1
|
SELECT DISTINCT Course.number FROM Course,program_course WHERE ( course.number = 429 OR_Course.number = 311 ) AND Course.department = "EECS" AND program_course.course_id = Course.course_id ORDER BY chương trình_course.workload DESC LIMIT 1
|
nvbench
|
CREATE TABLE Customer Addresses(customer id INTEGER,address id INTEGER,date from DATETIME,date to DATETIME) CREATE TABLE Department Store Chain(dept store chain id INTEGER,dept store chain name VARCHAR(80)) CREATE TABLE Khách hàng(customer id INTEGER,Payment method code VARCHAR(10),customer code VARCHAR(20),customer name VARCHAR(80),customer address VARCHAR(255),customer phone VARCHAR(80),customer email VARCHAR(80)) CREATE TABLE Department Stores(dept store id INTEGER,dept store chain id INTEGER,store name VARCHAR(80),store address VARCHAR(255),store phone VARCHAR(80),store email VARCHAR(80)) CREATE TABLE Customer Orders(order id INTEGER,customer id INTEGER,order status code VARCHAR(10),ngày đặt hàng DATETIME) CREATE TABLE Order Items(order item id INTEGER,order id INTEGER,product id INTEGER) CREATE TABLE Sản phẩm(product id INTEGER,product type code VARCHAR(10),product name VARCHAR(80),sản phẩm giá DECIMAL(19,4)) CREATE TABLE Nhân viên(nhân viên id INTEGER,nhân viên giới tính VARCHAR(1),tên nhân viên VARCHAR(80)) CREATE TABLE Nhà cung cấp(nhà cung cấp id INTEGER,tên nhà cung cấp VARCHAR(80),nhà cung cấp điện thoại VARCHAR(80)) CREATE TABLE Phòng ban(department id INTEGER,dept store id INTEGER,department name VARCHAR(80)) CREATE TABLE Địa chỉ(address id INTEGER,address details VARCHAR(255)) CREATE TABLE Staff Department Assignments(staff id INTEGER,department id INTEGER,date signed from DATETIME,job title code VARCHAR(10),date signed to DATETIME) CREATE TABLE Product Suppliers(product id INTEGER,supplier id INTEGER,date supplied from DATETIME,date supplied to DATETIME,total amount purchased VARCHAR(80),total value purchased DECIMAL(19,4)) CREATE TABLENhà cung cấp Địa chỉ(nhà cung cấp id INTEGER,address id INTEGER,date from DATETIME,date to DATETIME)
|
CREATE TABLE Customer_Addresses(customer_id INTEGER,address_id INTEGER,date_from DATETIME,date_to DATETIME) CREATE TABLE Department_Store_Chain(dept_store_chain_id INTEGER,dept_store_chain_name VARCHAR(80)) CREATE TABLE Khách_hàng(customer_id INTEGER,Payment_method_code VARCHAR(10),customer_code VARCHAR(20),customer_name VARCHAR(80),customer_address VARCHAR(255),customer_phone VARCHAR(80),customer_email VARCHAR(80)) CREATE TABLE Department_Stores(dept_store_id INTEGER,dept_store_chain_id INTEGER,store_name VARCHAR(80),store_address VARCHAR(255),store_phone VARCHAR(80),store_email VARCHAR(80)) CREATE TABLE Customer_Orders(order_id INTEGER,customer_id INTEGER,order_status_code VARCHAR(10),ngày_đặt hàng DATETIME) CREATE TABLE Order_Items(order_item_id INTEGER,order_id INTEGER,product_id INTEGER) CREATE TABLE Sản_phẩm(product_id INTEGER,product_type_code VARCHAR(10),product_name VARCHAR(80),sản_phẩm_giá DECIMAL(19,4)) CREATE TABLE Nhân_viên(nhân_viên_id INTEGER,nhân_viên_giới tính VARCHAR(1),tên nhân_viên VARCHAR(80)) CREATE TABLE Nhà cung_cấp(nhà cung_cấp_id INTEGER,tên_nhà cung_cấp VARCHAR(80),nhà_cung cấp_điện_thoại VARCHAR(80)) CREATE TABLE Phòng ban(department_id INTEGER,dept_store_id INTEGER,department_name VARCHAR(80)) CREATE TABLE Địa_chỉ(address_id INTEGER,address_details VARCHAR(255)) CREATE TABLE Staff_Department_Assignments(staff_id INTEGER,department_id INTEGER,date_signed_from DATETIME,job_title_code VARCHAR(10),date_signed_to DATETIME) CREATE TABLE Product_Suppliers(product_id INTEGER,supplier_id INTEGER,date_supplied_from DATETIME,date_supplied_to DATETIME,total_amount_purchased VARCHAR(80),total_value_purchased_DECIMAL(19,4)) CREATE TABLENhà cung_cấp_Địa chỉ(nhà cung_cấp_id INTEGER,address_id INTEGER,date_from DATETIME,date_to DATETIME)
|
Trả về tên và id của khách hàng có TN trong địa chỉ của họ bằng biểu đồ thanh.
|
Trả về tên và id của khách_hàng có TN trong địa_chỉ của họ bằng biểu_đồ thanh .
|
SELECT tên khách hàng,id khách hàng FROM Khách hàng WHERE địa chỉ khách hàng LIKE "TN"
|
SELECT tên_khách hàng,id_khách hàng FROM Khách_hàng WHERE địa chỉ khách_hàng LIKE " TN "
|
sede
|
CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Nhận xét text,Text text,ContentLince text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE Người dùng(Id number,Danh tiếng number,Ngày tạo time,Tên hiển thị text,Ngày truy cập cuối cùng time,Url trang web text,Vị trí text,Giới thiệu về tôi text,Lượt xem number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Mô tả text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE PostWithDeleted(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLicen text) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE Chỉnh sửa được đề xuất(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID other) CREATE TABLE FlagTypes(Id number,Name text,Description text) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Score number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,InputTitle text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,Ngày phê duyệt time,ApprovalModeratorId number,Ngày hủy kích hoạt time,DeactivationModeratorId number) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE Đang chờ xử lýFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLicen text) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Tên text,Nội dung text,IsHidden boolean,Được xác định trước boolean,PostNoticeDurationId number) CREATE TABLE Huy hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) CREATE TABLE PostTypes(Id number,Name text)
|
CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Nhận_xét text,Text text,ContentLince text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE Người dùng(Id number,Danh_tiếng number,Ngày tạo time,Tên hiển_thị text,Ngày truy_cập cuối_cùng time,Url trang_web text,Vị_trí text,Giới_thiệu về tôi text,Lượt xem number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Mô_tả text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE PostWithDeleted(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLicen text) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE Chỉnh_sửa được đề_xuất(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID_other) CREATE TABLE FlagTypes(Id number,Name text,Description text) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Score number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,InputTitle text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,Ngày phê_duyệt time,ApprovalModeratorId number,Ngày hủy_kích hoạt time,DeactivationModeratorId number) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE Đang chờ xử lýFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLicen text) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Tên text,Nội_dung text,IsHidden boolean,Được xác_định trước boolean,PostNoticeDurationId number) CREATE TABLE Huy_hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) CREATE TABLE PostTypes(Id number,Name text)
|
10 thẻ hàng đầu trên SO theo số lượng.
|
10 thẻ hàng_đầu trên SO theo số_lượng .
|
SELECT Tên thẻ,Count FROM Thẻ ORDER BY Count DESC LIMIT 10
|
SELECT Tên thẻ,Count FROM Thẻ ORDER BY Count DESC LIMIT 10
|
sql_create_context
|
CREATE TABLE table name 93(nền tảng VARCHAR,tên VARCHAR,hệ thống VARCHAR,giấy phép VARCHAR)
|
CREATE TABLE table_name_93(nền_tảng VARCHAR,tên VARCHAR,hệ_thống VARCHAR,giấy_phép VARCHAR)
|
nds4droid chạy trên nền tảng nào cho nintendo ds có giấy phép gpl v2?
|
nds4droid chạy trên nền_tảng nào cho nintendo ds có giấy_phép gpl v2 ?
|
SELECT nền tảng FROM table name 93 WHERE system = "nintendo ds" AND license = "gpl v2" AND name = "nds4droid"
|
SELECT nền_tảng FROM table_name_93 WHERE system = "nintendo ds" AND license = "gpl v2" AND name = "nds4droid"
|
wikisql
|
CREATE TABLE table 65909("Xếp hạng" real,"Quốc gia" text,"Vàng" real,"Bạc" real,"Đồng" real,"Tổng" real)
|
CREATE TABLE table_65909("Xếp_hạng" real,"Quốc_gia" text,"Vàng" real,"Bạc" real,"Đồng" real,"Tổng" real)
|
Hy Lạp giành được ít huy chương vàng nhất là bao nhiêu?
|
Hy_Lạp giành được ít huy_chương vàng nhất là bao_nhiêu ?
|
SELECT MIN ( "Vàng" ) FROM table 65909 WHERE "Quốc gia" = 'Hy Lạp'
|
SELECT MIN ( "Vàng" ) FROM table_65909 WHERE "Quốc_gia" = "Hy_Lạp"
|
sql_create_context
|
CREATE TABLE table name 21(raiders first downs VARCHAR,date VARCHAR,raiders points VARCHAR)
|
CREATE TABLE table_name_21(raiders_first_downs VARCHAR,date VARCHAR,raiders_points VARCHAR)
|
Tổng số lần thất bại đầu tiên của Raiders là bao nhiêu khi Ngày là 'ngày 11 tháng 11'? 2' và khi Điểm Raiders lớn hơn 42?
|
Tổng_số lần thất_bại đầu_tiên của Raiders là bao_nhiêu khi Ngày là ' ngày 11 tháng 11 ' ? 2 ' và khi Điểm Raiders lớn hơn 42 ?
|
SELECT COUNT ( raiders first downs ) FROM table name 21 WHERE date = "nov.2" AND Raiders points > 42
|
SELECT COUNT ( raiders_first_downs ) FROM table_name_21 WHERE date = "nov.2" AND Raiders_points > 42
|
squall
|
CREATE TABLE table 204 940(id number,"year" number,"các giải đấu\nđã chơi" number,"cuts\nmade" number,"thắng" number,"thứ 2" number,"thứ 3" number,"top 10" number,"tốt nhất\nkết thúc" text,"thu nhập\n(\u20ac)" number,"tiền\nxếp hạng trong danh sách" number,"ghi điểm\ntrung bình" number,"ghi điểm\nrank" number,"rolex\nxếp hạng" number)
|
CREATE TABLE table_204_940(id number,"year" number,"các giải đấu\nđã chơi" number,"cuts\_nmade" number,"thắng" number,"thứ 2" number,"thứ 3" number,"top 10" number,"tốt nhất\nkết_thúc" text,"thu_nhập\_n(\_u20ac)" number,"tiền\nxếp_hạng trong danh_sách" number,"ghi_điểm\ntrung_bình" number,"ghi_điểm\_nrank" number,"rolex\nxếp hạng" number)
|
Năm nào trong sự nghiệp của tay golf này chứng kiến cô về đích ở vị trí thứ 2 nhiều nhất?
|
Năm nào trong sự_nghiệp của tay golf này chứng_kiến cô về đích ở vị_trí thứ 2 nhiều nhất ?
|
SELECT "năm" FROM bảng 204 940 ORDER BY "thứ 2" DESC LIMIT 1
|
SELECT "năm" FROM bảng_204_940 ORDER BY"thứ 2" DESC LIMIT 1
|
wikisql
|
CREATE TABLE table 72277("Tên" text,"Vị trí" text,"Xe hạng nhẹ" text,"Xe hạng nặng(2 trục)" text,"Xe hạng nặng(3/4 trục)" text,"Xe hạng nặng(5+ trục)" text)
|
CREATE TABLE table_72277("Tên" text,"Vị_trí" text,"Xe hạng nhẹ" text,"Xe hạng nặng(2 trục)" text,"Xe hạng nặng(3/4_trục)" text,"Xe hạng nặng(5 + trục)" text)
|
Tên của quảng trường nơi thu phí xe hạng nặng 2 trục là r87,00 là gì?
|
Tên của quảng_trường nơi thu phí xe hạng nặng 2 trục là r87 , 00 là gì ?
|
SELECT "Tên" FROM table 72277 WHERE "Xe hạng nặng ( 2 trục ) " = 'R87.00'
|
SELECT "Tên" FROM table_72277 WHERE "Xe hạng nặng ( 2 trục ) " = "R87.00"
|
eicu
|
CREATE TABLE Vital Periodic(vital Periodicid number,Patientunitstayid number,nhiệt độ number,sao2 number,nhịp tim number,hô hấp number,systemicsystolic number,systemicdiastolic number,systemicmean number,observationtime time) CREATE TABLE microlab(microlabid number,Patientunitstayid number,culturesite text,organism text,culturetakentime time) CREATE TABLE lượng đầu ra(lượng đầu raid number,BNunitstayid number,cellpath text,celllabel text,cellvaluenumeric number,lượng đầu ra time) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,TreatmentTime time) CREATE TABLE Thuốc(Mid chỉ định number,Patientunitstayid number,Tên thuốc text,Liều lượng text,Routeadmin text,thời gian bắt đầu dùng thuốc time,thời gian ngừng dùng thuốc time) CREATE TABLE dị ứng(dị ứng number,BNunitstayid number,tên thuốc text,tên dị ứng text,thời gian dị ứng time) CREATE TABLE bệnh nhân(uniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới tính text,tuổi text,dân tộc text,mệnh viện number,mã bệnh viện number,chiều cao nhập viện number,cân nặng nhập viện number,cân nặng xuất viện number,thời gian nhập viện time,nguồn nhập viện text,thời gian nhập viện time,thời gian xuất viện time,giờ xuất viện time,trạng thái xuất viện text) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE Diagnostic(diagnosisid number,Patientunitstayid number,diagnosisname text,thời gian chẩn đoán time,icd9code text) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number)
|
CREATE TABLE Vital_Periodic(vital Periodicid number,Patientunitstayid number,nhiệt_độ number,sao2 number,nhịp tim number,hô_hấp number,systemicsystolic number,systemicdiastolic number,systemicmean number,observationtime time) CREATE TABLE microlab(microlabid number,Patientunitstayid number,culturesite text,organism text,culturetakentime time) CREATE TABLE lượng đầu_ra(lượng đầu raid number,BNunitstayid number,cellpath text,celllabel text,cellvaluenumeric number,lượng đầu_ra time) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,TreatmentTime time) CREATE TABLE Thuốc(Mid chỉ_định number,Patientunitstayid number,Tên thuốc text,Liều_lượng text,Routeadmin text,thời_gian bắt_đầu dùng thuốc time,thời_gian ngừng dùng thuốc time) CREATE TABLE dị_ứng(dị_ứng number,BNunitstayid number,tên thuốc text,tên dị_ứng text,thời_gian dị_ứng time) CREATE TABLE bệnh_nhân(uniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới_tính text,tuổi text,dân_tộc text,mệnh_viện number,mã bệnh_viện number,chiều cao nhập_viện number,cân nặng nhập_viện number,cân nặng xuất_viện number,thời_gian nhập_viện time,nguồn nhập_viện text,thời_gian nhập_viện time,thời_gian xuất_viện time,giờ xuất_viện time,trạng_thái xuất_viện text) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time) CREATE TABLE Diagnostic(diagnosisid number,Patientunitstayid number,diagnosisname text,thời_gian chẩn_đoán time,icd9code text) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number)
|
đếm số bệnh nhân được điều trị bằng thuốc chống nôn - đối kháng serotonin trong vòng 2 tháng sau khi họ được điều trị dự phòng loét do stress - thủ thuật pantoprazole cho đến 2 năm trước.
|
đếm số bệnh_nhân được điều_trị bằng thuốc chống nôn - đối_kháng serotonin trong vòng 2 tháng sau khi họ được điều_trị dự_phòng loét do stress - thủ_thuật pantoprazole cho đến 2 năm trước .
|
SELECT COUNT ( DISTINCT t1.uniquepid ) FROM ( SELECT disease.uniquepid,Treatment.Treatmenttime FROM Treatment JOIN Patient ON Treatment.Patientunitstayid = Patient.Patientunitstayid WHERE Treatment.Treatmentname = 'Dự phòng loét do căng thẳng pantoprazole ' AND DATETIME ( điều trị.thời gian điều trị ) <= DATETIME ( CURRENT TIME ( ) ,'2 năm' ) ) AS t1 JOIN ( SELECT bệnh nhân.uniquepid,điều trị.thời gian điều trị FROM điều trị JOIN bệnh nhân ON điều trị.bệnh nhânunitstayid = bệnh nhân.bệnh nhânunitstayid WHERE điều trị.Treatmentname = 'thuốc chống nôn chất đối kháng serotonin' AND DATETIME ( điều trị.thời gian điều trị ) <= DATETIME ( CURRENT TIME ( ) ,'2 năm' ) ) AS t2 WHERE t1.thời gian điều trị < t2.thời gian điều trị AND DATETIME ( t2.thời gian điều trị ) BETWEEN DATETIME ( t1.thời gian điều trị ) AND DATETIME ( t1.thời gian điều trị,'2 tháng' )
|
SELECT COUNT ( DISTINCT t1.uniquepid ) FROM ( SELECT disease.uniquepid,Treatment.Treatmenttime FROM Treatment JOIN Patient ON Treatment.Patientunitstayid = Patient.Patientunitstayid WHERE Treatment.Treatmentname = "Dự_phòng loét do căng_thẳng pantoprazole" AND DATETIME ( điều_trị.thời_gian điều_trị ) <_= DATETIME ( CURRENT_TIME ( ) ," 2 năm" ) ) AS t1 JOIN ( SELECT bệnh_nhân.uniquepid,điều_trị.thời_gian điều_trị FROM điều_trị JOIN bệnh_nhân ON điều_trị.bệnh nhânunitstayid = bệnh_nhân.bệnh nhânunitstayid WHERE điều_trị.Treatmentname = "thuốc chống nôn chất đối_kháng serotonin" AND DATETIME ( điều_trị.thời_gian điều_trị ) <_= DATETIME ( CURRENT_TIME ( ) ," 2 năm" ) ) AS t2 WHERE t1.thời_gian điều_trị <t2.thời_gian điều_trị AND DATETIME ( t2.thời_gian điều_trị ) BETWEEN DATETIME ( t1.thời_gian điều_trị ) AND DATETIME ( t1.thời_gian điều_trị," 2 tháng" )
|
eicu
|
CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,Treatmenttime time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,chi phí number) CREATE TABLE thuốc(mã thuốc number,bệnh nhân đơn vị number,tên thuốc text,liều lượng text,routeadmin text,thời gian bắt đầu dùng thuốc time,thời gian ngừng thuốc time) CREATE TABLE Vital Periodic(vital Periodicid number,bệnh nhân ở lạiid number,nhiệt độ number,sao2 number,nhịp tim number,hô hấp number,tâm thu hệ thống number,tâm trương hệ thống number,trung bình hệ thống number,thời gian quan sát time) CREATE TABLE chẩn đoán(chẩn đoán number,bệnh nhân ở lại number,tên chẩn đoán text,thời gian chẩn đoán time,icd9code text) CREATE TABLE bệnh nhân(uniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới tính text,tuổi text,dân tộc text,hospitalid number,wardid number,chiều cao nhập viện number,cân nặng nhập viện number,cân nặng xuất viện number,thời gian nhập viện time,nguồn tiếp nhận bệnh viện text,thời gian tiếp nhận đơn vị time,thời gian xuất viện của đơn vị time,thời gian xuất viện time,trạng thái nhập viện text) CREATE TABLE microlab(microlabid number,Patientunitstayid number,Culturesite text,sinh vật text,thời gian nuôi cấy time) CREATE TABLE dị ứng(dị ứng number,bệnh nhân đơn vị lưu trú number,tên thuốc text,tên dị ứng text,thời gian dị ứng time) CREATE TABLE đầu ra đầu vào(đầu ra đầu vào number,bệnh nhân đơn vị lưu trú number,cellpath text,celllabel text,cellvaluenumeric number,intakeoutputtime time) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time)
|
CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,Treatmenttime time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,chi_phí number) CREATE TABLE thuốc(mã thuốc number,bệnh_nhân đơn_vị number,tên thuốc text,liều_lượng text,routeadmin text,thời_gian bắt_đầu dùng thuốc time,thời_gian ngừng thuốc time) CREATE TABLE Vital_Periodic(vital Periodicid number,bệnh_nhân ở lạiid number,nhiệt_độ number,sao2 number,nhịp tim number,hô_hấp number,tâm_thu hệ_thống number,tâm_trương hệ_thống number,trung_bình hệ_thống number,thời_gian quan_sát time) CREATE TABLE chẩn_đoán(chẩn_đoán number,bệnh_nhân ở lại number,tên chẩn_đoán text,thời_gian chẩn_đoán time,icd9code text) CREATE TABLE bệnh_nhân(uniquepid text,Patienthealthsystemstayid number,Patientunitstayid number,giới_tính text,tuổi text,dân_tộc text,hospitalid number,wardid number,chiều cao nhập_viện number,cân nặng nhập_viện number,cân nặng xuất_viện number,thời_gian nhập_viện time,nguồn tiếp_nhận bệnh_viện text,thời_gian tiếp_nhận đơn_vị time,thời_gian xuất_viện của đơn_vị time,thời_gian xuất_viện time,trạng_thái nhập_viện text) CREATE TABLE microlab(microlabid number,Patientunitstayid number,Culturesite text,sinh_vật text,thời_gian nuôi_cấy time) CREATE TABLE dị_ứng(dị_ứng number,bệnh_nhân đơn_vị lưu_trú number,tên thuốc text,tên dị_ứng text,thời_gian dị_ứng time) CREATE TABLE đầu_ra đầu_vào(đầu_ra đầu vào number,bệnh_nhân đơn_vị lưu_trú number,cellpath text,celllabel text,cellvaluenumeric number,intakeoutputtime time) CREATE TABLE lab(labid number,Patientunitstayid number,labname text,labresult number,labresulttime time)
|
Thuốc kê đơn cho bệnh nhân 007-8693 trong vòng 2 ngày sau khi được chẩn đoán dùng thuốc an thần là gì?
|
Thuốc kê đơn cho bệnh_nhân 007 - 8693 trong vòng 2 ngày sau khi được chẩn_đoán dùng thuốc an_thần là gì ?
|
SELECT t2.drugname FROM ( SELECT disease.uniquepid,diagnosis.diagnosistime FROM chẩn đoán JOIN bệnh nhân ON chẩn đoán.bệnh nhânunitstayid = bệnh nhân.bệnh nhânunitstayid WHERE bệnh nhân.bệnh nhânhealthsystemstayid IN ( SELECT bệnh nhân.bệnh nhânhealthsystemstayid FROM bệnh nhân WHERE bệnh nhân.uniquepid = '0078693' ) AND chẩn đoán.diagnosisname = 'thuốc an thần' ) AS t1 JOIN ( SELECT bệnh nhân.uniquepid,thuốc.drugname,thuốc.drugstarttime FROM thuốc JOIN bệnh nhân ON thuốc.bệnh nhânunitstayid = bệnh nhân.bệnh nhânunitstayid WHERE bệnh nhân.bệnh nhânhealthsystemstayid IN ( SELECT bệnh nhân.bệnh nhânhealthsystemstayid FROM bệnh nhân WHERE bệnh nhân.uniquepid = '0078693' ) ) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME ( t2.drugstarttime ) BETWEEN DATETIME ( t1.diagnosistime ) AND DATETIME ( t1.diagnosistime,'2 day' )
|
SELECT t2.drugname FROM ( SELECT disease.uniquepid,diagnosis.diagnosistime FROM chẩn_đoán JOIN bệnh_nhân ON chẩn_đoán.bệnh nhânunitstayid = bệnh_nhân.bệnh nhânunitstayid WHERE bệnh_nhân.bệnh nhânhealthsystemstayid IN ( SELECT bệnh_nhân.bệnh nhânhealthsystemstayid FROM bệnh_nhân WHERE bệnh_nhân.uniquepid = "007 8693" ) AND chẩn_đoán.diagnosisname = "thuốc an_thần" ) AS t1 JOIN ( SELECT bệnh_nhân.uniquepid,thuốc.drugname,thuốc.drugstarttime FROM thuốc JOIN bệnh_nhân ON thuốc.bệnh nhânunitstayid = bệnh_nhân.bệnh nhânunitstayid WHERE bệnh_nhân.bệnh nhânhealthsystemstayid IN ( SELECT bệnh_nhân.bệnh nhânhealthsystemstayid FROM bệnh_nhân WHERE bệnh_nhân.uniquepid = "007 8693" ) ) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime <t2.drugstarttime AND DATETIME ( t2.drugstarttime ) BETWEEN DATETIME ( t1.diagnosistime ) AND DATETIME ( t1.diagnosistime," 2 day" )
|
nvbench
|
CREATE TABLE Has amenity(ký túc xá INTEGER,amenid INTEGER) CREATE TABLE Ký túc xá(ký túc xá INTEGER,tên ký túc xá VARCHAR(20),student capacity INTEGER,giới tính VARCHAR(1)) CREATE TABLE Ký túc xá amenity(amenid INTEGER,amenity name VARCHAR(25)) CREATE TABLE Sinh viên(StuID INTEGER,LName VARCHAR(12),Fname VARCHAR(12),Tuổi INTEGER,Giới tính VARCHAR(1),Chuyên ngành INTEGER,Cố vấn INTEGER,city code VARCHAR(3)) CREATE TABLE Lives in(stuid INTEGER,dormid INTEGER,room number INTEGER)
|
CREATE TABLE Has_amenity(ký_túc_xá INTEGER,amenid INTEGER) CREATE TABLE Ký_túc_xá(ký_túc_xá INTEGER,tên ký_túc_xá VARCHAR(20),student_capacity INTEGER,giới_tính VARCHAR(1)) CREATE TABLE Ký_túc_xá_amenity(amenid INTEGER,amenity_name VARCHAR(25)) CREATE TABLE Sinh_viên(StuID INTEGER,LName VARCHAR(12),Fname VARCHAR(12),Tuổi INTEGER,Giới_tính VARCHAR(1),Chuyên_ngành INTEGER,Cố_vấn INTEGER,city_code VARCHAR(3)) CREATE TABLE Lives_in(stuid INTEGER,dormid INTEGER,room_number INTEGER)
|
độ tuổi trung bình của mỗi ký túc xá là bao nhiêu và tên của từng ký túc xá là gì?
|
độ tuổi trung_bình của mỗi ký_túc_xá là bao_nhiêu và tên của từng ký_túc_xá là gì ?
|
SELECT tên ký túc xá, AVG ( T1.Age ) FROM Sinh viên AS T1 JOIN Sống in AS T2 ON T1.stuid = T2.stuid JOIN Ký túc xá AS T3 ON T3.dormid = T2.dormid GROUP T3.ký túc name
|
SELECT tên ký_túc_xá, AVG ( T1.Age ) FROM Sinh_viên AS T1 JOIN Sống_in AS T2 ON T1.stuid = T2.stuid JOIN Ký_túc_xá AS T3 ON T3.dormid = T2.dormid GROUP T3.ký túc_name
|
sql_create_context
|
CREATE TABLE table name 26(thứ hạng VARCHAR,vòng VARCHAR,thứ hạng VARCHAR)
|
CREATE TABLE table_name_26(thứ_hạng VARCHAR,vòng VARCHAR,thứ_hạng VARCHAR)
|
Thứ hạng khi có hơn 107 vòng và chất lượng là 137,825?
|
Thứ_hạng khi có hơn 107 vòng và chất_lượng là 137,825 ?
|
SELECT hạng FROM tên bảng 26 WHERE vòng > 107 AND qual = "137.825"
|
SELECT hạng FROM tên_bảng_26 WHERE vòng > 107 AND qual = "137.825"
|
nvbench
|
CREATE TABLE sự kiện(ID int,Tên text,Sân vận động ID int,Năm text) CREATE TABLE record(ID int,Kết quả text,Swimmer ID int,Event ID int) CREATE TABLE vận động viên bơi lội(ID int,tên text,Quốc tịch text,meter 100 real,meter 200 text,meter 300 text,meter 400 text,meter 500 text,meter 600 text,meter 700 text,Time text) CREATE TABLE sân vận động(ID int,tên text,Sức chứa int,Thành phố text,Quốc gia text,Năm khai trương int)
|
CREATE TABLE sự_kiện(ID int,Tên text,Sân_vận động_ID int,Năm text) CREATE TABLE record(ID int,Kết_quả text,Swimmer_ID int,Event_ID int) CREATE TABLE vận_động_viên bơi_lội(ID int,tên text,Quốc_tịch text,meter_100 real,meter_200 text,meter_300 text,meter_400 text,meter_500 text,meter_600 text,meter_700 text,Time text) CREATE TABLE sân_vận_động(ID int,tên text,Sức chứa int,Thành_phố text,Quốc_gia text,Năm khai_trương int)
|
Hiển thị tổng số id của mỗi quốc tịch, sắp xếp Quốc tịch theo thứ tự mô tả.
|
Hiển_thị tổng_số id của mỗi quốc_tịch , sắp_xếp Quốc_tịch theo thứ_tự mô_tả .
|
SELECT Quốc tịch, SUM ( ID ) FROM vận động viên bơi lội GROUP BY Quốc tịch ORDER BY Quốc tịch DESC
|
SELECT Quốc_tịch, SUM ( ID ) FROM vận_động_viên bơi lội GROUP BY Quốc_tịch ORDER BY Quốc_tịch DESC
|
nvbench
|
CREATE TABLE quốc gia(COUNTRY ID varchar(2),COUNTRY NAME varchar(40),REGION ID decimal(10,0)) CREATE TABLE nhân viên(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),LƯƠNG decimal(8,2),COMMISSION PCT decimal(2,2),MANAGER ID decimal(6,0),DEPARTMENT ID decimal(4,0)) CREATE TABLE khu vực(REGION ID decimal(5,0),REGION NAME varchar(25)) CREATE TABLE job history(EMPLOYEE ID decimal(6,0),START DATE date,END DATE date,JOB ID varchar(10),DEPARTMENT ID decimal(4,0)) CREATE TABLE phòng ban(DEPARTMENT ID decimal(4,0),DEPARTMENT NAME varchar(30),MANAGER ID decimal(6,0),LOCATION ID decimal(4,0)) CREATE TABLE vị trí(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 công việc(JOB ID varchar(10),JOB TITLE varchar(35),MIN SALARY decimal(6,0),MAX SALARY decimal(6,0))
|
CREATE TABLE quốc_gia(COUNTRY_ID varchar(2),COUNTRY_NAME varchar(40),REGION_ID_decimal(10,0)) CREATE TABLE nhân_viên(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),LƯƠNG_decimal(8,2),COMMISSION_PCT_decimal(2,2),MANAGER_ID_decimal(6,0),DEPARTMENT_ID_decimal(4,0)) CREATE TABLE khu_vực(REGION_ID_decimal(5,0),REGION_NAME varchar(25)) CREATE TABLE job_history(EMPLOYEE_ID_decimal(6,0),START_DATE_date,END_DATE_date,JOB_ID varchar(10),DEPARTMENT_ID_decimal(4,0)) CREATE TABLE phòng_ban(DEPARTMENT_ID_decimal(4,0),DEPARTMENT_NAME varchar(30),MANAGER_ID_decimal(6,0),LOCATION_ID_decimal(4,0)) CREATE TABLE vị_trí(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 công_việc(JOB_ID varchar(10),JOB_TITLE varchar(35),MIN_SALARY_decimal(6,0),MAX_SALARY_decimal(6,0))
|
Đối với những nhân viên được thuê trước ngày 21/06/2002, hãy tìm job id và tổng của member id, nhóm theo thuộc tính job id và trực quan hóa chúng bằng biểu đồ thanh, bạn có thể sắp xếp trục x theo thứ tự mô tả không?
|
Đối_với những nhân_viên được thuê trước ngày 21/06/2002 , hãy tìm job_id và tổng của member_id , nhóm theo thuộc_tính job_id và trực_quan hóa chúng bằng biểu_đồ thanh , bạn có_thể sắp_xếp trục x theo thứ_tự mô_tả không ?
|
SELECT JOB ID, SUM ( EMPLOYEE ID ) FROM nhân viên WHERE HIRE DATE < '20020621' GROUP BY JOB ID ORDER BY JOB ID DESC
|
SELECT JOB_ID, SUM ( EMPLOYEE_ID ) FROM nhân_viên WHERE HIRE_DATE < "2002 0621" GROUP BY JOB_ID ORDER BY JOB_ID DESC
|
wikisql
|
CREATE TABLE table 42077("Xếp hạng" real,"Vị trí" text,"Tổng số hành khách" real,"Thay đổi hàng năm" text,"Công suất sử dụng" text)
|
CREATE TABLE table_42077("Xếp_hạng" real,"Vị_trí" text,"Tổng_số hành_khách" real,"Thay_đổi hàng năm" text,"Công_suất sử_dụng" text)
|
Công suất đang sử dụng với mức thay đổi hàng năm là 21,8% là bao nhiêu?
|
Công_suất đang sử_dụng với mức thay_đổi hàng năm là 21,8 % là bao_nhiêu ?
|
SELECT "Công suất sử dụng" FROM table 42077 WHERE "Thay đổi hàng năm" = '21,8'
|
SELECT "Công_suất sử_dụng" FROM table_42077 WHERE "Thay_đổi hàng năm" = "21,8 "
|
wikisql
|
CREATE TABLE table 18108("Quận" text,"Đảng đương nhiệm" text,"Đảng" text,"Bầu chọn lần đầu" real,"Kết quả" text,"Ứng cử viên" text)
|
CREATE TABLE table_18108("Quận" text,"Đảng đương_nhiệm" text,"Đảng" text,"Bầu_chọn lần đầu" real,"Kết_quả" text,"Ứng_cử_viên" text)
|
Bầu đầu tiên thấp nhất là bao nhiêu?
|
Bầu đầu_tiên thấp nhất là bao_nhiêu ?
|
SELECT MIN ( "Được bầu lần đầu" ) FROM table 18108
|
SELECT MIN ( "Được bầu lần đầu" ) FROM table_18108
|
mimicsql_data
|
CREATE TABLE thủ tục(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 nhân khẩu học(subject id text,hadm id text,name text,hôn nhân status text,age text,dob text,giới tính text,ngôn ngữ text,tôn giáo text,loại nhập viện text,ngày ở text,bảo hiểm text,dân tộc text,hết hạn cờ text,vị trí nhập viện text,vị trí xuất viện text,chẩn đoán text,dod text,dob year text,dod year text,thời gian thừa nhận text,dischtime text,admityear text) CREATE TABLE chẩn đoán(subject id text,hadm id text,icd9 code text,short title text,long title text) CREATE TABLE đơn thuốc(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 thủ_tục(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 nhân_khẩu học(subject_id text,hadm_id text,name text,hôn_nhân_status text,age text,dob text,giới_tính text,ngôn_ngữ text,tôn_giáo text,loại_nhập_viện text,ngày_ở text,bảo_hiểm text,dân_tộc text,hết hạn_cờ text,vị trí_nhập_viện text,vị_trí xuất_viện text,chẩn_đoán text,dod text,dob_year text,dod_year text,thời_gian thừa_nhận text,dischtime text,admityear text) CREATE TABLE chẩn_đoán(subject_id text,hadm_id text,icd9_code text,short_title text,long_title text) CREATE TABLE đơn thuốc(subject_id text,hadm_id text,icustay_id text,drug_type text,drug text,formulary_drug_cd text,route text,drug_dose text)
|
cho tôi liều lượng và mã thuốc của bệnh nhân Brian Taylor.
|
cho tôi liều_lượng và mã thuốc của bệnh_nhân Brian_Taylor .
|
SELECT đơn thuốc.formulary drug cd,prescriptions.drug dose FROM nhân khẩu học INNER JOIN đơn thuốc ON nhân khẩu học.hadm id = đơn thuốc.hadm id WHERE nhân khẩu học.name = "Brian Taylor"
|
SELECT đơn thuốc.formulary_drug_cd,prescriptions.drug_dose FROM nhân_khẩu học INNER JOIN đơn thuốc ON nhân_khẩu học.hadm_id = đơn thuốc.hadm_id WHERE nhân_khẩu học.name = "Brian_Taylor"
|
wikisql
|
CREATE TABLE table 1755("Giai đoạn(Người chiến thắng)" text,"Phân loại chung" text,"Phân loại điểm" text,"Phân loại miền núi" text,"Phân loại tay đua trẻ" text,"Phân loại đồng đội" text)
|
CREATE TABLE table_1755("Giai_đoạn(Người chiến_thắng)" text,"Phân_loại chung" text,"Phân_loại điểm" text,"Phân_loại miền núi" text,"Phân_loại tay đua trẻ" text,"Phân_loại đồng_đội" text)
|
Ai là người chiến thắng chặng mà đội được phân loại là Caisse D'epargne?
|
Ai là người chiến_thắng chặng mà đội được phân_loại là Caisse_D'epargne ?
|
SELECT "Giai đoạn ( Người chiến thắng ) " FROM table 1755 WHERE "Phân loại nhóm" = 'Quỹ tiết kiệm'
|
SELECT "Giai_đoạn ( Người chiến_thắng ) " FROM table_1755 WHERE "Phân_loại nhóm" = "Quỹ tiết_kiệm"
|
sede
|
CREATE TABLE Chỉnh sửa được đề xuất(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID other) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Score number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE Huy hiệu(Id number,UserId number,Name text,Date time,Class number,TagBased boolean) CREATE TABLE FlagTypes(Id number,Name text,Description text) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Tên text,Nội dung text,IsHidden boolean,Được xác định trước boolean,PostNoticeDurationId number) CREATE TABLE PostWithDeleted(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLince text) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Điểm number,Số lượt xem number,Nội dung text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLince text) CREATE TABLE Users(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Vị trí text,Giới thiệu về tôi text,Lượt xem number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,InputTitle text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,ApprovalDate time,ApprovalModeratorId number,DeactivationDate time,DeactivationModeratorId number) CREATE TABLE ReviewTaskTypes(Id number,Tên text,Mô tả text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Mô tả text,PostTypeId number) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE PostHistoryTypes(Id number,Tên text) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,ReatedPostId number,LinkTypeId number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Nhận xét text,Text text,ContentLince text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number)
|
CREATE TABLE Chỉnh_sửa được đề_xuất(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID_other) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Score number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE Huy_hiệu(Id number,UserId number,Name text,Date time,Class number,TagBased boolean) CREATE TABLE FlagTypes(Id number,Name text,Description text) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Tên text,Nội_dung text,IsHidden boolean,Được xác_định trước boolean,PostNoticeDurationId number) CREATE TABLE PostWithDeleted(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Score number,ViewCount number,Body text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLince text) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Điểm number,Số lượt xem number,Nội_dung text,OwnerUserId number,OwnerDisplayName text,LastEditorUserId number,LastEditorDisplayName text,LastEditDate time,LastActivityDate time,Title text,Tags text,AnswerCount number,CommentCount number,FavoriteCount number,ClosedDate time,CommunityOwnedDate time,ContentLince text) CREATE TABLE Users(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Vị_trí text,Giới_thiệu về tôi text,Lượt xem number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,InputTitle text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,ApprovalDate time,ApprovalModeratorId number,DeactivationDate time,DeactivationModeratorId number) CREATE TABLE ReviewTaskTypes(Id number,Tên text,Mô_tả text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Mô_tả text,PostTypeId number) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE PostHistoryTypes(Id number,Tên text) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,ReatedPostId number,LinkTypeId number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Nhận_xét text,Text text,ContentLince text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number)
|
Các câu hỏi gần đây có từ cụ thể trong tiêu đề (không phân biệt chữ hoa chữ thường).
|
Các câu hỏi gần đây có từ cụ_thể trong tiêu_đề ( không phân_biệt chữ hoa chữ thường ) .
|
SELECT Id AS "post link",Tiêu đề,OwnerUserId AS "user link",Score,Tags,CreationDate FROM Bài viết WHERE ( PostTypeId = 1 ) AND ( Tiêu đề LIKE 'COLLATEword khẩnORDER' BY Latin1 General CI AI ) DESC LIMIT Id 100
|
SELECT Id AS "post_link",Tiêu_đề,OwnerUserId AS "user_link",Score,Tags,CreationDate FROM Bài viết WHERE ( PostTypeId = 1 ) AND ( Tiêu_đề LIKE " COLLATEword khẩnORDER " BY_Latin1_General_CI_AI ) DESC LIMIT Id _ 100
|
sql_create_context
|
CREATE TABLE table 14778650 1(người sắp xếp VARCHAR,người viết VARCHAR)
|
CREATE TABLE table_14778650_1(người sắp_xếp VARCHAR,người viết VARCHAR)
|
Ai là người dàn dựng ca khúc do Nizar Francis viết?
|
Ai là người dàn dựng ca_khúc do Nizar Francis viết ?
|
SELECT người sắp xếp FROM table 14778650 1 WHERE writer = "Nizar Francis"
|
SELECT người sắp_xếp FROM table_14778650_1 WHERE writer = "Nizar_Francis"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.