input
stringclasses
87 values
instruction
stringlengths
0
626
output
stringlengths
1
794
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time )
มีการดำเนินการรักษาโดยแพทย์ที่เฉพาะทาง เช่น ขั้นตอนการใช้ยาเกินขนาดของ beta blockers มากแค่ไหนในปี 2015?
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'agent specific therapy - beta blockers overdose' AND STRFTIME('%y', treatment.treatmenttime) = '2105'
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text )
ค้นหาโพสต์โดยหลายตัวอักษรความคิดเห็น ("OR" ตัวดำเนินการ) และ UserId.
SELECT Id AS "comment_link", Score, Text FROM Comments WHERE (UPPER(Text) LIKE UPPER('%##CommentText##%') OR UPPER(Text) LIKE UPPER('%##CommentText2##%')) 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 )
คำถามที่ได้รับความนิยมมากที่สุดบน 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time )
จำนวนกระบวนการรักษาเฉพาะตัวแทน-เบต้าบล็อกเกอร์ที่ใช้มากเกินไปนั้นเกิดขึ้นในปี 2105 คือเท่าใด
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'agent specific therapy - beta blockers overdose' AND STRFTIME('%y', treatment.treatmenttime) = '2105'
ด็อกคิวเสตคือยาอะไร
ยาระบายที่ทำให้อุจจาระนิ่ม ใช้รักษาอาการท้องผูก
โยฮัน คริสทีอัน โรเซนมึลเลอร์ เกิดวันที่เท่าไร
25 พฤษภาคม ค.ศ. 1771
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 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 )
บอกเพศผู้ป่วย 035-19890 ให้ทราบ
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '035-19890'
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
พระนางช็องซ็องเข้าพิธีอภิเษกตอนอายุเท่าไหร่
10
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_projects varchar, has_exams varchar, num_reviews int, clarity_score int, easiness_score int, helpfulness_score int )
ชั้นเรียนใดที่ฉันสามารถได้รับ 1 หน่วยกิต?
SELECT DISTINCT name, number FROM course WHERE credits = 1 AND department = 'EECS'
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 COUNT(1) FROM Users WHERE LOWER(Location) LIKE '%##LocationInLowercase##%'
แอซเท็ก อยู่ในคริสต์ศตวรรษที่เท่าไร
14, 15 และ 16
เว็ปไซต์ได้อัปโหลดข้อมูลจากเว็บใด
เว็บไซต์พอร์ทัล ไซแอนซ์ ไดเร็ค ของแอ็ลเซอเฟียร์
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 )
คำถามไม่ดี ตามคะแนนโหวตและการปิดและอื่นๆ ที่คล้ายกัน_title
SELECT Score, CASE WHEN NOT ClosedDate IS NULL THEN 'N' ELSE 'Er' END AS "closed?", Title AS "post_link" FROM Posts WHERE PostTypeId = 1 AND (NOT ClosedDate IS NULL OR Score < -3) ORDER BY Score LIMIT 500
พังก์โกส์อะคูสติก 2 เป็นอัลบั้มรวมเพลงที่รวมอยู่ในซีรีส์อะไร
อัลบั้มเพลงคัฟเวอร์ พังก์โกส์
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 )
เพชรซ่อน: คำถามที่คนดูน้อยที่สุดที่ได้คะแนน 50 หรือมากกว่า
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 >= 50 AND PostTypeId = 1 ORDER BY ViewCount LIMIT 1000
CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text )
คำถามที่ปิดโดยผู้ควบคุมระบบ vs ชุมชน
SELECT UserId, UserId AS "user_link", COUNT(PostId) FROM PostHistory WHERE PostHistoryTypeId = 10 GROUP BY UserId
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 )
จนถึง วันที่ 21/04/102 น้ำหนักเฉลี่ยรายวันของผู้ป่วย 002-39753 คือ เท่าไร
SELECT AVG(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-39753') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y-%m', patient.unitadmittime) <= '2102-04' GROUP BY STRFTIME('%y-%m-%d', patient.unitadmittime)
มาร์เชอ เกย์ ฮาร์เดน คือใคร ?
นักแสดงภาพยนตร์ ละครเวที
ในปี ค.ศ. 1974 มีนักท่องเที่ยวเข้าเยี่ยมชมประเทศภูฏานกี่คน ?
287 คน
โชฟุ เป็นเมืองในเขตอะไร
ทามะ
ใครเป็นพิธีกรรายการ ?
ปัญญา นิรันดร์กุล สร้างสรรค์
กระซู่เป็นสัตว์ประเภทใด
สัตว์เลี้ยงลูกด้วยนม
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 number = ROW_NUMBER() OVER (ORDER BY STR(YEAR(CreationDate)) + '-' + STR(MONTH(CreationDate))), COUNT(Posts.Id) AS Total FROM Posts WHERE (PostTypeId = 1 AND CreationDate >= '##Date1##' AND CreationDate <= '##Date2##') GROUP BY STR(YEAR(CreationDate)) + '-' + STR(MONTH(CreationDate)) ORDER BY STR(YEAR(CreationDate)) + '-' + STR(MONTH(CreationDate))
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 )
เพชรเม็ดงาม: คะแนนคำถามที่สูงที่สุดต่อการดูหนึ่งพันครั้ง (ดูอย่างน้อย 1,000 ครั้ง)
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 > 0 AND ViewCount >= 1000 AND PostTypeId = 1 ORDER BY Score * 1000 / ViewCount 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 )
นักพัฒนาเกมชาวอิหร่าน 10 อันดับแรกใน Stackoverflow
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location, age FROM Users WHERE LOWER(Location) LIKE '%iran%' OR UPPER(Location) LIKE '%ir' ORDER BY Reputation DESC LIMIT 10
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_projects varchar, has_exams varchar, num_reviews int, clarity_score int, easiness_score int, helpfulness_score int )
ฉันต้องการดูคอร์สธุรกิจการพยากรณ์และการประเมินค่าหลักทรัพย์ 13 เครดิต
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Business Forecasting and Equity Valuation%' OR name LIKE '%Business Forecasting and Equity Valuation%') AND credits = 13
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) )
แสดงวันที่จัดส่งและแยกตามวันในแต่ละสัปดาห์ในรูปแบบแผนภูมิแท่ง และโปรดเรียงลำดับจากสูงไปต่ำตามแกน y
SELECT Actual_Delivery_Date, COUNT(Actual_Delivery_Date) FROM Bookings ORDER BY COUNT(Actual_Delivery_Date) DESC
นะงะเซะ โทะโมะยะ ส่วนสูงเท่าไร
185 เซนติเมตร
นาถยา แดงบุหงา เกิดวันที่เท่าไร
2 พฤศจิกายน พ.ศ. 2504
เปลือกของต้นจำปาเทศมีสรรพคุณใช้ทำอะไร
เปลือกใช้เป็นยาลดไข้
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
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 )
ผู้ป่วย 15905 ก่อน 3 ปี มาพบแพทย์ที่ รพ. กี่ครั้ง
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 15905 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-3 year')
ภาษาโปรแกรมคืออะไร
ภาษาประดิษฐ์ชนิดหนึ่งที่ออกแบบขึ้นมาเพื่อสื่อสารชุดคำสั่งแก่เครื่องจักร
CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text )
ข้อจำกัด AP/57คืออะไร
SELECT DISTINCT advance_purchase, application, maximum_stay, minimum_stay, no_discounts, restriction_code, saturday_stay_required, stopovers FROM restriction WHERE restriction_code = 'AP/57'
CREATE TABLE Products ( product_id INTEGER, product_type_code VARCHAR(10), product_name VARCHAR(80), product_price DECIMAL(19,4) )
แสดงผลราคาเฉลี่ยของแต่ละประเภทผลิตภัณฑ์ด้วยกราฟแท่ง และคุณสามารถจัดรายการราคาเฉลี่ยของผลิตภัณฑ์จากสูงไปต่ำได้หรือไม่?
SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code ORDER BY AVG(product_price) DESC
การแข่งขัน พาราลิมปิกฤดูอะไร
ฤดูหนาว
CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId number )
1000 ผู้ใช้จาก Bhubaneswar & Cuttack, India TOP รายชื่อ 1000 ผู้ใช้ (จัดอันดับตามชื่อเสียง) ที่อยู่ใน Bangalore, Karnataka, India ตามข้อมูลโปรไฟล์ของพวกเขา ขอบคุณข้อมูลจาก http://data.stackexchange.com/stackoverflow/query/60933/top-50-users-from-india แก้ไขโดย GNKeshava
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE LOWER(Location) LIKE '%Bhubaneswar%' OR UPPER(Location) LIKE '%Bhubaneswar%' OR Location LIKE '%Bhubaneswar%' OR LOWER(Location) LIKE '%Bhubaneshwar%' OR UPPER(Location) LIKE '%Bhubaneshwar%' OR Location LIKE '%Bhubaneshwar%' OR LOWER(Location) LIKE '%Cuttack%' OR UPPER(Location) LIKE '%Cuttack%' OR Location LIKE '%Cuttack%' ORDER BY Reputation DESC LIMIT 1000
ออกอากาศตั้งแต่เมื่อไร
ตั้งแต่วันที่ 16 พฤศจิกายน 2547 ถึง 21 พฤษภาคม 2555
รีการ์ดู ปึไรรา เกิดวันที่เท่าไร
11 กุมภาพันธ์ ค.ศ. 1976
เทศกาลโฮกี เริ่มต้นวันอะไร
วันแรม 1 ค่ำเดือน 4
มีการค้นพบปลาถ้ำเมื่อปี ค.ศ. อะไร
ปี ค.ศ. 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, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text )
คำถามยอดนิยมในปี 2015
SELECT Title, ViewCount, Score FROM Posts WHERE CreationDate >= '20150101' ORDER BY ViewCount DESC
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 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 )
คำนวณระยะเวลาพักรักษาตัวของผู้ป่วย 005-46456 ครั้งล่าสุดในห้อง ICU
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
พัชชา พูนพิริยะ เกิดวันที่เท่าไร
6 กันยายน พ.ศ. 2537
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 )
คนไข้หมายเลข 22517 ไปโรงพยาบาลกี่ครั้งภายใน 2 ปีที่ผ่านมา
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 22517 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-2 year')
พระนางช็องซ็องเป็นใคร
พระมเหสีองค์แรกของ พระเจ้าย็องโจ พระราชาองค์ที่ 21 แห่ง ราชวงศ์โชซ็อน
ดาวเนปจูนถูกค้นพบในปีพุทธศักราชใด
พ.ศ. 2389
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 )
ผู้ป่วยหมายเลข 006-245995 เข้า ICU ในปี 2104 กี่ครั้ง
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-245995') AND STRFTIME('%y', patient.unitadmittime) = '2104'
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 p.Score AS AnswerScore, SUM(CASE WHEN LENGTH(p.Body) <= 200 THEN 1 ELSE 0 END) AS PostsWithLen_0_200, SUM(CASE WHEN LENGTH(p.Body) BETWEEN 201 AND 500 THEN 1 ELSE 0 END) AS PostsWithLen_201_500, SUM(CASE WHEN LENGTH(p.Body) BETWEEN 501 AND 1000 THEN 1 ELSE 0 END) AS PostsWithLen_501_1000, SUM(CASE WHEN LENGTH(p.Body) BETWEEN 1001 AND 2000 THEN 1 ELSE 0 END) AS PostsWithLen_1001_2000, SUM(CASE WHEN LENGTH(p.Body) > 2001 THEN 1 ELSE 0 END) AS PostsWithLen_2001plus FROM Posts AS p WHERE p.OwnerUserId = @UserId AND p.PostTypeId = 2 GROUP BY p.Score
จรูญวิทย์ พัวพันวัฒนะ ได้รับรางวัลอะไร
ตำแหน่งรองชนะเลิศอันดับที่ 2
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_projects varchar, has_exams varchar, num_reviews int, clarity_score int, easiness_score int, helpfulness_score int )
มีวิชา Water Quality and Human the Great Lakes Basin แบบ 9 หน่วยกิตใดบ้าง
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Water Quality and Human the Great Lakes Basin%' OR name LIKE '%Water Quality and Human the Great Lakes Basin%') AND credits = 9
คาร์ล กุสตาฟ โมแซนเดอร์เป็นบุตรของใคร
เป็นบุตรของไอแซก โมแซนเดอร์และคริสตินา แมเรีย
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, score จาก posts เรียงลำดับจาก score ลดลง
SELECT Id, Score FROM Posts ORDER BY Score DESC
ฟาวน์ทินส์แอบบีย์คืออะไร
เป็นแอบบีย์[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 )
ผู้ใช้ 100 อันดับต้นๆ ในอินเดีย
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%india%' OR UPPER(Location) LIKE '%IND' ORDER BY Reputation DESC LIMIT 1000
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-82318
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-82318') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime 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 TOP 100 * จาก Posts.
SELECT * FROM Users LIMIT 1000000
CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text )
โพสต์ไหนที่ฉันแก้ไขไป บันทึกการค้นหาสำหรับการแก้ไขที่ทำทั้งหมด
SELECT PostId AS "post_link", * FROM PostHistory WHERE UserId = @UserId ORDER BY PostId DESC, Id DESC
เคต วินสเล็ต ได้รับการเข้าชิงรางวัลออสก้ากี่ครั้ง
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, 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" FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NULL AND AnswerCount = 1 AND Id IN (SELECT ParentId FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##UserId##' AND Score = 0) ORDER BY CreationDate 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 )
เลือก Top 10 จาก Posts
SELECT * FROM Posts WHERE ViewCount > 31000 AND ViewCount <= 33000 ORDER BY ViewCount DESC
ดินแดนคัมชัตคามีประชากรทั้งหมดกี่คน
322,079 คน
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_projects varchar, has_exams varchar, num_reviews int, clarity_score int, easiness_score int, helpfulness_score int )
ในบรรดาคอร์สระดับ 400 ทั้งหมด คอร์สไหนที่ไม่มีห้องปฏิบัติการ
SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' AND number < 400 + 100 AND number >= 400
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text )
คอมเมนต์ยอดนิยมของฉัน (มีสิทธิ์ได้รับป้ายผู้เชี่ยวชาญ) แสดงความคิดเห็นที่มี 10 อัปโหวตขึ้นไป
SELECT ROW_NUMBER() OVER (ORDER BY Score) AS rownum, PostId AS "post_link", Score, Text FROM Comments WHERE UserId = '##userid##' ORDER BY Score 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 )
นับจำนวนผู้ป่วยที่ได้ออกจากโรงพยาบาลแล้ว
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text )
ความคิดเห็นที่ฉันแสดงมากที่สุด (มีสิทธิ์ได้รับตราปราชญ์) แสดงความคิดเห็นที่มีการอัปโหวต 10 รายการหรือมากกว่า
SELECT ROW_NUMBER() OVER (ORDER BY Score) AS rownum, PostId AS "post_link", Score, Text FROM Comments WHERE UserId = '##userid##' ORDER BY Score 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 )
ในช่วง 3 ปีที่ผ่านมานี้ คนไข้หมายเลข 22753 มาโรงพยาบาลกี่ครั้ง?
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 22753 AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-3 year')
ชิงแชมป์ IBF แพนแปซิฟิกรุ่นจูเนียร์เวลเตอร์เวทเมื่อวันที่เท่าใด ?
27 มีนาคม 2548
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 )
เมื่อไหร่ที่ Martijn Pieters นอน?
SELECT TIME_TO_STR(CreationDate, '%I') AS "hour", COUNT(*) AS "frequency" FROM Posts WHERE OwnerUserId = '##UserID##' GROUP BY TIME_TO_STR(CreationDate, '%I')
ตำนานลับจักรพรรดิเฉียนหลงอิงจากเหตุการณ์ใดในอดีต
ประวัติศาสตร์ ฮ่องเต้เฉียนหลง ในสมัยราชวงศ์ชิง
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 )
ผู้ป่วยรายที่ 002-38474 อยู่ในห้องฉุกเฉินตั้งแต่เมื่อ 5 ปีที่แล้วใช่ไหม
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '002-38474' AND patient.hospitaladmitsource = 'emergency department' AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-5 year')
ในประเทศกำลังพัฒนาฝุ่นละอองที่เกิดขึ้นมักจะเกิดจากโรงงานผลิตกระแสไฟฟ้าจากสิ่งใด ?
ถ่านหิน
7 อีริส ชื่อมีที่มาจากใคร
เทพีอีริสในเทพปกรณัมกรีก
ถนนพญาไท เริ่มต้นตั้งแต่ถนนอะไร
ถนนพระรามที่ 4
ปลากัดป่าภาคใต้ของประเทศไทยมีขนาดยาวกี่เซนติเมตร
ยาวประมาณ 5 เซนติเมตร
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 )
นับจำนวนผู้ป่วยที่ได้ออกจากโรงพยาบาลในปี 2101
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND STRFTIME('%y', patient.hospitaldischargetime) = '2101'
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_projects varchar, has_exams varchar, num_reviews int, clarity_score int, easiness_score int, helpfulness_score int )
หลักสูตรความรู้ทางด้านใดของการเรียนรู้ของเครื่องที่ให้หน่วยกิต 15 หน่วย?
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Machine Learning%' OR name LIKE '%Machine Learning%') AND credits = 15
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 DATE(STR(YEAR(CreationDate)) + '-' + STR(MONTH(CreationDate)) + '-' + STR(DAY(CreationDate))) AS FullDate, COUNT(*) AS Total FROM Users GROUP BY STR(YEAR(CreationDate)) + '-' + STR(MONTH(CreationDate)) + '-' + STR(DAY(CreationDate)) ORDER BY FullDate DESC
พัก จู-ย็อง อดีตเคยเล่นให้กับทีมอะไร
อาร์เซนอล ในพรีเมียร์ลีก อังกฤษ
มะตาด มีเส้นผ่านศูนย์กลางระหว่างกี่เมตร
15-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 Id AS "post_link", * FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NULL AND ClosedDate IS NULL AND AnswerCount > 0 AND OwnerUserId = '##ownerid##'
สนามกีฬาติณสูลานนท์ อยู่จังหวัดอะไร
จังหวัดสงขลา
แผ่นดินศักดิ์สิทธิ์ อยู่ประเทศอะไร
ประเทศอิสราเอล
พญาปล้องทองจัดว่าเป็นพรรณไม้อยู่ในวงศ์ชนิดใด
วงศ์ : Acanthaceae
พระนางช็องซ็องประสูตเมื่อไหร่
วันที่ 7 ธันวาคม ค.ศ. 1692
CREATE TABLE Hotels ( hotel_id INTEGER, star_rating_code CHAR(15), pets_allowed_yn CHAR(1), price_range real, other_hotel_details VARCHAR(255) )
ราคาเฉลี่ยสำหรับโรงแรมโดยใช้รหัสประเภทดาวแต่ละประเภทอยู่ที่เท่าไหร่ครับ
SELECT star_rating_code, AVG(price_range) FROM Hotels GROUP BY star_rating_code
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 )
สร้างหน้า HTML ที่แสดง (โดยส่วนใหญ่) ไฟล์ GIF ที่เคลื่อนไหวที่โพสต์ใน # วันที่ระบุ สร้าง HTML เพื่อวางลงในไฟล์ .html ว่างเปล่า แสดงรูปภาพ .GIF (โดยส่วนใหญ่คือไฟล์ GIF ที่เคลื่อนไหว) ที่เชื่อมโยงกับโพสต์ Q&A ในช่วง "จำนวนวันที่ระบุ" ที่ผ่านมา ค้นหาไฟล์ `.gif` ที่ปรากฏครั้งแรกในเนื้อหาโพสต์ และค้นหา `http` ย้อนกลับ คำแนะนำ: (1) เรียกใช้คิวรี่นี้โดยระบุ "จำนวนวันที่ย้อนกลับ" (ก่อนวันนี้) เพื่อรวมในผลลัพธ์ ... (2) คลิกดาวน์โหลด CSV จากนั้นบันทึกไฟล์ ... (3) เปลี่ยนนามสกุลไฟล์จาก .CSV เป็น .HTML ... (4) ดับเบิลคลิกไฟล์เพื่อเปิดในเบราว์เซอร์ มีข้อผิดพลาดมากมาย ห่างไกลจากความสมบูรณ์แบบ (เพื่อความสนุกเท่านั้น!) สูงสุด ~180 gif
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 WHEN PostTypeId = 2 THEN 'Answer' ELSE 'Question' END AS "post_type", Id AS "post_link", CreationDate AS "post_date" FROM Posts WHERE CreationDate >= DATEADD(d, -30, GETDATE()) AND Body LIKE '%' + @stStart + '%' + @stEnd + '%' COLLATE SQL_Latin1_General_CP1_CI_AS ORDER BY CreationDate DESC
ถนนพญาไท ไปที่ไหนของกรุงเทพ
ไปทางทิศเหนือในพื้นที่เขตปทุมวัน
ซาวน่าหรรษา ออกอากาศครั้งวันที่เท่าไร
8 พฤศจิกายน ค.ศ. 2001
ไฟเยอโนร์ดได้รับรางวัลอะไรบ้าง
คว้าแชมป์ลีกสูงสุด 15 ครั้ง, ฟุตบอลถ้วยดัตช์ 10 ครั้ง, ซูเปอร์คัพดัตช์ 2 ครั้ง, ยูฟ่าคัพ 2 ครั้ง
CREATE TABLE genres ( id number, name text )
ระบุประเภททั้งหมด
SELECT DISTINCT name FROM genres