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 2068("Vai diễn" text,"Dàn diễn viên chính gốc của Broadway" text,"Dàn diễn viên chính của Broadway" text,"Dàn diễn viên chính gốc của Toronto" text,"Dàn diễn viên gốc Úc trong chuyến lưu diễn quốc gia" text,"Dàn diễn viên chính gốc Úc" text,"Diễn viên gốc West End" text,"Dàn diễn viên West End hiện tại" text,"Dàn diễn viên lưu diễn quốc gia lần thứ hai" text,"Chuyến lưu diễn quốc gia lần thứ hai năm 2" text)
CREATE TABLE table_2068("Vai diễn" text,"Dàn diễn_viên chính gốc của Broadway" text,"Dàn diễn_viên chính của Broadway" text,"Dàn diễn_viên chính gốc của Toronto" text,"Dàn diễn_viên gốc Úc trong chuyến lưu_diễn quốc_gia" text,"Dàn diễn_viên chính gốc Úc" text,"Diễn_viên gốc West_End" text,"Dàn diễn_viên West_End hiện_tại" text,"Dàn diễn_viên lưu_diễn quốc_gia lần thứ hai" text,"Chuyến lưu_diễn quốc_gia lần thứ hai năm 2" text)
Thành viên nào trong dàn diễn viên Toronto ban đầu đã đóng vai nhân vật do Constantine Maroulis thủ vai trong chuyến lưu diễn quốc gia đầu tiên?
Thành_viên nào trong dàn diễn_viên Toronto ban_đầu đã đóng vai nhân_vật do Constantine Maroulis_thủ_vai trong chuyến lưu_diễn quốc_gia đầu_tiên ?
SELECT "Dàn diễn viên gốc Toronto" FROM table 2068 WHERE "Dàn diễn viên lưu diễn quốc gia đầu tiên" = 'Constantine Maroulis'
SELECT "Dàn diễn_viên gốc Toronto" FROM table_2068 WHERE "Dàn diễn_viên lưu_diễn quốc_gia đầu_tiên" = "Constantine_Maroulis"
sql_create_context
CREATE TABLE table 20396 1(cực VARCHAR,điểm VARCHAR)
CREATE TABLE table_20396_1(cực VARCHAR,điểm VARCHAR)
Có bao nhiêu cực có 78 điểm?
Có bao_nhiêu cực có 78 điểm ?
SELECT COUNT ( cực ) FROM bảng 20396 1 WHERE điểm = "78"
SELECT COUNT ( cực ) FROM bảng_20396_1 WHERE điểm = "78"
mimicsql_data
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 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 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 đơ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 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 thủ_tục(subject_id text,hadm_id text,icd9_code text,short_title text,long_title text)
cho tôi số bệnh nhân dưới 50 tuổi được chẩn đoán mã icd9 5849.
cho tôi số bệnh_nhân dưới 50 tuổi được chẩn_đoán mã icd9 5849 .
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) 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.age < "50" AND chẩn đoán.icd9 code = "5849"
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) 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.age <"50" AND chẩn_đoán.icd9_code = "5849"
sql_create_context
CREATE TABLE tên bảng 72(năm INTEGER,quốc gia đại diện VARCHAR)
CREATE TABLE tên_bảng_72(năm INTEGER,quốc_gia_đại diện VARCHAR)
Kết quả mới nhất mà một người từ Philippines giành chiến thắng là gì?
Kết_quả mới nhất mà một người từ Philippines giành chiến_thắng là gì ?
SELECT MAX ( năm ) FROM tên bảng 72 WHERE quốc gia đại diện = "philippines"
SELECT MAX ( năm ) FROM tên_bảng_72 WHERE quốc gia_đại_diện = "philippines"
wikisql
CREATE TABLE table 66546("Vẽ" real,"Bài hát" text,"Ban giám khảo" real,"Televote" real,"Tổng cộng" real,"Địa điểm" text)
CREATE TABLE table_66546("Vẽ" real,"Bài hát" text,"Ban giám_khảo" real,"Televote" real,"Tổng_cộng" real,"Địa_điểm" text)
Tổng số ban giám khảo đứng thứ 2 và tổng số lớn hơn 190 là bao nhiêu?
Tổng_số ban giám_khảo đứng thứ 2 và tổng_số lớn hơn 190 là bao_nhiêu ?
SELECT SUM ( "Ban giám khảo" ) FROM table 66546 WHERE "Vị trí" = 'thứ 2' AND "Tổng cộng" > '190'
SELECT SUM ( "Ban giám_khảo" ) FROM table_66546 WHERE "Vị_trí" = "thứ 2" AND "Tổng_cộng" > "190"
sql_create_context
CREATE TABLE table name 37(race name VARCHAR,Circuit VARCHAR)
CREATE TABLE table_name_37(race_name VARCHAR,Circuit VARCHAR)
Tên của cuộc đua mà vòng đua là Snetterton là gì?
Tên của cuộc đua mà vòng_đua là Snetterton là gì ?
SELECT race name FROM table name 37 WHERE Circuit = "snetterton"
SELECT race_name FROM table_name_37 WHERE Circuit = "snetterton"
sede
CREATE TABLE Đánh giáLý do từ chối(Id number,Tên text,Mô tả text,PostTypeId number) CREATE TABLE Huy hiệu(Id number,UserId number,Tên text,Date time,Lớp number,TagBased boolean) 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,ContentLince text) CREATE TABLE PostTypes(Id number,Name text) 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 SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE FlagTypes(Id number,Tên text,Mô tả text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId 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 ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body text,IsHidden boolean,Preexpected boolean,PostNoticeDurationId number) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,ReservedPostId number,LinkTypeId number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince text) 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 Tags(Id number,TagName text,Countnumber,ExcerptPostId number,WikiPostId 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,Ngày cộng đồng sở hữu time,Giấy phép nội dung text) CREATE TABLE Chỉnh sửa được đề xuất(Id number,PostId number,Ngày tạo time,Ngày phê duyệt time,Ngày từ chối time,OwnerUserId number,Nhận xét text,Text text,Tiêu đề text,Thẻ text,RevisionGUID other) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Nhận xét text) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE Người dùng(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location text,AboutMe text,Views number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Mô tả text) CREATE TABLE Loại phiếu bầu(Id number,Tên text)
CREATE TABLE Đánh_giáLý do từ_chối(Id number,Tên text,Mô_tả text,PostTypeId number) CREATE TABLE Huy_hiệu(Id number,UserId number,Tên text,Date time,Lớp number,TagBased boolean) 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,ContentLince text) CREATE TABLE PostTypes(Id number,Name text) 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 SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE FlagTypes(Id number,Tên text,Mô_tả text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId 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 ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body text,IsHidden boolean,Preexpected boolean,PostNoticeDurationId number) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,ReservedPostId number,LinkTypeId number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince text) 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 Tags(Id number,TagName text,Countnumber,ExcerptPostId number,WikiPostId 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,Ngày cộng_đồng sở_hữu time,Giấy_phép nội_dung text) CREATE TABLE Chỉnh_sửa được đề_xuất(Id number,PostId number,Ngày tạo time,Ngày phê_duyệt time,Ngày từ_chối time,OwnerUserId number,Nhận_xét text,Text text,Tiêu_đề text,Thẻ text,RevisionGUID_other) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Nhận_xét text) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE Người dùng(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location text,AboutMe text,Views number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Mô_tả text) CREATE TABLE Loại phiếu bầu(Id number,Tên text)
Số lượng người dùng riêng biệt đăng câu hỏi về dotnetnuke mỗi tháng.
Số_lượng người dùng riêng_biệt đăng_câu hỏi về dotnetnuke mỗi tháng .
SELECT x.Yr,x.Qr, COUNT ( x.Id ) AS NrPosts FROM ( SELECT p.Id,YEAR ( p.CreationDate ) AS Yr,TIME TO STR ( p.CreationDate,'q' ) AS Qr FROM Bài viết AS p INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE p.CreationDate > ' 20150101' AND t.TagName = 'dotnetnuke' ) AS x GROUP BY x.Yr,x.Qr ORDER BY x.Yr,x.Qr
SELECT x.Yr,x.Qr, COUNT ( x.Id ) AS NrPosts FROM ( SELECT p.Id,YEAR ( p.CreationDate ) AS Yr,TIME_TO_STR ( p.CreationDate," q" ) AS Qr FROM Bài viết AS p INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE p.CreationDate > "2015 0101" AND t.TagName = "dotnetnuke" ) AS x GROUP BY x.Yr,x.Qr ORDER BY x.Yr,x.Qr
wikisql
CREATE TABLE table 14515("Ngày" text,"Đối thủ" text,"Điểm" text,"Thua" text,"Tham dự" text,"Ghi chép" text)
CREATE TABLE table_14515("Ngày" text,"Đối_thủ" text,"Điểm" text,"Thua" text,"Tham_dự" text,"Ghi_chép" text)
Đặt tên cho ngày tham dự bị trì hoãn
Đặt tên cho ngày tham_dự bị trì_hoãn
SELECT "Ngày" FROM table 14515 WHERE "Đi học" = 'hoãn'
SELECT "Ngày" FROM table_14515 WHERE "Đi học" = "hoãn"
squall
CREATE TABLE table 204 650(id number,"mùa" number,"cấp độ" number,"tên" text,"vị trí" text,"quốc tịch" text,"quốc tế\ncaps" number)
CREATE TABLE table_204_650(id number,"mùa" number,"cấp_độ" number,"tên" text,"vị_trí" text,"quốc_tịch" text,"quốc_tế\_ncaps" number)
quốc gia nào có nhiều người được vinh danh là cầu thủ của năm nhất?
quốc_gia nào có nhiều người được vinh_danh là cầu_thủ của năm nhất ?
SELECT "quốc tịch" FROM table 204 650 GROUP BY "quốc tịch" ORDER BY COUNT ( "tên" ) DESC LIMIT 1
SELECT "quốc_tịch" FROM table_204_650 GROUP BY"quốc_tịch" ORDER BY COUNT ( "tên" ) DESC LIMIT 1
wikisql
CREATE TABLE table 48747("Vị trí" text,"Người chơi" text,"Quốc gia" text,"Điểm" text,"Sang bằng" text)
CREATE TABLE table_48747("Vị_trí" text,"Người chơi" text,"Quốc_gia" text,"Điểm" text,"Sang bằng" text)
Cầu thủ đến từ Mỹ ở vị trí T10 với số điểm 67-77=144 là ai?
Cầu_thủ đến từ Mỹ ở vị_trí T10 với số điểm 67-77 = 144 là ai ?
SELECT "Người chơi" FROM table 48747 WHERE "Quốc gia" = 'United States' AND "Place" = 't10' AND "Score" = '6777=144'
SELECT "Người chơi" FROM table_48747 WHERE "Quốc_gia" = "United_States" AND "Place" = "t10" AND "Score" = "6777 = 144"
wikisql
CREATE TABLE table 64017("Xếp hạng" text,"Quốc gia" text,"Vàng" real,"Bạc" real,"Đồng" real,"Tổng" real)
CREATE TABLE table_64017("Xếp_hạng" text,"Quốc_gia" text,"Vàng" real,"Bạc" real,"Đồng" real,"Tổng" real)
Tổng số huy chương đồng của các đội có hơn 0 huy chương bạc và tổng điểm dưới 1 là bao nhiêu?
Tổng_số huy_chương đồng của các đội có hơn 0 huy_chương bạc và tổng_điểm dưới 1 là bao_nhiêu ?
SELECT SUM ( "Đồng" ) FROM table 64017 WHERE "Bạc" > '0' AND "Tổng cộng" < '1'
SELECT SUM ( "Đồng" ) FROM table_64017 WHERE "Bạc" > "0" AND "Tổng_cộng" < "1"
nvbench
CREATE TABLE Musical(Musical ID int,Tên text,Năm int,Giải thưởng text,Danh mục text,Người được đề cử text,Kết quả text) CREATE TABLE diễn viên(Actor ID int,Tên text,Musical ID int,Nhân vật text,Thời lượng text,tuổi int)
CREATE TABLE Musical(Musical_ID int,Tên text,Năm int,Giải_thưởng text,Danh_mục text,Người được đề_cử text,Kết_quả text) CREATE TABLE diễn_viên(Actor_ID int,Tên text,Musical_ID int,Nhân_vật text,Thời_lượng text,tuổi int)
Hiển thị tên của vở nhạc kịch và số lượng diễn viên đã xuất hiện trong vở nhạc kịch. Hiển thị biểu đồ thanh và hiển thị trục Y theo thứ tự tăng dần.
Hiển_thị tên của vở nhạc_kịch và số_lượng diễn_viên đã xuất_hiện trong vở nhạc_kịch . Hiển_thị biểu_đồ thanh và hiển_thị trục_Y theo thứ_tự tăng dần .
SELECT T2.Tên, COUNT ( * ) FROM diễn viên AS T1 JOIN nhạc kịch AS T2 ON T1.Musical ID = T2.Musical ID GROUP BY T1.Musical ID ORDER BY COUNT ( * )
SELECT T2.Tên, COUNT ( * ) FROM diễn_viên AS T1 JOIN nhạc kịch AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID ORDER BY COUNT ( * )
wikisql
CREATE TABLE table 2983("Quốc gia thành viên" text,"Dân số tính bằng nghìn" text,"% dân số EU" text,"Khu vực km 2" real,"% khu vực EU" text,"Dân số.mật độ Người/km 2" text)
CREATE TABLE table_2983("Quốc_gia thành_viên" text,"Dân_số tính bằng nghìn" text,"% dân_số EU" text,"Khu_vực km 2" real,"% khu_vực EU" text,"Dân_số.mật_độ Người/km 2" text)
Thụy Điển có bao nhiêu cư dân trên mỗi kilômét vuông?
Thụy_Điển có bao_nhiêu cư_dân trên mỗi kilômét_vuông ?
SELECT "Mật độ dân sốkm 2" FROM table 2983 WHERE "Quốc gia thành viên" = 'Thụy Điển'
SELECT "Mật_độ dân_sốkm 2" FROM table_2983 WHERE "Quốc_gia thành_viên" = "Thụy_Điển"
wikisql
CREATE TABLE table 73188("Loạt #" real,"Tập #" real,"Tiêu đề" text,"Đạo diễn" text,"Viết bởi" text,"Ngày phát sóng gốc" text)
CREATE TABLE table_73188("Loạt #" real,"Tập_#" real,"Tiêu_đề" text,"Đạo_diễn" text,"Viết bởi" text,"Ngày phát_sóng gốc" text)
Tiêu đề của tập 2 là gì?
Tiêu_đề của tập 2 là gì ?
SELECT "Tiêu đề" FROM table 73188 WHERE "Tập " = '2'
SELECT "Tiêu_đề" FROM table_73188 WHERE "Tập" = "2"
wikisql
CREATE TABLE table 5113("Loạt Ep." text,"Tập" real,"Phân đoạn A" text,"Phân đoạn B" text,"Phân đoạn C" text,"Phân đoạn D" text)
CREATE TABLE table_5113("Loạt Ep." text,"Tập" real,"Phân_đoạn A" text,"Phân_đoạn B" text,"Phân_đoạn C" text,"Phân_đoạn D" text)
Phân đoạn D của tập 20-08 là gì?
Phân_đoạn D của tập 20-08 là gì ?
SELECT "Phân đoạn D" FROM bảng 5113 WHERE "Loạt Ep." = '2008'
SELECT "Phân_đoạn D" FROM bảng_5113 WHERE "Loạt Ep." = "2008"
sql_create_context
CREATE TABLE table name 69(làn INTEGER,tên VARCHAR,time VARCHAR)
CREATE TABLE table_name_69(làn INTEGER,tên VARCHAR,time VARCHAR)
Làn đường thấp nhất với Lorenzo Vismara và thời gian cao hơn 49,67 là bao nhiêu?
Làn đường thấp nhất với Lorenzo_Vismara và thời_gian cao hơn 49,67 là bao_nhiêu ?
SELECT MIN ( lane ) FROM table name 69 WHERE name = "lorenzo vismara" AND time > 49,67
SELECT MIN ( lane ) FROM table_name_69 WHERE name = "lorenzo vismara" AND time > 49,67
wikisql
CREATE TABLE table 9106("Vị trí" real,"Đã chơi" real,"Điểm" real,"Thắng" real,"Hòa" real,"Thua" real,"Bàn thắng" real,"Số bàn thắng vào lưới" real,"Chênh lệch bàn thắng bại" real)
CREATE TABLE table_9106("Vị_trí" real,"Đã chơi" real,"Điểm" real,"Thắng" real,"Hòa" real,"Thua" real,"Bàn_thắng" real,"Số bàn thắng vào lưới" real,"Chênh_lệch bàn thắng_bại" real)
Tỷ số hòa trung bình với ít hơn 3 trận thắng và nhiều hơn 5 điểm là bao nhiêu?
Tỷ_số hòa trung_bình với ít hơn 3 trận thắng và nhiều hơn 5 điểm là bao_nhiêu ?
SELECT AVG ( "Hòa" ) FROM table 9106 WHERE "Thắng" < '3' AND "Điểm" > '5'
SELECT AVG ( "Hòa" ) FROM table_9106 WHERE "Thắng" < "3" AND "Điểm" > "5"
sql_create_context
CREATE TABLE table name 38(năm INTEGER,kết quả VARCHAR,người được đề cử VARCHAR)
CREATE TABLE table_name_38(năm INTEGER,kết_quả VARCHAR,người được đề_cử_ VARCHAR)
Năm gần nhất Neal Baer được đề cử là năm nào và kết quả được đề cử là năm nào?
Năm gần nhất Neal_Baer được đề_cử là năm nào và kết_quả được đề_cử là năm nào ?
SELECT MAX ( năm ) FROM tên bảng 38 WHERE result = "được đề cử" AND được đề cử s = "neal baer"
SELECT MAX ( năm ) FROM tên_bảng_38 WHERE result = "được đề_cử" AND được đề_cử_s = "neal baer"
sql_create_context
CREATE TABLE table name 80(giải đấu VARCHAR)
CREATE TABLE table_name_80(giải đấu VARCHAR)
Năm 2010 nào có giải Úc mở rộng?
Năm 2010 nào có giải_Úc mở_rộng ?
SELECT 2010 FROM table name 80 WHERE giải đấu = "Úc mở rộng"
SELECT 2010 FROM table_name_80 WHERE giải đấu = "Úc mở_rộng"
wikisql
CREATE TABLE table 41628("Tên" text,"Sự nghiệp" text,"Mục tiêu" real,"Số lần xuất hiện" real,"Số bàn thắng/Tỷ lệ trận đấu" real)
CREATE TABLE table_41628("Tên" text,"Sự_nghiệp" text,"Mục_tiêu" real,"Số lần xuất_hiện" real,"Số bàn thắng/Tỷ_lệ trận đấu" real)
Tổng số bàn thắng của Rob Coldray khi anh ra sân ít hơn 348 lần với tỷ lệ bàn thắng/trận nhỏ hơn 0,313 là bao nhiêu?
Tổng_số bàn thắng của Rob_Coldray khi anh ra sân ít hơn 348 lần với tỷ_lệ bàn thắng / trận nhỏ hơn 0,313 là bao_nhiêu ?
SELECT SUM ( "Bàn thắng" ) FROM table 41628 WHERE "Tỷ lệ bàn thắngtrận đấu" < '0,313' AND "Tên" = 'rob coldray' AND "Số lần xuất hiện" < '348'
SELECT SUM ( "Bàn_thắng" ) FROM table_41628 WHERE "Tỷ_lệ bàn thắngtrận đấu" < "0,313" AND "Tên" = "rob coldray" AND "Số lần xuất_hiện" < "348"
sql_create_context
CREATE TABLE table name 66(đã chơi INTEGER,đấu với VARCHAR,thua VARCHAR,chênh lệch VARCHAR)
CREATE TABLE table_name_66(đã chơi INTEGER,đấu với VARCHAR,thua VARCHAR,chênh_lệch VARCHAR)
Trận đấu nào đã chơi cao nhất có Tỷ lệ thua nhỏ hơn 1 và Hiệu số là 6 và Tỷ lệ chống lại lớn hơn 2?
Trận đấu nào đã chơi cao nhất có Tỷ_lệ thua nhỏ hơn 1 và Hiệu_số là 6 và Tỷ_lệ chống lại lớn hơn 2 ?
SELECT MAX ( đã chơi ) FROM tên bảng 66 WHERE thua < 1 AND chênh lệch = "6" AND so với > 2
SELECT MAX ( đã chơi ) FROM tên_bảng_66 WHERE thua < 1 AND chênh_lệch = "6" AND so với > 2
wikisql
CREATE TABLE table 27827("No.in series" real,"No.in season" real,"Tiêu đề" text,"Đạo diễn" text,"Viết bởi" text,"Ngày phát sóng ban đầu" text,"Mã sản xuất" text)
CREATE TABLE table_27827("No.in series" real,"No.in season" real,"Tiêu_đề" text,"Đạo_diễn" text,"Viết bởi" text,"Ngày phát_sóng ban_đầu" text,"Mã_sản_xuất" text)
Con số trong chuỗi các tác phẩm do Win Phelps đạo diễn là bao nhiêu và con số nào trong mùa là 11?
Con_số trong chuỗi các tác_phẩm do Win Phelps đạo_diễn là bao_nhiêu và con_số nào trong mùa là 11 ?
SELECT "No.in series" FROM table 27827 WHERE "Directed by" = 'Win Phelps' AND "No.in season" = '11'
SELECT "No.in series" FROM table_27827 WHERE "Directed_by" = "Win_Phelps" AND "No.in season" = "11"
sql_create_context
CREATE TABLE table 20098199 2(đại diện VARCHAR,tôn giáo VARCHAR,prior background VARCHAR)
CREATE TABLE table_20098199_2(đại_diện VARCHAR,tôn_giáo VARCHAR,prior_background VARCHAR)
Ai có tôn giáo United Methodist và có nền tảng trước đó là Trợ lý Quốc hội?
Ai có tôn_giáo United_Methodist và có nền_tảng trước đó là Trợ_lý Quốc_hội ?
SELECT đại diện FROM table 20098199 2 WHERE tôn giáo = "United Methodist" AND Prior background = "Trợ lý Quốc hội"
SELECT đại_diện FROM table_20098199_2 WHERE tôn_giáo = "United_Methodist" AND Prior_background = "Trợ_lý Quốc_hội"
atis
CREATE TABLE time zone(time zone code text,time zone name text,hours from gmt int) CREATE TABLE Dual carrier(main airline varchar,low flight number int,high flight number int,dual airline varchar,service name text) CREATE TABLE food service(mã bữa ăn text,số bữa ăn int,ngăn text,mô tả bữa ăn varchar) CREATE TABLE chuyến bay leg(flight id int,leg number int,leg flight int) CREATE TABLE date day(month number int,day number int,year int,tên ngày varchar) CREATE TABLE tháng(số tháng int,tên tháng text) CREATE TABLE class of service(booking class varchar,rank int,class description text) CREATE TABLE ngày(days code varchar,day name varchar) CREATE TABLE Equipment sequence(aircraft code sequence varchar,aircraft code varchar) CREATE TABLE Airport(airport code varchar,airport name text,airport location text,state code varchar,country name varchar,time zone code varchar,minimum connect time int) CREATE TABLE time interval(thời gian text,begin time int,end time int) CREATE TABLE ground service(city code text,airport code text,transport type text,ground fare int) CREATE TABLE Airport service(city code varchar,Airport code varchar,miles distant int,hướng varchar,phút xa int) CREATE TABLE máy bay(aircraft code varchar,aircraft description varchar,nhà sản xuất varchar,basic type varchar,động cơ int,động cơ đẩy varchar,wide body varchar,sải cánh int,chiều dài int,trọng lượng int,công suất int,tải trả int,tốc độ bay int,phạm vi dặm int,áp suất varchar) CREATE TABLE chuyến bay fare(flight id int,fare id int) CREATE TABLE chuyến bay stop(flight id int,stop number int,stop days text,stop airport text,arrival time int,arrival airline text,arrival flight number int,departure time int,departure airport text,departure flight number int,stop time int) CREATE TABLE thành phố(city code varchar,city name varchar,state code varchar,country name varchar,time zone code varchar) CREATE TABLE state(state code text,state name text,country name text) CREATE TABLE ngăn class(ngăn varchar,class type varchar) CREATE TABLE giá vé basis(fare basis code text,booking class text,class type text,premium text,economy text,discounted text,night text,season text,basis days text) CREATE TABLE hãng hàng không(airline code varchar,airline name text,note text) CREATE TABLE code description(code varchar,description text) CREATE TABLE chuyến bay(aircraft code sequence text,airline code varchar,airline flight text,arrival time int,nối chuyến int,thời gian khởi hành int,hãng hàng không kép text,ngày bay text,id chuyến bay int,số chuyến bay int,từ sân bay varchar,mã bữa ăn text,điểm dừng int,thời gian đã trôi qua int,đến sân bay varchar) CREATE TABLE giá vé(fare id int,from airport varchar,to airport varchar,fare basis code text,fare airline text,restriction code text,one direction cost int,round trip cost int,round trip required varchar) CREATE TABLE limit(restriction code text,advance purchase int,điểm dừng text,thứ bảy lưu trú bắt buộc text,thời gian lưu trú tối thiểu int,thời gian lưu trú tối đa int,đơn đăng ký text,không giảm giá text)
CREATE TABLE time_zone(time_zone_code text,time_zone_name text,hours_from_gmt int) CREATE TABLE Dual_carrier(main_airline varchar,low_flight_number int,high_flight_number int,dual_airline varchar,service_name text) CREATE TABLE food_service(mã_bữa ăn text,số_bữa ăn int,ngăn text,mô_tả bữa ăn varchar) CREATE TABLE chuyến bay_leg(flight_id int,leg_number int,leg_flight int) CREATE TABLE date_day(month_number int,day_number int,year int,tên_ngày varchar) CREATE TABLE tháng(số_tháng int,tên_tháng text) CREATE TABLE class_of_service(booking_class varchar,rank int,class_description text) CREATE TABLE ngày(days_code varchar,day_name varchar) CREATE TABLE Equipment_sequence(aircraft_code_sequence varchar,aircraft_code varchar) CREATE TABLE Airport(airport_code varchar,airport_name text,airport_location text,state_code varchar,country_name varchar,time_zone_code varchar,minimum_connect_time int) CREATE TABLE time_interval(thời_gian text,begin_time int,end_time int) CREATE TABLE ground_service(city_code text,airport_code text,transport_type text,ground_fare int) CREATE TABLE Airport_service(city_code varchar,Airport_code varchar,miles_distant int,hướng varchar,phút_xa int) CREATE TABLE máy_bay(aircraft_code varchar,aircraft_description varchar,nhà_sản_xuất varchar,basic_type varchar,động_cơ int,động_cơ đẩy varchar,wide_body varchar,sải cánh int,chiều dài int,trọng_lượng int,công_suất int,tải_trả int,tốc_độ bay int,phạm vi_dặm int,áp_suất varchar) CREATE TABLE chuyến bay_fare(flight_id int,fare_id int) CREATE TABLE chuyến bay_stop(flight_id int,stop_number int,stop_days text,stop_airport text,arrival_time int,arrival_airline text,arrival_flight_number int,departure_time int,departure_airport text,departure_flight_number int,stop_time int) CREATE TABLE thành_phố(city_code varchar,city_name varchar,state_code varchar,country_name varchar,time_zone_code varchar) CREATE TABLE state(state_code text,state_name text,country_name text) CREATE TABLE ngăn_class(ngăn varchar,class_type varchar) CREATE TABLE giá vé_basis(fare_basis_code text,booking_class text,class_type text,premium text,economy text,discounted text,night text,season text,basis_days text) CREATE TABLE hãng hàng_không(airline_code varchar,airline_name text,note text) CREATE TABLE code_description(code varchar,description text) CREATE TABLE chuyến bay(aircraft_code_sequence text,airline_code varchar,airline_flight text,arrival_time int,nối chuyến int,thời_gian khởi_hành int,hãng hàng_không kép text,ngày bay text,id chuyến bay int,số chuyến bay int,từ_sân bay varchar,mã_bữa ăn text,điểm dừng int,thời_gian đã trôi qua int,đến_sân bay varchar) CREATE TABLE giá vé(fare_id int,from_airport varchar,to_airport varchar,fare_basis_code text,fare_airline text,restriction_code text,one_direction_cost int,round_trip_cost int,round_trip_required varchar) CREATE TABLE limit(restriction_code text,advance_purchase int,điểm dừng text,thứ bảy_lưu trú_bắt buộc text,thời_gian lưu_trú tối_thiểu int,thời_gian lưu_trú tối_đa int,đơn đăng_ký text,không_giảm giá text)
vận tải mặt đất ở OAKLAND
vận_tải mặt_đất ở OAKLAND
SELECT DISTINCT ground service.transport type FROM city,ground service WHERE city.city name = 'OAKL AND ' AND ground service.city code = city.city code
SELECT DISTINCT ground_service.transport_type FROM city,ground_service WHERE city.city_name = "OAKL AND " AND ground_service.city_code = city.city_code
sql_create_context
CREATE TABLE table name 72(to par VARCHAR,player VARCHAR)
CREATE TABLE table_name_72(to_par VARCHAR,player VARCHAR)
Mệnh giá có Bill Collins là người chơi là gì?
Mệnh_giá có Bill_Collins là người chơi là gì ?
SELECT to par FROM table name 72 WHERE player = "bill collins"
SELECT to_par FROM table_name_72 WHERE player = "bill collins"
spider
CREATE TABLE project staff(staff id number,project id number,role code text,date from time,date to time,other details text) CREATE TABLE Research outcomes(outcome code text,outcome description text) CREATE TABLE tổ chức(tổ chức id number,loại tổ chức text,chi tiết tổ chức text) CREATE TABLE cấp(grant id number,organisation id number,grant amount number,grant start date time,grant end date time,other details text) CREATE TABLE project outcomes(project id number,outcome code text,outcome details text) CREATE TABLE Research staff(staff id number,employer organisation id number,staff details text) CREATE TABLE Staff roles(role code text,role description text) CREATE TABLE document types(document type code text,document description text) CREATE TABLE dự án(project id number,organisation id number,project details text) CREATE TABLE tài liệu(document id number,document type code text,grant id number,sent date time,response received date time,other details text) CREATE TABLE Organisation types(organisation type text,organisation type description text) CREATE TABLE task(task id number,project id number,task details text,ví dụ như đồng ý mục tiêu text)
CREATE TABLE project_staff(staff_id number,project_id number,role_code text,date_from time,date_to time,other_details text) CREATE TABLE Research_outcomes(outcome_code text,outcome_description text) CREATE TABLE tổ_chức(tổ chức_id number,loại_tổ chức text,chi tiết_tổ chức text) CREATE TABLE cấp(grant_id number,organisation_id number,grant_amount number,grant_start_date time,grant_end_date time,other_details text) CREATE TABLE project_outcomes(project_id number,outcome_code text,outcome_details text) CREATE TABLE Research_staff(staff_id number,employer_organisation_id number,staff_details text) CREATE TABLE Staff_roles(role_code text,role_description text) CREATE TABLE document_types(document_type_code text,document_description text) CREATE TABLE dự_án(project_id number,organisation_id number,project_details text) CREATE TABLE tài_liệu(document_id number,document_type_code text,grant_id number,sent_date time,response_received_date time,other_details text) CREATE TABLE Organisation_types(organisation_type text,organisation_type_description text) CREATE TABLE task(task_id number,project_id number,task_details text,ví_dụ như đồng_ý mục_tiêu text)
Dự án nào không có kết quả? Liệt kê chi tiết dự án.
Dự_án nào không có kết_quả ?_Liệt_kê chi_tiết dự_án .
SELECT project details FROM dự án WHERE NOT project id IN ( SELECT project id FROM project outcomes )
SELECT project_details FROM dự_án WHERE NOT project_id IN ( SELECT project_id FROM project_outcomes )
wikisql
CREATE TABLE table 51801("Ngày" text,"Khách" text,"Điểm" text,"Trang chủ" text,"Quyết định" text,"Tham dự" real,"Sê-ri" text)
CREATE TABLE table_51801("Ngày" text,"Khách" text,"Điểm" text,"Trang_chủ" text,"Quyết_định" text,"Tham_dự" real,"Sê-ri" text)
Đám đông kết hợp ở Vancouver vào ngày 22 tháng 5 là gì?
Đám đông kết_hợp ở Vancouver vào ngày 22 tháng 5 là gì ?
SELECT SUM ( "Đi học" ) FROM table 51801 WHERE "Home" = 'vancouver' AND "Date" = '22 tháng 5'
SELECT SUM ( "Đi học" ) FROM table_51801 WHERE "Home" = "vancouver" AND "Date" = "22 tháng 5"
mimicsql_data
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,tên text,tình trạng hôn nhân text,tuổi text,nghề nghiệp 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 flag text,admission location text,discharge location text,diagnosis text,dod text,dob year text,dod year text,admittime text,dischtime text,admityear 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,tên text,tình_trạng hôn_nhân text,tuổi text,nghề_nghiệp 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_flag text,admission_location text,discharge_location text,diagnosis text,dod text,dob_year text,dod_year text,admittime text,dischtime text,admityear text) CREATE TABLE lab(subject_id text,hadm_id text,itemid text,charttime text,flag text,value_unit text,label text,fluid text)
Số bệnh nhân nhập viện dưới 2152 và được chẩn đoán ngắn gọn là suy dinh dưỡng mức độ nhẹ là bao nhiêu?
Số bệnh_nhân nhập_viện dưới 2152 và được chẩn_đoán ngắn_gọn là suy_dinh_dưỡng mức_độ nhẹ là bao_nhiêu ?
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) 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.admityear < "2152" AND chẩn đoán.short title = "Suy dinh dưỡng mức độ nhẹ"
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) 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.admityear <"2152" AND chẩn_đoán.short_title = "Suy_dinh_dưỡng mức_độ nhẹ"
sql_create_context
CREATE TABLE tên bảng 41(vòng INTEGER,chọn VARCHAR)
CREATE TABLE tên_bảng_41(vòng INTEGER,chọn VARCHAR)
Gọi tên tổng của vòng chọn 169
Gọi tên tổng của vòng chọn 169
SELECT SUM ( tròn ) FROM tên bảng 41 WHERE pick = 169
SELECT SUM ( tròn ) FROM tên_bảng_41 WHERE pick = 169
sql_create_context
CREATE TABLE table name 34(kỷ lục VARCHAR,trò chơi VARCHAR,tháng 12 VARCHAR)
CREATE TABLE table_name_34(kỷ_lục VARCHAR,trò_chơi VARCHAR,tháng 12 VARCHAR)
Kỷ lục nào có Trò chơi lớn hơn 32 và Tháng 12 nhỏ hơn 21?
Kỷ_lục nào có Trò_chơi lớn hơn 32 và Tháng 12 nhỏ hơn 21 ?
SELECT kỷ lục FROM tên bảng 34 WHERE trò chơi > 32 AND tháng 12 < 21
SELECT kỷ_lục FROM tên_bảng_34 WHERE trò_chơi > 32 AND tháng 12 < 21
nvbench
CREATE TABLE gas station(Trạm ID int,Open Year int,Location text,Manager Name text,Phó Manager Name text,Tên người đại diện text) CREATE TABLE station company(Trạm ID int,Company ID int,Rank of the Year int) CREATE TABLE công ty(ID công ty int,Xếp hạng int,Công ty text,Trụ sở chính text,Ngành chính text,Doanh số tỷ real,Lợi nhuận tỷ real,Tài sản tỷ real,Giá trị thị trường real)
CREATE TABLE gas_station(Trạm_ID int,Open_Year int,Location text,Manager_Name text,Phó_Manager_Name text,Tên_người đại_diện text) CREATE TABLE station_company(Trạm_ID int,Company_ID int,Rank_of_the_Year int) CREATE TABLE công_ty(ID_công_ty int,Xếp_hạng int,Công_ty text,Trụ_sở chính text,Ngành_chính text,Doanh_số_tỷ real,Lợi nhuận_tỷ real,Tài_sản_tỷ real,Giá_trị thị_trường real)
Tìm thứ hạng của các công ty trong ngành ngân hàng theo doanh thu và lợi nhuận tính bằng tỷ đồng bằng biểu đồ thanh.
Tìm thứ_hạng của các công_ty trong ngành ngân_hàng theo doanh_thu và lợi_nhuận tính bằng tỷ đồng_bằng biểu_đồ thanh .
SELECT Công ty,Xếp hạng FROMcông ty WHERE Ngành chính = 'Ngân hàng' ORDER BY Doanh thu tỷ,Lợi nhuận tỷ
SELECT Công_ty,Xếp_hạng FROM công_ty WHERE Ngành_chính= "Ngân_hàng" ORDER BY Doanh_thu_tỷ,Lợi nhuận_tỷ
wikisql
CREATE TABLE table 65409("Ngày" text,"Internet Explorer" text,"Chrome" text,"Firefox" text,"Safari" text)
CREATE TABLE table_65409("Ngày" text,"Internet Explorer" text,"Chrome" text,"Firefox" text,"Safari" text)
Tỷ lệ firefox và chrome là 25,08% là bao nhiêu?
Tỷ_lệ firefox và chrome là 25,08 % là bao_nhiêu ?
SELECT "Firefox" FROM table 65409 WHERE "Chrome" = '25,08'
SELECT "Firefox" FROM table_65409 WHERE "Chrome" = "25,08 "
sede
CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Điểm number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE Users(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 PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Nội dung text,IsHidden boolean,Được xác định trước boolean,PostNoticeDurationId number) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE Đề xuất chỉnh sửa(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID other) 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 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 Comments(Id number,PostId number,Điểm number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince text) CREATE TABLE PostTypes(Id number,Name 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 Huy hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) 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,ContentLince text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) 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 FlagTypes(Id number,Tên text,Mô tả text)
CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Điểm number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE Users(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 PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Nội_dung text,IsHidden boolean,Được xác_định trước boolean,PostNoticeDurationId number) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE Đề_xuất chỉnh_sửa(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID_other) 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 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 Comments(Id number,PostId number,Điểm number,Text text,CreationDate time,UserDisplayName text,UserId number,ContentLince text) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince text) CREATE TABLE PostTypes(Id number,Name 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 Huy_hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) 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,ContentLince text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) 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 FlagTypes(Id number,Tên text,Mô_tả text)
chọn u.Id riêng biệt, Danh tiếng, Tên hiển thị, Url trang web, Giới thiệu về tôi, Lượt xem từ Người dùng bạn tham gia bên trong.
chọn u . Id riêng_biệt , Danh_tiếng , Tên hiển_thị , Url trang_web , Giới_thiệu về tôi , Lượt xem từ Người dùng bạn tham_gia bên trong .
SELECT DISTINCT u.Id,Reputation,DisplayName,WebsiteUrl,Giới thiệu về tôi,Lượt xem FROM Người dùng AS u INNER JOIN Nhận xét AS c ON c.UserId = u.Id WHERE u.Location LIKE 'new york'
SELECT DISTINCT u.Id,Reputation,DisplayName,WebsiteUrl,Giới_thiệu về tôi,Lượt xem FROM Người dùng AS u INNER JOIN Nhận_xét AS c ON c.UserId =u.Id WHERE u.Location LIKE " new york "
sql_create_context
CREATE TABLE table name 96(gp gs VARCHAR,total points VARCHAR,year VARCHAR)
CREATE TABLE table_name_96(gp_gs VARCHAR,total_points VARCHAR,year VARCHAR)
gp/gs năm 2003 là bao nhiêu khi tổng điểm là 'không chơi'?
gp / gs năm 2003 là bao_nhiêu khi tổng_điểm là ' không chơi ' ?
SELECT gp gs FROM table name 96 WHERE Total points = "không chơi" AND năm = "2003"
SELECT gp_gs FROM table_name_96 WHERE Total_points = "không chơi" AND năm = "2003"
sql_create_context
CREATE TABLE table name 70(bạc INTEGER,vàng VARCHAR,total VARCHAR)
CREATE TABLE table_name_70(bạc INTEGER,vàng VARCHAR,total VARCHAR)
Bạc nào được liệt kê là Bạc cao nhất cũng có Vàng là 4 và Tổng lớn hơn 25?
Bạc nào được liệt_kê là Bạc_cao nhất cũng có Vàng là 4 và Tổng_lớn hơn 25 ?
SELECT MAX ( bạc ) FROM tên bảng 70 WHERE vàng = 4 AND total > 25
SELECT MAX ( bạc ) FROM tên_bảng_70 WHERE vàng = 4 AND total > 25
wikisql
CREATE TABLE table 63533("Câu lạc bộ" text,"Thắng" real,"Thua" real,"Hòa" real,"Thắng" real)
CREATE TABLE table_63533("Câu_lạc_bộ" text,"Thắng" real,"Thua" real,"Hòa" real,"Thắng" real)
Cobden có kết quả hòa ra sao khi có hơn 3 trận thua?
Cobden có kết_quả hòa ra sao khi có hơn 3 trận thua ?
SELECT AVG ( "Hòa" ) FROM table 63533 WHERE "Thua" > '3' AND "Club" = 'cobden'
SELECT AVG ( "Hòa" ) FROM table_63533 WHERE "Thua" > "3" AND "Club" = "cobden"
squall
CREATE TABLE table 204 603(id number,"pos" text,"no" number,"rider" text,"bike" text,"laps" number,"time" text,"grid" number,"điểm" number)
CREATE TABLE table_204_603(id number,"pos" text,"no" number,"rider" text,"bike" text,"laps" number,"time" text,"grid" number,"điểm" number)
tay đua nào về đích đầu tiên?
tay đua nào về đích đầu_tiên ?
SELECT "tay đua" FROM bảng 204 603 WHERE "pos" = 1
SELECT "tay đua" FROM bảng_204_603 WHERE "pos" = 1
sql_create_context
CREATE TABLE table name 56(call sign VARCHAR,erp w INTEGER)
CREATE TABLE table_name_56(call_sign VARCHAR,erp_w INTEGER)
Call Sign là gì khi ERP W lớn hơn 50?
Call Sign là gì khi ERP_W lớn hơn 50 ?
SELECT call sign FROM tên bảng 56 WHERE erp w > 50
SELECT call_sign FROM tên_bảng_56 WHERE erp_w > 50
spider
CREATE TABLE trải qua(bệnh nhân number,thủ tục number,nằm lại number,ngày trải qua time,bác sĩ number,y tá hỗ trợ number) CREATE TABLE thủ tục(mã number,tên text,chi phí number) CREATE TABLE được đào tạo in(bác sĩ number,điều trị number,ngày chứng nhận time,chứng nhận hết hạn time) CREATE TABLE kê đơn(bác sĩ number,bệnh nhân number,thuốc number,date time,cuộc hẹn number,liều text) CREATE TABLE thuốc(mã number,tên text,nhãn hiệu text,mô tả text) CREATE TABLE phòng(số phòng number,loại phòng text,sàn nhà number,mã khối number,không có sẵn boolean) CREATE TABLE bệnh nhân(ssn number,tên text,địa chỉ text,điện thoại text,mã bảo hiểm number,pcp number) CREATE TABLE khoa(mã khoa number,tên text,đầu number) CREATE TABLE liên kết với(bác sĩ number,bộ phận number,cơ quan chính boolean) CREATE TABLE block(blockfloor number,blockcode number) CREATE TABLE bác sĩ(nhân viên number,tên text,chức vụ text,ssn number) CREATE TABLE ở lại(ở lại number,bệnh nhân number,phòng number,ở lại time,ở lại time) CREATE TABLE on call(y tá number,blockfloor number,blockcode number,oncallstart time,oncallend time) CREATE TABLE y tá(nhân viên number,tên text,chức vụ text,đã đăng ký boolean,ssn number) CREATE TABLE cuộc hẹn(mã cuộc hẹn number,bệnh nhân number,điều dưỡng chuẩn bị number,bác sĩ number,bắt đầu time,end time,phòng thi text)
CREATE TABLE trải qua(bệnh_nhân number,thủ_tục number,nằm lại number,ngày trải qua time,bác_sĩ number,y_tá hỗ_trợ number) CREATE TABLE thủ_tục(mã number,tên text,chi_phí number) CREATE TABLE được đào tạo_in(bác_sĩ number,điều_trị number,ngày chứng_nhận time,chứng_nhận hết hạn time) CREATE TABLE kê đơn(bác_sĩ number,bệnh_nhân number,thuốc number,date time,cuộc hẹn number,liều text) CREATE TABLE thuốc(mã number,tên text,nhãn_hiệu text,mô_tả text) CREATE TABLE phòng(số phòng number,loại phòng text,sàn nhà number,mã khối number,không có sẵn boolean) CREATE TABLE bệnh_nhân(ssn number,tên text,địa_chỉ text,điện_thoại text,mã bảo_hiểm number,pcp number) CREATE TABLE khoa(mã_khoa number,tên text,đầu number) CREATE TABLE liên_kết_với(bác_sĩ number,bộ_phận number,cơ_quan chính boolean) CREATE TABLE block(blockfloor number,blockcode number) CREATE TABLE bác_sĩ(nhân_viên number,tên text,chức_vụ text,ssn number) CREATE TABLE ở lại(ở lại number,bệnh_nhân number,phòng number,ở lại time,ở lại time) CREATE TABLE on_call(y_tá number,blockfloor number,blockcode number,oncallstart time,oncallend time) CREATE TABLE y_tá(nhân_viên number,tên text,chức_vụ text,đã đăng_ký boolean,ssn number) CREATE TABLE cuộc hẹn(mã cuộc hẹn number,bệnh_nhân number,điều_dưỡng chuẩn_bị number,bác_sĩ number,bắt_đầu time,end time,phòng thi text)
Tên của các bác sĩ kê đơn thuốc Thesisin là gì?
Tên của các bác_sĩ kê đơn thuốc Thes_isin là gì ?
SELECT DISTINCT T1.name FROM bác sĩ AS T1 JOIN kê đơn AS T2 ON T1.employeeid = T2.bác sĩ JOIN thuốc AS T3 ON T3.code = T2.thuốc WHERE T3.name =" Luận văn"
SELECT DISTINCT T1.name FROM bác_sĩ AS T1 JOIN kê đơn AS T2 ON T1.employeeid = T2.bác_sĩ JOIN thuốc AS T3 ON T3.code = T2.thuốc WHERE T3.name = "Luận_văn"
sede
CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Điểm number,ViewCount 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 Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Mô tả text) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE Người dùng(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location text,AboutMe text,Views number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body 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,ContentLicen text) 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 PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince text) CREATE TABLE VoteTypes(Id number,Tên text) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description 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 Đề xuấtChỉnh sửa(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID other) 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 ReviewTaskStates(Id number,Tên text,Mô tả text) CREATE TABLE CloseReasonTypes(Id number,Tên text,Mô tả text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Nhận xét text) CREATE TABLE Nhận xét(Id number,PostId number,Điểm number,Text text,Ngày tạo time,Tên hiển thị người dùng text,UserId number,Giấy phép nội dung text) CREATE TABLE Nhiệm vụ đánh giá(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text)
CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE Bài viết(Id number,PostTypeId number,AcceptedAnswerId number,ParentId number,CreationDate time,DeletionDate time,Điểm number,ViewCount 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 Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Mô_tả text) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE Người dùng(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location text,AboutMe text,Views number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body 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,ContentLicen text) 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 PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince text) CREATE TABLE VoteTypes(Id number,Tên text) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description 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 Đề_xuấtChỉnh sửa(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Title text,Tags text,RevisionGUID_other) 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 ReviewTaskStates(Id number,Tên text,Mô_tả text) CREATE TABLE CloseReasonTypes(Id number,Tên text,Mô_tả text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Nhận_xét text) CREATE TABLE Nhận_xét(Id number,PostId number,Điểm number,Text text,Ngày tạo time,Tên hiển_thị người dùng text,UserId number,Giấy_phép nội_dung text) CREATE TABLE Nhiệm_vụ đánh_giá(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text)
Huy hiệu đồng cho Ruby ở London.
Huy_hiệu đồng cho Ruby ở London .
SELECT ROW NUMBER ( ) OVER ( ORDER BY Danh tiếng DESC ) AS "",Users.Id AS "user link",Danh tiếng,Vị trí FROM Người dùng,Huy hiệu WHERE Users.Id = Badges.UserId AND Badges.Class = 3 AND Badges.TagBased = 1 AND Badges.Name = 'ruby' AND LOWER ( Users.Location ) LIKE LOWER ( 'London' ) ORDER BY Danh tiếng DESC
SELECT ROW_NUMBER ( ) OVER ( ORDER BY Danh_tiếng DESC ) AS"",Users.Id AS "user_link",Danh_tiếng,Vị_trí FROM Người dùng,Huy_hiệu WHERE Users.Id = Badges.UserId AND Badges.Class = 3 AND Badges.TagBased = 1 AND Badges.Name = "ruby" AND LOWER ( Users.Location ) LIKE LOWER ( " London " ) ORDER BY Danh_tiếng DESC
sql_create_context
CREATE TABLE table name 66(thành phố VARCHAR,tòa nhà VARCHAR)
CREATE TABLE table_name_66(thành_phố VARCHAR,tòa nhà VARCHAR)
Thành phố nào có Telus Plaza South?
Thành_phố nào có Telus_Plaza South ?
SELECT thành phố FROM table name 66 WHERE tòa nhà = "telus Plaza south"
SELECT thành_phố FROM table_name_66 WHERE tòa nhà = "telus Plaza_south"
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 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 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 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 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 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)
Có bao nhiêu bệnh nhân được chẩn đoán mắc chứng tăng thính lực đã được xét nghiệm khí máu trong phòng thí nghiệm?
Có bao_nhiêu bệnh_nhân được chẩn_đoán mắc_chứng tăng thính_lực đã được xét_nghiệm khí máu trong phòng_thí_nghiệm ?
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) 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 INNER JOIN lab ON nhân khẩu học.hadm id = lab.hadm id WHERE chẩn đoán.long title = "Hyperacusis" AND lab."CATEGORY" = "Khí máu"
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) 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 INNER JOIN lab ON nhân_khẩu học.hadm_id = lab.hadm_id WHERE chẩn_đoán.long_title = "Hyperacusis" AND lab."CATEGORY" = "Khí máu"
wikisql
CREATE TABLE table 41123("Xếp hạng" real,"Thành phố" text,"Dân số(Điều tra dân số năm 2010)" real,"Dân số(Điều tra dân số năm 2005)" real,"Dân số(Điều tra dân số năm 2000)" real)
CREATE TABLE table_41123("Xếp_hạng" real,"Thành_phố" text,"Dân_số(Điều_tra dân_số năm 2010)" real,"Dân_số(Điều_tra dân_số năm 2005)" real,"Dân_số(Điều_tra dân_số năm 2000)" real)
Dân số thấp nhất (Điều tra dân số năm 2010) có thứ hạng nhỏ hơn 45, đô thị gimpo và dân số (Điều tra dân số năm 2000) lớn hơn 117.594 là bao nhiêu?
Dân_số thấp nhất ( Điều_tra dân_số năm 2010 ) có thứ_hạng nhỏ hơn 45 , đô_thị gimpo và dân_số ( Điều_tra dân_số năm 2000 ) lớn hơn 117.594 là bao_nhiêu ?
SELECT MIN ( "Dân số ( Điều tra dân số năm 2010 ) " ) FROM table 41123 WHERE "Dân số ( Điều tra dân số năm 2000 ) " > '117.594' AND "Thành phố" = 'gimpo' AND "Xếp hạng" < '45'
SELECT MIN ( "Dân_số ( Điều_tra dân_số năm 2010 ) " ) FROM table_41123 WHERE "Dân_số ( Điều_tra dân_số năm 2000 ) " > "117.594"_ AND "Thành_phố" = "gimpo" AND "Xếp_hạng" < "45"
sql_create_context
CREATE TABLE bảng 20754016 2(chiều cao cm VARCHAR,quốc gia VARCHAR)
CREATE TABLE bảng_20754016_2(chiều cao__cm_ VARCHAR,quốc_gia VARCHAR)
Thí sinh đến từ Guatemala cao bao nhiêu?
Thí_sinh đến từ Guatemala cao bao_nhiêu ?
SELECT chiều cao cm FROM bảng 20754016 2 WHERE quốc gia = "Guatemala"
SELECT chiều cao__cm FROM bảng_20754016_2 WHERE quốc_gia = "Guatemala"
sql_create_context
CREATE TABLE table 15652027 1(lạm dụng tình dục 1 INTEGER,conflict VARCHAR)
CREATE TABLE table_15652027_1(lạm_dụng_tình dục_1 INTEGER,conflict VARCHAR)
Tỷ lệ lạm dụng tình dục ở nơi xảy ra xung đột là Nội chiến Burundi là bao nhiêu?
Tỷ_lệ lạm_dụng tình_dục ở nơi xảy ra xung_đột là Nội_chiến_Burundi là bao_nhiêu ?
SELECT MIN ( lạm dụng tình dục 1 ) FROM table 15652027 1 WHERE conflict = "Nội chiến Burundi"
SELECT MIN ( lạm_dụng_tình dục_1 ) FROM table_15652027_1 WHERE conflict = "Nội_chiến_Burundi"
nvbench
CREATE TABLE Ref Locations(Location Code CHAR(15),Location Name VARCHAR(255),Location Description VARCHAR(255)) CREATE TABLE Documents to be Destroyed(Document ID INTEGER,Destruction Authorised by Employee ID INTEGER,Destroyed by Employee ID INTEGER,Planned Destruction Date DATETIME,Actual Destruction Ngày DATETIME,Other Details VARCHAR(255)) CREATE TABLE Nhân viên(ID nhân viên INTEGER,Mã vai CHAR(15),Tên nhân viên VARCHAR(255),Gender MFU CHAR(1),Ngày sinh DATETIME,Other Details VARCHAR(255)) CREATE TABLE Ref Calendar(Calendar Date DATETIME,Day Number INTEGER) CREATE TABLE Vai trò(Role Code CHAR(15),Role Name VARCHAR(255),Role Description VARCHAR(255)) CREATE TABLE Ref Document Types(Document Type Code CHAR(15),Document Type Name VARCHAR(255),Document Type Description VARCHAR(255)) CREATE TABLE Document Locations(Document ID INTEGER,Location Code CHAR(15),Date in Location From DATETIME,Date in Locaton To DATETIME) CREATE TABLE All Documents(Document ID INTEGER,Date Stored DATETIME,Document Type Code CHAR(15),Document Name CHAR(255),Document Description CHAR(255),Other Details VARCHAR(255))
CREATE TABLE Ref_Locations(Location_Code_CHAR(15),Location_Name VARCHAR(255),Location_Description VARCHAR(255)) CREATE TABLE Documents_to_be_Destroyed(Document_ID INTEGER,Destruction_Authorised_by_Employee_ID INTEGER,Destroyed_by_Employee_ID INTEGER,Planned_Destruction_Date DATETIME,Actual_Destruction _Ngày DATETIME,Other_Details VARCHAR(255)) CREATE TABLE Nhân_viên(ID_nhân_viên INTEGER,Mã_vai_CHAR(15),Tên nhân_viên VARCHAR(255),Gender_MFU_CHAR(1),Ngày_sinh DATETIME,Other_Details VARCHAR(255)) CREATE TABLE Ref_Calendar(Calendar_Date DATETIME,Day_Number INTEGER) CREATE TABLE Vai_trò(Role_Code_CHAR(15),Role_Name VARCHAR(255),Role_Description VARCHAR(255)) CREATE TABLE Ref_Document_Types(Document_Type_Code_CHAR(15),Document_Type_Name VARCHAR(255),Document_Type_Description VARCHAR(255)) CREATE TABLE Document_Locations(Document_ID INTEGER,Location_Code_CHAR(15),Date_in_Location_From DATETIME,Date_in_Locaton_To DATETIME) CREATE TABLE All_Documents(Document_ID INTEGER,Date_Stored DATETIME,Document_Type_Code_CHAR(15),Document_Name_CHAR(255),Document_Description_CHAR(255),Other_Details VARCHAR(255))
Mã của từng vai trò là gì và số lượng nhân viên trong mỗi vai trò Vui lòng hiển thị biểu đồ thanh và sắp xếp theo trục y trong mô tả.
Mã của từng vai_trò là gì và số_lượng nhân_viên trong mỗi vai_trò Vui_lòng hiển_thị biểu_đồ thanh và sắp_xếp theo trục_y trong mô_tả .
SELECT Mã vai trò, COUNT ( * ) FROM Nhân viên GROUP BY Mã vai trò ORDER BY COUNT ( * ) DESC
SELECT Mã_vai_trò, COUNT ( * ) FROM Nhân_viên GROUP BY Mã_vai_trò ORDER BY COUNT ( * ) DESC
wikisql
CREATE TABLE table 76366("Nguồn thăm dò" text,"Ngày quản lý" text,"Arlen Spectre*" text,"Pat Toomey" text,"Tom Ridge*" text,"Peg Luksik" text)
CREATE TABLE table_76366("Nguồn thăm_dò" text,"Ngày quản_lý" text,"Arlen_Spectre *" text,"Pat_Toomey" text,"Tom_Ridge *" text,"Peg_Luksik" text)
Tom Ridge* nào có Pat Toomey là 60% và nguồn thăm dò ý kiến ​​​​của suffolk?
Tom Ridge * nào có Pat_Toomey là 60 % và nguồn thăm_dò ý_kiến ​_​ ​_​ của suffolk ?
SELECT "Tom Ridge*" FROM table 76366 WHERE "Pat Toomey" = '60' AND "Nguồn thăm dò ý kiến" = 'suffolk'
SELECT "Tom_Ridge *" FROM table_76366 WHERE "Pat_Toomey" = "60 " AND "Nguồn thăm_dò ý_kiến" = "suffolk"
sql_create_context
CREATE TABLE table 26615633 1(loài VARCHAR,ngọc VARCHAR)
CREATE TABLE table_26615633_1(loài VARCHAR,ngọc VARCHAR)
Ngọc là than thì có loài gì?
Ngọc là than thì có loài gì ?
SELECT loài FROM table 26615633 1 WHERE ngọc = "Than"
SELECT loài FROM table_26615633_1 WHERE ngọc= "Than"
mimicsql_data
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,marital 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 viện text,ngày ở text,bảo hiểm text,dân tộc text,hết hạn text,địa điểm nhập học text,địa điểm 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 phân bổ 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,marital_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_viện text,ngày_ở text,bảo_hiểm text,dân_tộc text,hết hạn text,địa_điểm nhập_học text,địa_điểm 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 phân_bổ text,năm nhập_học text)
đếm số bệnh nhân có loại nhập viện tự chọn và dân tộc là người gốc Tây Ban Nha/Latinh - Puerto Rico
đếm số bệnh_nhân có loại nhập_viện tự chọn và dân_tộc là người gốc Tây_Ban_Nha / Latinh - Puerto Rico
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) FROM nhân khẩu học WHERE nhân khẩu học.admission type = "TỰ CHỌN" AND nhân khẩu học.dân tộc = "HISPANICLATINO PUERTO RICAN"
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) FROM nhân_khẩu học WHERE nhân_khẩu học.admission_type = "TỰ_CHỌN" AND nhân_khẩu học.dân_tộc = "HISPANICLATINO PUERTO_RICAN"
wikisql
CREATE TABLE table 18558("Quận" text,"Đươ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_18558("Quận" text,"Đương_nhiệm" text,"Đảng" text,"Bầu_chọn lần đầu" real,"Kết_quả" text,"Ứng_cử_viên" text)
Lần đầu tiên được bầu vào hàng Texas 2 là năm nào?
Lần đầu_tiên được bầu vào hàng Texas 2 là năm nào ?
SELECT "Được bầu lần đầu" FROM table 18558 WHERE "Quận" = 'Texas 2'
SELECT "Được bầu lần đầu" FROM table_18558 WHERE "Quận" = "Texas 2"
sql_create_context
CREATE TABLE bảng 2493389 1(chất béo g VARCHAR,protein g VARCHAR,calo 1 tbsp VARCHAR)
CREATE TABLE bảng_2493389_1(chất béo__g_ VARCHAR,protein__g_ VARCHAR,calo__1_tbsp__ VARCHAR)
Đặt tên chất béo cho protein là 4 và calo 80
Đặt tên chất_béo cho protein là 4 và calo 80
SELECT béo g FROM bảng 2493389 1 WHERE protein g = "4" AND calo 1 tbsp = 80
SELECT béo__g FROM bảng_2493389_1 WHERE protein__g = "4" AND calo__1_tbsp_ = 80
wikisql
CREATE TABLE table 8094("Nguồn thăm dò ý kiến" text,"Ngày quản lý" text,"Đảng Dân chủ: Dick Durbin" text,"Đảng Cộng hòa: Steve Sauerberg" text,"Lợi nhuận dẫn đầu" real)
CREATE TABLE table_8094("Nguồn thăm_dò ý_kiến" text,"Ngày quản_lý" text,"Đảng Dân_chủ : Dick_Durbin" text,"Đảng Cộng_hòa : Steve_Sauerberg" text,"Lợi_nhuận dẫn_đầu" real)
Tỷ lệ dẫn đầu của Dick Durbin trong cuộc thăm dò với 59% là bao nhiêu?
Tỷ_lệ dẫn_đầu của Dick_Durbin trong cuộc thăm_dò với 59 % là bao_nhiêu ?
SELECT "Lợi nhuận dẫn đầu" FROM table 8094 WHERE "Đảng Dân chủ Dick Durbin" = '59'
SELECT "Lợi_nhuận dẫn_đầu" FROM table_8094 WHERE "Đảng Dân_chủ Dick_Durbin" = "59 "
sql_create_context
CREATE TABLE tên bảng 10( 2007 VARCHAR,khách INTEGER,loại VARCHAR)
CREATE TABLE tên_bảng_10(_2007 VARCHAR,khách INTEGER,loại VARCHAR)
Có bao nhiêu du khách đến đó vào năm 2007 để trượt tuyết nhảy đồi?
Có bao_nhiêu du_khách đến đó vào năm 2007 để trượt tuyết nhảy đồi ?
SELECT SUM ( du khách ) , 2007 FROM table name 10 WHERE type = "đồi nhảy trượt tuyết"
SELECT SUM ( du_khách ) ,2007 FROM table_name_10 WHERE type = "đồi nhảy trượt_tuyết"
sql_create_context
CREATE TABLE table name 58(loạt VARCHAR,trò chơi VARCHAR)
CREATE TABLE table_name_58(loạt VARCHAR,trò_chơi VARCHAR)
Đặt tên cho dòng game của game 6
Đặt tên cho dòng game của game 6
SELECT series FROM table name 58 WHERE game = "trò chơi 6"
SELECT series FROM table_name_58 WHERE game = "trò_chơi 6"
wikisql
CREATE TABLE table 64025("Đội đối phương" text,"Đấu với" real,"Ngày" text,"Địa điểm" text,"Vòng" text)
CREATE TABLE table_64025("Đội đối_phương" text,"Đấu với" real,"Ngày" text,"Địa_điểm" text,"Vòng" text)
Địa điểm diễn ra vào ngày 17/02/2008 là gì?
Địa_điểm diễn ra vào ngày 17/02/2008 là gì ?
SELECT "Địa điểm" FROM table 64025 WHERE "Ngày" = '17022008'
SELECT "Địa_điểm" FROM table_64025 WHERE "Ngày" = "17022008"
sql_create_context
CREATE TABLE tên bảng 27(đám đông INTEGER,đội khách VARCHAR)
CREATE TABLE tên_bảng_27(đám đông INTEGER,đội khách VARCHAR)
Có bao nhiêu người trong đám đông khi đội khách đến Bắc Melbourne?
Có bao_nhiêu người trong đám đông khi đội khách đến Bắc_Melbourne ?
SELECT SUM ( đám đông ) FROM table name 27 WHERE away team = "bắc melbourne"
SELECT SUM ( đám đông ) FROM table_name_27 WHERE away_team= "bắc melbourne"
mimicsql_data
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,tên text,tình trạng hôn nhân text,tuổi text,nghề nghiệp 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 flag text,admission location text,discharge location text,diagnosis text,dod text,dob year text,dod year text,admittime text,dischtime text,admityear 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,tên text,tình_trạng hôn_nhân text,tuổi text,nghề_nghiệp 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_flag text,admission_location text,discharge_location text,diagnosis text,dod text,dob_year text,dod_year text,admittime text,dischtime text,admityear text) CREATE TABLE lab(subject_id text,hadm_id text,itemid text,charttime text,flag text,value_unit text,label text,fluid text)
Trong tổng số bệnh nhân nhập viện trước năm 2162, có bao nhiêu người được phẫu thuật nối dạ dày hỗng tràng qua da (nội soi)?
Trong tổng_số bệnh_nhân nhập_viện trước năm 2162 , có bao_nhiêu người được phẫu_thuật nối dạ_dày hỗng_tràng qua da ( nội_soi ) ?
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) FROM nhân khẩu học INNER JOIN thủ tục ON nhân khẩu học.hadm id = thủ tục.hadm id WHERE nhân khẩu học.admityear < "2162" AND thủ tục.long title = "Cắt thông dạ dày qua da nội soi"
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) FROM nhân_khẩu học INNER JOIN thủ_tục ON nhân_khẩu học.hadm_id = thủ_tục.hadm_id WHERE nhân_khẩu học.admityear <"2162" AND thủ_tục.long_title = "Cắt_thông dạ_dày qua da nội_soi "
wikisql
CREATE TABLE table 2178("Người ném bóng" text,"Bắt đầu" real,"Thắng" real,"Thua" real,"Không có quyết định" real,"Thắng %" text,"Mùa" text)
CREATE TABLE table_2178("Người ném bóng" text,"Bắt_đầu" real,"Thắng" real,"Thua" real,"Không có quyết_định" real,"Thắng %" text,"Mùa" text)
nêu số trận thắng ít nhất vào năm 1986
nêu số trận thắng ít_nhất vào năm 1986
SELECT MIN ( "Thắng" ) FROM table 2178 WHERE "Mùa" = '1986'
SELECT MIN ( "Thắng" ) FROM table_2178 WHERE "Mùa" = "1986"
sql_create_context
CREATE TABLE table name 57(đội khách VARCHAR,địa điểm VARCHAR)
CREATE TABLE table_name_57(đội khách VARCHAR,địa_điểm VARCHAR)
Đội khách đã ghi được bao nhiêu bàn ở victoria park?
Đội khách đã ghi được bao_nhiêu bàn ở victoria park ?
SELECT đội khách AS điểm số FROM tên bảng 57 WHERE địa điểm = "victoria park"
SELECT đội khách AS điểm_số FROM tên_bảng_57 WHERE địa_điểm = "victoria park"
squall
CREATE TABLE table 204 987(id number,"city/municipality" text,"no.of\nbarangays" number,"khu vực\n(km2)" number,"dân số\n(điều tra dân số năm 2010)" number,"pop.mật độ\n(mỗi km2)" number)
CREATE TABLE table_204_987(id number,"city/municipality" text,"no.of\_nbarangays" number,"khu_vực\_n(km2)" number,"dân_số\_n(điều_tra dân_số năm 2010)" number,"pop.mật_độ\_n(mỗi km2)" number)
thành phố nào có số barangay tương tự như jalajala
thành_phố nào có số barangay tương_tự như jalajala
SELECT "thành phốkhu đô thị" FROM table 204 987 WHERE "thành phốkhu đô thị" <> 'jalajala' AND "no.ofnbarangays" = ( SELECT "no.ofnbarangays" FROM table 204 987 WHERE "thành phốđô thị" = 'đô thị' )
SELECT "thành_phốkhu đô_thị" FROM table_204_987 WHERE "thành_phốkhu đô_thị" < > "jalajala" AND "no.ofnbarangays" = ( SELECT "no.ofnbarangays" FROM table_204_987 WHERE "thành_phốđô_thị" = "đô_thị" )
wikisql
CREATE TABLE table 35662("Giải đấu" text,"1998" text,"1999" text,"2000" text,"2001" text,"2002" text,"2003" text,"2004" text,"2005" text,"2006" text,"2007" text,"2008" text,"2009" text,"2010" text,"2011" text,"Nghề nghiệp W/L" text)
CREATE TABLE table_35662("Giải đấu" text,"1998" text,"1999" text,"2000" text,"2001" text,"2002" text,"2003" text,"2004" text,"2005" text,"2006" text,"2007" text,"2008" text,"2009" text,"2010" text,"2011" text,"Nghề_nghiệp W/L" text)
Đặt tên cho năm 1999 với năm 2011 là 2r
Đặt tên cho năm 1999 với năm 2011 là 2 r
SELECT "1999" FROM bảng 35662 WHERE "2011" = '2r'
SELECT "1999" FROM bảng_35662 WHERE "2011" = "2 r"
mimic_iii
CREATE TABLE inputevents cv(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,amount number) CREATE TABLE tuyển sinh(row id number,subject id number,hadm id number,thời gian nhập viện time,thời gian nhập viện time,loại nhập viện text,địa điểm nhập viện text,địa điểm xuất viện text,bảo hiểm text,ngôn ngữ text,tình trạng hôn nhân text,dân tộc text,tuổi number) CREATE TABLE d items(row id number,itemid number,label text,linksto text) CREATE TABLE labevents(row id number,subject id number,hadm 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 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 outevents(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,value number) 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 d icd procedures(row id number,icd9 code text,short title text,long title text) CREATE TABLE d labitems(row id number,itemid number,label text) CREATE TABLE chẩn đoán icd(row id number,subject id number,hadm id number,icd9 code text,charttime time) CREATE TABLE chuyển(row id number,subject id number,hadm id number,icustay id number,eventtype text,careunit text,wardid number,intime time,outtime time) 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 cost(row id number,subject id number,hadm id number,event type text,event id number,thời gian tính phí time,chi phí 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,ngoài giờ 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 tuyển_sinh(row_id number,subject_id number,hadm_id number,thời_gian nhập_viện time,thời_gian nhập_viện time,loại_nhập_viện text,địa_điểm nhập_viện text,địa_điểm xuất_viện text,bảo_hiểm text,ngôn_ngữ text,tình_trạng hôn_nhân text,dân_tộc text,tuổi number) CREATE TABLE d_items(row_id number,itemid number,label text,linksto text) CREATE TABLE labevents(row_id number,subject_id number,hadm_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 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 outevents(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,value number) 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 d_icd_procedures(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE d_labitems(row_id number,itemid number,label text) CREATE TABLE chẩn_đoán_icd(row_id number,subject_id number,hadm_id number,icd9_code text,charttime time) CREATE TABLE chuyển(row_id number,subject_id number,hadm_id number,icustay_id number,eventtype text,careunit text,wardid number,intime time,outtime time) 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 cost(row_id number,subject_id number,hadm_id number,event_type text,event_id number,thời_gian tính phí time,chi_phí 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,ngoài giờ time)
Bệnh nhân 96842 lần đầu tiên được chẩn đoán tràn dịch màng phổi trong lần khám bệnh gần đây nhất là khi nào?
Bệnh_nhân 96842 lần đầu_tiên được chẩn_đoán tràn dịch màng phổi trong lần khám bệnh gần đây nhất là khi nào ?
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 = 'tràn dịch màng phổi nos' ) 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 = 96842 AND NOT tuyển sinh.dischtime IS NULL ORDER BY tuyển sinh.admittime DESC LIMIT 1 ) 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 = "tràn dịch_màng phổi nos" ) 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 = 96842 AND NOT tuyển sinh.dischtime IS NULL ORDER BY tuyển sinh.admittime DESC LIMIT 1 ) ORDER BY chẩn_đoán_icd.charttime LIMIT 1
wikisql
CREATE TABLE table 56931("Quận" real,"Nơi sinh" text,"Đại biểu" text,"Đảng" text,"Nhiệm vụ" real,"Ủy ban" text)
CREATE TABLE table_56931("Quận" real,"Nơi_sinh" text,"Đại_biểu" text,"Đảng" text,"Nhiệm_vụ" real,"Ủy_ban" text)
Cheryl Glenn ra lệnh cho bao nhiêu quận ở Thành phố Baltimore?
Cheryl Glenn ra_lệnh cho bao_nhiêu quận ở Thành_phố Baltimore ?
SELECT COUNT ( "Quận" ) FROM table 56931 WHERE "Nơi sinh" = 'thành phố Baltimore' AND "Delegate" = 'cheryl glenn'
SELECT COUNT ( "Quận" ) FROM table_56931 WHERE "Nơi_sinh" = "thành_phố Baltimore" AND "Delegate" = "cheryl glenn"
wikisql
CREATE TABLE table 62629("Thủ phạm" text,"Ngày" text,"Năm" real,"Vị trí" text,"Quốc gia" text,"Đã bị giết" real,"Bị thương" text)
CREATE TABLE table_62629("Thủ_phạm" text,"Ngày" text,"Năm" real,"Vị_trí" text,"Quốc_gia" text,"Đã bị giết" real,"Bị_thương" text)
Năm trung bình là bao nhiêu, khi Quốc gia là 'Hoa Kỳ' và khi Vị trí là 'Edmond, được rồi'?
Năm trung_bình là bao_nhiêu , khi Quốc_gia là ' Hoa_Kỳ ' và khi Vị_trí là ' Edmond , được rồi ' ?
SELECT AVG ( "Năm" ) FROM table 62629 WHERE "Quốc gia" = 'u.s.' AND "Vị trí" = 'edmond,ok'
SELECT AVG ( "Năm" ) FROM table_62629 WHERE "Quốc_gia" = "u.s." AND "Vị_trí" = "edmond,ok"
sql_create_context
CREATE TABLE bảng 1376890 2(định dạng sắc độ VARCHAR,tên VARCHAR)
CREATE TABLE bảng_1376890_2(định_dạng sắc_độ VARCHAR,tên VARCHAR)
có bao nhiêu định dạng sắc độ với tên nổi bật
có bao_nhiêu định_dạng sắc_độ với tên nổi_bật
SELECT COUNT ( chroma format ) FROM table 1376890 2 WHERE name = "Cấu hình cao"
SELECT COUNT ( chroma_format ) FROM table_1376890_2 WHERE name = "Cấu_hình cao"
spider
CREATE TABLE Minor in(stuid number,dno number) CREATE TABLE Course(cid text,cname text,credits number,instructor number,days text,hours text,dno number) CREATE TABLE đã đăng ký in(nghiên cứu number,cid text,lớp text) CREATE TABLE giảng viên(facid number,lname text,fname text,rank text,sex text,phone number,room text,tòa nhà text) CREATE TABLE member of(fcid number,dno number,appt type text) CREATE TABLE bộ phận(dno number,division text,dname text,room text,building text,dphone number) CREATE TABLE sinh viên(học sinh number,lname text,fname text,age number,sex text,major number,advisor number,city code text) CREATE TABLE chuyển đổi điểm(chữ cái text,lớp điểm number)
CREATE TABLE Minor_in(stuid number,dno number) CREATE TABLE Course(cid text,cname text,credits number,instructor number,days text,hours text,dno number) CREATE TABLE đã đăng_ký_in(nghiên_cứu number,cid text,lớp text) CREATE TABLE giảng_viên(facid number,lname text,fname text,rank text,sex text,phone number,room text,tòa nhà text) CREATE TABLE member_of(fcid number,dno number,appt_type text) CREATE TABLE bộ_phận(dno number,division text,dname text,room text,building text,dphone number) CREATE TABLE sinh_viên(học_sinh number,lname text,fname text,age number,sex text,major number,advisor number,city_code text) CREATE TABLE chuyển_đổi điểm(chữ_cái text,lớp điểm number)
Tên đầu tiên của tất cả các giáo sư trong khoa, sắp xếp theo tên là gì?
Tên đầu_tiên của tất_cả các giáo_sư trong khoa , sắp_xếp theo tên là gì ?
SELECT fname FROM giảng viên WHERE cấp bậc = "Giáo sư" ORDER BY fname
SELECT fname FROM giảng_viên WHERE cấp_bậc = "Giáo_sư" ORDER BY fname
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ừ các sản phẩm và nhà sản xuất của từng sản phẩm, hãy trả về biểu đồ thanh về phân bổ tên và tổng của nhà sản xuất cũng như nhóm theo tên thuộc tính và liệt kê trục X theo thứ tự tăng dần.
Đối_với những bản ghi đó từ các sản_phẩm và nhà_sản_xuất của từng sản_phẩm , hãy trả về biểu_đồ thanh về phân_bổ tên và tổng của nhà_sản_xuất cũng như nhóm theo tên thuộc_tính và liệt_kê trục X theo thứ_tự tăng dần .
SELECT T2.Name,T1.Nhà sản xuất 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 T2.Tên ORDER BY T2.Name
SELECT T2.Name,T1.Nhà_sản_xuất 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 T2.Tên ORDER BY T2.Name
squall
CREATE TABLE table 203 762(id number,"#" number,"ngày" text,"phim" text,"tổng" text,"ghi chú" text)
CREATE TABLE table_203_762(id number,"#" number,"ngày" text,"phim" text,"tổng" text,"ghi_chú" text)
tựa phim cuối cùng vào năm 2002 kiếm được nhiều tiền nhất là gì?
tựa phim cuối_cùng vào năm 2002 kiếm được nhiều tiền nhất là gì ?
SELECT "phim" FROM table 203 762 ORDER BY "thô" DESC LIMIT 1
SELECT "phim" FROM table_203_762 ORDER BY"thô" DESC LIMIT 1
wikisql
CREATE TABLE table 26249("Không" real,"Người chơi" text,"Chiều cao(m)" text,"Chiều cao(f)" text,"Vị trí" text,"Năm sinh" real,"Câu lạc bộ hiện tại" text)
CREATE TABLE table_26249("Không" real,"Người chơi" text,"Chiều cao(m)" text,"Chiều cao(f)" text,"Vị_trí" text,"Năm_sinh" real,"Câu_lạc_bộ hiện_tại" text)
Có bao nhiêu câu lạc bộ hiện tại có cầu thủ Aigars Vitols?
Có bao_nhiêu câu_lạc_bộ hiện_tại có cầu_thủ Aigars_Vitols ?
SELECT COUNT ( "Câu lạc bộ hiện tại" ) FROM table 26249 WHERE "Người chơi" = 'Aigars Vitols'
SELECT COUNT ( "Câu_lạc_bộ hiện_tại" ) FROM table_26249 WHERE "Người chơi" = "Aigars_Vitols"
wikisql
CREATE TABLE table 34907("Mùa giải" text,"Đội" text,"Quốc gia" text,"Bộ phận" real,"Ứng dụng" real,"Mục tiêu" real)
CREATE TABLE table_34907("Mùa giải" text,"Đội" text,"Quốc_gia" text,"Bộ_phận" real,"Ứng_dụng" real,"Mục_tiêu" real)
Giá trị thấp nhất của ứng dụng trong mùa giải 2009 ở cấp độ nhỏ hơn 1 là bao nhiêu?
Giá_trị thấp nhất của ứng_dụng trong mùa giải 2009 ở cấp_độ nhỏ hơn 1 là bao_nhiêu ?
SELECT MIN ( "Ứng dụng" ) FROM table 34907 WHERE "Mùa" = '2009' AND "Bộ phận" < '1'
SELECT MIN ( "Ứng_dụng" ) FROM table_34907 WHERE "Mùa" = "2009" AND "Bộ_phận" < "1"
sql_create_context
CREATE TABLE table name 87(coaster name VARCHAR,location VARCHAR)
CREATE TABLE table_name_87(coaster_name VARCHAR,location VARCHAR)
Tàu lượn nào nằm ở sandusky, Ohio?
Tàu lượn nào nằm ở sandusky , Ohio ?
SELECT Coaster name FROM table name 87 WHERE location = "sandusky,ohio"
SELECT Coaster_name FROM table_name_87 WHERE location = "sandusky,ohio"
squall
CREATE TABLE table 204 397(id number,"thứ hạng" text,"đội" text,"vận động viên" text,"chạy 1" text,"chạy 2" text,"chạy 3" text,"chạy 4" text,"cuối cùng" text)
CREATE TABLE table_204_397(id number,"thứ_hạng" text,"đội" text,"vận_động_viên" text,"chạy 1" text,"chạy 2" text,"chạy 3" text,"chạy 4" text,"cuối_cùng" text)
đội nào đến sau italy -lrb- ita -rrb- italy i ?
đội nào đến sau italy - lrb - ita - rrb - italy i ?
SELECT "đội" FROM table 204 397 WHERE id = ( SELECT id FROM table 204 397 WHERE "team" = 'italy ( ita ) italy i' ) 1
SELECT "đội" FROM table_204_397 WHERE id = ( SELECT id FROM table_204_397 WHERE "team" = "italy ( ita ) italy i" ) 1
sql_create_context
CREATE TABLE Order Items(product id VARCHAR,total amount purchased INTEGER) CREATE TABLE Product Suppliers(product id VARCHAR,total amount purchased INTEGER)
CREATE TABLE Order_Items(product_id VARCHAR,total_amount_purchased INTEGER) CREATE TABLE Product_Suppliers(product_id VARCHAR,total_amount_purchased INTEGER)
Trả về id của tất cả các sản phẩm đã được đặt hàng nhiều hơn ba lần hoặc được cung cấp hơn 80000.
Trả về id của tất_cả các sản_phẩm đã được đặt_hàng nhiều hơn ba lần hoặc được cung_cấp hơn 80000 .
SELECT product id FROMOrder Items GROUP BYproduct id HAVING COUNT ( * ) > 3 UNION SELECT product id FROMProduct Suppliers GROUP BYproduct id HAVING SUM ( total amount purchased ) > 80000
SELECT product_id FROM Order_Items GROUP BY product_id HAVING COUNT ( * ) > 3 UNION SELECT product_id FROM Product_Suppliers GROUP BY product_id HAVING SUM ( total_amount_purchased ) > 80000
nvbench
CREATE TABLE Basketball match(Team ID int,School ID int,Team Name text,ACC Regular Season text,ACC Percent text,ACC Home text,ACC Road text,All Games text,All Games Percent int,All Home text,All Road text,All Neutral text) CREATE TABLE đại học(School ID int,Trường text,Địa điểm text,Thành lập real,Liên kết text,Ghi danh real,Biệt danh text,Hội nghị chính text)
CREATE TABLE Basketball_match(Team_ID int,School_ID int,Team_Name text,ACC_Regular_Season text,ACC_Percent text,ACC_Home text,ACC_Road text,All_Games text,All_Games_Percent int,All_Home text,All_Road text,All_Neutral text) CREATE TABLE đại_học(School_ID int,Trường text,Địa_điểm text,Thành_lập real,Liên_kết text,Ghi_danh real,Biệt_danh text,Hội_nghị chính text)
Hãy cho tôi so sánh về số lượng All Home so với All Home và nhóm theo thuộc tính All Home theo biểu đồ thanh và sắp xếp tăng dần theo tổng số.
Hãy cho tôi so_sánh về số_lượng All_Home so với All_Home và nhóm theo thuộc_tính All_Home theo biểu_đồ thanh và sắp_xếp tăng dần theo tổng_số .
SELECT All Home, COUNT ( All Home ) FROM bóng rổ match GROUP BY All Home ORDER BY COUNT ( All Home )
SELECT All_Home, COUNT ( All_Home ) FROM bóng rổ_match GROUP BY All_Home ORDER BY COUNT ( All_Home )
sql_create_context
CREATE TABLE table 12976038 1(tập số VARCHAR,người xem in millions VARCHAR)
CREATE TABLE table_12976038_1(tập__số VARCHAR,người xem__in_millions_ VARCHAR)
Tập nào có 5,74 triệu người xem?
Tập nào có 5,74 triệu người xem ?
SELECT tập số FROM bảng 12976038 1 WHERE người xem in millions = "5,74"
SELECT tập__số FROM bảng_12976038_1 WHERE người xem__in_millions = "5,74"
wikisql
CREATE TABLE table 33095("Tuần" real,"Ngày" text,"Đối thủ" text,"Kết quả" text,"Tham dự" text)
CREATE TABLE table_33095("Tuần" real,"Ngày" text,"Đối_thủ" text,"Kết_quả" text,"Tham_dự" text)
Đội Cleveland Browns năm 1966 đóng vai Green Bay Packers khi nào?
Đội Cleveland_Browns năm 1966 đóng vai Green_Bay Packers khi nào ?
SELECT "Ngày" FROM table 33095 WHERE "Đối thủ" = 'nhà đóng gói vịnh xanh'
SELECT "Ngày" FROM table_33095 WHERE "Đối_thủ" = "nhà đóng_gói vịnh xanh"
wikisql
CREATE TABLE table 29515("Năm" text,"Hội nghị thượng đỉnh" text,"Quốc gia" text,"Lục địa" text,"Độ cao ft" real,"Độ cao m" real)
CREATE TABLE table_29515("Năm" text,"Hội_nghị thượng_đỉnh" text,"Quốc_gia" text,"Lục_địa" text,"Độ cao_ft" real,"Độ cao m" real)
độ cao thấp nhất vào tháng 4 năm 2006 là bao nhiêu?
độ cao thấp nhất vào tháng 4 năm 2006 là bao_nhiêu ?
SELECT MIN ( "Độ cao ft" ) FROM table 29515 WHERE "Năm" = 'Tháng 4 năm 2006'
SELECT MIN ( "Độ cao_ft" ) FROM table_29515 WHERE "Năm" = "Tháng 4 năm 2006"
wikisql
CREATE TABLE table 33790("Đội chủ nhà" text,"Tỷ số của đội chủ nhà" text,"Đội khách" text,"Tỷ số của đội khách" text,"Địa điểm" text,"Đám đông" real,"Ngày" text)
CREATE TABLE table_33790("Đội chủ nhà" text,"Tỷ_số của đội chủ nhà" text,"Đội khách" text,"Tỷ_số của đội khách" text,"Địa_điểm" text,"Đám đông" real,"Ngày" text)
Tỷ số đội chủ nhà khi tiếp Richmond là bao nhiêu?
Tỷ_số đội chủ nhà khi tiếp_Richmond là bao_nhiêu ?
SELECT "Tỷ số đội nhà" FROM table 33790 WHERE "Đội khách" = 'richmond'
SELECT "Tỷ_số đội nhà" FROM table_33790 WHERE "Đội khách" = "richmond"
nvbench
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ự kiện(ID int,Tên text,Sân vận động ID int,Năm 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,Khai mạc năm int) 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ự_kiện(ID int,Tên text,Sân_vận động_ID int,Năm 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,Khai_mạc_năm int) CREATE TABLE record(ID int,Kết_quả text,Swimmer_ID int,Event_ID int)
Biểu đồ thanh hiển thị phân bố của mét 500 và mét 100.
Biểu_đồ thanh_hiển_thị phân_bố của mét_500 và mét_100 .
SELECT mét 500,mét 100 FROM người bơi
SELECT mét_500,mét_100 FROM người bơi
eicu
CREATE TABLE bệnh nhân(độc nhất text,bệnh nhânhệ thống sức khỏeở lạiid number,bệnh nhânđơn vị ở lạiid number,giới tính text,tuổi text,dân tộc text,mệnh viện number,khu trú 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 thuốc(mã thuốc number,bệnh nhân ở lại đơn vị number,tên thuốc text,liều lượng text,lộ trìnhquản trị text,thời gian bắt đầu dùng thuốc time,thời gian ngừng thuốc time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number) CREATE TABLE microlab(microlabid number,bệnh nhân đơn vị lưu trú number,địa điểm nuôi cấy text,sinh vật text,thời gian nuôi cấy time) CREATE TABLE đầu ra đầu vào(id đầu ra number,bệnh nhân đơn vị lưu trú number,đường dẫn tế bào text,nhãn tế bào text,giá trị tế bào number,thời gian đầu vào time) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Tên điều trị text,Thời gian điều trị time) CREATE TABLE Vital Periodic(Vital Periodicid number,Patientunitstayid number,Nhiệt độ number,Sao2 number,Nhịp tim number,Hô hấp number,hệ thống tâm thu 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(diagnosisid number,Patientunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE lab(labid number,BNunitstayid number,labname text,labresult number,labresulttime 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(độc_nhất text,bệnh nhânhệ_thống sức khỏeở lạiid number,bệnh nhânđơn_vị ở lạiid number,giới_tính text,tuổi text,dân_tộc text,mệnh_viện number,khu trú 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 thuốc(mã thuốc number,bệnh_nhân ở lại đơn_vị number,tên thuốc text,liều_lượng text,lộ trìnhquản_trị text,thời_gian bắt_đầu dùng thuốc time,thời_gian ngừng thuốc time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number) CREATE TABLE microlab(microlabid number,bệnh_nhân đơn_vị lưu_trú number,địa_điểm nuôi_cấy text,sinh_vật text,thời_gian nuôi_cấy time) CREATE TABLE đầu_ra đầu_vào(id đầu_ra number,bệnh_nhân đơn_vị lưu_trú number,đường_dẫn tế_bào text,nhãn tế_bào text,giá_trị tế_bào number,thời_gian đầu vào time) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Tên điều_trị text,Thời_gian điều_trị time) CREATE TABLE Vital_Periodic(Vital Periodicid number,Patientunitstayid number,Nhiệt_độ number,Sao2 number,Nhịp tim number,Hô_hấp number,hệ_thống tâm thu 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(diagnosisid number,Patientunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE lab(labid number,BNunitstayid number,labname text,labresult number,labresulttime 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)
Có bất kỳ sinh vật nào được phát hiện trong lần kiểm tra vi sinh gần đây nhất của bệnh nhân 031-9128 kể từ 92 tháng trước không?
Có bất_kỳ sinh_vật nào được phát_hiện trong lần kiểm_tra vi_sinh gần đây nhất của bệnh_nhân 031 - 9128 kể từ 92 tháng trước không ?
SELECT COUNT ( * ) > 0 FROM microlab WHERE microlab.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 = '0319128' ) ) AND microlab.culturesite = 'other' AND DATETIME ( microlab.culturetakentime ) >= DATETIME ( CURRENT TIME ( ) ,'92 tháng' ) ORDER BY microlab.culturetakentime DESC LIMIT 1
SELECT COUNT ( * ) > 0 FROM microlab WHERE microlab.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 = "031 9128" ) ) AND microlab.culturesite = "other" AND DATETIME ( microlab.culturetakentime ) > = DATETIME ( CURRENT_TIME ( ) ," 92 tháng" ) ORDER BY microlab.culturetakentime DESC LIMIT 1
sql_create_context
CREATE TABLE table name 78(quốc tịch VARCHAR,loại phương tiện VARCHAR,năm VARCHAR)
CREATE TABLE table_name_78(quốc_tịch VARCHAR,loại_phương_tiện VARCHAR,năm VARCHAR)
Quốc tịch nào có xe cổ năm 1999?
Quốc_tịch nào có xe cổ năm 1999 ?
SELECT quốc tịch công dân FROM tên bảng 78 WHERE type of vehicle = "xe cổ" AND năm = 1999
SELECT quốc tịch_công dân FROM tên_bảng_78 WHERE type_of_vehicle = "xe cổ" AND năm = 1999
wikisql
CREATE TABLE table 69765("Vị trí" real,"Câu lạc bộ" text,"Đã chơi" real,"Điểm" text,"Thắng" real,"Hòa" real,"Thua" real,"Bàn thắng cho" real,"Số bàn thắng vào lưới" real,"Chênh lệch bàn thắng bại" real)
CREATE TABLE table_69765("Vị_trí" real,"Câu_lạc_bộ" text,"Đã chơi" real,"Điểm" text,"Thắng" real,"Hòa" real,"Thua" real,"Bàn_thắng cho" real,"Số bàn thắng vào lưới" real,"Chênh_lệch bàn thắng_bại" real)
Số trận thua thấp nhất của câu lạc bộ c diz cf là bao nhiêu?
Số trận thua thấp nhất của câu_lạc_bộ c diz cf là bao_nhiêu ?
SELECT MIN ( "Thua" ) FROM table 69765 WHERE "Club" = 'cadiz cf'
SELECT MIN ( "Thua" ) FROM table_69765 WHERE "Club" = "cadiz cf"
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 bệnh nhân(độc nhất text,bệnh nhânhệ thốngở lạiid number,bệnh nhânđơn vị ở lạiid number,giới tính text,tuổi text,dân tộc text,bệ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 của đơn vị time,thời gian xuất viện time,trạng thái xuất viện text) CREATE TABLE dị ứng(dị ứng number,bệnh nhân ở lại đơn vị number,tên thuốc text,tên dị ứng text,thời gian dị ứng time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,Treatmenttime 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ào number,thời gian đưa vào time) CREATE TABLE thuốc(mã thuốc number,BNunitstayid number,tên thuốc text,liều lượng text,routeadmin text,drugstarttime time,drugstoptime time) CREATE TABLE chẩn đoán(diagnosisid number,BNunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE microlab(microlabid number,Patientunitstayid number,culturesite text,organism text,culturetakentime time)
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 bệnh_nhân(độc_nhất text,bệnh nhânhệ thốngở lạiid number,bệnh nhânđơn_vị ở lạiid number,giới_tính text,tuổi text,dân_tộc text,bệ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 của đơn_vị time,thời_gian xuất_viện time,trạng_thái xuất_viện text) CREATE TABLE dị_ứng(dị_ứng number,bệnh_nhân ở lại đơn_vị number,tên thuốc text,tên dị_ứng text,thời_gian dị_ứng time) CREATE TABLE cost(costid number,uniquepid text,Patienthealthsystemstayid number,eventtype text,eventid number,chargetime time,cost number) CREATE TABLE Treatment(Treatmentid number,Patientunitstayid number,Treatmentname text,Treatmenttime 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ào number,thời_gian đưa vào time) CREATE TABLE thuốc(mã thuốc number,BNunitstayid number,tên thuốc text,liều_lượng text,routeadmin text,drugstarttime time,drugstoptime time) CREATE TABLE chẩn_đoán(diagnosisid number,BNunitstayid number,diagnosisname text,diagnosistime time,icd9code text) CREATE TABLE microlab(microlabid number,Patientunitstayid number,culturesite text,organism text,culturetakentime time)
Bệnh nhân 004-28929 có nước tiểu lần đầu tiên kể từ 1249 ngày trước?
Bệnh_nhân 004 - 28929 có nước_tiểu lần đầu_tiên kể từ 1249 ngày_trước ?
SELECT lượng đầu ra.lượng đầu ra FROM lượng đầu ra WHERE lượng đầu ra.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 = '00428929 ' ) ) AND Intakeoutput.cellpath LIKE 'output' AND Intakeoutput.celllabel = 'nước tiểu' AND DATETIME ( intakeoutput.intakeoutputtime ) >= DATETIME ( CURRENT TIME ( ) ,'1249 day' ) ORDER BY thời gian nạp ra.thời gian lấy ra LIMIT 1
SELECT lượng đầu_ra.lượng đầu_ra FROM lượng đầu_ra WHERE lượng đầu_ra.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 = "004 28929" ) ) AND Intakeoutput.cellpath LIKE " output " AND Intakeoutput.celllabel = "nước_tiểu" AND DATETIME ( intakeoutput.intakeoutputtime ) > = DATETIME ( CURRENT_TIME ( ) ," 1249 day" ) ORDER BY thời_gian nạp ra.thời_gian lấy ra LIMIT 1
yelp
CREATE TABLE doanh nghiệp(giá thầu int,business id varchar,name varchar,full address varchar,city varchar,latitude varchar,longitude varchar,review count bigint,is open tinyint,rating float,state varchar) CREATE TABLE checkin(cid int,business id varchar,count int,day varchar) CREATE TABLE user(uid int,user id varchar,name varchar) CREATE TABLE Category(id int,business id varchar,category name varchar) CREATE TABLE review(rid int,business id varchar,user id varchar,rating float,text longtext,year int,month varchar) CREATE TABLE tip(tip id int,business id varchar,text longtext,user id varchar,like int,year int,month varchar) CREATE TABLE khu phố(id int,business id varchar,neighborhood name varchar)
CREATE TABLE doanh_nghiệp(giá thầu int,business_id varchar,name varchar,full_address varchar,city varchar,latitude varchar,longitude varchar,review_count bigint,is_open tinyint,rating float,state varchar) CREATE TABLE checkin(cid int,business_id varchar,count int,day varchar) CREATE TABLE user(uid int,user_id varchar,name varchar) CREATE TABLE Category(id int,business_id varchar,category_name varchar) CREATE TABLE review(rid int,business_id varchar,user_id varchar,rating float,text longtext,year int,month varchar) CREATE TABLE tip(tip_id int,business_id varchar,text longtext,user_id varchar,like int,year int,month varchar) CREATE TABLE khu_phố(id int,business_id varchar,neighborhood_name varchar)
Michelle đã viết bao nhiêu bài đánh giá vào tháng 3 năm 2014?
Michelle đã viết bao_nhiêu bài đánh_giá vào tháng 3 năm 2014 ?
SELECT COUNT ( DISTINCT ( review.text ) ) FROM review,user WHERE review.month = 'Tháng 3' AND review.year = 2014 AND user.name = 'Michelle' AND user.user id = đánh giá.tên người dùng
SELECT COUNT ( DISTINCT ( review.text ) ) FROM review,user WHERE review.month = "Tháng 3" AND review.year = 2014 AND user.name = "Michelle" AND user.user_id = đánh_giá.tên người dùng
wikisql
CREATE TABLE table 65170("Đã loại bỏ" text,"Nhóm thẻ" text,"Đã nhập" real,"Đã loại bỏ bởi" text,"Thời gian" text)
CREATE TABLE table_65170("Đã loại_bỏ" text,"Nhóm thẻ" text,"Đã nhập" real,"Đã loại_bỏ bởi" text,"Thời_gian" text)
Người bị loại nào có Tag Team gồm jindrak và cade?
Người bị loại nào có Tag_Team gồm jindrak và cade ?
SELECT "Bị loại bỏ bởi" FROM table 65170 WHERE "Tag Team" = 'jindrak và cade'
SELECT "Bị loại_bỏ bởi" FROM table_65170 WHERE "Tag_Team" = "jindrak và cade"
nvbench
CREATE TABLE Basketball match(Team ID int,School ID int,Team Name text,ACC Regular Season text,ACC Percent text,ACC Home text,ACC Road text,All Games text,All Games Percent int,All Home text,All Road text,All Neutral text) CREATE TABLE đại học(School ID int,Trường text,Địa điểm text,Thành lập real,Liên kết text,Ghi danh real,Biệt danh text,Hội nghị chính text)
CREATE TABLE Basketball_match(Team_ID int,School_ID int,Team_Name text,ACC_Regular_Season text,ACC_Percent text,ACC_Home text,ACC_Road text,All_Games text,All_Games_Percent int,All_Home text,All_Road text,All_Neutral text) CREATE TABLE đại_học(School_ID int,Trường text,Địa_điểm text,Thành_lập real,Liên_kết text,Ghi_danh real,Biệt_danh text,Hội_nghị chính text)
Hiển thị mối quan hệ giữa id nhóm và acc percent cho mỗi All Home bằng biểu đồ phân tán
Hiển_thị mối quan_hệ giữa id nhóm và acc_percent cho mỗi All_Home bằng biểu_đồ phân_tán
SELECT Team ID,ACC Percent FROM trận đấu bóng rổ GROUP BY All Home
SELECT Team_ID,ACC_Percent FROM trận đấu bóng_rổ GROUP BY All_Home
sql_create_context
CREATE TABLE table name 62(thứ hạng VARCHAR,người chơi VARCHAR,thắng VARCHAR)
CREATE TABLE table_name_62(thứ_hạng VARCHAR,người chơi VARCHAR,thắng VARCHAR)
Xếp hạng của Bob Murphy với dưới 4 trận thắng là gì?
Xếp_hạng của Bob_Murphy với dưới 4 trận thắng là gì ?
SELECT COUNT ( thứ hạng ) FROM table name 62 WHERE player = "bob murphy" AND thắng < 4
SELECT COUNT ( thứ_hạng ) FROM table_name_62 WHERE player = "bob murphy" AND thắng < 4
sede
CREATE TABLE Người dùng(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location text,AboutMe text,Views number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince 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 Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE Huy hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE SuggestedEdits(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Tiêu đề text,Thẻ text,RevisionGUID khác) 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 PostTags(PostId number,TagId number) CREATE TABLE ReviewTaskResultTypes(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 PostHistoryTypes(Id number,Name text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Mô tả text) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body 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,Ngày phê duyệt time,ApprovalModeratorId number,Ngày hủy kích hoạt time,DeactivationModeratorId number) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Điểm number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) 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 FlagTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE Comments(Id number,PostId number,Điểm number,Text text,Ngày tạo time,Tên hiển thị người dùng text,UserId number,ContentLince text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number)
CREATE TABLE Người dùng(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location text,AboutMe text,Views number,UpVotes number,DownVotes number,ProfileImageUrl text,EmailHash text,AccountId number) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Comment text,Text text,ContentLince 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 Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE Huy_hiệu(Id number,UserId number,Tên text,Date time,Class number,TagBased boolean) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE SuggestedEdits(Id number,PostId number,CreationDate time,ApprovalDate time,RejectionDate time,OwnerUserId number,Comment text,Text text,Tiêu_đề text,Thẻ text,RevisionGUID khác) 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 PostTags(PostId number,TagId number) CREATE TABLE ReviewTaskResultTypes(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 PostHistoryTypes(Id number,Name text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Mô_tả text) CREATE TABLE VoteTypes(Id number,Name text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body 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,Ngày phê_duyệt time,ApprovalModeratorId number,Ngày hủy_kích hoạt time,DeactivationModeratorId number) CREATE TABLE TagSynonyms(Id number,SourceTagName text,TargetTagName text,CreationDate time,OwnerUserId number,AutoRenameCount number,LastAutoRename time,Điểm number,ApprovedByUserId number,ApprovalDate time) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) 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 FlagTypes(Id number,Name text,Description text) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE Comments(Id number,PostId number,Điểm number,Text text,Ngày tạo time,Tên hiển_thị người dùng text,UserId number,ContentLince text) CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number)
Xếp hạng người dùng theo số lượng câu hỏi và cho điểm trung bình N>10.
Xếp_hạng người dùng theo số_lượng câu hỏi và cho điểm trung_bình N > 10 .
SELECT * FROM ( SELECT u.DisplayName AS Tên người dùng, COUNT ( * ) AS Nquestions, SUM ( q.Score ) AS TotalVotes,ROUND ( SUM ( q.Score ) ( 1.0 * COUNT ( * ) ) ,2 ) AS AverageVotes FROM Bài viết AS q INNER JOIN Người dùng AS u ON q.OwnerUserId = u.Id WHERE q.PostTypeId = 1 GROUP BY u.DisplayName ) AS a WHERE a.Ncâu hỏi > 10 ORDER BY a.AverageVotes DESC ,a.Nquestions DESC
SELECT * FROM ( SELECT u.DisplayName AS Tên người dùng, COUNT ( * ) AS Nquestions, SUM ( q.Score ) AS TotalVotes,ROUND ( SUM ( q.Score ) ( 1.0 * COUNT ( * ) ) ,2 ) AS AverageVotes FROM Bài viết AS q INNER JOIN Người dùng AS u ON q.OwnerUserId =u.Id WHERE q.PostTypeId = 1 GROUP BY u.DisplayName ) AS a WHERE a.Ncâu hỏi > 10 ORDER BY a.AverageVotes DESC ,a.Nquestions DESC
sql_create_context
CREATE TABLE table name 53(match INTEGER,đối thủ team VARCHAR,home away VARCHAR)
CREATE TABLE table_name_53(match INTEGER,đối_thủ_team VARCHAR,home_away VARCHAR)
Trận đấu đỉnh cao khi đối thủ sân khách là Dalian Shide Siwu là gì?
Trận đấu đỉnh_cao khi đối_thủ sân khách là Dalian Shide_Siwu là gì ?
SELECT MAX ( match ) FROM table name 53 WHERE đối thủ team = "dalian shide siwu" AND home away = "sân khách"
SELECT MAX ( match ) FROM table_name_53 WHERE đối_thủ_team = "dalian shide siwu" AND home_away = "sân khách"
mimic_iii
CREATE TABLE outevents(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,value number) CREATE TABLE d items(row id number,itemid number,label text,linksto 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 microbiologyevents(row id number,topic id number,hadm id number,charttime time,spec type desc text,org name 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 thủ tục icd(row id number,subject id number,hadm id number,icd9 code text,charttime time) CREATE TABLE d icd diagnoses(row id number,icd9 code text,short title text,long title text) CREATE TABLE tuyển sinh(row id number,subject id number,hadm id number,admittime time,thời gian phân phối time,loại nhập viện text,vị trí nhập viện text,vị trí xuất viện text,bảo hiểm text,ngôn ngữ text,tình trạng hôn nhân text,dân tộc text,tuổi number) CREATE TABLE d labitems(row id number,itemid number,nhãn 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,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 đơ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 d icd procedures(row id number,icd9 code text,short title text,long title text) CREATE TABLE bệnh nhân(row id number,subject id number,gender text,dob time,dod time) CREATE TABLE biểu đồ(row id number,subject id number,hadm id number,icustay id number,itemid number,charttime time,valuenum number,valueuom text) CREATE TABLE labevents(row id number,subject id number,hadm id number,itemid number,charttime time,valuenum number,giá trị text)
CREATE TABLE outevents(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,value number) CREATE TABLE d_items(row_id number,itemid number,label text,linksto 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 microbiologyevents(row_id number,topic_id number,hadm_id number,charttime time,spec_type_desc text,org_name 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 thủ_tục_icd(row_id number,subject_id number,hadm_id number,icd9_code text,charttime time) CREATE TABLE d_icd_diagnoses(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE tuyển_sinh(row_id number,subject_id number,hadm_id number,admittime time,thời_gian phân_phối time,loại_nhập_viện text,vị_trí nhập_viện text,vị_trí xuất_viện text,bảo_hiểm text,ngôn_ngữ text,tình_trạng hôn_nhân text,dân_tộc text,tuổi number) CREATE TABLE d_labitems(row_id number,itemid number,nhãn 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,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 đơ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 d_icd_procedures(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE bệnh_nhân(row_id number,subject_id number,gender text,dob time,dod time) CREATE TABLE biểu_đồ(row_id number,subject_id number,hadm_id number,icustay_id number,itemid number,charttime time,valuenum number,valueuom text) CREATE TABLE labevents(row_id number,subject_id number,hadm_id number,itemid number,charttime time,valuenum number,giá_trị text)
bệnh nhân 62298 có được chẩn đoán là hpt b chrn wo cm wo dlta trong năm nay không?
bệnh_nhân 62298 có được chẩn_đoán là hpt b chrn wo cm wo dlta trong năm nay không ?
SELECT COUNT ( * ) > 0 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 = 'hpt b chrn wo cm wo dlta' ) 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 = 62298 ) AND DATETIME ( diagnoses icd.charttime,'bắt đầu năm' ) = DATETIME ( CURRENT TIME ( ) ,'đầu năm','0 năm' )
SELECT COUNT ( * ) > 0 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 = "hpt b chrn wo cm wo dlta" ) 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 = 62298 ) AND DATETIME ( diagnoses_icd.charttime,"bắt_đầu năm" ) = DATETIME ( CURRENT_TIME ( ) ,"đầu năm"," 0 năm" )
sql_create_context
CREATE TABLE table name 28(quyết định VARCHAR,home VARCHAR)
CREATE TABLE table_name_28(quyết_định VARCHAR,home VARCHAR)
Quyết định được liệt kê khi Nhà là Colorado là gì?
Quyết_định được liệt_kê khi Nhà là Colorado là gì ?
SELECT quyết định FROM tên bảng 28 WHERE home = "colorado"
SELECT quyết_định FROM tên_bảng_28 WHERE home = "colorado"
wikisql
CREATE TABLE table 63070("Tần số" text,"Ký hiệu cuộc gọi" text,"Thương hiệu" text,"Định dạng" text,"Chủ sở hữu" text)
CREATE TABLE table_63070("Tần_số" text,"Ký_hiệu cuộc_gọi" text,"Thương_hiệu" text,"Định_dạng" text,"Chủ_sở_hữu" text)
Tần số của đài do bell media sở hữu có ký hiệu cuộc gọi là chsu-fm là bao nhiêu?
Tần_số của đài do bell media sở_hữu có ký_hiệu cuộc_gọi là chsu-fm là bao_nhiêu ?
SELECT "Tần số" FROM table 63070 WHERE "Chủ sở hữu" = 'bell media' AND "Call sign" = 'chsufm'
SELECT "Tần_số" FROM table_63070 WHERE "Chủ_sở_hữu" = "bell media" AND "Call_sign" = "chsufm"
sede
CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body text,IsHidden boolean,Được xác định trước boolean,PostNoticeDurationId number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE VoteTypes(Id number,Name 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 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 PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) 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,ContentLince text) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE Huy hiệu(Id number,UserId number,Name text,Date time,Class number,TagBased boolean) 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 Users(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location 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 ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,Tiêu đề đầu vào text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,ApprovalDate time,ApprovalModeratorId number,DeactivationDate time,DeactivationModeratorId number) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID other,CreationDate time,UserId number,UserDisplayName text,Comment text,Texttext,ContentLince text) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,Ngày tạo time,Tên hiển thị người dùng text,ID người dùng number,Giấy phép nội dung text)
CREATE TABLE ReviewTaskResults(Id number,ReviewTaskId number,ReviewTaskResultTypeId number,CreationDate time,RejectionReasonId number,Comment text) CREATE TABLE ReviewTaskTypes(Id number,Name text,Description text) CREATE TABLE Phiếu bầu(Id number,PostId number,VoteTypeId number,UserId number,CreationDate time,BountyAmount number) CREATE TABLE PostNoticeTypes(Id number,ClassId number,Name text,Body text,IsHidden boolean,Được xác_định trước boolean,PostNoticeDurationId number) CREATE TABLE CloseReasonTypes(Id number,Name text,Description text) CREATE TABLE VoteTypes(Id number,Name 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 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 PendingFlags(Id number,FlagTypeId number,PostId number,CreationDate time,CloseReasonTypeId number,CloseAsOffTopicReasonTypeId number,DuplicateOfQuestionId number,BelongsOnBaseHostAddress text) CREATE TABLE PostFeedback(Id number,PostId number,IsAnonymous boolean,VoteTypeId number,CreationDate time) 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,ContentLince text) CREATE TABLE PostHistoryTypes(Id number,Name text) CREATE TABLE PostTypes(Id number,Name text) CREATE TABLE Tags(Id number,TagName text,Count number,ExcerptPostId number,WikiPostId number) CREATE TABLE PostTags(PostId number,TagId number) CREATE TABLE Huy_hiệu(Id number,UserId number,Name text,Date time,Class number,TagBased boolean) 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 Users(Id number,Reputation number,CreationDate time,DisplayName text,LastAccessDate time,WebsiteUrl text,Location 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 ReviewTasks(Id number,ReviewTaskTypeId number,CreationDate time,DeletionDate time,ReviewTaskStateId number,PostId number,SuggestedEditId number,CompletedByReviewTaskId number) CREATE TABLE ReviewTaskStates(Id number,Name text,Description text) CREATE TABLE CloseAsOffTopicReasonTypes(Id number,IsUniversal boolean,Tiêu_đề đầu_vào text,MarkdownInputGuidance text,MarkdownPostOwnerGuidance text,MarkdownPrivilegedUserGuidance text,MarkdownConcensusDescription text,CreationDate time,CreationModeratorId number,ApprovalDate time,ApprovalModeratorId number,DeactivationDate time,DeactivationModeratorId number) CREATE TABLE ReviewRejectionReasons(Id number,Name text,Description text,PostTypeId number) CREATE TABLE SuggestedEditVotes(Id number,SuggestedEditId number,UserId number,VoteTypeId number,CreationDate time,TargetUserId number,TargetRepChange number) CREATE TABLE ReviewTaskResultTypes(Id number,Name text,Description text) CREATE TABLE PostNotices(Id number,PostId number,PostNoticeTypeId number,CreationDate time,DeletionDate time,ExpiryDate time,Body text,OwnerUserId number,DeletionUserId number) CREATE TABLE PostHistory(Id number,PostHistoryTypeId number,PostId number,RevisionGUID_other,CreationDate time,UserId number,UserDisplayName text,Comment text,Texttext,ContentLince text) CREATE TABLE PostLinks(Id number,CreationDate time,PostId number,RelationPostId number,LinkTypeId number) CREATE TABLE Comments(Id number,PostId number,Score number,Text text,Ngày tạo time,Tên hiển_thị người dùng text,ID người dùng number,Giấy_phép nội_dung text)
Thử thách dễ nhất (hầu hết các câu trả lời) không có câu trả lời nào chứa....
Thử_thách dễ nhất ( hầu_hết các câu trả_lời ) không có câu trả_lời nào chứa ....
SELECT p.Id AS "post link", MAX ( p.AnswerCount ) AS "Số câu trả lời", COUNT ( p.Id ) FROM Bài viết AS p JOIN Bài viết AS q ON p.Id = q.ParentId WHERE p.PostTypeId = 1 AND NOT q.Body COLLATE SQL Latin1 General CP1 CI AI LIKE 'BrainFlak' AND p.ClosedDate IS NULL GROUP BY p.Id ORDER BY ' Số câu trả lời' DESC
SELECT p.Id AS "post_link", MAX ( p.AnswerCount ) AS"Số câu trả_lời", COUNT ( p.Id ) FROM Bài viết AS p JOIN Bài viết AS q ON p.Id = q.ParentId WHERE p.PostTypeId = 1 AND NOT q.Body COLLATE_SQL_Latin1_General_CP1_CI_AI LIKE " BrainFlak " AND p.ClosedDate IS NULL GROUP BY p.Id ORDER BY "Số câu trả_lời" DESC
nvbench
CREATE TABLE người(People ID int,Giới tính text,Tên text,Ngày sinh text,Chiều cao real,Cân nặng real) CREATE TABLE ứng cử viên(Ứng viên ID int,People ID int,Poll Source text,Date text,Tỷ lệ hỗ trợ real,Tỷ lệ xem xét real,Tỷ lệ phản đối real,Tỷ lệ không chắc chắn real)
CREATE TABLE người(People_ID int,Giới_tính text,Tên text,Ngày_sinh text,Chiều cao real,Cân nặng real) CREATE TABLE ứng_cử_viên(Ứng_viên_ID int,People_ID int,Poll_Source text,Date text,Tỷ_lệ hỗ_trợ real,Tỷ_lệ xem_xét real,Tỷ_lệ phản_đối real,Tỷ_lệ không chắc_chắn real)
Vẽ biểu đồ thanh về sự phân bổ Tên và Trọng lượng.
Vẽ biểu_đồ thanh về sự phân_bổ Tên và Trọng_lượng .
SELECT Tên,cân nặng FROM người
SELECT Tên,cân nặng FROM người
sql_create_context
CREATE TABLE table name 7(người được đề cử VARCHAR,kết quả VARCHAR,danh mục VARCHAR)
CREATE TABLE table_name_7(người được đề_cử VARCHAR,kết_quả VARCHAR,danh_mục VARCHAR)
Đề cử nào đã giành được giải Phim Ấn Độ hay thứ tư?
Đề_cử nào đã giành được giải_Phim Ấn_Độ hay thứ tư ?
SELECT được đề cử FROM table name 7 WHERE result = "thắng" AND hạng mục = "phim Ấn Độ hay thứ tư"
SELECT được đề_cử FROM table_name_7 WHERE result = "thắng" AND hạng_mục = "phim Ấn_Độ hay thứ tư"
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)
Độ tuổi tối đa của bệnh nhân có bảo hiểm Medicaid và dân tộc là người gốc Tây Ban Nha hoặc người La tinh là bao nhiêu?
Độ tuổi tối_đa của bệnh_nhân có bảo_hiểm_Medicaid và dân_tộc là người gốc Tây_Ban_Nha hoặc người La_tinh là bao_nhiêu ?
SELECT MAX ( demographic.age ) FROM nhân khẩu học WHERE nhân khẩu học.insurance = "Medicaid" AND nhân khẩu học.dân tộc = "HISPANIC HOẶC LATINO"
SELECT MAX ( demographic.age ) FROM nhân_khẩu học WHERE nhân_khẩu học.insurance = "Medicaid" AND nhân_khẩu học.dân_tộc = "HISPANIC HOẶC LATINO"
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 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,tên text,tình trạng hôn nhân text,tuổi text,nghề nghiệp 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 flag text,admission location text,discharge location text,diagnosis text,dod text,dob year text,dod year text,admittime text,dischtime text,admityear 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 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,tên text,tình_trạng hôn_nhân text,tuổi text,nghề_nghiệp 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_flag text,admission_location text,discharge_location text,diagnosis text,dod text,dob_year text,dod_year text,admittime text,dischtime text,admityear 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)
có bao nhiêu bệnh nhân mắc bệnh nguyên phát là nhiễm toan và dùng thuốc là pr?
có bao_nhiêu bệnh_nhân mắc bệnh nguyên_phát là nhiễm_toan và dùng thuốc là pr ?
SELECT COUNT ( DISTINCT nhân khẩu học.subject id ) 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.diagnosis = "ACIDOSIS" AND đơn thuốc.route = "PR"
SELECT COUNT ( DISTINCT nhân_khẩu học.subject_id ) 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.diagnosis = "ACIDOSIS" AND đơn thuốc.route = "PR"
mimic_iii
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 items(row id number,itemid number,label text,linksto text) CREATE TABLE outevents(row id number,subject id number,hadm id number,icustay id number,Charttime time,itemid number,value 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 Chartevents(row id number,subject id number,hadm id number,icustay 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 procedures(row id number,icd9 code text,short title text,long title text) CREATE TABLE chẩn đoán 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 inputevents cv(row id number,subject id number,hadm id number,icustay id number,charttime time,itemid number,amount number) CREATE TABLE tuyển sinh(row id number,subject id number,hadm id number,admittime time,dischtime time,admission type text,địa điểm nhập viện text,địa điểm xuất viện text,bảo hiểm text,ngôn ngữ text,tình trạng hôn nhân text,dân tộc text,tuổi number) CREATE TABLE labevents(row id number,subject id number,hadm id number,itemid number,charttime time,valuenum number,valueuom 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 d icd diagnoses(row id number,icd9 code text,short title text,long title text) CREATE TABLE đơn thuốc(row id number,subject id number,hadm id number,startdate time,enddate time,drug text,liều val rx text,dose unit rx text,route 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 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_items(row_id number,itemid number,label text,linksto text) CREATE TABLE outevents(row_id number,subject_id number,hadm_id number,icustay_id number,Charttime time,itemid number,value 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 Chartevents(row_id number,subject_id number,hadm_id number,icustay_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_procedures(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE chẩn_đoán_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 inputevents_cv(row_id number,subject_id number,hadm_id number,icustay_id number,charttime time,itemid number,amount number) CREATE TABLE tuyển_sinh(row_id number,subject_id number,hadm_id number,admittime time,dischtime time,admission_type text,địa_điểm nhập_viện text,địa_điểm xuất_viện text,bảo_hiểm text,ngôn_ngữ text,tình_trạng hôn_nhân text,dân_tộc text,tuổi number) CREATE TABLE labevents(row_id number,subject_id number,hadm_id number,itemid number,charttime time,valuenum number,valueuom 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 d_icd_diagnoses(row_id number,icd9_code text,short_title text,long_title text) CREATE TABLE đơn thuốc(row_id number,subject_id number,hadm_id number,startdate time,enddate time,drug text,liều_val_rx text,dose_unit_rx text,route 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)
bệnh nhân 81461 được chẩn đoán suy van hai lá/động mạch chủ từ 1 năm trước?
bệnh_nhân 81461 được chẩn_đoán suy_van hai lá / động_mạch chủ từ 1 năm trước ?
SELECT COUNT ( * ) > 0 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 = 'van hai láđộng mạch chủ' ) 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 = 81461 ) AND DATETIME ( diagnoses icd.charttime ) >= DATETIME ( CURRENT TIME ( ) ,'1 năm' )
SELECT COUNT ( * ) > 0 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 = "van hai láđộng_mạch chủ" ) 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 = 81461 ) AND DATETIME ( diagnoses_icd.charttime ) > = DATETIME ( CURRENT_TIME ( ) ," 1 năm" )
spider
CREATE TABLE mailshot campaigns(mailshot id number,product category text,mailshot name text,mailshot start date time,mailshot end date time) CREATE TABLE sản phẩm(product id number,product category text,product name text) CREATE TABLE cơ sở(tiền id number,loại địa chỉ text,chi tiết tiền đề text) CREATE TABLE địa chỉ khách hàng(id khách hàng number,tiền đề id number,ngày địa chỉ từ time,địa chỉ loại code text,ngày địa chỉ đến time) CREATE TABLE order items(item id number,order item status code text,order id number,product id number,item status code text,item delivered datetime time,item order quantity text) CREATE TABLE customer orders(order id number,customer id number,order status code text,shipping method code text,order placed datetime time,order delivered datetime time,order shipping charges text) CREATE TABLE mailshot customers(mailshot id number,customer id number,outcome code text,mailshot customer date time) CREATE TABLEcustomer(customer id number,Payment method text,customer name text,customer phone text,customer email text,customer address text,customer login text,customer password text)
CREATE TABLE mailshot_campaigns(mailshot_id number,product_category text,mailshot_name text,mailshot_start_date time,mailshot_end_date time) CREATE TABLE sản_phẩm(product_id number,product_category text,product_name text) CREATE TABLE cơ_sở(tiền_id number,loại_địa chỉ text,chi_tiết_tiền đề text) CREATE TABLE địa_chỉ khách_hàng(id_khách hàng number,tiền đề_id number,ngày_địa chỉ_từ time,địa_chỉ_loại_code text,ngày_địa chỉ_đến time) CREATE TABLE order_items(item_id number,order_item_status_code text,order_id number,product_id number,item_status_code text,item_delivered_datetime time,item_order_quantity text) CREATE TABLE customer_orders(order_id number,customer_id number,order_status_code text,shipping_method_code text,order_placed_datetime time,order_delivered_datetime time,order_shipping_charges text) CREATE TABLE mailshot_customers(mailshot_id number,customer_id number,outcome_code text,mailshot_customer_date time) CREATE TABLEcustomer(customer_id number,Payment_method text,customer_name text,customer_phone text,customer_email text,customer_address text,customer_login text,customer_password text)
Tìm các loại và chi tiết cho tất cả các cơ sở và sắp xếp theo loại cơ sở.
Tìm các loại và chi_tiết cho tất_cả các cơ_sở và sắp_xếp theo loại cơ_sở .
SELECT loại cơ sở,chi tiết cơ sở FROM cơ sở ORDER BY loại cơ sở
SELECT loại cơ_sở,chi_tiết cơ_sở FROM cơ_sở ORDER BY loại cơ_sở
wikisql
CREATE TABLE table 75599("Năm" real,"Hạng" text,"Đội" text,"Điểm" real,"Xếp hạng" text,"Thắng" real)
CREATE TABLE table_75599("Năm" real,"Hạng" text,"Đội" text,"Điểm" real,"Xếp_hạng" text,"Thắng" real)
Trận thắng nào cao nhất có Hạng 500cc và Điểm nhỏ hơn 6?
Trận thắng nào cao nhất có Hạng 500 cc và Điểm nhỏ hơn 6 ?
SELECT MAX ( "Thắng" ) FROM table 75599 WHERE "Hạng" = '500cc' AND "Điểm" < '6'
SELECT MAX ( "Thắng" ) FROM table_75599 WHERE "Hạng" = "500 cc" AND "Điểm" < "6"