input stringclasses 87
values | instruction stringlengths 0 626 | output stringlengths 1 794 |
|---|---|---|
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 Location, COUNT(*) AS number FROM Users WHERE Location LIKE '%South Africa%' OR Location LIKE '%Cape Town%' OR Location LIKE '%Capetown%' OR Location LIKE '%Joburg%' OR Location LIKE '%Johannesburg%' OR Location LIKE '%JHB%' OR Location LIKE '%Gauteng%' OR Location LIKE '%Pretoria%' OR Location LIKE '%Western Ca... |
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(*) FROM Posts WHERE PostTypeId = 1 AND CreationDate < '##Date##' |
CREATE TABLE payment (
payment_id number,
customer_id number,
staff_id number,
rental_id number,
amount number,
payment_date time,
last_update time
)
| ส่งคืนผลรวมของจำนวนเงินที่ชำระทั้งหมด | SELECT SUM(amount) FROM payment |
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
)
| ตั้งแต่เมื่อ 5 ปีก่อน มีผู้ป่วยเข้ารับการรักษาในโรงพยาบาลกี่คน? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-5 year') |
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... | คลาสใดบ้างที่ฉันจะสมัครเรียนได้เพื่อรับหน่วยกิต 1 หน่วย | SELECT DISTINCT name, number FROM course WHERE credits = 1 AND department = 'EECS' |
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-8398 | SELECT STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', patient.hospitaladmittime) FROM patient WHERE patient.uniquepid = '015-8398' AND NOT patient.hospitaladmittime IS NULL ORDER BY patient.hospitaladmittime 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
)
| ผู้ใช้ที่ติดอันดับ 10 อันดับแรก: ตูนิเซีย | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%tunis%' ORDER BY Reputation DESC LIMIT 10 |
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-20205 ในการพักรักษาตัวในโรงพยาบาลครั้งสุดท้าย | SELECT STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', patient.hospitaladmittime) FROM patient WHERE patient.uniquepid = '010-20205' AND NOT patient.hospitaladmittime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1 |
ผู้ดีอีสาน สร้างโดยบริษัทอะไร | ยูม่า 99 จำกัด | |
ถนนอินทรพิทักษ์ ถูกเรียกอีกชื่อว่าอะไร | ถนนสายที่ 4 | |
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
)
| จัดอันดับตามความน่าเชื่อสำหรับผู้ใช้ใน Valencia | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%valencia%' OR UPPER(Location) LIKE '%VLC' ORDER BY Reputation DESC |
พื้นที่ลุ่มน้ำของเทือกเขา มีผู้อาศัยจำนวนเท่าไร | 750 ล้านคน | |
ยูโกสลาเวีย แข่งขันที่เมืองอะไร | เมืองแคลการี | |
ตำนานแห่งซิลมาริล เป็นนิยายอะไร | นิยายจินตนิมิต | |
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
| วันเกิดของผู้ป่วยหมายเลข 6940 | SELECT patients.dob FROM patients WHERE patients.subject_id = 6940 |
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
)
| ผู้ใช้สูงสุดจาก Algeria /. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, 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 UPPER(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,
... | ผู้ป่วย 035-18528 มีอายุเท่าไรเมื่อเข้ารับการรักษาที่โรงพยาบาลครั้งแรก | SELECT patient.age FROM patient WHERE patient.uniquepid = '035-18528' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1 |
คำว่า dessert ในภาษาอังกฤษมีรากศัพท์มาจากคำในภาษาฝรั่งเศสคำว่า ? | desservir | |
พายุฝุ่นในประเทศอินเดีย พ.ศ. 2561 มีผู้เสียชีวิตประมาณกี่คน | มีผู้เสียชีวิตกว่า 110 คน | |
ซูว์ลี พรูว์ดอมสนใจด้านใด | งานเขียนจนเข้ารับการศึกษาใหม่ด้านวรรณคดี | |
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-10390 เข้าโรงพยาบาลครั้งแรกของปีนี้เมื่อไร | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-10390' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.hospitaladmittime 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
)
| 1000 สุดยอดผู้ใช้ StackOverflow จากแอฟริกาใต้ | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, WebsiteUrl AS Website, Location FROM Users WHERE Location LIKE '%South Africa%' ORDER BY Reputation DESC LIMIT 1000 |
ยาคอฟ ดซูกัสวิลี ทำหน้าที่อะไรในกองทัพประเทศอะไร | สหภาพโซเวียต | |
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 ใน 50 อันดับแรกของมาธยประเทศ | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%Madhya pradesh%' OR UPPER(Location) LIKE '%Madhya pradesh%' OR Location LIKE '%Madhya pradesh%' AND Reputation >= 1000 ORDER BY Reputation DESC LIMIT 2500 |
ดาวตะกร้า ถือกำเนิดมาจากยุคอะไร | ยุคคอร์บอนิฟอรัส | |
CREATE TABLE table_train_124 (
"id" int,
"loss_of_consciousness" bool,
"serum_glucose" bool,
"myelosuppression" bool,
"retinoids_hepatotoxic" bool,
"pulmonary_disease" bool,
"etiology" bool,
"abnormal_thyroid_function" bool,
"laboratory_abnormality" bool,
"chest_pain" bool,
"... | ผู้ป่วยที่ขาดวิตามินบี 12 ผู้ที่มีภาวะไทรอยด์ทำงานผิดปกติ หรือมีประวัติส่วนตัวของความผิดปกติของโรคทางการแพทย์ที่ระบุทางคลินิกได้หรือโรคทางระบบประสาท/จิตเวชที่ระบุทางคลินิกได้ (นอกเหนือจากโฆษณา) รวมถึง (แต่ไม่จำกัดเฉพาะ) โรคหลอดเลือดสมอง โรคของสมอง สภาวะหลอดเลือดในสมอง โรคอื่น ๆ ที่ทำให้ระบบประสาทเสื่อม อาการบาดเจ็บที่ศ... | SELECT * FROM table_train_124 WHERE vitamin_b12_deficiency = 1 OR abnormal_thyroid_function = 1 OR medical_disorder = 1 OR neurological_disease = 1 OR psychiatric_disease = 1 AND ad = 0 OR (stroke = 1 OR brain_lesions = 1 OR cerebrovascular_disease = 1 OR neurodegenerative_disease = 1 OR (head_injury = 1 OR loss_of_con... |
หญ้าคาจัดว่าเป็นพืชอยู่ในวงศ์อะไรของพรรณไม้ | วงศ์ : Gramineae | |
วิจิตร เกตุแก้ว เกิดที่จังหวัดอะไร | จังหวัดนนทบุรี | |
การสร้างภาพสมองโดยกิจ เช่นอะไร | fMRI ซึ่งใช้วินิจฉัยโรคทางเมแทบอลิซึมและรอยโรคในสมองที่ละเอียดยิ่งขึ้น (เช่น โรคอัลไซเมอร์) | |
สนุกเกอร์หกแดงจัดการแข่งขันเป็นแรกเมื่อไหร่ | กรกฎาคม ปี 2008 | |
คนดีแตกได้รับรางวัลในปีอะไร | ค.ศ. 2014 | |
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
)
| ผู้ป่วย 22756 นัดรับตัวเข้าโรงพยาบาลเวลาไหนคะ/ครับ | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 22756 |
ปลาดุกมูนมีชื่อเรียกทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์ว่า Bagrichthys obscurus | |
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... | สร้างหน้า HTML เพื่อแสดง (ส่วนใหญ่) เป็นไฟล์ GIF เคลื่อนไหวที่โพสต์ในจำนวนวันที่ระบุ สร้าง HTML เพื่อวางลงในไฟล์ .html ว่างเปล่าเพื่อแสดงรูปภาพ .GIF (ส่วนใหญ่เป็น GIF เคลื่อนไหว) ที่เชื่อมโยงกับโพสต์ถาม-ตอบภายใน 'จำนวนวันล่าสุดที่ระบุ' ระบบจะค้นหาคำว่า `.gif` ครั้งแรกในเนื้อหาโพสต์และค้นหาคำว่า `http` ย้อนกลับ...
คำแน... | SELECT SUBSTRING(Body, CHARINDEX(@stEnd, Body) + LEN(@stStart) - (CHARINDEX(REVERSE(@stStart), REVERSE(LEFT(Body, CHARINDEX(@stEnd, Body) + LEN(@stStart) - 1))) + LEN(@stStart) - 1), CHARINDEX(REVERSE(@stStart), REVERSE(LEFT(Body, CHARINDEX(@stEnd, Body) + LEN(@stStart) - 1))) + LEN(@stStart) - 1) AS "gif_url", CASE WH... |
โฮลเดน อยู่นอกเมืองอะไร | เมืองเมลเบิร์น | |
ประกาศในราชกิจจานุเบกษา เล่มที่เท่าไร | 113 | |
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 ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location, WebsiteUrl AS Wesbite, LastAccessDate AS Seen, CreationDate FROM Users WHERE Reputation >= '##MinimalReputation:int?10##' AND (UPPER(Location) LIKE UPPER('%algeria%')) ORDER BY Reputation DESC LIMIT 1000 |
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... | จำนวนโพสต์ที่มีการใช้งานในเดือนก่อนของผู้ดูแล 3 คน | SELECT COUNT(*) AS PostsLastMonth, 3 AS Moderators, (COUNT(*) / 3) AS PostsLastMonthPerMod FROM Posts WHERE LastActivityDate >= DATEADD(month, -1, (SELECT MAX(LastActivityDate) FROM Posts)) |
แดเนียล บราวน์ เป็นนักกีฬาอะไร | นักกีฬายิงธนู | |
คณะสังคมศาสตร์ มหาวิทยาลัยเชียงใหม่ สอนวิชาอะไรบ้าง | สาขาวิชาทางสังคมศาสตร์ | |
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
)
| ผู้ใช้ 35 อันดับแรกจากเมืองอาห์เมดาบัด | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%kochi%' OR UPPER(Location) LIKE '%KOCHI%' OR Location LIKE '%kochi%' ORDER BY Reputation DESC LIMIT 35 |
โกโช อาโอยามะ เกิดวันที่เท่าไหร่ | 21 มิถุนายน พ.ศ. 2506 | |
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... | SOja - จำนวนโพสต์ที่ใช้งานเมื่อเดือนที่แล้วต่อ 3 ผู้ควบคุม | SELECT COUNT(*) AS PostsLastMonth, 3 AS Moderators, (COUNT(*) / 3) AS PostsLastMonthPerMod FROM Posts WHERE LastActivityDate >= DATEADD(month, -1, (SELECT MAX(LastActivityDate) FROM Posts)) |
ใครคือนักร้องนำของโอเอซิส | เลียม แกลลาเกอร์ | |
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... | มีวิชาเรียนอะไรบ้างที่มี 2 เครดิตและอยู่ในระดับ SW 100 | SELECT DISTINCT department, name, number FROM course WHERE credits = 2 AND department = 'SW' AND number < 100 + 100 AND number >= 100 |
กบฏวังหลวง เกิดขึ้นเมื่อไหร่ | 26 กุมภาพันธ์ พ.ศ. 2492 | |
เอ็กมาอินเตอร์เนชันแนล โดยองค์กรได้เปลี่ยนมาใช้ชื่อนี้ในปีอะไร | พ.ศ. 2537 | |
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... | ห้องปฏิบัติการขนาด 800 ตรว.มีอยู่จริงหรือ | SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 800 |
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 'bacon', COUNT(*) FROM Posts WHERE Body LIKE '%bacon%' UNION ALL SELECT 'butter', COUNT(*) FROM Posts WHERE Body LIKE '%butter%' |
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 TOP(@TopCount) AS Id, DisplayName, Reputation, LastAccessDate, Age, Location FROM Users WHERE Location LIKE '##COuntry##%' ORDER BY Reputation DESC |
พระเจ้าอัลฟอนโซเสด็จพระราชสมภพที่ใด | เมืองซาลามังกาในราชอาณาจักรเลออน | |
สภาพภูมิประเทศของเกาเสม็ดเป็นแบบใด | มีสันเขาเป็นแกนยาวจากทิศเหนือลงมาทางใต้ | |
CREATE TABLE Employee (
EmployeeId integer,
LastName varchar(20),
FirstName varchar(20),
Title varchar(30),
ReportsTo integer,
BirthDate datetime,
HireDate datetime,
Address varchar(70),
City varchar(40),
State varchar(40),
Country varchar(40),
PostalCode varchar(10),
... | กราฟแท่งสำหรับจำนวนเบอร์โทรศัพท์ของพนักงานแต่ละคน โดยเรียงจากแกน y จากมากไปน้อย | SELECT Phone, COUNT(Phone) FROM Employee GROUP BY Phone ORDER BY COUNT(Phone) DESC |
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
| แท็กพ้องความหมายที่แนะนำซึ่งไม่มีการโหวต/ | SELECT 'site://tags/' + TargetTagName + '/synonyms|' + SourceTagName AS Synonym, TargetTagName AS Original, OwnerUserId AS "user_link" FROM TagSynonyms WHERE Score = 0 AND ApprovalDate IS NULL ORDER BY 'user_link' 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
)
| สถานะสมรสของผู้ป่วย 58932 ในครั้งแรกที่มาที่โรงพยาบาลคืออะไร | SELECT admissions.marital_status FROM admissions WHERE admissions.subject_id = 58932 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1 |
วันขึ้น 15 ค่ำ เดือน 6 หรือเรียกอีกอย่างว่าอะไร | วันเพ็ญแห่งเดือนวิสาขะ | |
ทักษิณชินวัตรเป็นนายกรัฐมนตรีคนที่เท่าไหร่ของประเทศไทย | คนที่ 23 | |
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 Title, Id, PostTypeId FROM Posts WHERE CreationDate BETWEEN '2014-07-01' AND '2014-07-31' AND PostTypeId = 1 |
หญ้าข้าวนกส่วนมากพบที่ทวีปใด | ในทวีปเอเชียและทวีปแอฟริกา | |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
| มีการดำเนินการตามขั้นตอนวัฒนธรรมจำนวนกี่ครั้งในปี 2104 | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'cultures' AND STRFTIME('%y', treatment.treatmenttime) = '2104' |
คำว่า "เกียกกาย" เป็นศัพท์โบราณที่ใช้เรียกอะไร ? | กองทหารส่วนดูแลเสบียง | |
CREATE TABLE tourist_attractions (
tourist_attraction_id number,
attraction_type_code text,
location_id number,
how_to_get_there text,
name text,
description text,
opening_hours text,
other_details text
)
| แหล่งท่องเที่ยวไหนบ้างที่สามารถเดินทางโดยรถบัสหรือเดิน และมีชื่อและเวลาเปิดบริการอย่างไร | SELECT name, opening_hours FROM tourist_attractions WHERE how_to_get_there = "bus" OR how_to_get_there = "walk" |
พิกุล ชื่อวิทยาศาสตร์ คือ ? | Mimusops elengi | |
การประกาศอย่างเป็นทางการมีเนื้อหาว่าอย่างไร | ยกสถานะคณะธรรมยุติ ให้เป็นนิกายอย่างถูกต้องตามกฎหมาย | |
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-1746 นอนในห้องผู้ป่วยวิกฤตครั้งแรกนานแค่ไหน | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-1746') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime 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... | จำนวนคำถามสำหรับ PHP และ cURL | SELECT Id, Title FROM Posts WHERE Title LIKE '%php%curl%' OR Title LIKE '%php%post%' |
มาร์เชอ เกย์ ฮาร์เดน เกิดเมื่อวันที่เท่าใด ? | วันที่ 14 สิงหาคม ค.ศ. 1959 | |
ฟาม ฟาเตล คือ สตูดิโออัลบั้มลำดับที่เท่าไร | ลำดับที่ 7 | |
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 |
ประโยชน์ของใบระงับพิษคืออะไร | ปรุงเป็นยาเขียว | |
CREATE TABLE Products (
Product_ID VARCHAR(100),
Product_Name VARCHAR(255),
Product_Price DECIMAL(20,4),
Product_Description VARCHAR(255),
Other_Product_Service_Details VARCHAR(255)
)
| กราฟแสดงข้อมูลราคาเฉลี่ยของผลิตภัณฑ์แต่ละประเภท โดยเรียงข้อมูลช่วงราคาจากต่ำสุดไปสูงสุด | SELECT Product_Name, AVG(Product_Price) FROM Products GROUP BY Product_Name ORDER BY Product_Name |
ขอทราบชื่อสินค้าหน่อย | yellow wood | |
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' |
ยูกิ มูราอิเกิดที่ใด | เมืองซาไก จังหวัดโอซากะ ประเทศญี่ปุ่น | |
สงครามเย็นเกิดขึ้นช่วงใด | ค.ศ. 1947–1991 | |
จักรวรรดิออตโตมันเข้าสู่สงครามใน ค.ศ. ใด | ค.ศ. 1914 | |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
| ประวัติโค้ดทั้งหมดสำหรับ PostId | SELECT Id, Text FROM PostHistory WHERE PostId = 111102 |
กล้วยน้ำว้าเป็นพรรณไม้จัดอยู่ในวงศ์พรรณไม้ชนิดใด | วงศ์ : Musaceae | |
มาโคโตะ มีลักษณะแต่งตัวอย่างไร | ผ้าพันคอเส้นยาวเป็นสัญลักษณ์ประจำตัว | |
หลวงพี่แจ๊ส 4G จำหน่ายโดยใคร | มูฟวี่ ฮีโร่ | |
นะงะเซะ โทะโมะยะ เกิดวันที่เท่าไร | 7 พฤศจิกายน ค.ศ.1978 | |
ประเทศสวิตเซอร์แลนด์ เข้าร่วมแข่งขันกีฬาโอลิมปิกฤดูร้อนครั้งที่ 3 ปีอะไร | ค.ศ. 1904 (พ.ศ. 2447) | |
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-1746 อยู่ในหอผู้ป่วยวิกฤตคือ | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-1746') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1 |
ไฮเดินถูกไล่ออกจากตำแหน่งในปีใด ? | ค.ศ. 1929 | |
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 ParentId AS "post_link", Id AS "Post Link", PostTypeId AS "Post Type", OwnerUserId AS "User Link", Score AS "Score", COUNT(*) AS Count FROM Posts AS P WHERE ParentId IN (SELECT ParentId AS "Post Link" FROM Posts AS TargetP WHERE OwnerUserId = '##TargetUserId##' AND P.Score > TargetP.Score) GROUP BY OwnerUserId, ... |
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
)
| แจ้งเวลาเข้ารับการรักษาของผู้ป่วยหมายเลข 51577 ถึงปัจจุบัน 2104 | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 51577 AND STRFTIME('%y', admissions.admittime) <= '2104' |
เนาวรัตน์ พงษ์ไพบูลย์ เกิดวันที่เท่าไหร่? | 26 มีนาคม พ.ศ. 2483 | |
ปลาตีนเป็นปลาที่อยู่ในวงศ์ย่อยใด | วงศ์ย่อย Oxudercinae | |
การเคหะแห่งชาติ เกิดขึ้นจิงๆ วันที่เท่าไร | 12 กุมภาพันธ์ พ.ศ. 2516 | |
ปลากระสงมีชื่อเรียกทางวิทยาศาสตร์ว่าอย่างไร | ชื่อวิทยาศาสตร์ว่า Channa lucius | |
เลขอะตอมสะท้อนถึงสิ่งใด | คุณสมบัติของธาตุ | |
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 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", Reputation, activity = 'site://users/' + CAST(Id AS TEXT) + '?tab=topactivity|Activity', profile = 'site://users/' + CAST(Id AS TEXT) + '?tab=profile|Profile' FROM Users ORDER BY Reputation DESC LIMIT 200 |
ซัมซุง กาแลคซีเอส คืออะไร | สมาร์ตโฟน | |
CREATE TABLE table_test_31 (
"id" int,
"ejection_fraction_ef" int,
"macular_disease" bool,
"systemic" bool,
"alt" float,
"iud" bool,
"condom_with_spermicide" bool,
"gender" string,
"meropenem" bool,
"non_q_wave_myocardial_infarction" bool,
"hbcab" bool,
"unstable_angina" ... | การวินิจฉัยอาการทางตาใดๆ ต่อไปนี้: โรคเยื่อแข็งตาอักเสบที่ลุกลาม โรคต้อหิน โรคจอประสาทตาที่มีแนวโน้มจะส่งผลต่อการมองเห็นตอนกลางวัน โรคจอตาเสื่อมหรือโรคยูเวียอักเสบ โรคตาแห้งรุนแรงและโรคตาไทรอยด์ | SELECT * FROM table_test_31 WHERE ocular = 1 OR (active_scleral_disease = 1 OR glaucoma = 1 OR (retinal_disease = 1 AND central_vision = 1) OR macular_disease = 1 OR uveitis_disease = 1 OR severe_dry_eyes = 1 OR dysthyroid_eye_disease = 1) |
นกปักษาสวรรค์เล็ก ชื่อวิทยาศาสตร์ คือ ? | Paradisaea minor | |
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 หรือสูงกว่า | SELECT Posts.Id AS "post_link", Posts.OwnerUserId AS "user_link", Score, ViewCount, Score * 1000 / ViewCount AS "Score per Thousand Views" FROM Posts WHERE Score >= 5 AND PostTypeId = 1 ORDER BY ViewCount LIMIT 1000 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.