input stringclasses 87
values | instruction stringlengths 0 626 | output stringlengths 1 794 |
|---|---|---|
มาร์เชอ เกย์ ฮาร์เดน ได้รับรางวัลออสการ์ในสาขาใด ? | นักแสดงสมทบหญิงยอดเยี่ยม | |
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 OwnerDisplayName, MAX(CreationDate), COUNT(*) AS Count FROM Posts WHERE OwnerUserId IS NULL GROUP BY OwnerDisplayName ORDER BY Count DESC, OwnerDisplayName LIMIT 100 |
มอร์ริส อีสต์ เกิดเมื่อไหร่ | 8 สิงหาคม พ.ศ. 2516 | |
ธีรภัทร พริ้งศุลกะ เกิดที่จังหวัดอะไร | สุราษฏร์ธานี | |
มีสถานพยาบาชื่อว่า ? | โรงพยาบาลชุมชนคำไฮใหญ่ | |
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
| โหวตทั้งหมดที่ได้รับ | SELECT v.VoteTypeId, COUNT(*) FROM Votes AS v WHERE v.UserId = '##UserID##' GROUP BY v.VoteTypeId |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
| ที่ซึ่งบทความที่ไหนก็ตามบน meta นั้นนำเสนอ | SELECT UserId AS "user_link", COUNT(PostId) AS "number_of_posts" FROM PostHistory WHERE PostHistoryTypeId IN (3, 6) AND Text LIKE '%<featured>%' GROUP BY UserId ORDER BY COUNT(PostId) DESC |
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 * FROM Posts WHERE CreationDate = '##PostDate##' 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
)
| หางาน Laravel ผู้เชี่ยวชาญใกล้ Salt Lake City, UT | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Location, Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%##Location##%') ORDER BY Reputation 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,
... | เป็นผู้ป่วยที่ 018-47575 ในห้องฉุกเฉิน? | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '018-47575' AND patient.hospitaladmitsource = 'emergency department' |
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 "year", MONTH(CreationDate) AS "month", SUM(CASE WHEN Posts.PostTypeId = 1 THEN 1 ELSE 0 END) AS QuestionCount, SUM(CASE WHEN Posts.PostTypeId = 2 THEN 1 ELSE 0 END) AS AnswerCount FROM Posts WHERE YEAR(CreationDate) >= 2014 GROUP BY YEAR(CreationDate), MONTH(CreationDate) ORDER BY YEAR(Cre... |
CREATE TABLE Products (
product_id INTEGER,
product_type_code VARCHAR(10),
product_name VARCHAR(80),
product_price DECIMAL(19,4)
)
| ให้ราคาต่อหน่วยสินค้าสูงสุดในแต่ละประเภทสินค้าในรูปแบบกราฟแท่ง โดยเรียงตามแกน y จากน้อยไปมาก | SELECT product_type_code, MAX(product_price) FROM Products GROUP BY product_type_code ORDER BY MAX(product_price) |
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
)
| บอกเวลารับเข้า รพ. ผู้ป่วย 56009 จนถึง 2100 | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 56009 AND STRFTIME('%y', admissions.admittime) <= '2100' |
เนื่องจากอุปกรณ์จ่ายพลังงานมีเพียงจุดเดียว ผู้ผลิตส่วนมากมักจะเพิ่มอุปกรณ์อะไรมาด้วย ? | อุปกรณ์จ่ายพลังงานสำรอง | |
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", * FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NULL AND ClosedDate IS NULL AND AnswerCount > 0 AND OwnerUserId = '##ownerid##' |
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 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... | หลักสูตรในเทคนิค AI ขั้นสูง มีกี่หน่วยกิต | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Advanced Al Techniques%' OR name LIKE '%Advanced Al Techniques%') AND credits = 4 |
ฮาร์เดนแจ้งเกิดในผลงานภาพยนตร์เรื่องใด ? | The First Wives' Club (1996) | |
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-158338 ในเดือนนี้ครั้งที่ 1 อยู่ที่ | SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-158338') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month',... |
เกเลชี อิเฮอานาชอ ชื่อเต็มว่าอะไร | เกเลชี ปรอมีเซ อิเฮอานาชอ | |
อินช็อนยังได้รับการยอมรับจากสกายแทร็ก ว่าเป็นท่าอากาศยานระดับอะไร | ระดับ 5 ดาว | |
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... | เพชรในตม : คำถามที่คนดูน้อยกว่า 10 วิว ที่มีคะแนนสูงสุด | SELECT Posts.Id AS "post_link", Posts.OwnerUserId AS "user_link", Score, ViewCount, Score * 1000 / ViewCount AS "Score per Thousand Views" FROM Posts WHERE ViewCount < 10 AND PostTypeId = 1 ORDER BY Score 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
)
| 50 ผู้ใช้สูงสุดจาก Michigan รายชื่อ 50 ผู้ใช้สูงสุด (จัดอันดับตามชื่อเสียง) ที่อาศัยอยู่ในกาลิกัต/Kozhikode รัฐ Kerala ประเทศอินเดีย ตามข้อมูลโปรไฟล์ของพวกเขา ขอบคุณที่ http://data.stackexchange.com/stackoverflow/qe/1157/top-100-users-from-greece | SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Michigan%' ORDER BY Reputation DESC LIMIT 150 |
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,
... | เพศของผู้ป่วย 027-144847 คืออะไร | SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '027-144847' |
จัดตั้งองค์การบริหารส่วนตำบลโพนโก ในลำดับที่เท่าไร | 1889 | |
โรแลนด์ ทีบี-303 คืออะไร | เบสซินธิไซเซอร์ | |
ศูนย์สื่อมวลชนโอลิมปิกลอนดอนสร้างสำหรับอะไร | ดทำขึ้นเป็นพิเศษสำหรับโอลิมปิกฤดูร้อน 2012 | |
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,
... | ผู้ป่วยหมายเลขใด 032-1755 มีเพศอะไร | SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '032-1755' |
วันเด็กแห่งชาติ ตรงกับวันใด | วันเสาร์ที่สองของเดือนมกราคมของทุกปี | |
ทิร์ฟมัวร์ ความจุเท่าไร | 22,546 คน | |
กองพลน้อย 2506 เป็นส่วนหนึ่งของแนวหน้าปฏิวัติประชาธิปไตยอะไร | คิวบา | |
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)
)
| แสดงวันที่วางแผนการจัดส่งทั้งหมดและค่าถังตามปีในแผนภูมิเส้น และจัดอันดับจากสูงไปต่ำตามแกน X | SELECT Planned_Delivery_Date, COUNT(Planned_Delivery_Date) FROM Bookings ORDER BY Planned_Delivery_Date DESC |
อัลด์โนอา.เซโร่แบ่งเป็นครึ่งแรกและครึ่งหลังอย่างละกี่ตอน | 12 ตอน | |
สนามกีฬาติณสูลานนท์ มีความจุเท่าไร | 35,000 ที่นั่ง | |
โฎนแกว อยู่จังหวัดอะไร | จังหวัดตาแก้ว | |
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
)
| เวลาที่ผู้ป่วย 31615 ออกจากโรงพยาบาลครั้งแรก ในรอบ 1 ปีที่ผ่านมา | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 31615 AND DATETIME(admissions.dischtime) >= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY admissions.dischtime LIMIT 1 |
โฎนแกว มีประชากรเท่าไร | 39,186 คน | |
ราเนอส์ อยู่ประเทศอะไร | ประเทศเดนมาร์ก | |
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
| เลือก * ทั้งหมดจาก PostFeedback ที่มีเงื่อนไขเป็น IsAnonymous = 1. | SELECT COUNT(*), TIME_TO_STR(CreationDate, '%-mo%Mt%-I') FROM PostFeedback WHERE IsAnonymous = 1 GROUP BY TIME_TO_STR(CreationDate, '%-mo%Mt%-I') |
สวิตช์ฟุต เป็นแนววงดนตรีอะไร | อัลเทอร์เนทีฟ ร็อก | |
บริษัท จีเอฟพีที ก่อตั้งขึ้นเมื่อใด | วันที่ 25 พฤศจิกายน พ.ศ. 2524 | |
แยชือ ดูแด็ก สโมสรสุดท้ายที่เล่นให้คือสโมสรอะไร | เรอัลมาดริด | |
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 '%Ahmedabad%' OR UPPER(Location) LIKE '%Ahmedabad%' OR Location LIKE '%Ahmedabad%' AND Reputation >= 1000 ORDER BY Reputation DESC |
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 * FROM Posts WHERE CreationDate = '##PostDate##' LIMIT 10 |
วีอาร์เนเวอร์เอเวอร์เกตติงแบ็กทูเกเตอร์ จากสตูดิโออัลบั้มที่เท่าไร | สี่ เรด (ค.ศ. 2012) | |
ปลากินยุง อยู่ในวงศ์ปลาอะไร | ปลาสอด | |
มีลักษณะคล้ายฟันของอะไร ? | จระเข้ | |
เพชฌฆาตกระสุนเปลือย เขียนบทโดยใคร | หว่อง จิง | |
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, CASE WHEN ClosedDate IS NULL THEN 'Y' ELSE 'Er' END AS "closed?", Id AS "post_link" FROM Posts WHERE PostTypeId = 1 AND (NOT ClosedDate IS NULL OR Score < -3) ORDER BY Score LIMIT 500 |
ตามล่านักฆ่าแอนดรอยด์ นำเนื้อหามาจากผลงานของใคร | เท็ตสึกะ โอซามุ | |
CREATE TABLE Products (
product_id INTEGER,
product_type_code VARCHAR(10),
product_name VARCHAR(80),
product_price DECIMAL(19,4)
)
| แสดงราคาผลิตภัณฑ์สูงสุดของแต่ละประเภทผลิตภัณฑ์ในแผนภูมิวงกลม | SELECT product_type_code, MAX(product_price) FROM Products GROUP BY product_type_code |
โฮลเดน เป็นบริษัทสัญชาติอะไร | สัญชาติออสเตรเลีย | |
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... | 542 คือขนาดอะไร? | SELECT DISTINCT num_enrolled FROM course WHERE department = 'EECS' AND number = 542 |
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
| ค่าโดยสารรหัส Y หมายถึง | SELECT DISTINCT booking_class FROM class_of_service WHERE booking_class = 'Y' |
สมาคมวิทยุสมัครเล่นแห่งประเทศไทย ใบอนุญาตเลขที่เท่าไร | ค. 99/2507 | |
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
| สายการบินใดที่เป็นแบบ AS ใน SAM | SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'AS' |
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
| ผู้ป่วยหมายเลข 23930 เพศชายหรือหญิง | SELECT patients.gender FROM patients WHERE patients.subject_id = 23930 |
พระเจ้าบรมวงศ์เธอ พระองค์เจ้านุ่มสิ้นพระชนเมื่อใด | สิ้นพระชนม์ในรัชกาลที่ 3 เมื่อพ.ศ. 2381 | |
มาวนีโอมีความหนาแน่นประชากรเท่าใด | 1.24 คน/ตร.กม. (3.2 คน/ตร.ไมล์) | |
ใครเป็นคนก่อตั้งไทยรัฐ | กำพล วัชรพล ปัจจุบันมี | |
ริชาร์ด รอเจอส์ เข้าศึกษาที่สมาคมอะไร | สถาปัตยกรรม วิทยาลัยสถาปัตยกรรม ในลอนดอน | |
หม่อมเจ้าประสบศรีจิรประวัติ จิรประวัติ เป็นพระนัดดาของใคร | พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว | |
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
)
| วิธีกลืนกินของ heparin flush crrt (5000 units/ml) คืออะไร | SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'heparin flush crrt (5000 units/ml)' |
สกุลการเวก หรือ ภาษาอังกฤษคือ ? | Artabotrys | |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| คะแนนความคิดเห็นที่สูงที่สุด รวมลิงก์ไปยังโพสต์ | SELECT c.Id AS "comment_link", c.Score, c.UserId AS "user_link", c.CreationDate FROM Comments AS c WHERE Score > 100 ORDER BY Score DESC LIMIT 100 |
เจดีย์ประธานเหลือแต่ฐาน มีวิหารอยู่ด้านใด ? | ด้านตะวันออกของเจดีย์ | |
CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id INTEGER,
order_status_code VARCHAR(10),
order_date DATETIME
)
| แจกแจง Id ของคำสั่งซื้อ, Id ของลูกค้าตามสถานะที่ยกเลิกคำสั่งซื้อ สั่งโดยวันที่สั่งซื้อ แสดงการสหสัมพันธ์ | SELECT order_id, customer_id FROM Customer_Orders WHERE order_status_code = "Cancelled" ORDER BY order_date |
จิน เป็ง หรือจีนเป็งเกิดวันที่ ? | 21 ตุลาคม พ.ศ. 2467 | |
เจ้าชายอาดัลแบร์ทแห่งปรัสเซีย พระนามเต็มว่าอะไร | อาดัลแบร์ท แฟร์ดีนันท์ เบเร็งการ์ วิคทอร์ | |
สงครามโลกครั้งที่สอง เกิดขึ้นระหว่าง ค.ศ. ใด | ค.ศ. 1939 ถึง 1945 | |
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,
... | เพศของผู้ป่วย 007-7925 คืออะไร | SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '007-7925' |
นายสวัสดิ์ วัฒนายากรเป็นบุตรของใคร | ขุนธำรงพันธุ์ภักดี กับนางสร้อยทอง วัฒนายากร (คณานุรักษ์) | |
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... | [WIP] จำนวนคำตอบในสัปดาห์ที่กำหนดในช่วงเวลาหนึ่ง | SELECT 'Six months ago', COUNT(*) FROM Posts WHERE PostTypeId = 2 AND CreationDate BETWEEN DATEADD('m', -6, GETDATE()) AND DATEADD('m', -6, DATEADD('w', -1, GETDATE())) UNION ALL SELECT 'Two years ago months ago', COUNT(*) FROM Posts WHERE PostTypeId = 2 AND CreationDate BETWEEN DATEADD('y', -2, GETDATE()) AND DATEADD(... |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
| จำนวนความคิดเห็นของผู้ใช้งาน | SELECT UserId AS "user_link", COUNT(*) FROM Comments WHERE CreationDate BETWEEN '##fromDate:string##' AND '##tillDate:string##' GROUP BY UserId ORDER BY COUNT(*) DESC |
ปลาใบโพจุดมีชื่อทางสามัญว่าอะไร | Spotted sicklefish | |
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
| ค้นหาโพสต์ที่คุณถูกเสนอรางวัลมากกว่าหนึ่งรางวัล | SELECT PostId AS "post_link", COUNT(*) AS Bounties FROM Votes WHERE VoteTypeId = 8 AND UserId = '##UserId##' GROUP BY PostId ORDER BY Bounties 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
)
| จำนวนครั้งเข้ารับบริการของผู้ป่วย 65401 ในปีนี้ | SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 65401 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 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... | คำตอบของฉันบน Stack Exchange | SELECT * FROM Posts WHERE OwnerUserId = 3422261 |
มีคุณสมบัติอะไรบ้าง | ไม่ทราบคุณสมบัติ | |
อาสนวิหารวาน เป็นอาสนวิหารนิกายอะไร | นิกายโรมันคาทอลิก | |
สถานีรถไฟพิชัย ระยะทางทั้งหมดเท่าไร | 447.55 กิโลเมตร | |
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-18575 เข้ารับการรักษาตัวใน ICU | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '016-18575' AND patient.unitdischargetime IS NULL |
มาร์ ตี นาตาเลกาวา เกิดวันที่เท่าไร | 22 มีนาคม ค.ศ. 1963 | |
ดาวพลูโตถูกพบที่บริเวณใด | แถบไคเปอร์ | |
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)
)
| กราฟเส้นสำหรับจำนวนวันที่ของบันทึกการประเมินคืออะไร | SELECT date_of_notes, COUNT(date_of_notes) FROM Assessment_Notes |
มินนีแอโพลิสอยู่ติดกับเมืองใด | เซนต์พอล | |
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-46456 | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-46456') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 |
วิลเลียมส์ได้ร่วมทำงานในแผนกเนื้อเรื่องของภาพยนตร์เรื่องใด ? | มู่หลาน, จักรพรรดิกลายพันธุ์ อัศจรรย์พันธุ์ต๊อง, และ มหัศจรรย์หมีผู้ยิ่งใหญ่ | |
ไดอาน่า แรนด์ Diana Rand เกิดวันที่ ? | 4 กันยายน พ.ศ. 2528 | |
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... | โพสต์ทั้งหมดของฉันตั้งแต่ปี 2016 | SELECT COUNT(*) FROM Posts WHERE Posts.OwnerUserId = 263693 AND TIME_TO_STR(CreationDate, '%YEAR') = 2016 |
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(Id) LIKE '%sri lanka%' ORDER BY Reputation DESC |
ถิรวัฒน์ เลิศพิชชาพัชร์ ถูกทีมอะไรยืมตัวไป | ทีมพันธมิตร | |
เนินเขาใดติดอยู่กับมาลากา | เนินเขาอาฆาร์กิอา (Axarquía) | |
แขวงอิตาบาชิ มีความหนาแน่นทั้งสิ้น | 16,270 คนต่อตารางกิโลเมตร | |
เจ้าพรหมาภิพงษธาดา มีพระนามเดิมว่าอะไร | เจ้าพรหมวงศ์ | |
CREATE TABLE bookings (
booking_id number,
customer_id number,
workshop_group_id text,
status_code text,
store_id number,
order_date time,
planned_delivery_date time,
actual_delivery_date time,
other_order_details text
)
| แสดงรายการวันจัดส่งที่วางแผนไว้และวันจัดส่งจริงของการจอง | SELECT planned_delivery_date, actual_delivery_date FROM bookings |
วอลเลย์บอลชายในเอเชียนเกมส์ 2018 จัดร่วมกับใคร | สภาโอลิมปิกแห่งเอเชีย (โอซีเอ) | |
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
)
| 20 อันดับผู้ใช้สูงสุดจาก Noida | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%noida' OR UPPER(Location) LIKE '%NOIDA' ORDER BY Reputation DESC LIMIT 20 |
ตัวละครหลักป่วยเป็นโรคอะไร | โรคมะเร็งปอด |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.