input stringclasses 87
values | instruction stringlengths 0 626 | output stringlengths 1 794 |
|---|---|---|
อำพล ลำพูนและวรรษมน วัฒโรดมแสดงคู่กันอีกครั้งในภาพยนตร์เรื่องใด | น้ำพุ | |
CREATE TABLE Assessment_Notes (
notes_id INTEGER,
student_id INTEGER,
teacher_id INTEGER,
date_of_notes DATETIME,
text_of_notes VARCHAR(255),
other_details VARCHAR(255)
)
| วันท่ี่ของบักทึกการประเมินคือวันไหน ให้นับตามกราฟเส้นตรง และแสดงค่าตามแกน X โดยเรียงลำดับจากมากไปน้อย | SELECT date_of_notes, COUNT(date_of_notes) FROM Assessment_Notes ORDER BY date_of_notes 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,
... | ระยะเวลาการนอนโรงพยาบาลของผู้ป่วยหมายเลข 015-100195 เมื่อปี 2010 คือเท่าไหร่ | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '015-100195' AND STRFTIME('%y', patient.hospitaladmittime) = '2105' |
คอนสตันติน เชียร์เนนโค ชื่อเต็มว่าอะไร | คอนสตันติน อุสตีโนวิช เชียร์เนนโค | |
ปราสาทมืด ใครเป็นผู้พิการในเรื่อง | คุณแจ๋ว | |
Penaeidae เป็นวงศ์ตะกูลของอะไร | ครัสเตเชียนจำพวกกุ้ง | |
Siamogale melilutra มีกะโหลกและฟันคล้ายกับอะไร? | แบดเจอร์ | |
แรงบันดาลใจสำคัญต่อแนวทางศึกษาฟิสิกส์ยุคใหม่คืออะไร | ทฤษฎีแห่งสรรพสิ่งและทฤษฎีสตริง | |
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
)
| จำนวนผู้ใช้งานที่สามารถกดไม่ถูกใจได้ (มีคะแนนความนิยมสูงกว่า 125) | SELECT COUNT(u.Id) AS "Total Users", COUNT(CASE WHEN u.Reputation >= 125 THEN 1 ELSE NULL END) AS "Total Can DV", CAST(ROUND(COUNT(CASE WHEN u.Reputation >= 125 THEN 1 ELSE NULL END) / CAST(COUNT(u.Id) AS FLOAT) * 100, 4) AS TEXT) + '%' AS "% Can DV" FROM Users AS u |
ชิมิ ร้องโดยใคร | กลุ่มศิลปินบลูเบอร์รี่ | |
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,
... | เคส 010-9767 เข้ารับการรักษาครั้งสุดท้ายเมื่อไหร่ในปี 2105 | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '010-9767' AND STRFTIME('%y', patient.hospitaladmittime) = '2105' ORDER BY patient.hospitaladmittime DESC LIMIT 1 |
พ.ศ. 2208 ใครเป็นผู้สร้างกล้องจุลทรรศน์ชนิดเลนส์เดียวจากแว่นขยายที่เขาฝนเอง แว่นขยายบางอันขยายได้ถึง 270 เท่า | อันโตนี ฟัน เลเวินฮุก | |
สามก๊ก ตอน โจโฉ มหาอุปราชผู้หวังครองแผ่นดิน ออกฉายครั้งแรกปีอะไร | ค.ศ. 1999 | |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| ลบทิ้ง - แบบสอบถามทดลอง | SELECT CreationDate FROM Comments WHERE UserId = '##UserId##' |
เดอะว้าวลาว เป็นรายการอะไร | รายการเรียลลิตี้ | |
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
| FF คืออะไร | SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'FF' |
โยนิโสมนสิการ หมายถึงอะไร | การทำในใจให้ดีละเอียดถี่ถ้วน | |
มีบทบาทเป็นอะไรในทางคณิตศาสตร์ | ตัวกลาง | |
เพลงแรกของซิงเกิลนี้ เป็นเพลงปิดของอะนิเมะเรื่องอะไร | โอ้! เทพธิดา | |
ประเทศฝรั่งเศส เข้าร่วมการแข่งขันอะไร | กีฬาโอลิม | |
น้องฟาน เปิดตัวครั้งเเรกเมื่อไหร่ | 11 เมษายน 2560 | |
โลมาแม่น้ำโบลิเวียคืออะไร | โลมาแม่น้ำชนิดหนึ่ง จัดอยู่ในวงศ์โลมาแม่น้ำอเมซอน (Iniidae) | |
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
)
| เมื่อคนไข้รายล่าสุด 96404 ออกจากโรงพยาบาล | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 96404 ORDER BY admissions.dischtime DESC LIMIT 1 |
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 ชาวแอลจีเรียที่ยอดเยี่ยมที่สุด | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Age, Location, WebsiteUrl AS Wesbite, LastAccessDate AS Seen, CreationDate FROM Users WHERE Reputation >= '##MinimalReputation:int?1##' AND (UPPER(Location) LIKE UPPER('%Algeria%') OR UPPER(Location) LIKE UPPER('%Algerie%') OR UP... |
ภูเขาที่กั้นกลางระหว่างอ่าวน้อยและอ่าวประจวบมีชื่อว่าอะไร | ภูเขาตาม่องล่าย | |
พัชชา พูนพิริยะ มีอาชีพอะไร | ผู้กำกับภาพยนตร์เคาท์ดาวน์ | |
หลวงพี่แจ๊ส 4G ทำรายได้เท่าไร | 154 ล้านบาท | |
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
| อันดับผู้ใช้ที่มีการแก้ไขที่ถูกปฏิเสธมากที่สุด | SELECT OwnerUserId AS "user_link", COUNT(*) FROM SuggestedEdits WHERE ApprovalDate IS NULL AND NOT RejectionDate IS NULL GROUP BY OwnerUserId ORDER BY COUNT(*) DESC LIMIT 10 |
ไฟนอลแฟนตาซี เป็นเกมแนวอะไร | เกมอาร์พีจี | |
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
)
| Greece 1000 พร้อมหมายเลขบรรทัด | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS Place, Id AS "user_link", Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Thess%' OR Location LIKE '%Greece%' OR Location LIKE N'%Gr' OR (Location LIKE N'%Athens%' AND NOT Location LIKE N'%GA%') ORDER BY Reputation DESC LIMIT 1000 |
อัลละฮ์เปอลีฮารากันซุลตัน แปลว่าอะไร | ขอพระเจ้าทรงพิทักษ์องค์สุลต่าน | |
ซ่งเจียง เป็นตัวละครหลักในวรรณกรรมเรื่องอะไร | สุยหู่จ้วน | |
พัลพาทีน แสดงโดยใคร | แมคเดียร์มิด | |
การคัดพลดับเบิลยูดับเบิลยูอีจัดขึ้นครั้งแรกเมื่อใด | จัดขึ้นครั้งแรกในปี พ.ศ. 2545 | |
เดิม อำเภอสุวรรณภูมิ มีชื่อว่าอะไร | ท่งศรีภูมิ | |
เกาะบอลส์พีระมิด อยู่ทางทิศอะไรของเกาะลอร์ด | ตะวันออกเฉียงใต้ | |
ปลาตองลายมีชื่อทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์: Chitala blanci | |
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
)
| ก่อนหน้านี้ คนไข้หมายเลข 65467 เข้าโรงพยาบาลกี่ครั้งในรอบปี | SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 65467 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') |
แตง สร้างขึ้นในปีอะไร | พ.ศ. 2480 | |
วัดไสยาศน์ก่อตั้งขึ้นเมื่อปี พ.ศ.ใด | พ.ศ 2498 | |
เขาได้เซ็นสัญญากับค่ายเพลง | Young Money Entertainment, Cash Money Records และ Republic Records. | |
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
)
| ตั้งแต่ 6 ปีก่อนมาแล้ว กี่ครั้งที่คนไข้หมายเลข 50480 เข้ารับการรักษาตัวที่โรงพยาบาล | SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 50480 AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-6 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... | จำนวนคำถามหลังจากเปิดให้มีสินไหมทดแทนใน SO | SELECT COUNT(Id) FROM Posts WHERE CreationDate >= '2009-01-27' AND PostTypeId = 1 |
แบคทีเรียช่วยทำให้นมกลายเป็นนมเปรี้ยวอย่างไร | ช่วยย่อยน้ำตาลแลคโตสในนมให้เป็นกรดแลคติค | |
การขนส่งเอชเอ็ม ก่อตั้งโดยใคร | โฮเมอร์ เมอร์คาโด | |
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
)
| ผู้ใช้งาน 300 คนแรกจากโรมาเนีย | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%arad%romania%' ORDER BY Reputation DESC LIMIT 300 |
เทือกเขาหิมาลัย เป็นเทือกเขาในทวีปอะไร | ทวีปเอเชีย | |
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 AVG(Reputation * 1.0), TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%m') FROM Users GROUP BY TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%m') ORDER BY TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%m') |
ริชาร์ด รอเจอส์ เกิดที่เมืองอะไร | เมืองฟลอเรนซ์ | |
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,
... | น้ำหนักของผู้ป่วยหมายเลข 016-8658 ที่ตรวจวัดครั้งล่าสุดในครั้งแรกที่เข้ารับการรักษาในโรงพยาบาล แตกต่างจากค่าที่ตรวจวัดครั้งแรกในครั้งที่แรกที่เข้ารับการรักษาในโรงพยาบาลมากน้อยแค่ไหน | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-8658' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL ORD... |
รัฐลูเซิร์น ตั้งของชีวมณฑลเอ็นท์เลอบูคแห่งองค์การอะไร | ยูเนสโก | |
ปลากระดี่อินเดีย เป็นสกุลปลาอะไร | ปลาน้ำจืดขนาดเล็ก | |
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,
... | ผู้ป่วย 021-95970 เข้ารับการรักษาในโรงพยาบาลมาแล้วกี่วัน | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '021-95970' AND patient.hospitaldischargetime IS NULL |
กลุ่มย่อยที่สองของเอ็นซีทียูคืออะไร | เอ็นซีที 127 | |
เพลงเปิดตัวของนักร้องใหม่ ชื่อเพลงอะไร | สเตย์อะเวย์ | |
ปลาตองลายเคยถูกขึ้นบัญชีเป็นปลาหายากของสหภาพเพื่อการอนุรักษ์ธรรมชาติปีอะไร | เมื่อปี พ.ศ. 2537 | |
สโมสรฟุตบอลมัคคาบีเทลอาวีฟมีสโมสรเยาวชนกี่ทีม | 17 ทีม ผู้เล่น 400 คน ซึ่งมีอายุระหว่าง 9-19 ปี | |
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
)
| ผู้ใช้ SO ระดับต้น ๆ จากเมือง Poznan ประเทศโปแลนด์ | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE (LOWER(Location) LIKE '%poznan%' OR LOWER(Location) LIKE '%pozna %') AND Reputation >= 100 ORDER BY Reputation DESC |
รายละเอียดของสินค้า | รายละเอียดสินค้าไม่มี | |
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
)
| ผู้ใช้ที่เก่งที่สุด: Santiago de Chile รายชื่อผู้ใช้ใน Santiago เรียงตามคะแนนชื่อเสียง Forked จากคำถามต้นฉบับโดย BoltClock | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%santiago%chile%' ORDER BY Reputation DESC |
โดโรโระมาจากที่ไหน | หมู่ดาวแกรมม่าดาวเคราะห์ลำดับที่ 58 | |
แนวร่วมสามัคคีสงเคราะห์ชาติกัมพูชา เป็นศูนย์กลางของระบบอะไร | ระบบใหม่ในกัมพูชา | |
เขตการปกครองของประเทศจีน มีอยู่ด้วยกันกี่ระดับ | 3 ระดับ | |
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 Reputation, DisplayName, Location FROM Users ORDER BY Reputation DESC |
แมทธิว มัวร์ ฮาร์ดี เกิดวันที่เท่าไร | 23 กันยายน ค.ศ. 1974 | |
ปลาแค้ยักษ์มีชื่อเรียกทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์: Bagarius yarrelli | |
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 Score FROM Posts WHERE Id = 298680 |
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... | คำถามล่าสุดที่มีคะแนน 5 ขึ้นไป รายการคำถามล่าสุดบนไซต์ที่มีคะแนน 5 ขึ้นไป ต่อยอดที่ 500 | SELECT 'post_link' = Id, Score, CAST(TIME_TO_STR(CreationDate, '%d %b %Y') AS TEXT(11)) AS Date FROM Posts WHERE PostTypeId = 1 AND Score >= 5 AND ClosedDate IS NULL ORDER BY CreationDate DESC LIMIT 500 |
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-57924 เข้ามาใช้บริการผ่านแผนกฉุกเฉิน เป็นช่วงเวลาใด | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-57924' AND patient.hospitaladmitsource = 'emergency department' ORDER BY patient.hospitaladmittime DESC LIMIT 1 |
เกเลชี อิเฮอานาชอ มีอาชีพอะไร | นักฟุตบอล | |
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
)
| ผู้ป่วยหมายเลข 7375 เข้าพักโรงพยาบาลวันที่เท่าไหร่จนถึง 2100 | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 7375 AND STRFTIME('%y', admissions.dischtime) <= '2100' ORDER BY admissions.dischtime 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,
... | บอกจำนวนผู้ป่วยที่ได้ออกจากโรงพยาบาลทั้งหมด | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL |
CREATE TABLE Products (
product_id INTEGER,
product_type_code VARCHAR(10),
product_name VARCHAR(80),
product_price DECIMAL(19,4)
)
| ราคาต่ำสุดของผลิตภัณฑ์ที่แบ่งตามประเภทของผลิตภัณฑ์คือเท่าไร แสดงในแผนภูมิแท่ง | SELECT product_type_code, MIN(product_price) FROM Products GROUP BY product_type_code ORDER BY product_type_code |
แคนดี (ซิงเกิล) อยู่ในประเทศอะไร ? | ประเทศญี่ปุ่น | |
ซ่งเจียง เคยครองความเป็นใหญ่ในบริเวณมณอะไร | มณฑลซานตงและมณฑลเหอหนาน | |
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-57924 เข้ารับการรักษาที่โรงพยาบาลผ่านแผนกฉุกเฉินคือเมื่อไร | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-57924' AND patient.hospitaladmitsource = 'emergency department' 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,
... | ผู้ป่วยหมายเลข 006-122567 เข้ารักษาตัวใน ICU รวมกี่ครั้งในปี 2101 | SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-122567') AND STRFTIME('%y', patient.unitadmittime) = '2101' |
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 ViewCount, ROUND(CAST(ViewCount AS FLOAT) / DATEDIFF(dd, CreationDate, GETDATE()), 1) AS ViewsPerDay, Id AS "post_link" FROM Posts WHERE PostTypeId = 1 AND OwnerUserId = '##UserId##' ORDER BY ViewCount DESC |
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
)
| ตั้งแต่เมื่อ 6 ปีที่แล้ว ผู้ป่วยหมายเลข 80119 เข้ารับการรักษาที่ รพ. กี่ครั้ง | SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 80119 AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-6 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... | 20 คำถามยอดนิยม (มีผู้เข้าชมมากที่สุด) | SELECT Id AS "post_link", OwnerUserId AS "user_link", ViewCount FROM Posts WHERE PostTypeId = 1 ORDER BY ViewCount DESC LIMIT 20 |
ประเทศออสเตรเลียปกครองด้วยระบอบอะไร | ออสเตรเลียยังคงรักษาระบบการเมืองเสรีนิยมประชาธิปไตย | |
เอเชียนคัพ 2011 ระบบคัดเลือกเปลี่ยนแปลงอย่างไร | มีทีมชนะเลิศจากเอเอฟซีแชลเลนจ์คัพ เข้ามาร่วมแข่งขันด้วย
เจ้าภาพ | |
ราชอาณาจักรรัตนโกสินทร์ เป็นราชอาณาจักรที่เท่าใดของประวัติศาสตร์ไทย | เป็นราชอาณาจักรที่สี่ | |
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-199074 เข้าโรงพยาบาลมาแล้วกี่วัน | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '022-199074' AND patient.hospitaldischargetime IS NULL |
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
)
| ผู้ใช้งานยอดนิยมจาก Yekaterinburg รัสเซีย | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%ekaterinburg%' OR UPPER(Location) LIKE '%EKATERINBURG%' OR Location LIKE '%ekaterinburg%' AND Reputation >= 1000 ORDER BY Reputation DESC |
วงดนตรี แคลช ได้เซ็นสัญญาครั้งแรกชื่อค่ายอะไร | ค่ายอัพจี | |
เชน วอร์ด ชนะรายการอะไร | ผู้ชนะเลิศจากการประกวดแสดงความสามารถ | |
ค่าความจริงคืออะไร | ค่าที่ใช้บ่งบอกว่าประพจน์ใดเป็นความจริง | |
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
)
| 150 ผู้ใช้สูงสุดจากบัลแกเรีย | SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Bulgaria%' OR Location LIKE '%sofia%' ORDER BY Reputation DESC LIMIT 150 |
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
| หมอสั่งยากี่ใบในปีก่อนสำหรับขวดละ 50 ml : แมกนีเซียมซัลเฟต 4% 2 ขวด | SELECT COUNT(*) FROM medication WHERE medication.drugname = '50 ml flex cont : magnesium sulfate 4% ij soln' AND DATETIME(medication.drugstarttime, '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... | ลองหาคำถาม BLCR ที่ถูกลบ | SELECT Body FROM Posts WHERE LOWER(Body) LIKE '%blcr%' |
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 p.Id, p.PostTypeId, p.Score FROM Posts AS p WHERE p.Score > 1 AND p.PostTypeId = 1 AND p.Body LIKE '%judaism%' |
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 COUNT(Id), PostTypeId FROM Posts WHERE OwnerUserId = @UserId AND CreationDate >= '##year##0101' AND CreationDate <= '##year##1231' GROUP BY PostTypeId |
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,
... | น้ำหนักครั้งล่าสุดของผู้ป่วย 015-7988 เมื่อ 35 เดือนก่อนคือเท่าใด | SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-7988') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-35 month') ORDER BY patient.unitad... |
นายพงศ์พัฒน์ เคยครองยศอะไร | พลตำรวจโท | |
ปลาน้ำเงินจัดว่าเป็นปลาที่อยู่ในวงศ์ใด | วงศ์ปลาเนื้ออ่อน (Siluridae) | |
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
) | ชาวศรีลังกาท็อปใน Stackoverflow | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%Sri%' ORDER BY Reputation DESC LIMIT 300 |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| ความคิดเห็นสูงสุดของผู้ใช้ | SELECT PostId AS "post_link", Score, Text FROM Comments WHERE UserId = '##UserId##' ORDER BY Score DESC LIMIT 250 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.