input
stringclasses
87 values
instruction
stringlengths
0
626
output
stringlengths
1
794
ประกอบด้วยอาคารเรียนทั้งหมดกี่หลัง
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
คำถามที่ได้รับความนิยมสูงสุดของ Salesforce StackExchange
SELECT Questions.Id AS "post_link", Questions.Title, Questions.ViewCount FROM Posts AS Questions GROUP BY Questions.Id, Questions.Title, Questions.ViewCount ORDER BY ViewCount DESC LIMIT 20
ชนิดของพลาสเตอร์อินโทนาโคแบ่งตามลักษณะของอะไร
แบ่งตามลักษณะของสารที่ใช้เป็นตัวเชื่อม
รางวัลเสาอโศก มีขึ้นภายใต้แนวคิดว่าอะไร
เสาอโศกเป็นเครื่องหมายแห่งความเจริญรุ่งเรืองของพระพุทธศาสนา
มหาศักราชเป็นศักราชที่ใช้ตามปีครองราชย์ของใคร
พระเจ้ากนิษก
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 WHERE PostHistory.UserId = @UserId
ดาร์ดะเนลส์ คืออะไร
ช่องแคบ
ฟาโรห์คยาน เป็นกษัตริย์ชาวฮิกซอสแห่งราชวงศ์ที่เท่าไร
สิบห้า
คนดีแตกได้รับรางวัลอะไรในกินเนสส์
รายการโทรทัศน์ที่มียอดผู้ชมมากที่สุดตลอดกาล
ชาร์ล เดอ โกล มีอาชีพอะไร
นายทหารและรัฐบุรุษชาวฝรั่งเศสในคริสต์ศตวรรษที่ 20
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
หาชื่อเรื่องและนับจำนวนสำหรับโพสต์ทั้งหมด
SELECT Title, ViewCount 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 )
ผู้ใช้ 50 อันดับแรกจากบังกลาเทศ
SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Bangladesh%' 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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
นับตั้งแต่วันที่คนไข้ 015-23047 เข้าพักครั้งสุดท้ายในหอผู้ป่วย 608 จนถึงการเข้าพักในครั้งนี้ ได้ผ่านมากี่วันแล้ว
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '015-23047' AND patient.wardid = 608 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime 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 )
คำนวณจำนวนผู้ป่วยที่เข้ารับการรักษาในโรงพยาบาลในปีนี้
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
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 NOT admissions.dischtime IS NULL AND DATETIME(admissions.dischtime) >= DATETIME(CURRENT_TIME(), '-1 year')
สถานีวิจัยแห่งแรกของโครงการหลวงตั้งอยู่ที่ใด
เทือกเขาแดนลาว ตำบลแม่งอน อำเภอฝาง จังหวัดเชียงใหม่
CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId number )
ผู้ใช้ Stack Overflow มาจากที่ไหน?
SELECT u.Location, u.Id, u.Reputation FROM Users AS u WHERE u.Location = 'Cheyenne, WY'
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
จำนวนคำถามที่ตอบไม่ถูกทั้งหมด, จำนวนคำถามทั้งหมด, อัตราส่วน
SELECT COUNT(*) AS TotalQuestions, (SELECT COUNT(*) AS TotalClosed FROM Posts AS C WHERE C.OwnerUserId = P.OwnerUserId AND ClosedDate != '' AND PostTypeId = 1) AS TotalClosed, (SELECT COUNT(*) AS TotalClosed FROM Posts AS C WHERE C.OwnerUserId = P.OwnerUserId AND ClosedDate != '' AND PostTypeId = 1) * 100.0 / COUNT(*) * 1.0 AS PercentClosed FROM Posts AS P WHERE P.OwnerUserId = '##UserId##' AND PostTypeId = 1 GROUP BY OwnerUserId
CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_status_code VARCHAR(10), order_date DATETIME )
แสดงรายการ Order id และ Customer id ของคำสั่งซื้อที่อยู่ในสถานะยกเลิก โดยเรียงลำดับตามวันที่สั่ง พร้อมกราฟแบบกระจาย
SELECT order_id, customer_id FROM Customer_Orders WHERE order_status_code = "Cancelled" ORDER BY order_date
ภาษาอาเบลเลนเป็นภาษาของกลุ่มใด
กลุ่มซัมบัล
CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text )
บทสรุปการแก้ไขแบบสุ่มและไร้สาระ (เฉพาะ meta เท่านั้น) ความคิดเห็นสรุปการแก้ไขใดก็ตามบน Medium ที่มีความยาวมากกว่า 100 ตัวอักษร มักเป็นสิ่งที่น่าอ่าน
SELECT a.CreationDate, a.Comment AS "ridiculous_comment" FROM PostHistory AS a WHERE a.PostHistoryTypeId IN (4, 5, 6) AND LENGTH(a.Comment) > 100 ORDER BY a.CreationDate
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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
เพศของผู้ป่วย 009-338 คืออะไร
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '009-338'
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
หาโพสต์ที่ MathJax (เครื่องหมายดอลลาร์เดี่ยว) ขัดข้อง
SELECT Id AS "post_link", Body, CreationDate AS "date" FROM Posts WHERE Body LIKE '%$%' AND NOT Body LIKE '%$%$%'
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 )
ผู้ป่วย 95057 เข้ารับการรักษาในโรงพยาบาลแล้วกี่ชั่วโมง
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', admissions.admittime)) FROM admissions WHERE admissions.subject_id = 95057 AND admissions.dischtime IS NULL
เอเดกโกเป็นการร่วมมือกันของบริษัทอะไร
บริษัท Ecco สัญชาติฝรั่งเศส และ Adia Interim สัญชาติสวิตเซอร์แลนด์
กีฬาคืออะไร
กิจกรรมหรือการเล่นเพื่อความสนุกเพลิดเพลินหรือเพื่อผ่อนคลายความเคร่งเครียดทางจิต
พลตำรวจเอก จักรทิพย์ ชัยจินดามีตำแหน่งใด
ผู้บัญชาการตำรวจแห่งชาติ
CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean )
ผู้ใช้ที่มียอดตราอย่างน้อย X รายการ
SELECT UserId AS "user_link", COUNT(*) AS badgeCount FROM Badges GROUP BY UserId HAVING COUNT(*) > 100 ORDER BY badgeCount 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
ค้นหาคำว่า 'ฉันด้วย' (ที่เรียกว่า) คำตอบ ค้นหาคำตอบสำหรับคำถามที่ดูเหมือนจะอยู่ในรูปแบบของคำตอบ 'ฉันด้วย' ซึ่งไม่เพิ่มเนื้อหาใดๆ ให้กับคำถามเลย และคำตอบเหล่านั้นจะต้องถูกลบหรือแปลงเป็นความคิดเห็นโดย mod
SELECT Id AS "post_link", SUBSTRING(Body, STR_POSITION(Body, 'me too') - 15, 45) AS "occurrence" FROM Posts WHERE PostTypeId = 2 AND (Body LIKE 'me too%' OR Body LIKE '% me too%') AND NOT Body LIKE '%affects me too%' AND NOT Body LIKE '%fixed it%' AND NOT Body LIKE '%resolved%'
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text )
ใส่ชื่อเรื่องสำหรับคำถามของคุณ
SELECT * FROM Comments WHERE UserId = 1505120
ประเทศแคนาดา เข้าร่วมแข่งขันกีฬาโอลิมปิกฤดูหนาวครั้งที่เท่าไร
ครั้งที่ 17
แนวร่วมประชาชน ได้จดทะเบียนเมื่อไร
21 พฤษภาคม พ.ศ. 2514
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
ค้นหา (เป็นไปได้) เกี่ยวกับการทำร้ายแมว
SELECT Id, Title FROM Posts WHERE Body LIKE '%grep%'
สุจาริณี วิวัชรวงศ์มีชื่อเดิมว่าอะไร
หม่อมสุจาริณี มหิดล ณ อยุธยา
โรงเรียนมัธยมปลายสตรีวิทยาการคอมพิวเตอร์ซูว็อน มีนักวอลเลย์หญิงที่มีชื่อเสียง ได้แก่ใครบ้าง
คิม ยอน-คยอง, ฮวัง ยอน-จู, ฮาน ซง-ยี และฮัน ยู-มี
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense 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
บุญชู 2 น้องใหม่ ออกฉายเมื่อไร
พ.ศ. 2532
คอนเนอร์ วิกคัมลงให้ให้กับต้นสังกัดกี่นัด
65 นัด ยิงได้ 13 ประตู
มีจำนวนยอดแผ่นขาย จำหน่ายเท่าไร
273,000 แผ่น
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text )
แสดงความคิดเห็นทั้งหมดของผู้ใช้ที่ระบุ
SELECT Comments.Text FROM Comments WHERE Comments.UserId = @UserId
ถิรวัฒน์ เลิศพิชชาพัชร์ ถูกใครสโมสรอะไรดึงตัวไปหลังจากยืมตัว
สโมสรฟุตบอลจังหวัดกระบี่
CREATE TABLE 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 )
ระหว่างการเข้ามาใช้บริการครั้งล่าสุดที่โรงพยาบาลผู้ป่วยหมายเลข 29741 มีแผนประกันสุขภาพอะไร
SELECT admissions.insurance FROM admissions WHERE admissions.subject_id = 29741 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime 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 )
ค้นหาผู้ใช้ที่มีข้อความเกี่ยวกับฉันเช่น
SELECT Id AS "user_link", Reputation, CreationDate, LastAccessDate FROM Users WHERE AboutMe LIKE '%##text##%'
ผู้เล่นเป็น ตัวละครในเกมชื่ออะไร
เครโทส
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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
คำนวณระยะเวลาเข้าพักของผู้ป่วย 010-19726 ในการเข้าพักครั้งล่าสุดใน ICU
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-19726') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime 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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
ทำไมผู้ป่วยหมายเลข 017-20711 จึงเข้ารับการรักษาในโรงพยาบาลตั้งแต่ 2105
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '017-20711' AND STRFTIME('%y', patient.hospitaladmittime) >= '2105' ORDER BY patient.hospitaladmittime LIMIT 1
คาร์ล กุสตาฟ โมแซนเดอร์เรียนจบปริญญาโทด้านใด
เรียนจบปริญญาโทด้านศัลยศาสตร์
เป็นต่อ ขั้นเทพเริ่มต้นฉายเมื่อวันที่
วันที่ 20 ธันวาคม พ.ศ. 2555
CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number )
มีการลงคะแนนวันละกี่ครั้ง
SELECT CreationDate, VoteTypeId, COUNT(*) FROM Votes WHERE (VoteTypeId = 2 OR VoteTypeId = 3) GROUP BY CreationDate, VoteTypeId ORDER BY CreationDate, VoteTypeId
CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number )
จำนวนของแท็กต่อวันสำหรับแท็กหนึ่ง
SELECT * FROM Tags LIMIT 20
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 )
ผู้ป่วยที่เข้ารับการรักษาในโรงพยาบาลมีจำนวนทั้งหมดเท่าไหร่
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions
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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
คนไข้ 027-100528 ล่าสุดเข้า รพ.เมื่อช่วงเวลาใดในปีที่แล้ว
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '027-100528' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.hospitaladmittime 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
จำนวนโพสต์ตามประเภท
SELECT COUNT(1) AS N FROM Posts WHERE PostTypeId = '##type##'
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 ปีแล้วที่ผู้ป่วยหมายเลข 19144 ได้เข้าโรงพยาบาลไหม ?
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 19144 AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-1 year')
เปียโตร คาวาลลินิ เสียชีวิตเมื่อไร
ค.ศ. 1330
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 )
200 ผู้ใช้งานอันดับแรกจากอิหร่าน รายชื่อ 200 ผู้ใช้งานอันดับแรก (จัดอันดับตามเรตติ้ง) ที่อยู่ในอิหร่านตามข้อมูลโปรไฟล์ของพวกเขา
SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Iran%' ORDER BY Reputation DESC LIMIT 200
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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
ผู้ป่วย 028-66126 เข้ามาครั้งแรกที่โรงพยาบาลตั้งแต่ปี 2010 ได้อย่างไร?
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '028-66126' AND STRFTIME('%y', patient.hospitaladmittime) = '2104' ORDER BY patient.hospitaladmittime LIMIT 1
นอร์เบิร์ต ไวส์เซอร์คือใคร
นักแสดงชายชาวเยอรมัน
พ.ศ. 2367 ใครเป็นผู้ศึกษาเนื้อเยื่อพืช และสัตว์พบว่าประกอบด้วยเซลล์
ดูโธรเชต์
อเทวนิยมตรงข้ามกับอะไร
เทวนิยม
ทวีปเลื่อน คิดโดยใคร
อัลเฟรด เวเกเนอร์
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 )
ตั้งแต่ปี ค.ศ. 2103 ผู้ป่วยหมายเลข 71320 เข้าโรงพยาบาลครั้งแรกเมื่อไร
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 71320 AND STRFTIME('%y', admissions.admittime) >= '2103' ORDER BY admissions.admittime LIMIT 1
ก็อดซิลลา สงครามโค่นจอมอสูร เขียนบทโดย ?
ทาคาฮิเดะ โมะริชิ
สราวุธ มาตรทอง เข้าสู่วงการจากการชักชวนจากใคร
กมล ภู่วัฒนวนิชย์ แห่งบริษัทบรอดคาซท์ ไทยเทเลวิชั่น
ปลากะแมะมีชื่อทางวิทยาศาสตร์ว่าอย่างไร
ชื่อวิทยาศาสตร์: Chaca bankanensis
CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time )
เพศของผู้ป่วยเลขที่ 53176 คืออะไร
SELECT patients.gender FROM patients WHERE patients.subject_id = 53176
CREATE TABLE 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
ค้นหาคำถามแรกจากคิวรี
SELECT OwnerUserId AS "user_link", MIN(Id) AS "post_link" FROM Posts WHERE PostTypeId = 2 OR PostTypeId = 1 GROUP BY OwnerUserId
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_miles int, pressurized varchar )
รถไฟ M80 จุคนได้เท่าไหร่
SELECT DISTINCT aircraft_code FROM aircraft WHERE aircraft_code = 'M80'
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 )
จำนวนรวมของคนไข้ที่ออกจากโรงพยาบาลในปี 2104 คือเท่าไหร่
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL AND STRFTIME('%y', admissions.dischtime) = '2104'
แดเนียล บราวน์ เป็นคนประเทศอะไร
สหราชอาณาจักร
ปลาใบไม้มีชื่อเรียกทางวิทยาศาสตร์ว่าอย่างไร
ชื่อวิทยาศาสตร์: Brachirus harmandi
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text )
ค้นหาโพสต์ตาม ID ผู้ใช้ ข้อความแสดงความคิดเห็น
SELECT Id AS "comment_link", Score, Text FROM Comments WHERE UPPER(Text) LIKE UPPER('%##CommentText##%') AND UserId = '##UserId##' ORDER BY Score 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
คำที่ไม่ใช่คำย่อ
SELECT * FROM Posts WHERE CONCAT(Title, Body) COLLATE SQL_Latin1_General_CP1_CS_AS LIKE '%SCRUM%' AND ClosedDate 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
ลบผู้ใช้โดยลบโพสต์ของพวกเขา
SELECT OwnerDisplayName, MAX(CreationDate), COUNT(*) AS Count FROM Posts WHERE OwnerUserId IS NULL GROUP BY OwnerDisplayName ORDER BY Count DESC, OwnerDisplayName LIMIT 100
สะพานเหญิตเตินเปิดใช้งานเมื่อใด
วันที่ 4 มกราคม พ.ศ. 2558
CREATE TABLE playlists ( id number, name text )
ชื่อของเพลย์ลิสต์ทั้งหมดคืออะไร
SELECT name FROM playlists
วอลเลย์บอลหญิงชิงแชมป์นอร์เซกา แข่งระหว่างวันที่เท่าไร
2–6 สิงหาคม
เอกสารในยุคกลางตอนต้นอ้างถึงเมืองฆิฆอนว่าเป็นเมืองที่ชื่อว่าอะไร
กีเกีย
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 )
GroupBy เทียบกับ Distinct Query Plan
SELECT AGE FROM Users GROUP BY AGE
กบฏ 26 มีนาคม พ.ศ. 2520 เกิดเหตุการณ์อะไรขึ้น
ก่อรัฐประหารล้มล้างรัฐบาลของนายธานินทร์ กรัยวิเชียร
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
ใครที่ตอบคำถามเหมือนกับฉัน ระบุรายชื่อผู้ใช้ที่ตอบอย่างน้อยสองคำถามที่ฉันตอบด้วย ระบุรายชื่อผู้ใช้ที่ตอบอย่างน้อยสองคำถามที่ฉันตอบด้วย
SELECT COUNT(DISTINCT myAnswer.ParentId) AS QuestionCount, otherAnswer.OwnerUserId AS "user_link" FROM Posts AS myAnswer, Posts AS otherAnswer WHERE otherAnswer.OwnerUserId != @MyUserId AND myAnswer.OwnerUserId = @MyUserId AND myAnswer.ParentId = otherAnswer.ParentId AND otherAnswer.PostTypeId = 2 AND myAnswer.PostTypeId = 2 GROUP BY otherAnswer.OwnerUserId HAVING COUNT(DISTINCT myAnswer.ParentId) > 1 ORDER BY QuestionCount 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
คะแนนเฉลี่ยรวมจากคำถามทั้งหมด
SELECT AVG(CAST(p.Score AS FLOAT)) FROM Posts AS p WHERE p.PostTypeId = 1
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, AVG(product_price) FROM Products GROUP BY product_type_code ORDER BY AVG(product_price) DESC
ก็อดซิลลา ปะทะ สายพันธุ์ก็อดซิลลาต่างดาว ฉายวันที่เท่าไร
10 ธันวาคม ค.ศ. 1994
เจ้าชายโบริสแห่งไลนิงเงินมีสิทธิ์ในการสืบราชบัลลังก์อังกฤษเพราะอะไร
ทรงสืบเชื้อสายมาจากเจ้าหญิงวิกตอเรีย พระราชกุมารี พระนามของพระองค์ตั้งตามพระอัยกาฝ่ายพระมารดา
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
คำถามที่ถูกปิดและถูกเพิ่มเป็นคำถามโปรด
SELECT Id AS "post_link", FavoriteCount, Score, CreationDate FROM Posts WHERE (PostTypeId = 1) AND (NOT ClosedDate IS NULL) AND (FavoriteCount > 0) ORDER BY CreationDate 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, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
ผ่านไปกี่ชั่วโมงแล้วที่ผู้ป่วย 032-21820 นอนพักอยู่ในห้อง 1063 เป็นครั้งสุดท้ายในการเข้าโรงพยาบาลครั้งนี้
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '032-21820' AND patient.wardid = 1063 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
ขอทราบชื่อสินค้าหน่อย
กระจกลวดขุ่น
เพลงที่ประสบความสำเร็จครั้งแรกของเดอะบีเทิลส์ชื่อว่าอะไร
"เลิฟมีดู" (Love Me Do)
ทางหลวงรัฐออนแทรีโอหมายเลข 416 มีความยาวเท่าไหร่
76.4 กิโลเมต
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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
คู่ถาม - ตอบที่พบมากที่สุด
WITH Raw AS (SELECT Q.OwnerUserId AS QId, A.OwnerUserId AS AId, COUNT(*) AS Count FROM Posts AS Q, Posts AS A WHERE A.ParentId = Q.Id AND A.OwnerUserId > 0 AND Q.OwnerUserId > 0 AND A.OwnerUserId != Q.OwnerUserId AND Q.CommunityOwnedDate IS NULL AND A.CommunityOwnedDate IS NULL GROUP BY Q.OwnerUserId, A.OwnerUserId) SELECT Hin.QId AS "user_link", Hin.AId AS "user_link", Hin.Count AS HinCount, Her.Count AS HerCount FROM Raw AS Hin, Raw AS Her WHERE Hin.AId = Her.QId AND Hin.QId = Her.AId AND Hin.QId > Hin.AId ORDER BY CASE WHEN Hin.Count > Her.Count THEN Her.Count ELSE Hin.Count END DESC, Hin.QId, Hin.AId
ปลากะรังลายจุดเป็นปลาที่มีขนาดใหญ่จัดว่าเป็นปลาอยู่ในวงศ์ใด
วงศ์ปลากะรัง (Serranidae)
บริตนีย์สเปียส์เกิดที่เมืองใด
เมืองแม็คคอมบ์ รัฐมิสซิสซิปปี
หม่อมเจ้าประสบศรีจิรประวัติ จิรประวัติ เกิดวันที่เท่าไร
17 พฤศจิกายน พ.ศ. 2444
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 )
200 อันดับนำจากเมือง Chennai ประเทศอินเดีย
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%chennai%india%' ORDER BY Reputation DESC LIMIT 200