input stringclasses 87
values | instruction stringlengths 0 626 | output stringlengths 1 794 |
|---|---|---|
เอเชียนอินดอร์-มาร์เชียลอาร์ตสเกมส์้เป็นการแข่งขันแบบใด | เป็นการแข่งขันกีฬาในร่มและศิลปะการป้องกันตัว | |
เซตีเนีย ตั้งอยู่ในเขตอะไร | เขตภูเขา ทางตะวันตกเฉียงเหนือของประเทศ | |
คมพยาบาท เริ่มแรกบทประพันธ์เป็นละครวิทยุของใคร | คณะกมลพิศมัย | |
Penaeidae แบ่งออกได้เป็นกี่จำพวก | 2 จำพวก | |
หน่วยความจำแฟลช หรือว่าอะไร | แฟลช | |
จามจุรี เชิดโฉม เข้าสู่วงการอายุเท่าไร | 18 ปี | |
กะพ้อเขาจันทร์ แฉกตรงกลางมีขนาดอย่างไร | ขนาดใหญ่ที่สุด | |
จาริสกัทซิสมามาสร้างในปีใด | 1964 | |
ไอโซเมอร์เรขาคณิต คืออะไร | เป็นคำที่ใช้ในเคมีอินทรีย์ คำนำหน้า "ซิส" และ "ทรานส์" | |
CREATE TABLE VoteTypes (
Id number,
Name text
)
| ผู้ใช้ที่เลื่อนชั้นได้เร็วที่สุดของ X rep ผู้ใช้ที่เลื่อนชั้นได้เร็วที่สุดในจำนวน rep ที่กำหนด | SELECT * FROM VoteTypes |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | คนไข้ที่อยู่ในหอ517 นับตั้งแต่เมื่อ 2 ปีก่อน มีจำนวนเท่าไหร่ | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 517 AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-2 year') |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
| วิศวกร Linux (AboutMe มีคำหลักที่เกี่ยวข้องกับวิศวกร Linux) | SELECT DISTINCT CONCAT('https://stackoverflow.com/users/', u.Id) AS "profile_link", u.DisplayName, u.Reputation, u.Location, u.WebsiteUrl, REPLACE(REPLACE(u.AboutMe, CHAR(13), ''), CHAR(10), '') AS AboutMe FROM Users AS u WHERE (u.AboutMe LIKE '%linux%' OR u.AboutMe LIKE '%ubuntu%' OR u.AboutMe LIKE '%unix%' OR u.About... |
เกมล่าเกม เป็นภาพยนตร์สัญชาติอะไร | อเมริกัน | |
ต้นกระทือมีชื่อทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์ : Zingiber zerumbet (L.) Smith. | |
ซังตุสเข้าสู่การแข่งระดับอาชีพตอนอายุเท่าไหร่ | 20 ปี | |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| จำนวนความคิดเห็นสำหรับคำถาม | SELECT UserId FROM Comments WHERE NOT UserId IS NULL GROUP BY UserId ORDER BY COUNT(*) DESC |
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
| คำถาม X ส่วนใหญ่ในแท็ก | SELECT TOP(100) AS Id, SourceTagName, TargetTagName FROM TagSynonyms AS T WHERE T.SourceTagName LIKE '%' + @Tag + '%' |
อัลละฮ์เปอลีฮารากันซุลตัน เป็นเพลงอะไร | เพลงชาติเนอการาบรูไนดารุสซาลาม | |
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varchar,
has_p... | ในจำนวนวิชาทั้งหมด มีวิชาใดบ้างมูลค่า 14 หน่วยกิต | SELECT DISTINCT name, number FROM course WHERE credits = 14 AND department = 'EECS' |
ในปัจจุบันมีฐานะเป็นโบสถ์ประจำเขตแพริชนิกายโรมันคาทอลิก ซึ่งในอดีตเคยมีฐานะเป็น ? | อาสนวิหารประจำมุขมณฑลออลอรง | |
เอเอช-64 อาพาชีขึ้นบินครั้งแรกเมื่อใด | วันที่ 30 กันยายน พ.ศ. 2518 | |
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varchar,
has_p... | ฉันสามารถลงเรียนวิชาอะไรได้บ้างที่สามารถได้ 5 หน่วยกิต | SELECT DISTINCT name, number FROM course WHERE credits = 5 AND department = 'EECS' |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
| จำนวนผู้ใช้ที่สร้างขึ้นต่อเดือน | SELECT * FROM Users LIMIT 10 |
ภาวะสมองตายเป็นบทนิยามทางใด | ทางนิติศาสตร์และทางแพทยศาสตร์ใช้หมายเอาการตายของบุคคล | |
ลิบเจนถูกรายงานว่าจดทะเบียนกับประเทศใด | ประเทศรัซเซียและอัมสเตอร์ดัม | |
ปลาทรงเครื่องเป็นปลาที่อยู่ในวงศ์ใด | วงศ์ปลาตะเพียน (Cyprinidae) | |
เจ้าหญิงชาร์ลอตต์ เป็นลูกคนเดียวหรือไม่ | สายพระโลหิตเพียงพระองค์เดียว | |
CREATE TABLE Posts (
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... | โพสต์ที่เชื่อมโยงไปยัง reddit.com | SELECT CreationDate, Id AS "post_link" FROM Posts WHERE LOWER(Body) LIKE '%reddit.com%' OR LOWER(Body) LIKE '%redd.it%' ORDER BY CreationDate DESC LIMIT 1000 |
การพัฒนาแหล่งน้ำ ตลอดจนดำเนินการตามข้อเสนอแนะของที่ประชุมสหประชาชาติปี 1992 ว่าด้วยสิ่งแวดล้อมและการพัฒนา | Agenda 21 | |
CREATE TABLE Posts (
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... | เวลาใดในแต่ละวันที่ฉันตอบคำถามมากที่สุด | SELECT TIME_TO_STR(p.CreationDate, '%h'), COUNT(*) FROM Posts AS p WHERE p.OwnerUserId = @UserId AND p.PostTypeId = 2 GROUP BY TIME_TO_STR(p.CreationDate, '%h') |
พระนางชยเทวี เป็นพระมหากษัตริย์หญิงแห่งเจนประเทศอะไร | จักรวรรดิเขมร | |
มะริดเป็นไม้พื้นเมือง ขึ้นได้ทั่วไปในฟิลิปปินส์ ผลสุกรับประทานได้มีรสชาติเป็นอย่างไร? | รสหวาน | |
แขวงอิตาบาชิ มีพื้นที่เท่าไร | 32.17 ตารางกิโลเมตร | |
ผลผลิตอะซิทัลดีไฮด์ในปี 1960 คือเท่าใด? | 45,245 ตัน | |
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
| Pt No.12917 เข้ารพ.ครั้งสุดท้ายมาจากโรงพยาบาล/ห้องฉุกเฉินตั้งแต่ปี 2103 เป็นระยะเวลานานเท่าใด | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 12917 AND admissions.admission_location = 'transfer from hosp/extram' AND STRFTIME('%y', admissions.admittime) >= '2103' ORDER BY admissions.admittime DESC LIMIT 1 |
พระเจ้ากนิษกะคือใคร | กษัตริย์ที่ปกครองอาณาจักรกุษาณะ | |
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
| นับจำนวนครั้งที่ bupropion hcl ได้ถูกสั่งในปีที่แล้ว | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'bupropion hcl' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') |
โชตาโร อิชิโนโมริมีชื่อเสียงจากการประกอบอาชีพใด | นักเขียนการ์ตูน | |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | ผู้ป่วยหมายเลข 009-10951 มีความสูงจากการวัดล่าสุดในเดือนนี้เท่าใด | SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-10951') AND NOT patient.admissionheight IS NULL AND DATETIME(patient.unitadmittime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', ... |
ปลาตะกรับมีชื่อเรียกทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์: Scatophagus argus | |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
| จำนวนของรายการใน PostHistory | SELECT COUNT(*) FROM PostHistory |
เกมก็อดออฟวอร์ จัดจำหน่ายโดนค่ายอะไร | โซนี่คอมพิวเตอร์เอ็นเตอร์เท็นเมนต์ | |
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varchar,
has_p... | รายวิชาเกี่ยวกับพีชคณิตพ้องรูปใดที่ให้ 3 หน่วยกิต | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Homological Algebra%' OR name LIKE '%Homological Algebra%') AND credits = 3 |
การเลือกตั้งสมาชิกสภาแห่งชาติ ใครเป็นผู้ชนะ | พรรคแรงงานแห่งเกาหลี | |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | ผู้ป่วย 022-76925 อายุเท่าไหร่ระหว่างที่ได้รับการรักษาในครั้งสุดท้าย | SELECT patient.age FROM patient WHERE patient.uniquepid = '022-76925' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1 |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | ผู้ป่วยหมายเลข 033-7332 มาพบแพทย์ในปีที่แล้วกี่ครั้ง | SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '033-7332' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | ผ่านไปแล้วกี่วันตั้งแต่ครั้งสุดท้ายที่ผู้ป่วย 005-48105 อยู่ที่หอผู้ป่วย 267 ในการเข้ารับการรักษาในโรงพยาบาลปัจจุบัน | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '005-48105' AND patient.wardid = 267 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 |
ชื่อเกมประกาศอย่างทางการเมื่อใด | 13 ตุลาคม พ.ศ. 2553 | |
เจ้าหญิงนาเด็จดาแห่งบัลแกเรียสิ้นพระชนเมื่้อไหร่ | 15 กุมภาพันธ์ ค.ศ. 1958 | |
ชื่อ “เฮราบาร์แบรินี” ตั้งตามชื่อผู้เป็นเจ้าของซึ่งคือตระกูลอะไร | ตระกูลบาร์แบรินี | |
เหงียน วัน ลิญ เกิดวันที่เท่าไหร่ ? | 1 กรกฎาคม พ.ศ. 2458 | |
ส่วนด้านคอนเสิร์ตที่ไดอาน่าไปร่วมแสดงก็คือ ? | RS MEETING CONCERT STAR MISSION มันส์หลุดโลก | |
กองพลส่งทางอากาศที่ 101ใช้ยุทธวิธีใดในการต้านทานกองทัพเยอรมัน | ยุทธการตอกลิ่ม | |
ตรงกลางแผงเป็นภาพร่างของพระเยซูถูกแบบไปยังที่บรรจุพระศพ ชายที่มีหนวดที่อยู่ข้างหลังคือ ? | โจเซฟแห่งอาริมาเธีย | |
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
| คนไข้ 81871 มีสถานะสมรสเป็นอย่างไรในครั้งแรกที่มาพบแพทย์ | SELECT admissions.marital_status FROM admissions WHERE admissions.subject_id = 81871 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1 |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
| ปีที่ผ่านมามีการทำหัตถการปรึกษาโรคหัวใจทั้งหมดกี่ครั้ง? | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'cardiology consultation' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') |
ตัวอย่าง โลกัส | เส้นตรงคือโลกัสของจุดที่อยู่ในระยะห่างเท่ากับสองจุดที่กำหนดตายตัวไว้ หรือจากเส้นขนานสองเส้น | |
ไทยแลนด์ก็อตทาเลนต์ เป็นรายการประเภทอะไร | รายการเรียลลิตี้โชว์ | |
CREATE TABLE Posts (
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... | โพสต์ที่โหวตสูงสุดและต่ำสุด | SELECT 'site://questions/' + CAST(Id AS TEXT) AS "question_with_highest_score" FROM Posts ORDER BY Score DESC LIMIT 1 |
ลักษณะอุทยานแห่งชาติดอยอินทนนท์ เป็นอย่างไร | ภูเขาสูงสลับซับซ้อน | |
ไฮดี คลุม ฟอบส์ได้จัดอันดับให้เป็นนางแบบรายได้สูงที่สุดเป็นอันดับเท่าไร | อันดับ 3 | |
CREATE TABLE Invoices (
Invoice_ID INTEGER,
Order_ID INTEGER,
payment_method_code CHAR(15),
Product_ID INTEGER,
Order_Quantity VARCHAR(288),
Other_Item_Details VARCHAR(255),
Order_Item_ID INTEGER
) | แสดงรหัสวิธีการชำระเงินทั้งหมดและจำนวนคำสั่งซื้อสำหรับแต่ละรหัส แสดงเป็นแถบบาร์ | SELECT payment_method_code, COUNT(*) FROM Invoices GROUP BY payment_method_code |
CREATE TABLE Posts (
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... | เปรียบเทียบคะแนนเฉลี่ยเป็นรายปีของ คำถามและคำตอบ | SELECT YEAR(CreationDate) AS "postyear", CAST(SUM(CASE WHEN PostTypeId = 1 THEN Score ELSE 0 END) AS FLOAT) / SUM(CASE WHEN PostTypeId = 1 THEN 1 ELSE 0 END) AS "q", CAST(SUM(CASE WHEN PostTypeId = 2 THEN Score ELSE 0 END) AS FLOAT) / SUM(CASE WHEN PostTypeId = 2 THEN 1 ELSE 0 END) AS "a", CAST(SUM(Score) AS FLOAT) / S... |
CREATE TABLE Posts (
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... | คำถามที่ไม่มีการโหวตเห็นด้วย | SELECT q.Id AS "post_link" FROM Posts AS q WHERE PostTypeId = 1 AND Score > 0 AND ClosedDate IS NULL AND (SELECT COUNT(*) FROM Posts AS a WHERE a.ParentId = q.Id AND a.Score > -1) = 0 AND AcceptedAnswerId IS NULL ORDER BY CreationDate |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
| Select * จาก Users. | SELECT * FROM Users |
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
| จำนวนโพสต์พร้อมค่าเริ่มต้นและสิ้นสุด | WITH opened AS (SELECT PostId FROM Votes WHERE VoteTypeId = 8), closed AS (SELECT PostId FROM Votes WHERE VoteTypeId = 9) SELECT COUNT(*) FROM (SELECT * FROM opened INTERSECT SELECT * FROM closed) AS q |
สูญพันธุ์ไปเมื่อใด? | 6.2 ล้านปีก่อน | |
ประเทศเบลเยียม เข้าร่วมแข่งขันกีฬาโอลิมปิกฤดูหนาวครั้งที่ 13 แข่งขันที่ประเทศอะไร | ประเทศสหรัฐอเมริกา | |
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varchar,
has_p... | ในบรรดาวิชานี้ที่ฉันต้องเลือกมีวิชาใดบ้างที่มีหน่วยกิต 15 หน่วย | SELECT DISTINCT name, number FROM course WHERE credits = 15 AND department = 'EECS' |
CREATE TABLE Posts (
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... | ผู้ใช้เขียนคำไปทั้งหมดกี่คำแล้ว | SELECT SUM(LENGTH(Body) - LENGTH(REPLACE(Body, ' ', '')) + 1) AS NumbofWords FROM Posts AS p WHERE p.OwnerUserId = '##UserId##' |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
| ผู้ใช้เบต้า RPG.SE ยังคงใช้งานเป็นประจำในเดือนก่อน | SELECT DisplayName, Reputation FROM Users WHERE CreationDate < '2012/04/11' AND LastAccessDate > DATEADD(m, -1, GETDATE()) ORDER BY Reputation DESC |
โกลด มอแนมีชื่อเต็มว่าอย่างไร | อ็อสการ์-โกลด มอแน | |
มหาศึกรวมพลังฮีโร่: คาเมนไรเดอร์ ปะทะ ซุปเปอร์เซนไต เป็นภาพยนตร์ที่นำกี่ภาพยนคร์นำมารวมกัน | 2 ภาพยนตร์ | |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| ผู้คนใช้คอมเมนต์ 'Leaving a half-answer as a comment' อย่างไร | SELECT PostId AS "post_link", * FROM Comments WHERE Text LIKE '%Leaving a half-answer as a comment%' |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| แสดงความคิดเห็นทั้งหมดของผู้ใช้ที่กำหนด | SELECT Comments.Text FROM Comments WHERE Comments.UserId = @UserId |
ก่อตั้งในเมืองลิเวอร์พูลโดยนักร้องนำคือ ? | เอียน แมคัลลอก | |
วสันต์ โชติกุล เป็นน้องชายของใคร | อัสนี โชติกุล | |
วัดเศวตฉัตรวรวิหารบรูณะครั้งใหญ่โดยใคร | พระเจ้าบรมวงศ์เธอ กรมหมื่นสุรินทรรักษ์ | |
CREATE TABLE Posts (
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... | คำถามยอดนิยมที่ยังไม่มีคำตอบที่จัดอันดับตามจำนวนการดู | SELECT TOP(50) AS ViewCount FROM Posts WHERE AnswerCount IS NULL ORDER BY ViewCount DESC |
ต้นยี่โถมีการขยายพันธุ์ในรูปแบบลักษณะใด | เพาะเมล็ด ตอนกิ่ง หรือการปักชำกิ่ง | |
ในวัยเด็กเขาสนใจในดนตรีโดยเฉพาะเพลงโซลคลาสสิกอย่าง มาร์วิน เกย์ และสตีวี วันเดอร์ ที่มีอิทธิพลต่อเขา เขาตัดสินใจที่จะเข้าสู่วงการดนตรีเมื่ออายุได้กี่ปี ? | 16 ปี | |
สหภาพยุโรปวางแผนห้ามการเลี้ยงแบบแบตเตอรีเมื่อใด | หลัง พ.ศ. 2555 | |
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
| จำนวนผู้ป่วยที่เข้ารับการรักษาในโรงพยาบาลตั้งแต่ปี 2102. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE STRFTIME('%y', admissions.admittime) >= '2102' |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
| ผู้ใช้ Stack Overflow 2000 อันดับแรกจากเนเธอร์แลนด์จัดตามชื่อเสียง ผู้ใช้ SO 2000 อันดับแรกจากเนเธอร์แลนด์หรือเมืองในเนเธอร์แลนด์ | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS Position, DisplayName, Reputation, WebsiteUrl, Location, WebsiteUrl, AboutMe, 'http://stackoverflow.com/users/' + CAST(Id AS TEXT(10)) AS ProfileUrl FROM Users WHERE UPPER(Location) LIKE '%NETHERLANDS%' OR UPPER(Location) LIKE '%NEDERLAND%' OR UPPER(Location) LIKE ... |
รัฐบาลเวียดนามอิสระศูนย์กลางตั้งอยู่ที่ใด | แคลิฟอร์เนีย สหรัฐอเมริกา | |
คริสตัล เกล เกิดวันที่เท่าไร | 8 มกราคม ค.ศ. 1951 | |
โคลด์ สโตน ครีมเมอรี่มาจากประเทศอะไร | สัญชาติอเมริกัน | |
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
| คนไข้หมายเลข 53176 เพศอะไร | SELECT patients.gender FROM patients WHERE patients.subject_id = 53176 |
เกรกอรี เฮาส์ รับบทโดยใคร | ฮิวจ์ ลอรี | |
CREATE TABLE Bookings (
Booking_ID INTEGER,
Customer_ID INTEGER,
Workshop_Group_ID VARCHAR(100),
Status_Code CHAR(15),
Store_ID INTEGER,
Order_Date DATETIME,
Planned_Delivery_Date DATETIME,
Actual_Delivery_Date DATETIME,
Other_Order_Details VARCHAR(255)
)
| แสดงวันที่นำส่งจริงทั้งหมดและจัดเป็นแท่งตามวันในกราฟแท่ง และจัดเรียงจากล่างขึ้นบนตามแกน Y | SELECT Actual_Delivery_Date, COUNT(Actual_Delivery_Date) FROM Bookings ORDER BY COUNT(Actual_Delivery_Date) DESC |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | มูลค่าที่ได้รับการวัดล่าสุดในการเข้าพักโรงพยาบาลครั้งแรกเปรียบเทียบกับมูลค่าที่วัดล่าสุดเป็นอันดับสองที่ได้วัดไว้ในการเข้าพักครั้งแรกนั้นน้ำหนักของผู้ป่วยหมายเลข 006-161415 นั้นแตกต่างกันเท่าใด | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-161415' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL O... |
ปล้นอึดท้ายครัว กำกับโดยใคร | โฮวาร์ด ดัช | |
สมาชิกของเดอะบีเทิลส์คนใดทำหน้าที่ร้องนำและมือเบส | พอล แม็กคาร์ตนีย์ | |
ใครคือผู้ดัดแปลงเลมีเซราบล์ให้เป็นคำร้องภาษาอังกฤษ | เฮอร์เบิร์ต เครตซเมอร์ | |
CREATE TABLE Posts (
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... | เปอร์เซ็นของคำถามที่มีคำตอบที่ได้รับการยอมรับ ขึ้นอยู่กับวันในสัปดาห์ที่โพสต์คำถาม | WITH tmp AS (SELECT Id, AcceptedAnswerId AS Acc, Period = TIME_TO_STR(CreationDate, '%W') FROM Posts WHERE PostTypeId = 1) SELECT Period, ROUND((COUNT(Acc)) * 100.0 / (COUNT(*)), 2) AS percentage FROM tmp GROUP BY Period ORDER BY Period |
CREATE TABLE Posts (
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... | ผู้ใช้ที่ตอบคำถามที่ชัดเจนที่สุด | SELECT A.OwnerUserId AS "user_link", COUNT(DISTINCT A.ParentId) AS "distinct_questions_answered" FROM Posts AS A WHERE A.PostTypeId = 2 AND A.OwnerUserId > 0 GROUP BY A.OwnerUserId ORDER BY 'distinct_questions_answered' DESC |
บุญชู 2 น้องใหม่ ทำรายจากภาพยนตร์ได้เท่าไร | 16 ล้านบาท | |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
| 1000 ผู้ใช้อันดับต้นๆของอินเดียและปากีสถาน | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, LOWER(Location) AS CNTRY FROM Users WHERE LOWER(Location) IN ('india', 'pakistan') ORDER BY Reputation DESC LIMIT 10000 |
ในช่วงฤดูร้อน ปี พ.ศ. 2560 เทศบาลนครฮานอยได้ร่วมมือกับหน่วยงานใดเพื่อติดตั้งไฟส่องสว่างทั่วหอคอยสะพานตอนกลางคืน | บริษัทฟิลิปส์ | |
CREATE TABLE Posts (
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... | คำตอบที่ได้รับคะแนนเป็นศูนย์ | SELECT a.Id AS "post_link", a.Score, a.OwnerUserId AS "user_link" FROM Posts AS a, Posts AS q WHERE a.PostTypeId = 2 AND q.PostTypeId = 1 AND a.Score = 0 AND a.ParentId = q.Id AND q.AcceptedAnswerId = a.Id |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.