Datasets:
AIAT
/

thai_instruction
stringlengths
8
429
eng_instruction
stringlengths
16
503
table
stringlengths
11
2.09k
sql
stringlengths
9
2.37k
pandas
stringlengths
1
635
real_table
stringclasses
2 values
ผู้ใช้ StackOverflow 100 อันดับแรกจากไนจีเรีย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 100 StackOverflow users from Nigeria.It is not neccessary to use all the tables.
CloseAsOffTopicReasonTypes: Id [ number] IsUniversal [ boolean] InputTitle [ text] MarkdownInputGuidance [ text] MarkdownPostOwnerGuidance [ text] MarkdownPrivilegedUserGuidance [ text] MarkdownConcensusDescription [ text] CreationDate [ time] CreationModeratorId [ number] ApprovalDate [ time] ApprovalModeratorId [ number] DeactivationDate [ time] DeactivationModeratorId [ number]
SELECT Id, DisplayName AS "display_name", Reputation, WebsiteUrl AS Website, Location FROM Users WHERE Location LIKE '%Nigeria%' ORDER BY Reputation DESC LIMIT 100
null
general
คลาส Undine เป็นคลาสปีไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year was class of undine?It is not neccessary to use all the tables.
table_name_67: year_made [ VARCHAR] class [ VARCHAR]
SELECT year_made FROM table_name_67 WHERE class = "undine"
null
general
จำนวนการชนะโดยเฉลี่ยของปีที่มีอันดับท็อป 10 น้อยกว่า 5 อันดับ การชนะรางวัล $39,190 และการออกสตาร์ทน้อยกว่า 2 ครั้งเป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts?It is not neccessary to use all the tables.
table_39031: "Year" [ real] "Starts" [ real] "Wins" [ real] "Poles" [ real] "Winnings" [ text] "Position" [ text]
SELECT AVG("Wins") FROM table_39031 WHERE "Top 10" < '5' AND "Winnings" = '$39,190' AND "Starts" < '2'
null
general
ศาสนาที่โดดเด่นในปี 2545 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the dominant religion for in 2002?It is not neccessary to use all the tables.
table_2562572_9: dominant_religion__2002_ [ VARCHAR] cyrillic_name_other_names [ VARCHAR]
SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Нови Сад"
null
general
ตั้งชื่อแมนออฟเดอะแมตช์วันที่ 24 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the man of the match for 24thIt is not neccessary to use all the tables.
table_21349: "Date" [ text] "Opponent" [ text] "Venue" [ text] "Result" [ text] "Attendance" [ real] "Competition" [ text]
SELECT "Man of the Match" FROM table_21349 WHERE "Date" = '24th'
null
general
การแข่งขันที่จัดขึ้นหลังปี 2017 และสนามแข่งต่างๆ ในประเทศสเปนมีชื่ออะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names of races that were held after 2017 and the circuits were in the country of Spain?It is not neccessary to use all the tables.
circuits: circuitid [ VARCHAR] country [ VARCHAR]
SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2017
null
general
คะแนนต่ำสุดของ Craig Stadler ในประเทศสหรัฐอเมริกาคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was Craig Stadler's lowest score for United states?It is not neccessary to use all the tables.
table_59836: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ real]
SELECT MIN("Score") FROM table_59836 WHERE "Country" = 'united states' AND "Player" = 'craig stadler'
null
general
แสดงสัดส่วนคณะในแต่ละยศ ไม่จำเป็นต้องใช้ทุกตาราง
Show the proportion of faculty for each rank.It is not neccessary to use all the tables.
Student: StuID [ INTEGER] LName [ VARCHAR(12)] Fname [ VARCHAR(12)] Age [ INTEGER] Sex [ VARCHAR(1)] Major [ INTEGER] Advisor [ INTEGER] city_code [ VARCHAR(3)]
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank
null
general
เมื่อใดมีความพยายาม 282 ครั้ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
When has Attempts of 282 ?It is not neccessary to use all the tables.
table_6375: "Year" [ text] "Team" [ text] "Attempts" [ text] "Completions" [ text] "Yards" [ text]
SELECT "Year" FROM table_6375 WHERE "Attempts" = '282'
null
general
มีห้องปฏิบัติการระดับบนจำนวนกี่ห้อง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
For how many upper level classes are there labs ?It is not neccessary to use all the tables.
student_record: student_id [ int] course_id [ int] semester [ int] grade [ varchar] how [ varchar] transfer_source [ varchar] earn_credit [ varchar] repeat_term [ varchar] test_id [ varchar]
SELECT COUNT(DISTINCT course.course_id) FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.has_lab = 'Y' AND program_course.category LIKE '%ULCS%'
null
general
ปีแรกสุดที่แนวแอ็คชั่นเป็นแนวคือปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the earliest year when action was the genre?It is not neccessary to use all the tables.
table_64967: "Year" [ real] "Game" [ text] "Genre" [ text] "Platform(s)" [ text] "Developer(s)" [ text]
SELECT MIN("Year") FROM table_64967 WHERE "Genre" = 'action'
null
general
สายการบินไหนมีใบอนุญาตสูงสุด #ไม่จำเป็น ต้องใช้ทุกโต๊ะ
which airline has the highest license #It is not neccessary to use all the tables.
table_203_58: id [ number] "airline" [ text] "icao" [ text] "iata" [ text] "callsign" [ text] "photo" [ text]
SELECT "airline" FROM table_203_58 ORDER BY "licence #" DESC LIMIT 1
null
general
เมื่อมูลค่า (int $1,000) คือ 409566 สินค้าโภคภัณฑ์คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when the value (int $1000) is 409566, what is the commodity?It is not neccessary to use all the tables.
table_24136: "Rank" [ real] "Commodity" [ text]
SELECT "Commodity" FROM table_24136 WHERE "Value (Int $1000)" = '409566'
null
general
การวินิจฉัยชื่อสั้นและขั้นตอนคืออะไร ชื่อสั้นของชื่อเรื่อง ลื้อขาว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is diagnoses short title and procedure short title of subject name lue white?It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT diagnoses.short_title, procedures.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Lue White"
null
general
ทีมใดร่างผู้เล่นจากสวีเดน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What team drafted a player from Sweden?It is not neccessary to use all the tables.
table_2897457_1: nhl_team [ VARCHAR] nationality [ VARCHAR]
SELECT nhl_team FROM table_2897457_1 WHERE nationality = "Sweden"
null
general
มีกี่ทีมที่ทำคะแนนได้ 38 แต้มพอดีไม่จำเป็นต้องใช้ตารางทั้งหมด
How many teams scored exactly 38 pointsIt is not neccessary to use all the tables.
table_19215: "Team" [ text] "Played" [ real] "Win" [ real] "Draw" [ real] "Loss" [ real]
SELECT COUNT("Team") FROM table_19215 WHERE "Points For" = '38'
null
general
Pos คลาสใดมีทีมของ jml team panoz? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which class Pos has a Team of jml team panoz?It is not neccessary to use all the tables.
table_name_71: class [ VARCHAR] team [ VARCHAR]
SELECT class AS pos FROM table_name_71 WHERE team = "jml team panoz"
null
general
ผู้ป่วยจำนวนเท่าใดที่เข้ารับการรักษาก่อนปี 2200 ที่มีการวินิจฉัยชื่อการติดเชื้อ pseudomonas ในสภาวะที่จำแนกไว้ที่อื่นและในตำแหน่งที่ไม่ระบุรายละเอียด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what number of patients admitted before the 2200 had the diagnoses titled pseudomonas infection in conditions classified elsewhere and of unspecified site?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2200" AND diagnoses.long_title = "Pseudomonas infection in conditions classified elsewhere and of unspecified site"
null
general
ค้นหานามสกุลคณะที่เป็นสมาชิกภาควิชาวิทยาการคอมพิวเตอร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the last names of faculties who are members of computer science department.It is not neccessary to use all the tables.
DEPARTMENT: DNO [ VARCHAR] DName [ VARCHAR]
SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO = T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID = T3.FacID WHERE T1.DName = "Computer Science"
null
general
เอเลเนอร์ แม็กดาเลนแห่งพาลาทิเนต-นอยบูร์กกลายเป็นดัชเชสเมื่อใด? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
When did eleonor magdalene of the palatinate-neuburg become duchess?It is not neccessary to use all the tables.
table_name_77: became_duchess [ VARCHAR] name [ VARCHAR]
SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg"
null
general
แหล่งที่มาใดให้คะแนน 26% แก่ Brian Moran?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What source gave 26% of the votes to Brian Moran?It is not neccessary to use all the tables.
table_2476: "Source" [ text]
SELECT "Source" FROM table_2476 WHERE "Brian Moran" = '26%'
null
general
ความแตกต่างของฮีโมโกลบินของผู้ป่วย 71192 ที่วัดครั้งสุดท้ายในการมาโรงพยาบาลครั้งแรกเป็นอย่างไร เทียบกับค่าที่สองถึงครั้งสุดท้ายที่วัดในการมาโรงพยาบาลครั้งแรก? ไม่จำเป็นต้องใช้ตารางทั้งหมด
how much is the difference in hemoglobin of patient 71192 last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?It is not neccessary to use all the tables.
cost: row_id [ number] subject_id [ number] hadm_id [ number] event_type [ text] event_id [ number] chargetime [ time] cost [ number]
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 71192 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemoglobin') ORDER BY labevents.charttime DESC LIMIT 1) - (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 71192 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemoglobin') ORDER BY labevents.charttime DESC LIMIT 1 OFFSET 1)
null
general
ขอทราบจำนวนผู้ป่วยที่เข้ารับการรักษาน้อยกว่า 2,155 ปี และวินิจฉัยชื่อยาวว่าเป็นโรคกระเพาะชนิดอื่น มีเลือดออกหรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
give me the number of patients whose admission year is less than 2155 and diagnoses long title is other specified gastritis, with hemorrhage?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2155" AND diagnoses.long_title = "Other specified gastritis, with hemorrhage"
null
general
ผู้เข้าร่วมในวันที่ 15 สิงหาคมคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Attendance on august 15?It is not neccessary to use all the tables.
table_name_99: attendance [ VARCHAR] date [ VARCHAR]
SELECT attendance FROM table_name_99 WHERE date = "august 15"
null
general
ฐานใดในสหราชอาณาจักรที่มีหน่วย Pathfinders ในอากาศ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which UK Base has an airborne unit of Pathfinders?It is not neccessary to use all the tables.
table_55333: "Serial" [ real]
SELECT "UK Base" FROM table_55333 WHERE "Airborne Unit" = 'pathfinders'
null
general
ผู้ป่วย 5520 ขับปัสสาวะออกจากโฟลีย์ตั้งแต่ 05/2101 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
had patient 5520 excreted urine out foley since 05/2101?It is not neccessary to use all the tables.
prescriptions: row_id [ number] subject_id [ number] hadm_id [ number] startdate [ time] enddate [ time] drug [ text] dose_val_rx [ text] dose_unit_rx [ text] route [ text]
SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5520)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'urine out foley' AND d_items.linksto = 'outputevents') AND STRFTIME('%y-%m', outputevents.charttime) >= '2101-05'
null
general
ค้นหานามสกุลที่ชัดเจนของนักเรียนทุกคนที่ได้รับการโหวตจากประธานาธิบดีและมีที่ปรึกษาคือ 8741 ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Find the distinct last names of all the students who have president votes and whose advisor is 8741.It is not neccessary to use all the tables.
student: stuid [ number] lname [ text] fname [ text] age [ number] sex [ text] major [ number] advisor [ number] city_code [ text]
SELECT DISTINCT T1.lname FROM student AS T1 JOIN voting_record AS T2 ON T1.stuid = president_vote INTERSECT SELECT DISTINCT lname FROM student WHERE advisor = "8741"
null
general
มีสิ่งมีชีวิตที่พบในปัสสาวะครั้งแรกซึ่งเป็นตัวอย่างทดสอบทางจุลชีววิทยาที่เป็นโมฆะของผู้ป่วย 025-19271 เมื่อ 4 ปีที่แล้วหรือไม่ไม่จำเป็นต้องใช้ทุกตาราง
was there an organism found in the first urine, voided specimen microbiology test of patient 025-19271 since 4 years ago?It is not neccessary to use all the tables.
cost: costid [ number] uniquepid [ text] patienthealthsystemstayid [ number] eventtype [ text] eventid [ number] chargetime [ time] cost [ number]
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-19271')) AND microlab.culturesite = 'urine, voided specimen' AND DATETIME(microlab.culturetakentime) >= DATETIME(CURRENT_TIME(), '-4 year') ORDER BY microlab.culturetakentime LIMIT 1
null
general
ปีใดมี lq ปี 2546?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which year has a 2003 of lq?It is not neccessary to use all the tables.
table_name_82: Id [ VARCHAR]
SELECT 2009 FROM table_name_82 WHERE 2003 = "lq"
null
general
กี่วันแล้วนับตั้งแต่ครั้งแรกที่โรงพยาบาลปัจจุบันพบว่าผู้ป่วย 22648 ได้รับการวินิจฉัยว่าเป็นโรค meth res pneu d/t staph?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many days have it been since the first time during the current hospital encounter that patient 22648 was diagnosed with meth res pneu d/t staph?It is not neccessary to use all the tables.
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 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'meth res pneu d/t staph') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22648 AND admissions.dischtime IS NULL) ORDER BY diagnoses_icd.charttime LIMIT 1
null
general
เรือยอทช์ลำไหนที่มีหมายเลขเรือ aus70?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On what yacht was the sail number aus70?It is not neccessary to use all the tables.
table_22431: "Position" [ real] "Yacht" [ text] "State/Country" [ text] "Skipper" [ text]
SELECT "Yacht" FROM table_22431 WHERE "Sail Number" = 'AUS70'
null
general
ตั้งชื่อคลาส aa สำหรับปี 1998-99 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the class aa for 1998-99It is not neccessary to use all the tables.
table_19419:
SELECT "Class AA" FROM table_19419 WHERE "School Year" = '1998-99'
null
general
ผู้ป่วย 8814 เข้าโรงพยาบาลเมื่อ 1 ปีที่แล้วได้อย่างไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how did patient 8814 enter the hospital until 1 year ago first?It is not neccessary to use all the tables.
prescriptions: row_id [ number] subject_id [ number] hadm_id [ number] startdate [ time] enddate [ time] drug [ text] dose_val_rx [ text] dose_unit_rx [ text] route [ text]
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 8814 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY admissions.admittime LIMIT 1
null
general
แต้มของเกมกับทีม 2 Deportivo Anzo tegui คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the game's points against Team 2 Deportivo Anzo tegui?It is not neccessary to use all the tables.
table_21451: "Points" [ text]
SELECT "Points" FROM table_21451 WHERE "Team #2" = 'Deportivo Anzoátegui'
null
general
โดยที่คะแนนเจ้าบ้านอยู่ที่ 15.19 (109) ทีมเยือนฟุตสเครย์ได้คะแนนเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Where the home team score is 15.19 (109), what did the away team Footscray score?It is not neccessary to use all the tables.
table_11033: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Away team score" FROM table_11033 WHERE "Home team score" = '15.19 (109)' AND "Away team" = 'footscray'
null
general
แสดงรายการการทดสอบในห้องปฏิบัติการที่พบบ่อยที่สุดห้าอันดับแรกหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
list the top five most frequent lab tests?It is not neccessary to use all the tables.
diagnoses_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time]
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents GROUP BY labevents.itemid) AS t1 WHERE t1.c1 <= 5)
null
general
เมื่อ John Harkes เป็นผู้บรรยายเรื่องสี และ Alexi Lalas และ Steve McManaman เป็นนักวิเคราะห์ก่อนเกม ใครเป็นนักข่าวข้างสนาม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?It is not neccessary to use all the tables.
table_8586: "Year" [ real] "Network" [ text] "Play-by-play" [ text]
SELECT "Sideline reporters" FROM table_8586 WHERE "Color commentator" = 'john harkes' AND "Pregame analysts" = 'alexi lalas and steve mcmanaman'
null
general
สถานที่ใดมีโน้ต 204.22 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which venue has 204.22 notes?It is not neccessary to use all the tables.
table_name_19: venue [ VARCHAR] notes [ VARCHAR]
SELECT venue FROM table_name_19 WHERE notes = "2:04.22"
null
general
ทีมใดชนะเกมในวันที่ 12 มกราคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which team won the game on January 12?It is not neccessary to use all the tables.
table_name_83: decision [ VARCHAR] date [ VARCHAR]
SELECT decision FROM table_name_83 WHERE date = "january 12"
null
general
นับจำนวนการมารักษาในโรงพยาบาลที่คนไข้ 48709 มีมาตั้งแต่ปี 2105 ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of hospital visits that patient 48709 had since 2105.It is not neccessary to use all the tables.
icustays: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] first_careunit [ text] last_careunit [ text] first_wardid [ number] last_wardid [ number] intime [ time] outtime [ time]
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 48709 AND STRFTIME('%y', admissions.admittime) >= '2105'
null
general
การวินิจฉัยที่พบบ่อยที่สุดสามอันดับแรกที่ผู้ป่วยได้รับภายในเดือนเดียวกันหลังจากได้รับเอาท์พุตการเต้นของหัวใจครั้งอื่นจนถึงปี 2101 คืออะไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what were the top three most frequent diagnoses that patients received within the same month after receiving oth cardiac mon output until 2101?It is not neccessary to use all the tables.
prescriptions: row_id [ number] subject_id [ number] hadm_id [ number] startdate [ time] enddate [ time] drug [ text] dose_val_rx [ text] dose_unit_rx [ text] route [ text]
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'oth cardiac mon output') AND STRFTIME('%y', procedures_icd.charttime) <= '2101') AS t1 JOIN (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', diagnoses_icd.charttime) <= '2101') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 3)
null
general
กระทู้ล่าสุดโดยผู้ดูแลคณิตศาสตร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Most recent posts by Mathematics moderators.It is not neccessary to use all the tables.
TagSynonyms: Id [ number] SourceTagName [ text] TargetTagName [ text] CreationDate [ time] OwnerUserId [ number] AutoRenameCount [ number] LastAutoRename [ time] Score [ number] ApprovedByUserId [ number] ApprovalDate [ time]
WITH recent_cte AS (SELECT OwnerUserId AS UserId, MAX(Id) AS MaxId FROM Posts AS p WHERE p.OwnerUserId IN (622, 9754, 12952, 13854, 21674, 23350, 44121, 59234, 83702, 85306) GROUP BY p.OwnerUserId) SELECT UserId AS "user_link", MaxId AS "post_link", p.CreationDate, p.Score FROM recent_cte INNER JOIN Posts AS p ON MaxId = p.Id ORDER BY p.CreationDate DESC
null
general
ละติจูดและลองจิจูดเฉลี่ยในแซนโฮเซคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average latitude and longitude in San Jose?It is not neccessary to use all the tables.
weather: date [ text] max_temperature_f [ number] mean_temperature_f [ number] min_temperature_f [ number] max_dew_point_f [ number] mean_dew_point_f [ number] min_dew_point_f [ number] max_humidity [ number] mean_humidity [ number] min_humidity [ number] max_sea_level_pressure_inches [ number] mean_sea_level_pressure_inches [ number] min_sea_level_pressure_inches [ number] max_visibility_miles [ number] mean_visibility_miles [ number] min_visibility_miles [ number] max_wind_speed_mph [ number] mean_wind_speed_mph [ number] max_gust_speed_mph [ number] precipitation_inches [ number] cloud_cover [ number] events [ text] wind_dir_degrees [ number] zip_code [ number]
SELECT AVG(lat), AVG(long) FROM station WHERE city = "San Jose"
null
general
ภูมิภาคใดในวันที่ 11 สิงหาคม 2551?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What region is on 11 August 2008?It is not neccessary to use all the tables.
table_61517: "Region" [ text] "Date" [ text] "Label" [ text] "Format(s)" [ text] "Catalog" [ text]
SELECT "Region" FROM table_61517 WHERE "Date" = '11 august 2008'
null
general
การแข่งขันใดที่มีประตูของมัคนายก 8/8 และคะแนน 32-14 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which competition has a Goal of deacon 8/8 and a Score of 32-14?It is not neccessary to use all the tables.
table_58218: "Date" [ text] "Competition" [ text] "Venue" [ text] "Result" [ text] "Score" [ text] "Goals" [ text]
SELECT "Competition" FROM table_58218 WHERE "Goals" = 'deacon 8/8' AND "Score" = '32-14'
null
general
มีคนไข้กี่คนที่เข้ารับการตรวจ CD34 ในห้องปฏิบัติการ พักรักษาตัวในโรงพยาบาลนานกว่า 30 วัน? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
how many patients who had cd34 lab test stayed in hospital for more than 30 days?It is not neccessary to use all the tables.
procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "30" AND lab.label = "CD34"
null
general
ฉันมีผู้ชนะกี่คนใน Dessau Autobahnspinne?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many winners did I Dessau Autobahnspinne have?It is not neccessary to use all the tables.
table_217: "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Report" [ text]
SELECT COUNT("Winning driver") FROM table_217 WHERE "Race Name" = 'I Dessau Autobahnspinne'
null
general
มีผู้ป่วยอายุต่ำกว่า 56 ปีที่มีภาวะเฉพาะอื่น ๆ ที่เกิดขึ้นในระยะปริกำเนิดกี่ราย?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many of the patients aged below 56 had other specified conditions originating in the perinatal period?It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "56" AND diagnoses.long_title = "Other specified conditions originating in the perinatal period"
null
general
สุดท้ายสำหรับรุ่นมิดเดิ้ลเวท 75 กก. คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the final for middleweight 75 kg?It is not neccessary to use all the tables.
table_51431: "Athlete" [ text] "Event" [ text] "Quarterfinal" [ text] "Semifinal" [ text] "Final" [ text]
SELECT "Final" FROM table_51431 WHERE "Event" = 'middleweight –75 kg'
null
general
ภูเขาแต่ละลูกมีจำนวนนักปีนเขาเท่าไร? แสดงแผนภูมิแท่งให้ฉันดู ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the number of climbers for each mountain? Show me a bar chart.It is not neccessary to use all the tables.
mountain: Mountain_ID [ int] Name [ text] Height [ real] Prominence [ real] Range [ text] Country [ text]
SELECT T2.Name, COUNT(T2.Name) FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID GROUP BY T2.Name
null
general
เสาใดมีการแข่งขันที่เล็กกว่า 4?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Poles have Races smaller than 4?It is not neccessary to use all the tables.
table_58629: "Season" [ real] "Series" [ text] "Team" [ text] "Races" [ real] "Wins" [ real] "Poles" [ real] "Podiums" [ real] "Points" [ real] "Position" [ text]
SELECT AVG("Poles") FROM table_58629 WHERE "Races" < '4'
null
general
มีงานกี่ประเภท?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many type of jobs do they have?It is not neccessary to use all the tables.
person: name [ text] age [ number] city [ text] gender [ text] job [ text]
SELECT COUNT(DISTINCT job) FROM person
null
general
มีคำตอบไม่กี่ข้อ ไม่จำเป็นต้องใช้ทุกตาราง
s with few answers.It is not neccessary to use all the tables.
PostsWithDeleted: 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.Id AS "post_link", p.Score, p.AnswerCount, p.ViewCount FROM Posts AS p JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON pt.TagId = t.Id WHERE p.Score > 0 AND p.AnswerCount <= 2 AND p.ViewCount > 20000 AND p.ClosedDate IS NULL ORDER BY p.Score DESC, p.AnswerCount
null
general
ทีมไหนมีพีค ฟิตเนส เป็นผู้สนับสนุนหลัก ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which team has Peak Fitness as the primary sponsor?It is not neccessary to use all the tables.
table_37459: "Team" [ text] "Car(s)" [ text] "Driver(s)" [ text]
SELECT "Team" FROM table_37459 WHERE "Primary Sponsor(s)" = 'peak fitness'
null
general
มีตอนไหนบ้างที่มียอดดู 6.72 ล้าน?ไม่จำเป็นที่จะต้องใช้ทุกตาราง
What are all episodes with a viewing figure of 6.72 million?It is not neccessary to use all the tables.
table_19802: "#" [ real] "Episode" [ text] "Writer" [ text] "Director" [ text]
SELECT "Episode" FROM table_19802 WHERE "Viewing figure" = '6.72 million'
null
general
ผลลัพธ์ของเขตโอคลาโฮมา 5 เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What were the results for the district oklahoma 5?It is not neccessary to use all the tables.
table_1341423_36: results [ VARCHAR] district [ VARCHAR]
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 5"
null
general
Est-ce que 'mbraux' (un pseudo au hasard ) adj publi un post ?.ไม่จำเป็นต้องใช้ตารางทั้งหมด
Est-ce que 'mbraux' (un pseudo au hasard ) a d j publi un post ?.It is not neccessary to use all the tables.
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(p.Id) FROM Posts AS p JOIN Users AS u ON p.OwnerUserId = u.Id WHERE u.DisplayName = 'Mat Mannion' GROUP BY p.Id
null
general
เมื่อใดที่ผู้ป่วย 013-38992 มีปริมาณน้อยกว่า 93.0 sao2 ในการเข้ารับการรักษาในไอซียูในปัจจุบันเป็นครั้งแรก? ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the first time patient 013-38992 was having less than 93.0 sao2 on the current icu visit?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-38992') AND patient.unitdischargetime IS NULL) AND vitalperiodic.sao2 < 93.0 AND NOT vitalperiodic.sao2 IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1
null
general
ขอการเปรียบเทียบเกี่ยวกับผลรวมของ Weight over the Sex และจัดกลุ่มตามแอตทริบิวต์ Sex ด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me the comparison about the sum of Weight over the Sex , and group by attribute Sex by a bar chart.It is not neccessary to use all the tables.
candidate: Candidate_ID [ int] People_ID [ int] Poll_Source [ text] Date [ text] Support_rate [ real] Consider_rate [ real] Oppose_rate [ real] Unsure_rate [ real]
SELECT Sex, SUM(Weight) FROM people GROUP BY Sex
null
general
พื้นที่ที่ใหญ่ที่สุด (msr) คืออะไรซึ่งมีพื้นที่น้อยกว่า 291.045 เป็นส่วนหนึ่งของตระกูล Per และมีอันดับสูงกว่า 78? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the largest Area (msr) that has an Area less than 291.045, is part of the Per family, and has a rank higher than 78?It is not neccessary to use all the tables.
table_name_70: area__msr_ [ INTEGER] rank [ VARCHAR] area__sqdeg_ [ VARCHAR] family [ VARCHAR]
SELECT MAX(area__msr_) FROM table_name_70 WHERE area__sqdeg_ < 291.045 AND family = "per" AND rank > 78
null
general
ใครคือทีมเยือนเมื่อฝั่งเจ้าบ้านทำสกอร์ 13.22 (100)?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Who is the away side, when the home side scores 13.22 (100)?It is not neccessary to use all the tables.
table_33223: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Away team" FROM table_33223 WHERE "Home team score" = '13.22 (100)'
null
general
ตั้งชื่อการตระหนักรู้สำหรับ 'to be, to doIt is not ecessary to use all the tables.
Name the realization for 'to be, to doIt is not neccessary to use all the tables.
table_name_71: realization [ VARCHAR] gloss [ VARCHAR]
SELECT realization FROM table_name_71 WHERE gloss = "'to be, to do'"
null
general
เหตุการณ์สำหรับรอบที่ 1 กับ Lance Wipf คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the event for round 1 against Lance Wipf?It is not neccessary to use all the tables.
table_name_9: event [ VARCHAR] round [ VARCHAR] opponent [ VARCHAR]
SELECT event FROM table_name_9 WHERE round = "1" AND opponent = "lance wipf"
null
general
ปีล่าสุดที่ชนะคือปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the latest year that resulted in won?It is not neccessary to use all the tables.
table_53484: "Year" [ real] "Award" [ text] "Category" [ text] "Nominee" [ text] "Result" [ text]
SELECT MAX("Year") FROM table_53484 WHERE "Result" = 'won'
null
general
โปรดแสดงจำนวนพนักงานที่ทำงานในประเทศต่างๆ โดยใช้แผนภูมิแท่ง คุณสามารถระบุรายชื่อโดยเรียงตามจำนวนชื่อประเทศได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Please show me how many employees working on different countries using a bar chart, could you list in asc by the the number of country name?It is not neccessary to use all the tables.
jobs: JOB_ID [ varchar(10)] JOB_TITLE [ varchar(35)] MIN_SALARY [ decimal(60)] MAX_SALARY [ decimal(60)]
SELECT COUNTRY_NAME, COUNT(COUNTRY_NAME) FROM countries GROUP BY COUNTRY_NAME ORDER BY COUNT(COUNTRY_NAME)
null
general
นโยบายประเภทใดที่ใช้บ่อยที่สุด? ให้รหัสประเภทนโยบายแก่ฉัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which type of policy is most frequently used? Give me the policy type code.It is not neccessary to use all the tables.
policies: policy_type_code [ VARCHAR]
SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1
null
general
มีกี่คนที่ได้ตำแหน่งที่สาม เมื่อ sanyo electric tokushima ได้ตำแหน่งที่สี่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many persons got the third position whan sanyo electric tokushima got the fourth position?It is not neccessary to use all the tables.
table_24514: "Regional" [ text] "Champions" [ text] "Runners-up" [ text]
SELECT COUNT("Third place") FROM table_24514 WHERE "Fourth place" = 'Sanyo Electric Tokushima'
null
general
ใครเป็นผู้วาง t5 และมีคะแนน 70-72=142?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who placed t5 and had a score of 70-72=142?It is not neccessary to use all the tables.
table_78952: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Player" FROM table_78952 WHERE "Place" = 't5' AND "Score" = '70-72=142'
null
general
พล็อตจำนวนทั้งหมดโดยจัดกลุ่มตามรหัสสถานะการจองเป็นกราฟแท่ง เรียงลำดับจากน้อยไปหามากด้วย Y ไม่จำเป็นต้องใช้ตารางทั้งหมด
Plot the total number by grouped by booking status code as a bar graph, sort in ascending by the Y.It is not neccessary to use all the tables.
View_Unit_Status: apt_id [ INTEGER] apt_booking_id [ INTEGER] status_date [ DATETIME] available_yn [ BIT]
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY COUNT(*)
null
general
Score คืออะไร เมื่อเป็นรุ่นปี 2011 และเมื่อใด Surface เป็น Hard (i)?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Score, when Edition is 2011, and when Surface is Hard (i)?It is not neccessary to use all the tables.
table_62016: "Outcome" [ text] "Edition" [ real] "Round" [ text] "Surface" [ text] "Opponent" [ text] "Score" [ text]
SELECT "Score" FROM table_62016 WHERE "Edition" = '2011' AND "Surface" = 'hard (i)'
null
general
เติร์กเมนิสถานอยู่ในอันดับใด ซึ่งมี 0 เหรียญเงินและน้อยกว่า 2 เหรียญทอง?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What rank is Turkmenistan, who had 0 silver's and Less than 2 golds?It is not neccessary to use all the tables.
table_name_93: rank [ VARCHAR] nation [ VARCHAR] silver [ VARCHAR] gold [ VARCHAR]
SELECT rank FROM table_name_93 WHERE silver = 0 AND gold < 2 AND nation = "turkmenistan"
null
general
มณฑลที่ไม่มีชื่อเมืองมีชื่ออะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names of counties that do not contain any cities?It is not neccessary to use all the tables.
county_public_safety: county_id [ number] name [ text] population [ number] police_officers [ number] residents_per_officer [ number] case_burden [ number] crime_rate [ number] police_force [ text] location [ text]
SELECT name FROM county_public_safety WHERE NOT county_id IN (SELECT county_id FROM city)
null
general
แพลตฟอร์มใดที่ใช้สำหรับเกมที่กำกับโดย Bryan Walker หลังปี 2549?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What platform was used for the game directed by Bryan Walker after 2006?It is not neccessary to use all the tables.
table_name_45: platform_s_ [ VARCHAR] year [ VARCHAR] director [ VARCHAR]
SELECT platform_s_ FROM table_name_45 WHERE year > 2006 AND director = "bryan walker"
null
general
แสดงรายการจำนวนคอร์สำหรับ ddr3-1333 ที่มีความถี่ระหว่าง 2.66-2.8ghz ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.It is not neccessary to use all the tables.
table_73606: "Frequency" [ text] "Cores/Threads" [ text]
SELECT "Cores/Threads" FROM table_73606 WHERE "Max Memory Speed" = 'DDR3-1333' AND "Frequency" = '2.66-2.8GHz'
null
general
SELECT * FROM ผู้ใช้ที่ REPUTATION > 2000 ไม่จำเป็นต้องใช้ตารางทั้งหมด
SELECT * FROM users where REPUTATION > 2000.It is not neccessary to use all the tables.
ReviewTaskTypes: Id [ number] Name [ text] Description [ text]
SELECT * FROM Users WHERE Reputation > 2000
null
general
กัปตันที่อยู่ในคลาส Cutter และ Armed schooner มียศอะไรบ้าง? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What are the ranks of captains that are both in the Cutter and Armed schooner classes?It is not neccessary to use all the tables.
captain: captain_id [ number] name [ text] ship_id [ number] age [ text] class [ text] rank [ text]
SELECT rank FROM captain WHERE class = 'Cutter' INTERSECT SELECT rank FROM captain WHERE class = 'Armed schooner'
null
general
บอกชื่อยาที่คนไข้ 032-32248 สั่งจ่ายภายใน 2 วัน หลังจากได้รับหัตถการเพาะเชื้อ ไม่จำเป็นต้องใช้ทุกตาราง
tell me the name of the drug which patient 032-32248 was prescribed within 2 days after receiving a cultures procedure?It is not neccessary to use all the tables.
diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text]
SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-32248') AND treatment.treatmentname = 'cultures') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-32248')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.drugstarttime AND DATETIME(t2.drugstarttime) BETWEEN DATETIME(t1.treatmenttime) AND DATETIME(t1.treatmenttime, '+2 day')
null
general
ก่อนปี 1981 ทีม Suzuki มีคะแนนเท่าไหร่และชนะน้อยกว่า 0 ครั้ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Before 1981, how many Points did Team Suzuki have with less than 0 Wins?It is not neccessary to use all the tables.
table_5721: "Year" [ real] "Class" [ text] "Team" [ text] "Machine" [ text] "Points" [ real] "Wins" [ real]
SELECT SUM("Points") FROM table_5721 WHERE "Team" = 'suzuki' AND "Year" < '1981' AND "Wins" < '0'
null
general
ฟิลิปปินส์หรือคาซัคสถานมีจำนวนเหรียญรางวัลมากกว่าหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
did the philippines or kazakhstan have a higher number of total medals ?It is not neccessary to use all the tables.
table_203_165: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number]
SELECT "nation" FROM table_203_165 WHERE "nation" IN ('philippines', 'kazakhstan') ORDER BY "total" DESC LIMIT 1
null
general
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตผลิตภัณฑ์แต่ละราย ให้เห็นภาพแผนภูมิแท่งเกี่ยวกับการกระจายของชื่อและค่าเฉลี่ยของผู้ผลิต และจัดกลุ่มตามชื่อแอตทริบิวต์ และแสดงเป็นแถบโดยเรียงจากน้อยไปมาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the average of manufacturer , and group by attribute name, and display by the bar in ascending.It is not neccessary to use all the tables.
Products: Code [ INTEGER] Name [ VARCHAR(255)] Price [ DECIMAL] Manufacturer [ INTEGER]
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name
null
general
ฟุตสเครย์เล่นเป็นทีมเหย้าที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Where did Footscray play as the home team?It is not neccessary to use all the tables.
table_name_41: venue [ VARCHAR] home_team [ VARCHAR]
SELECT venue FROM table_name_41 WHERE home_team = "footscray"
null
general
พล็อตแผนภูมิกระจาย ผลรวม (จำนวนแพลตฟอร์ม) ด้วยผลรวมผู้โดยสารทั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Plot a scatter chart, sum(number of platforms) by sum total passengers.It is not neccessary to use all the tables.
train_station: Train_ID [ int] Station_ID [ int]
SELECT SUM(Number_of_Platforms), SUM(Total_Passengers) FROM station GROUP BY Location
null
general
ผลลัพธ์ของเกมที่เล่นที่ Jeppesen Stadium เป็นอย่างไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the result of the game played at Jeppesen Stadium?It is not neccessary to use all the tables.
table_name_95: result [ VARCHAR] game_site [ VARCHAR]
SELECT result FROM table_name_95 WHERE game_site = "jeppesen stadium"
null
general
แสดงจำนวนผู้โดยสารทั้งหมดของแต่ละสถานที่เป็นแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the total number of passengers of each location in a bar chart.It is not neccessary to use all the tables.
train_station: Train_ID [ int] Station_ID [ int]
SELECT Location, SUM(Total_Passengers) FROM station GROUP BY Location
null
general
ระบุจำนวนผู้ป่วยที่ปีที่เข้ารับการรักษาน้อยกว่า 2,139 ปี และชื่อการตรวจทางห้องปฏิบัติการคือ บิลิรูบิน ทางอ้อม ไม่จำเป็นต้องใช้ทุกตาราง
provide the number of patients whose admission year is less than 2139 and lab test name is bilirubin, indirect?It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2139" AND lab.label = "Bilirubin, Indirect"
null
general
คาร์ดิโอมีกี่ประเภท?ไม่จำเป็นต้องใช้ทุกโต๊ะ
How many types are cardio?It is not neccessary to use all the tables.
table_74120: "Program" [ text] "Exercise" [ text] "Week" [ text] "Type" [ text] "Length" [ text] "Equipment" [ text]
SELECT COUNT("Program") FROM table_74120 WHERE "Type" = 'Cardio'
null
general
Post University มีชื่อเล่นว่าอะไร?ไม่จำเป็นต้องใช้ทุกตาราง
Post University has what nickname?It is not neccessary to use all the tables.
table_name_4: nickname [ VARCHAR] institution [ VARCHAR]
SELECT nickname FROM table_name_4 WHERE institution = "post university"
null
general
คู่ต่อสู้ออสเตรียคือวันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What day was the opponent Austria?It is not neccessary to use all the tables.
table_37147: "Date" [ text] "City" [ text] "Opponent" [ text] "Results\u00b9" [ text]
SELECT "Date" FROM table_37147 WHERE "Opponent" = 'austria'
null
general
จำนวนประตูต่อเมื่อเล่นมากกว่า 38 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the number of goals against when the played is more than 38?It is not neccessary to use all the tables.
table_name_19: goals_against [ VARCHAR] played [ INTEGER]
SELECT COUNT(goals_against) FROM table_name_19 WHERE played > 38
null
general
มีหนังเรื่องหนึ่งที่ขึ้นอันดับ 10 ในสหราชอาณาจักรมากี่ปีแล้ว?ไม่จำเป็นต้องใช้ทุกตารางเลย
How many years had a film that peaked at #10 in the UK?It is not neccessary to use all the tables.
table_name_1: year [ VARCHAR] uk_peak_position [ VARCHAR]
SELECT COUNT(year) FROM table_name_1 WHERE uk_peak_position = "10"
null
general
มีทีม motopark กี่ฤดูกาล?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many seasons have motopark team?It is not neccessary to use all the tables.
table_25981: "Season" [ real] "Series" [ text] "Team" [ text] "Races" [ real] "Wins" [ real] "Poles" [ real] "F/Laps" [ real] "Podiums" [ real] "Points" [ text] "Position" [ text]
SELECT COUNT("Season") FROM table_25981 WHERE "Team" = 'Motopark'
null
general
ใครในซีรีส์ 11 ตรงกับ Peter Jones ในซีรีส์ 1?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who in series 11 corresponds to Peter Jones in series 1?It is not neccessary to use all the tables.
table_68463:
SELECT "Series 11" FROM table_68463 WHERE "Series 1" = 'peter jones'
null
general
ตั้งชื่อผู้เล่นสำหรับซีแอตเทิลไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the player for seattleIt is not neccessary to use all the tables.
table_20197: "Player" [ text] "No." [ real] "Nationality" [ text] "Position" [ text]
SELECT "Player" FROM table_20197 WHERE "School/Club Team" = 'Seattle'
null
general
ทีมเจ้าบ้านใดมีคะแนนทีมเยือน 6.6 (42)?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Home team has an away score of 6.6 (42)?It is not neccessary to use all the tables.
table_54879: "Venue" [ text] "Date" [ text]
SELECT "Home team score" FROM table_54879 WHERE "Away team score" = '6.6 (42)'
null
general
ค่าสูงสุดที่เทียบเท่ากับสถานที่ t8 และเยอรมนีตะวันตกเป็นประเทศคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest to par with a place of t8 and West Germany as the country?It is not neccessary to use all the tables.
table_name_37: to_par [ INTEGER] place [ VARCHAR] country [ VARCHAR]
SELECT MAX(to_par) FROM table_name_37 WHERE place = "t8" AND country = "west germany"
null
general
แสดงชื่อเรื่องและผู้กำกับภาพยนตร์ทุกเรื่อง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the title and director for all films.It is not neccessary to use all the tables.
film: title [ VARCHAR] directed_by [ VARCHAR]
SELECT title, directed_by FROM film
null
general
สถานที่จำหน่ายและเวลาจำหน่ายของวัตถุ id 7273 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is discharge location and discharge time of subject id 7273?It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.subject_id = "7273"
null
general
ใครบ้างที่อยู่ในการแข่งขันปาเป้าสามลูกที่ออกอากาศเมื่อวันที่ 10 พฤษภาคม พ.ศ. 2553 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was in the three darts challenge that aired on 10 may 2010?It is not neccessary to use all the tables.
table_28984: "Guests" [ text]
SELECT "Three Darts Challenge" FROM table_28984 WHERE "Air Date" = '10 May 2010'
null
general
Pro Year คืออะไร เมื่อทีมคือ Cincinnati Royals? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Pro Year(s), when Team is Cincinnati Royals?It is not neccessary to use all the tables.
table_44761: "Name" [ text] "Position" [ text] "Team" [ text]
SELECT "Pro Year(s)" FROM table_44761 WHERE "Team" = 'cincinnati royals'
null
general
เอลเมอร์ คลิฟตันกำกับกี่บท?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many chapters did Elmer Clifton direct?It is not neccessary to use all the tables.
table_name_86: chapters [ VARCHAR] director [ VARCHAR]
SELECT COUNT(chapters) FROM table_name_86 WHERE director = "elmer clifton"
null
general