input stringclasses 87
values | instruction stringlengths 0 626 | output stringlengths 1 794 |
|---|---|---|
ปลากริมมุกเป็นปลาน้ำจืดที่มีขนาดเล็กที่สุดในโลกโดยมีความยาวเท่าไร | ความยาวไม่เกิน 4 เซนติเมตร | |
ไอ้แมงปอแมน ฮีโร่ซุปเปอร์รั่ว ใครเป็นตัวเอก | ริค | |
ประเทศอินเดีย เข้ารว่มการแข่งขันอะไร | กีฬาโอลิมปิก | |
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
)
| จำนวนครั้งที่ใช้ยา adefovir dipivoxil จนถึง 2104 อยู่ที่เท่าไร | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'adefovir dipivoxil' AND STRFTIME('%y', prescriptions.startdate) <= '2104' |
แม่น้ำอะเมซอนมีแม่น้ำสาขากี่สาขา | มากกว่า 1,100 สาขา | |
ปลาตีนมีการอาศัยอยู่ถิ่นที่อยู่อยู่ใด | อาศัยในป่าชายเลนในประเทศไทยมีกระจายเป็นตอน ๆ ริมฝั่งทะเลด้านอ่าวไทย | |
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
)
| ยอดแก้ไขที่ได้รับการยอมรับเทียบกับการแก้ไขที่ถูกปฏิเสธต่อเดือน | WITH Raw AS (SELECT TIME_TO_STR(COALESCE(ApprovalDate, RejectionDate), '%Y') AS yyyy, TIME_TO_STR(COALESCE(ApprovalDate, RejectionDate), '%M') AS mm, COUNT(ApprovalDate) AS ApprovalCount, COUNT(RejectionDate) AS RejectionCount FROM SuggestedEdits GROUP BY TIME_TO_STR(COALESCE(ApprovalDate, RejectionDate), '%Y'), TIME_T... |
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,
... | ผู้ป่วยปัจจุบันกี่รายที่มีอายุในช่วง 30 ปี? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age BETWEEN 30 AND 39 |
เพลงประจำรายการมีชื่อว่าอะไร | 나야나 (PICK ME) | |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
| ค้นหาคำถามหรือคำตอบจาก revisionGUID | SELECT PostId AS "post_link" FROM PostHistory WHERE RevisionGUID = '865e9305-bef6-4397-9097-2848d0dc1233' |
การแข่งขัน ฟุตบอลโลก 2018 รอบคัดเลือก โซนยุโรป กลุ่ม ไอ เริ่มต้นเวลาเท่าไร | 18:00 MSK (UTC+3) | |
อาสนวิหารแวร์ซายใช้สถาปัตยกรรมแบบใด | สถาปัตยกรรมแบบโรโกโกอันวิจิตร | |
เอ็นบีเอ็น เทเลวิชั่น ขยายตัวส่งเป็นจำนวนเท่าไร | 39 สถานี | |
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 |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| CDA Cloud-Gazing: Azure Python คำถาม | SELECT Id AS "comment_link", Score, Text FROM Comments WHERE UPPER(Text) LIKE UPPER('Azure') ORDER BY Score DESC |
อินเทล ก่อตั้งขึ้นโดยมีสำนักงานอยู่ไหน | ซานตาคลารา รัฐแคลิฟอร์เนีย สหรัฐอเมริกา | |
ปลาการ์ตูนเป็นปลาทะเลสวยงามที่จัดอยู่ในวงศ์ใด | วงศ์ปลาสลิดหิน (Pomacentridae) | |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
| ขั้นตอนสารกระตุ้นความดันโลหิต - โดปามีน 5-15 ไมโครกรัม/กก./นาที ทำไปได้กี่ครั้ง | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'vasopressors - dopamine 5-15 micrograms/kg/min' |
ใครเป็นคนทำการจัดกลุ่มของธาตุตามคุณสมบัติร่วมทางเคมี | ดมิทรี อีวาโนวิช เมนเดลีเยฟ (Dmitry Ivanovich Mendeleev) | |
จอร์จ โบดีย์ เคยเป็นผู้แทนราษฎรจากสภาผู้แทนราษฎรอะไร | ออสเตรเลียใต้ | |
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... | ELECT * FROM posts WHERE Id < 50000 | SELECT * FROM Posts WHERE Id > 50000 AND Id < 10000 |
ระบบโหลดเซนซิง เป็นระบบควบคุมอะไร | ควบคุมทางไฮดรอลิกส์ | |
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
) | เลือก * จากผู้ใช้งานที่ตำแหน่งที่ตั้ง เช่น 'Pune' | SELECT * FROM Users WHERE Location LIKE '%Oklahoma%' ORDER BY Reputation DESC |
ปลาจิ้มฟันจระเข้ยักษ์เป็นปลาน้ำจืดที่จัดอยู่ในวงศ์ของปลาใด | วงศ์ม้าน้ำและปลาจิ้มฟันจระเข้ (Syngnathidae) | |
ปลากระสงมีความยาวเต็มที่กี่เซนติเมตร | ความยาวเต็มที่ประมาณ 40 เซนติเมตร | |
นิสัยของปลาการ์ตูนเป็นรูปแบบใด อธิบาย | เป็นปลาที่หวงถิ่นมากพบ อาศัยอยู่ตามแนวปะการังกับดอกไม้ทะเล | |
ซากุ หลังจากการสถาปนาเมืองซากุขึ้นในปีอะไร | พ.ศ. 2548 | |
เอเชียนคัพ 2011 เป็นการแข่งขันฟุตบอลเอเชียนคัพ ครั้งที่เท่าไร | 15 | |
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed int,
range_... | รถไฟฟ้า M80 มีความจุผู้โดยสารสูงสุดเท่าใด | SELECT DISTINCT aircraft_code FROM aircraft WHERE aircraft_code = 'M80' |
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,
... | รหัสวอร์ดสุดท้ายที่คนไข้ 030-44598 เข้ารับการรักษาในโรงพยาบาลครั้งนี้คืออะไร | SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-44598' AND patient.hospitaldischargetime IS NULL) ORDER BY patient.unitadmittime DESC LIMIT 1 |
25 ปี มนต์เพลงคาราบาวจัดขึ้นที่ไหน | อิมแพ็ค อารีน่า เมืองทองธานี | |
วสันต์ โชติกุล เรียนศิลปะ จบการศึกษาจากที่ไหน | วิทยาลัยเพาะช่าง | |
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... | หลักสูตรไหนที่มี 11 หน่วยกิต | SELECT DISTINCT name, number FROM course WHERE credits = 11 AND department = 'EECS' |
ปลากรายถือว่าเป็นปลาน้ำจืดชนิดหนึ่งที่จัดอยู่ในวงศ์ของปลาชนิดใด | วงศ์ปลากราย (Notopteridae) | |
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,
... | คำนวนระยะเวลาที่นอนรักษาในโรงพยาบาลครั้งที่ 1 ของผู้ป่วยหมายเลข 027-107035 | SELECT STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', patient.hospitaladmittime) FROM patient WHERE patient.uniquepid = '027-107035' AND NOT patient.hospitaladmittime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1 |
ต้นชุมเห็ดเทศมีชื่อทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์ : Senna alata L. | |
ลัทธ์กมล ปิ่นโรจน์กีรติ โด่งดังผลงานโฆษณาอะไร | สก๊อตเบอร์รี่ | |
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,
... | ตั้งแต่ผู้ป่วยรายที่ 018-20179 เข้ารับการรักษาในโรงพยาบาลผ่านมากี่ชั่วโมงแล้ว | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '018-20179' AND patient.hospitaldischargetime IS NULL |
มีคุณสมบัติอะไรบ้าง | ลวดลาย/ดีไซน์เเบบพื้นผิวมีลาย | |
ตรีชฎา เพชรรัตน์ ชื่อเล่นเดิมว่าอะไร | บอย | |
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 Id AS "post_link", Body FROM Posts WHERE PostTypeId = 2 AND LENGTH(Body) <= 100 AND (Body LIKE '%can you help%') |
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 Id, DisplayName FROM Users WHERE Location IN (SELECT DISTINCT (Location) FROM Users WHERE Location LIKE '%urgaon%') |
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 Id AS "post_link", OwnerUserId AS "user_name", Score AS "score", LENGTH(Body) AS "length", Score * LENGTH(Body) AS "weighted" FROM Posts WHERE PostTypeId = 2 AND LENGTH(Body) >= 15000 AND Score <= 25 AND CommunityOwnedDate IS NULL ORDER BY 'weighted' DESC LIMIT 1000 |
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
)
| ให้จำนวนคนไข้ที่ได้เข้ารักษาในโรงพยาบาล เมื่อ 1 ปีที่ผ่านมา | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-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... | ค่าเฉลี่ยจำนวนการตอบกลับขึ้นอยู่กับวันในสัปดาห์ที่โพสต์คำถาม | WITH tmp AS (SELECT AnswerCount AS ACount, Period = TIME_TO_STR(CreationDate, '%W') FROM Posts WHERE PostTypeId = 1) SELECT Period, AVG(CAST(ACount AS FLOAT)) FROM tmp GROUP BY Period ORDER BY Period |
เดอะฟอกออฟวอร์ สร้างขึ้นปีอะไร | พ.ศ. 2546 | |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
| จำนวนคำถามที่ถามในวันจันทร์ | SELECT * FROM PostHistory AS p WHERE p.PostHistoryTypeId = 35 AND p.CreationDate BETWEEN '2016-10-18 00:00:00' AND '2018-10-18 23:59:59' |
นักร้องนำวงซิลิฟูลส์ ได้ลาออกจากวงด้วยสาเหตุอะไร | ประสบอุบัติเหตุจากการเล่นฟุตบอล | |
สะพานโกลเดนเกตถูกสร้างขึ้นในสมัยประธานาธิบดีคนใด | ประธานาธิบดีแฟรงคลิน ดี. รูสเวลท์ | |
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
) | คำนวณระยะเวลาที่ผู้ป่วยหมายเลข 93104 พักรักษาตัวครั้งล่าสุดในโรงพยาบาล | SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 93104 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1 |
พระบาทสมเด็จพระมงกุฎเกล้าเจ้าอยู่หัวทรงสร้างวังเทวะเวสม์ใครผู้ใด | สมเด็จพระเจ้าบรมวงศ์เธอ พระองค์เจ้าเทวัญอุไทยวงศ์ กรมพระยาเทวะวงศ์วโรปการ | |
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.OwnerUserId, COUNT(p.Id) AS "number_of_answers" FROM Posts AS p WHERE DATEDIFF(day, p.CreationDate, GETDATE()) <= 90 GROUP BY p.OwnerUserId ORDER BY COUNT(p.Id) DESC |
ครั้งแรกเกี่ยวกับโศกนาฏกรรม ชื่ออะไร | เฮย์เซล | |
นักร้องใหม่ชื่อว่าอะไร | เบนจามิน จุง ทัฟเนล | |
ไอโฟนรุ่นที่สองใช้อะไร | UMTS และ HSDPA | |
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-43795 เปลี่ยนแปลงน้ำหนักที่วัดได้ในวันที่ 2103-12-18 เวลา 05:43:00 เทียบกับค่าที่วัดได้ในวันที่ 2103-08-01 เวลา 17:39:00 เท่าไหร่ | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-43795') AND NOT patient.admissionweight IS NULL AND patient.unitadmittime = '2103-12-18 05:43:00') - (SELECT patient.admissionweight FROM p... |
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 ในสหราชอาณาจักรที่มีคะแนนตั้งแต่ 15 ขึ้นไป | SELECT AVG(Reputation) AS "average_reputation", COUNT(Id) AS "total_users" FROM Users WHERE LOWER(Location) LIKE '%united kingdom' AND Reputation >= 15 |
สำราญ แพทยกุล ดำรงตำแหน่งผู้บังคับบัญชา กรมทหารราบที่ 31 รักษาพระองค์ ระหว่างปีอะไร | พ.ศ. 2500 - 2504 | |
เพิร์ลแจมเป็นวงดนตรีสัญชาติใด | อเมริกัน | |
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... | คำถามที่ไม่มีคำตอบและมีคะแนนเป็น 0 คำถามที่สามารถทำเครื่องหมายว่ามีคำตอบได้โดยการโหวตคำถามที่ตอบด้วยตัวเอง | SELECT q.Id AS "post_link" FROM Posts AS q WHERE q.PostTypeId = 1 AND q.ClosedDate IS NULL AND q.AcceptedAnswerId IS NULL AND q.AnswerCount > 0 AND EXISTS(SELECT a.Id FROM Posts AS a WHERE a.Score = 0 AND a.ParentId = q.Id) AND NOT EXISTS(SELECT a.Id FROM Posts AS a WHERE a.Score > 0 AND a.ParentId = q.Id) ORDER BY q.I... |
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 Id, DisplayName, Reputation FROM Users WHERE Location LIKE '%Ireland%' AND Reputation > 8000 ORDER BY Reputation DESC |
วอลเลย์บอลชายชิงแชมป์นอร์เซกา จัดทุกๆกี่ปี | 2 ปี | |
เลิฟเกม เป็นเพลงที่เท่าไร | เพลงที่ 4 | |
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... | มีรายชื่อของคาบเรียนที่ไม่มีห้องปฏิบัติการหรือเปล่า | SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' |
เพราะเหตุใดจึงสร้างละครเรื่องกามเทพออกศึก ? | เพื่อฉลองการครบรอบสี่สิบเจ็ดปีของช่อง 3 | |
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 counts_cte AS (SELECT LAST_DATE_OF_MONTH(p.CreationDate) AS Cmonth, SUM(Score) AS Score, SUM(ViewCount) AS Views FROM Posts AS p WHERE PostTypeId = 1 GROUP BY LAST_DATE_OF_MONTH(p.CreationDate)) SELECT Cmonth, 100 * (CAST(Score AS FLOAT)) / (CAST(Views AS FLOAT)) AS "score_per_view" FROM counts_cte ORDER BY Cmonth |
CREATE TABLE payment (
payment_id number,
customer_id number,
staff_id number,
rental_id number,
amount number,
payment_date time,
last_update time
)
| การชำระเงินครั้งแรกคือวันที่เท่าใด | SELECT payment_date FROM payment ORDER BY payment_date 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
)
| เรียงลำดับสมาชิกตามจำนวนผู้เข้าชม | SELECT Id AS "user_link", Views FROM Users ORDER BY Views DESC |
สมาชิกของเดอะบีเทิลส์คนใดทำหน้าที่มือกีต้าร์ | จอร์จ แฮร์ริสัน | |
ปลากะพงลายเป็นปลาน้ำกร่อยจัดอยู่ในวงศ์ของปลาประเภทใด | วงศ์ปลาเสือตอ (Datnioididae) | |
ชะมดเช็ด มีหางวงสีดำอย่างไร | 6-9 ปล้อง | |
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
)
| ผู้ใช้ที่มีข้อมูล "เกี่ยวกับฉัน" มากกว่า 3,000 ตัวอักษร | SELECT Id AS "user_link", LENGTH(AboutMe) AS "Length of About Me", AboutMe FROM Users WHERE LENGTH(AboutMe) > 3000 ORDER BY LENGTH(AboutMe) DESC |
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... | รายวิชาภาษาโปรตุเกสขั้นสูงไหนที่ได้ 8 หน่วยกิต แสดงให้ฉันเห็นได้หรือไม่ | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Advanced Portuguese%' OR name LIKE '%Advanced Portuguese%') AND credits = 8 |
สถานีรถไฟชุมทางเขาชุมทอง เป็นสถานีรถไฟระดับอะไร | ระดับ 3 | |
เงาเสน่หา กำกับการแสดงโดยใคร | องอาจ สิงห์ลำพอง | |
สตาร์อัลไลแอนซ์ ก่อตั้งขึ้นวันที่เท่าไร | 14 พฤษภาคม ค.ศ. 1997 | |
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
)
| ไข้ที่ 1 ผู้ป่วย 25814 เข้ารับที่โรงพยาบาลครั้งแรกตั้งแต่ 2101 เมื่อไร | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 25814 AND STRFTIME('%y', admissions.admittime) >= '2101' ORDER BY admissions.admittime LIMIT 1 |
สตีเฟน เคลลี เป็นนักฟุตบอลประเทศอะไร | ไอร์แลนด์เหนือ | |
การคัดพลดับเบิลยูดับเบิลยูอีกลับมาคัดพลอีกครั้งเมื่อใด | วันที่ 19 กรกฎาคม พ.ศ. 2559 | |
ชะนีแก้มเหลือง น้ำหนักเมื่อโตเต็มที่ประมาณเท่าไร | 5.75 กิโลกรัม | |
นพ. เอริก ฟอร์แมน แสดงโดยใคร | โอมาร์ เอพส์ | |
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,
... | ผู้ป่วยเลขที่ 004-7984 มาโรงพยาบาลจริงหรือไม่ถึง 2102 | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '004-7984' AND STRFTIME('%y', patient.hospitaladmittime) <= '2102' |
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-22566 ที่เคยมานอนโรงพยาบาลครั้งแรกเมื่อ 2 ปีก่อนที่ผ่านมา ครั้งนั้นเข้ามานอนด้วยวิธีการไหนครับ | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '016-22566' AND patient.hospitaladmitsource = 'direct admit' AND DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY patient.hospitaladmittime LIMIT 1 |
อาร์เธอร์ อีแวนส์ เป็นคนประเทศอะไร | อังกฤษ | |
อำเภอกัลยาณิวัฒนาจัดตั้งขึ้นเมื่อ พ.ศ. ใด | พ.ศ. 2552 | |
อาสนวิหารวาน ตั้งอยู่ที่ไหน | ตั้งอยู่ที่เมืองวาน จังหวัดมอร์บีอ็อง แคว้นเบรอตาญ | |
บริษัทการค้ากับแอฟริกาและหมู่เกาะอินเดียของสกอตแลนด์มีชื่อเรียกอีกชื่อหนึ่งว่าอะไร | บริษัทดาเรียนสกอติช | |
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
) | ผู้ป่วยหมายเลข 594 อายุเท่าไหร่ในระหว่างที่เข้ารับการรักษาในโรงพยาบาลครั้งล่าสุด? | SELECT admissions.age FROM admissions WHERE admissions.subject_id = 594 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1 |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| 50 ความคิดเห็นที่ได้รับการโหวตสูงสุดในเดือนพฤศจิกายน | SELECT * FROM Comments WHERE CreationDate BETWEEN '2012-11-01' AND '2012-11-30' ORDER BY Score DESC LIMIT 50 |
ภาษาเอิร์สยา อยู่รัฐอะไร | สาธารณรัฐมอร์โดเวีย | |
แอร์เคบีแซด มีอีกชื่อหนึ่งว่าอะไร | แอร์กานบาวซา | |
มีขนาดของสินค้าอยู่เท่าไร | ขนาด W1830 x H2440 หนา 6 mm. | |
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
| วิธีรับประทานยาอมนิโคตินคืออะไร | SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'nicotine lozenge' |
ท้าวอินทรสุริยา เกิดเมื่อวันที่เท่าไหร่ | 10 ธันวาคม พ.ศ. 2428 | |
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
)
| เลือก * จากผู้ใช้ที่ id เหมือน 'sunny%'; | SELECT * FROM Users WHERE Id LIKE '1100%' |
ราชวงศ์ออเรนจ์-นัสเซาเป็นราชวงศ์ของอาณาจักรใด | อาณาจักรเนเธอร์แลนด์ | |
ถาวร วิรัฒน์จันทร์ เริ่มเล่นในอาชีพที่ไหน | กอล์ฟเอเชียนทัวร์ | |
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
| Rep ที่ได้จากการถามซ้ำ http://meta.stackexchange.com/questions/237286/how-to-find-data-on-dupes-in-sp | SELECT * FROM Tags WHERE TagName LIKE 'reg%' |
ปล้นอึดท้ายครัว ซึ่งสร้างเค้าโครงเรื่องพื้นฐานโดยใคร | มิตเชลล์ แคปเนอร์ | |
วิยะดา อุมารินทร์ ชื่อจริงว่าอะไร | วิยะดา ตรียะกุล |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.