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
สำหรับแต่ละอันดับคณะ ให้แสดงจำนวนคณาจารย์ที่มี แสดงแผนภูมิแท่ง และเรียงลำดับจากต่ำไปสูงเป็นแถบได้หรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
For each faculty rank, show the number of faculty members who have it Show bar chart, and could you order from low to high by the bar?It is not neccessary to use all the tables.
Faculty: FacID [ INTEGER] Lname [ VARCHAR(15)] Fname [ VARCHAR(15)] Rank [ VARCHAR(15)] Sex [ VARCHAR(1)] Phone [ INTEGER] Room [ VARCHAR(5)] Building [ VARCHAR(13)]
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank ORDER BY Rank
null
general
วันที่แข่งขันด้วยสกอร์ 0 6, 2 6 กับคู่หู Marcella Mesker คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Date of the match with a Score of 0 6, 2 6 with Partner Marcella Mesker?It is not neccessary to use all the tables.
table_name_57: date [ VARCHAR] partner [ VARCHAR] score [ VARCHAR]
SELECT date FROM table_name_57 WHERE partner = "marcella mesker" AND score = "0–6, 2–6"
null
general
เมืองใดมีอักษรมองโกเลีย ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which city has the mongolian script of ?It is not neccessary to use all the tables.
table_46345: "City" [ text] "Mongolian" [ text] "Province" [ text]
SELECT "City" FROM table_46345 WHERE "Mongolian script" = 'ᠡᠷᠳᠡᠨᠢᠲᠦ'
null
general
ผู้ใช้ SO 500 อันดับแรกจาก TR.ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 500 SO users from TR.It is not neccessary to use all the tables.
PostNoticeTypes: Id [ number] ClassId [ number] Name [ text] Body [ text] IsHidden [ boolean] Predefined [ boolean] PostNoticeDurationId [ number]
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", 'http://stackoverflow.com/users/' + CAST(Id AS TEXT(10)) AS ProfileUrl, DisplayName, Reputation, Location FROM Users WHERE (LOWER(Location) LIKE '%turke%' OR LOWER(Location) LIKE '%t rki%' OR Location LIKE '%Turkey%' OR Location LIKE '%T rki%' OR Location LIKE...
null
general
มีผู้ป่วยกี่รายที่เกิดก่อนปี 2170 ที่ต้องทนทุกข์ทรมานจากภาวะหลอดเลือดดำคอซ้าย อาการบวมน้ำที่แขนซ้าย?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients born before the year 2170 suffered from left internal jugular vein thrombosis;left arm edema?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 WHERE demographic.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA" AND demographic.dob_year < "2170"
null
general
มีกี่คนในส่วนปริมาณที่มี Fokker เป็นผู้ผลิตและเลิกผลิตหลังปี 1999? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
How many in the quantity section had Fokker as a manufacturer and retired later than 1999?It is not neccessary to use all the tables.
table_name_68: quantity [ VARCHAR] manufacturer [ VARCHAR] retired [ VARCHAR]
SELECT COUNT(quantity) FROM table_name_68 WHERE manufacturer = "fokker" AND retired > 1999
null
general
ใครคือผู้ใช้หลักๆ ของ Gordon Close-Support Weapon System? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who are all the major users of the Gordon Close-Support Weapon System?It is not neccessary to use all the tables.
table_31149:
SELECT "Major users" FROM table_31149 WHERE "Name/ designation" = 'Gordon Close-Support Weapon System'
null
general
คู่ต่อสู้ของการแข่งขันในรอบ SF คือใครด้วยผลสกอร์ 0-0?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Who was the opponent of the match in round sf with a result of 0-0?It is not neccessary to use all the tables.
table_name_97: opponent [ VARCHAR] round [ VARCHAR] result [ VARCHAR]
SELECT opponent FROM table_name_97 WHERE round = "sf" AND result = "0-0"
null
general
ผ่านไปกี่วันแล้วตั้งแต่ผู้ป่วย 006-172277 เข้ารับการรักษาในโรงพยาบาล?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many days has it passed since patient 006-172277 was admitted to the hospital?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '006-172277' AND patient.hospitaldischargetime IS NULL
null
general
เครื่องบินประเภทไหน เที่ยวบิน UA 270 จากเดนเวอร์ไปฟิลาเดลเฟียไม่จำเป็นต้องใช้ตารางทั้งหมด
what kind of airplane is flight UA 270 from DENVER to PHILADELPHIAIt is not neccessary to use all the tables.
time_interval: period [ text] begin_time [ int] end_time [ int]
SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.cit...
null
general
ตอนที่สูงที่สุดของ Wood Flutes คือตอนไหน c?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the highest episode of Wood Flutes segment c?It is not neccessary to use all the tables.
table_5112: "Episode" [ real]
SELECT MAX("Episode") FROM table_5112 WHERE "Segment C" = 'wood flutes'
null
general
น้ำหนักที่ระบุไว้ในปี 1914 คืออะไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the listed Tonnage for the Date of 1914?It is not neccessary to use all the tables.
table_13830: "Date" [ real] "Tonnage" [ text]
SELECT "Tonnage" FROM table_13830 WHERE "Date" = '1914'
null
general
ตั้งชื่อเครื่องยนต์ด้วยแชสซีของ maserati 250f และผู้เข้าร่วม luigi piotti ด้วยปีน้อยกว่า 1957 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957It is not neccessary to use all the tables.
table_69620: "Year" [ real] "Entrant" [ text] "Chassis" [ text] "Engine" [ text] "Points" [ real]
SELECT "Engine" FROM table_69620 WHERE "Chassis" = 'maserati 250f' AND "Entrant" = 'luigi piotti' AND "Year" < '1957'
null
general
จำนวนผู้เข้าร่วมในเกมกับ Los Angeles Raiders เป็นเท่าใด? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the Attendance of the game against the Los Angeles Raiders?It is not neccessary to use all the tables.
table_9879: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ text]
SELECT "Attendance" FROM table_9879 WHERE "Opponent" = 'los angeles raiders'
null
general
มีผู้เล่นกี่คนที่น้ำหนัก 95?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many players weight 95?It is not neccessary to use all the tables.
table_13312864_1: player [ VARCHAR] weight [ VARCHAR]
SELECT COUNT(player) FROM table_13312864_1 WHERE weight = 95
null
general
บริสเบน ไลออนส์ (1) ชนะวันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On what date did the Brisbane Lions (1) win?It is not neccessary to use all the tables.
table_56418: "Season" [ text] "WinningTeam" [ text] "Score" [ text] "LosingTeam" [ text]
SELECT "Cup FinalDate" FROM table_56418 WHERE "WinningTeam" = 'brisbane lions (1)'
null
general
กรุณาแสดงผลงานศิลปะประเภทต่างๆ โดยมีจำนวนผลงานแต่ละประเภทให้ตรงกัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Please show different types of artworks with the corresponding number of artworks of each type.It is not neccessary to use all the tables.
artwork: TYPE [ VARCHAR]
SELECT TYPE, COUNT(*) FROM artwork GROUP BY TYPE
null
general
ระบุเวลาจำหน่ายและรหัสการวินิจฉัย icd9 ของวิชา id 42820 ไม่จำเป็นต้องใช้ตารางทั้งหมด
mention the discharge time and diagnosis icd9 code of subject id 42820.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 demographic.dischtime, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "42820"
null
general
จำนวนผู้ใช้ที่มีตัวแทนมากกว่า 10,000 คน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Number of users with 10k+ rep.It is not neccessary to use all the tables.
ReviewTasks: Id [ number] ReviewTaskTypeId [ number] CreationDate [ time] DeletionDate [ time] ReviewTaskStateId [ number] PostId [ number] SuggestedEditId [ number] CompletedByReviewTaskId [ number]
SELECT COUNT(*) FROM Users WHERE Reputation >= 10000
null
general
ชื่อของตอนที่กำกับโดย Whitney Ransick คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the titles of episodes directed by whitney ransick?It is not neccessary to use all the tables.
table_4076: "No." [ real] "#" [ real] "Title" [ text]
SELECT "Title" FROM table_4076 WHERE "Directed by" = 'Whitney Ransick'
null
general
เมื่อ 21' 10.25 106.930mph คือวันอังคารที่ 24 สิงหาคม วันเสาร์ที่ 29 สิงหาคมคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th?It is not neccessary to use all the tables.
table_26986076_5: sat_29_aug [ VARCHAR] tues_24_aug [ VARCHAR]
SELECT sat_29_aug FROM table_26986076_5 WHERE tues_24_aug = "21' 10.25 106.930mph"
null
general
น้ำหนักของผู้เล่นที่สูง 6' 2' คือเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the weight for the player who is 6' 2'?It is not neccessary to use all the tables.
table_1009: "Player" [ text] "Position" [ text] "Hometown" [ text] "Height" [ text] "Weight" [ real] "Class" [ text]
SELECT MAX("Weight") FROM table_1009 WHERE "Height" = '6'' 2'
null
general
nominative ใดมี mis เป็นกรรม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What nominative has mis as the dative?It is not neccessary to use all the tables.
table_name_91: nominative [ VARCHAR] dative [ VARCHAR]
SELECT nominative FROM table_name_91 WHERE dative = "mis"
null
general
เครื่องบินแต่ละลำที่ได้รับรางวัล มีชื่อว่าอะไร และได้รับรางวัลไปกี่ครั้ง แสดงสัดส่วน ไม่จำเป็นต้องใช้ทุกตาราง
For each aircraft that has won an award, what is its name and how many time has it won. Show the proportion.It is not neccessary to use all the tables.
aircraft: Aircraft_ID [ int(11)] Aircraft [ varchar(50)] Description [ varchar(50)] Max_Gross_Weight [ varchar(50)] Total_disk_area [ varchar(50)] Max_disk_Loading [ varchar(50)]
SELECT Aircraft, COUNT(*) FROM aircraft AS T1 JOIN match AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft
null
general
มีการทดสอบทางจุลชีววิทยาของการเพาะเลี้ยงเลือดกับผู้ป่วย 56490 ในปี 09/ปีที่แล้วหรือไม่? ไม่จำเป็นต้องใช้ตารางทั้งหมด
has there been any blood culture microbiology test done for patient 56490 in 09/last year?It is not neccessary to use all the tables.
transfers: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] eventtype [ text] careunit [ text] wardid [ number] intime [ time] outtime [ time]
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 56490) AND microbiologyevents.spec_type_desc = 'blood culture' AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', ...
null
general
ตั้งชื่อคะแนนซึ่งมีคู่หูของ jorge lozano, ผลลัพธ์ของรองชนะเลิศ และฝ่ายตรงข้ามในรอบชิงชนะเลิศของ udo riglewski michael stich?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the Score which has a Partner of jorge lozano, an Outcome of runner-up, and Opponents in the final of udo riglewski michael stich?It is not neccessary to use all the tables.
table_45731: "Outcome" [ text] "Date" [ text] "Tournament" [ text] "Surface" [ text] "Partner" [ text]
SELECT "Score in the final" FROM table_45731 WHERE "Partner" = 'jorge lozano' AND "Outcome" = 'runner-up' AND "Opponents in the final" = 'udo riglewski michael stich'
null
general
ผู้ป่วย 011-35642 ได้รับการวินิจฉัยครั้งแรกเมื่อ 4 ปีที่แล้วคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was patient 011-35642 diagnosed with the first time until 4 years ago?It is not neccessary to use all the tables.
vitalperiodic: vitalperiodicid [ number] patientunitstayid [ number] temperature [ number] sao2 [ number] heartrate [ number] respiration [ number] systemicsystolic [ number] systemicdiastolic [ number] systemicmean [ number] observationtime [ time]
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-35642')) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CU...
null
general
Tathiana garbin เป็นหุ้นส่วนได้คะแนนเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what score is it with tathiana garbin as partner?It is not neccessary to use all the tables.
table_name_84: score [ VARCHAR] partner [ VARCHAR]
SELECT score FROM table_name_84 WHERE partner = "tathiana garbin"
null
general
นักข่าวข้างสนามคนไหนที่ทำงานร่วมกับแฟรงก์ กิฟฟอร์ด และแดน เดียร์ดอร์ฟ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf?It is not neccessary to use all the tables.
table_name_17: sideline_reporter_s_ [ VARCHAR] color_commentator_s_ [ VARCHAR]
SELECT sideline_reporter_s_ FROM table_name_17 WHERE color_commentator_s_ = "frank gifford and dan dierdorf"
null
general
ดรอปใดที่มีปากกา 0 ด้าม เสมอ 1 ครั้ง และพยายาม 8 ครั้ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What drop had 0 pens, 1 draw, and 8 tries?It is not neccessary to use all the tables.
table_32840: "Player" [ text] "Span" [ text] "Start" [ text] "Tries" [ text] "Conv" [ text] "Pens" [ text] "Drop" [ text] "Lost" [ text] "Draw" [ text]
SELECT "Drop" FROM table_32840 WHERE "Pens" = '0' AND "Draw" = '1' AND "Tries" = '8'
null
general
ใครคือผู้รับในปี 1994?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who are the recipients in 1994?It is not neccessary to use all the tables.
table_64774: "Year" [ real] "Category" [ text] "Role/Episode" [ text] "Result" [ text]
SELECT "Recipients and nominees" FROM table_64774 WHERE "Year" = '1994'
null
general
มีผู้ป่วยกี่รายที่วินิจฉัยชื่อสั้นว่า อาการตัวเหลืองของทารกในครรภ์/ทารกแรกเกิด และผลการตรวจทางห้องปฏิบัติการผิดปกติ สถานะผิดปกติ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose diagnoses short title is fetal/neonatal jaund nos and lab test abnormal status is abnormal?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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Fetal/neonatal jaund NOS" AND lab.flag = "abnormal"
null
general
เวลาฝึกซ้อมในวันศุกร์ที่ 3 มิถุนายนของนักบิดที่ทำความเร็วได้ 20' 50.45 108.623 ไมล์ต่อชั่วโมงในวันพฤหัสบดีที่ 2 มิถุนายนคือเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?It is not neccessary to use all the tables.
table_29218221_3: fri_3_june [ VARCHAR] thurs_2_june [ VARCHAR]
SELECT fri_3_june FROM table_29218221_3 WHERE thurs_2_june = "20' 50.45 108.623mph"
null
general
ระบุจำนวนคนไข้ที่มีเชื้อชาติเป็นคนผิวขาวและปีเกิดน้อยกว่า 2103 ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose ethnicity is white and year of birth is less than 2103?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 WHERE demographic.ethnicity = "WHITE" AND demographic.dob_year < "2103"
null
general
แผนภูมิแท่งแสดงจำนวนสำนักงานใหญ่จากแต่ละสำนักงานใหญ่ เรียงจากสูงไปต่ำตามแถบ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Bar chart of how many headquarters from each headquarters, order from high to low by the bars.It is not neccessary to use all the tables.
gas_station: Station_ID [ int] Open_Year [ int] Location [ text] Manager_Name [ text] Vice_Manager_Name [ text] Representative_Name [ text]
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC
null
general
สำหรับพนักงานทุกคนที่มีตัวอักษร D หรือ S ในชื่อ ให้ส่งคืนแผนภูมิแท่งเกี่ยวกับการแจกแจงของ job_id และจำนวน job_id และจัดกลุ่มตามแอตทริบิวต์ job_id โดยจัดอันดับแกน x ตามลำดับ asc ไม่จำเป็นต้องใช้ โต๊ะทั้งหมด
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, rank x-axis in asc order.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 JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID
null
general
มี Loci ในซอฟต์แวร์ Cinderella หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
Is there Loci in the Cinderella software?It is not neccessary to use all the tables.
table_10244: "Software" [ text] "Calculations" [ text] "Macros" [ text] "Loci" [ text] "Animations" [ text] "Multilingual" [ text] "Proofs" [ text]
SELECT "Loci" FROM table_10244 WHERE "Software" = 'cinderella'
null
general
ตั้งชื่อผลรวมม้วนสำหรับโรงเรียนมอร์รินส์วิลล์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the sum of roll for morrinsville schoolIt is not neccessary to use all the tables.
table_71700: "Name" [ text] "Years" [ text] "Gender" [ text] "Area" [ text] "Authority" [ text] "Decile" [ real] "Roll" [ real]
SELECT SUM("Roll") FROM table_71700 WHERE "Name" = 'morrinsville school'
null
general
Smoky Lake County มีประชากรต่อกิโลเมตรเป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the population per km in Smoky Lake County?It is not neccessary to use all the tables.
table_73713: "Name" [ text]
SELECT "Population density (per km 2 )" FROM table_73713 WHERE "Municipal district" = 'Smoky Lake County'
null
general
ออกอากาศความยาว 60 นาทีเมื่อใด?ไม่จำเป็นต้องใช้ทุกโต๊ะ
When did the length of 60 minutes air?It is not neccessary to use all the tables.
table_name_46: airdate [ VARCHAR] length [ VARCHAR]
SELECT airdate FROM table_name_46 WHERE length = "60 minutes"
null
general
แสดงชื่อสมาชิกและที่ตั้งของวิทยาลัยที่พวกเขาไปโดยเรียงตามตัวอักษรจากชื่อสมาชิก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names.It is not neccessary to use all the tables.
college: College_Location [ VARCHAR] College_ID [ VARCHAR]
SELECT T2.Name, T1.College_Location FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID ORDER BY T2.Name
null
general
ผ่านไปกี่ชั่วโมงแล้วนับตั้งแต่ผู้ป่วย 017-88691 ทำหัตถการครั้งแรกระหว่างการเยี่ยมโรงพยาบาลครั้งนี้?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many hours have elapsed since patient 017-88691 had his first procedure during this hospital visit?It is not neccessary to use all the tables.
medication: medicationid [ number] patientunitstayid [ number] drugname [ text] dosage [ text] routeadmin [ text] drugstarttime [ time] drugstoptime [ time]
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691...
null
general
ประเทศใดมีเครือข่าย Banglavision?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which country has the banglavision Network?It is not neccessary to use all the tables.
table_33075: "Network" [ text] "Language" [ text] "Genre" [ text] "Service" [ text]
SELECT "Origin of Programming" FROM table_33075 WHERE "Network" = 'banglavision'
null
general
ขอทราบจำนวนคนไข้ที่ปีเสียชีวิตน้อยกว่าหรือเท่ากับ 2133 และรหัสขั้นตอน icd9 คือ 3142 ครับ ไม่จำเป็นต้องใช้ตารางทั้งหมดครับ
give me the number of patients whose year of death is less than or equal to 2133 and procedure icd9 code is 3142?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2133.0" AND procedures.icd9_code = "3142"
null
general
นักแสดงในภาพยนตร์เรื่อง 'Grumpier Old Men' มีจำนวนเท่าใด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the number of actors in the movie ' Grumpier Old Men ' ?It is not neccessary to use all the tables.
producer: pid [ int] gender [ text] name [ text] nationality [ text] birth_city [ text] birth_year [ int]
SELECT COUNT(DISTINCT (actor.name)) FROM actor, cast, movie WHERE cast.aid = actor.aid AND movie.mid = cast.msid AND movie.title = 'Grumpier Old Men'
null
general
ประเภทการรับเข้าเรียนและขั้นตอนในการเข้าศึกษาชื่อหัวข้อ id 52012 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is admission type and procedure long title of subject id 52012?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 [ t...
SELECT demographic.admission_type, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "52012"
null
general
มีอะไรเผยแพร่เมื่อ 1936-08-29?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was released on 1936-08-29?It is not neccessary to use all the tables.
table_63755: "Title" [ text] "Series" [ text] "Director" [ text]
SELECT "Title" FROM table_63755 WHERE "Release date" = '1936-08-29'
null
general
ตั้งชื่อแอสซิสต์ 157 เกม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the assists for 157 gamesIt is not neccessary to use all the tables.
table_17309500_1: assists [ VARCHAR] games [ VARCHAR]
SELECT assists FROM table_17309500_1 WHERE games = 157
null
general
ทีมวิทยาลัย/จูเนียร์/คลับ (ลีก) ใดที่มีตำแหน่งปีกขวา และรอบที่เล็กกว่า 3 ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?It is not neccessary to use all the tables.
table_38103: "Round" [ real] "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT "College/Junior/Club Team (League)" FROM table_38103 WHERE "Position" = 'right wing' AND "Round" < '3'
null
general
ใครคือนักแข่งของทีม Richard Childress Racing ในการแข่งขันด้วยเวลา 25822?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the driver for the Richard Childress Racing team in the race with a time of 25822?It is not neccessary to use all the tables.
table_2266762_1: driver [ VARCHAR] team [ VARCHAR] race_time [ VARCHAR]
SELECT driver FROM table_2266762_1 WHERE team = "Richard Childress Racing" AND race_time = "2:58:22"
null
general
ค่าเฉลี่ย bp ของหลอดเลือดแดงของผู้ป่วย 26817 ที่วัดครั้งสุดท้ายในการนัดตรวจไอซียูครั้งล่าสุดน้อยกว่าวินาทีในการวัดครั้งล่าสุดในการนัดตรวจไอซียูครั้งล่าสุดหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
is the arterial bp mean value of patient 26817 last measured on the last icu visit less than second to last measured on the last icu visit?It is not neccessary to use all the tables.
d_icd_procedures: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text]
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26817) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents...
null
general
สถานที่ทางประวัติศาสตร์ที่สร้างขึ้นในปี 1910 อยู่ที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Where is the historic place that was built in 1910?It is not neccessary to use all the tables.
table_44962: "Name" [ text] "Built" [ text] "Listed" [ text] "Location" [ text] "County" [ text]
SELECT "Location" FROM table_44962 WHERE "Built" = '1910'
null
general
ชื่อเรื่องของตอนที่มีรหัสการผลิต 406 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the title of the episode with production code 406?It is not neccessary to use all the tables.
table_2453243_5: title [ VARCHAR] production_code [ VARCHAR]
SELECT title FROM table_2453243_5 WHERE production_code = "406"
null
general
ใครเข้ามาแทนที่ Jos ngel Ziganda ผู้จัดการทีมที่กำลังจะออกไป?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who replaced outgoing manager Jos ngel Ziganda?It is not neccessary to use all the tables.
table_17201869_3: replaced_by [ VARCHAR] outgoing_manager [ VARCHAR]
SELECT replaced_by FROM table_17201869_3 WHERE outgoing_manager = "José Ángel Ziganda"
null
general
ชื่อเครื่องบินสำหรับเที่ยวบินหมายเลข 99 คืออะไรไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the aircraft name for the flight with number 99It is not neccessary to use all the tables.
Flight: aid [ VARCHAR] flno [ VARCHAR]
SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T1.flno = 99
null
general
ความคิดเห็นของผู้ใช้จัดกลุ่มตามโพสต์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
User's comments grouped by post.It is not neccessary to use all the tables.
ReviewTaskStates: Id [ number] Name [ text] Description [ text]
WITH commentStats AS (SELECT COUNT(Id) AS numC, MAX(Id) AS dId, MAX(CreationDate) AS dDate, PostId FROM Comments WHERE UserId = '##UserId##' GROUP BY PostId) SELECT CASE WHEN p.PostTypeId = 1 THEN 'Q' ELSE 'A' END AS "q/a", cs.numC AS "num_cmts", cs.dDate AS Latest, cs.PostId AS "post_link", c.Text AS "last_comment" FR...
null
general
Katarina Srebotnik เล่น Paola Su rez บนพื้นผิวใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On what surface did Katarina Srebotnik play Paola Su rez?It is not neccessary to use all the tables.
table_50622: "Outcome" [ text] "Date" [ text] "Tournament" [ text] "Surface" [ text]
SELECT "Surface" FROM table_50622 WHERE "Opponent in Final" = 'paola suárez'
null
general
แสดงภาพชื่อและจำนวนส่วนประกอบด้วยแผนภูมิแท่งสำหรับเฟอร์นิเจอร์ทั้งหมดที่มีส่วนประกอบมากกว่า 10 ชิ้น โปรดเรียงลำดับตาม X โดยเรียงตามลำดับ ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Visualize the name and their component amounts with a bar chart for all furnitures that have more than 10 components, order by the X in desc please.It is not neccessary to use all the tables.
furniture: Furniture_ID [ int] Name [ text] Num_of_Component [ int] Market_Rate [ real]
SELECT Name, Num_of_Component FROM furniture WHERE Num_of_Component > 10 ORDER BY Name DESC
null
general
นับจำนวนรายการที่ออกอากาศในแต่ละช่วงเวลาของวัน แสดงแผนภูมิแท่ง แสดง X ตามลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Count the number of programs broadcast for each time section of a day Show bar chart, display X in descending order.It is not neccessary to use all the tables.
channel: Channel_ID [ int] Name [ text] Owner [ text] Share_in_percent [ real] Rating_in_percent [ real]
SELECT Time_of_day, COUNT(*) FROM broadcast GROUP BY Time_of_day ORDER BY Time_of_day DESC
null
general
sao2 ของผู้ป่วย 010-37499 เป็นปกติตั้งแต่ 182 วันที่แล้วหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
has patient 010-37499's sao2 been normal since 182 days ago?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-37499')) AND vitalperiodic.sao2 BETWEEN sao2_lower AND sao2_uppe...
null
general
ดิสก์ประเภทใดที่จัดทำโดย Logistics หลังจากปี 2004?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the type of disc by Logistics after 2004?It is not neccessary to use all the tables.
table_10359: "Artist" [ text] "Tracks" [ text] "Type" [ text] "Year" [ real]
SELECT "Type" FROM table_10359 WHERE "Year" > '2004' AND "Artist" = 'logistics'
null
general
ทีมที่มีเกมมากกว่า 56 คืออะไรและคะแนนคือ l 85 90 (ot) ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Team with a game of more than 56, and the score is l 85 90 (ot)?It is not neccessary to use all the tables.
table_name_76: team [ VARCHAR] game [ VARCHAR] score [ VARCHAR]
SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85–90 (ot)"
null
general
ก่อนปี พ.ศ. 2148 มีผู้ป่วยชาวยิวเข้ารับการรักษาในโรงพยาบาลกี่คน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many jewish patients were admitted to the hospital before year 2148?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 [ t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "JEWISH" AND demographic.admityear < "2148"
null
general
วินัยใดที่ไม่เป็นแชมป์ภายใต้การแข่งขันชิงแชมป์?ไม่จำเป็นต้องใช้ตารางทั้งหมด
In which discipline was non-championship under Championship?It is not neccessary to use all the tables.
table_8533: "Discipline" [ text] "Championship" [ text] "Circuit" [ text] "Event" [ text] "Session" [ text] "Cause" [ text]
SELECT "Discipline" FROM table_8533 WHERE "Championship" = 'non-championship'
null
general
บอกผู้เข้ารอบสัปดาห์ # น้อยกว่า 2 หน่อยค่ะ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Tell me the finalists for week # less than 2It is not neccessary to use all the tables.
table_32022: "Finalists" [ text] "Status" [ text] "Eliminated" [ text] "Date" [ text]
SELECT "Finalists" FROM table_32022 WHERE "Week #" < '2'
null
general
หลักสูตรโครงสร้างพื้นฐานด้านคอมพิวเตอร์ใดบ้างที่เปิดสอนในฤดูใบไม้ผลิหรือฤดูร้อน 2012 ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What computing infrastructure courses are offered in Spring or Summer 2012 ?It is not neccessary to use all the tables.
instructor: instructor_id [ int] name [ varchar] uniqname [ varchar]
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE area.area LIKE '%compu...
null
general
ผู้มีสิทธิเลือกตั้งจำนวนใด (พ.ศ. 2552) มีหมายเลขการเลือกตั้งเป็น 46?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Number of electorates (2009) has a Constituency number of 46?It is not neccessary to use all the tables.
table_78969: "Name" [ text] "District" [ text]
SELECT AVG("Number of electorates (2009)") FROM table_78969 WHERE "Constituency number" = '46'
null
general
จำนวนการแข่งขันที่เสมอจากเกมแรกก่อนปี 2549 และน้อยกว่า 2 นัดที่เล่นคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played?It is not neccessary to use all the tables.
table_71656: "Played" [ real] "Drawn" [ real] "Lost" [ real] "Percentage" [ text]
SELECT SUM("Drawn") FROM table_71656 WHERE "First game" < '2006' AND "Played" < '2'
null
general
สก็อตต์ ทักเกอร์มีสัญชาติเดียวกับยานนิค ลูปินหรือไม่ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
does scott tucker have the same nationality as yannick lupine ?It is not neccessary to use all the tables.
table_204_433: id [ number] "rank" [ number] "name" [ text] "nationality" [ text] "time" [ text]
SELECT (SELECT "nationality" FROM table_204_433 WHERE "name" = 'scott tucker') = (SELECT "nationality" FROM table_204_433 WHERE "name" = 'yannick lupien')
null
general
ใครเป็นผู้ชนะโดยที่มือที่แพ้คือ Ah 7s?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who is the winner where the losing hand is Ah 7s?It is not neccessary to use all the tables.
table_12454156_1: winner [ VARCHAR] losing_hand [ VARCHAR]
SELECT winner FROM table_12454156_1 WHERE losing_hand = "Ah 7s"
null
general
ฉันต้องการเที่ยวบินจากเดนเวอร์ไปพิตส์เบิร์ก ไม่จำเป็นต้องใช้ตารางทั้งหมด
i would like a flight from DENVER to PITTSBURGHIt is not neccessary to use all the tables.
flight: aircraft_code_sequence [ text] airline_code [ varchar] airline_flight [ text] arrival_time [ int] connections [ int] departure_time [ int] dual_carrier [ text] flight_days [ text] flight_id [ int] flight_number [ int] from_airport [ varchar] meal_code [ text] stops [ int] time_elapsed [ int] to_...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU...
null
general
มีสิ่งมีชีวิตใดบ้างที่พบในการทดสอบทางจุลชีววิทยาเสมหะครั้งสุดท้ายของผู้ป่วย 15821 หรือไม่ ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
had there been any organism found in patient 15821's last sputum microbiology test?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 COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15821) AND microbiologyevents.spec_type_desc = 'sputum' AND NOT microbiologyevents.org_name IS NULL ORDER BY microbiologyevents.charttime DESC LIMIT 1
null
general
สกอร์ใดที่มีคู่ต่อสู้ของ @ la lakers และสถิติ 8-6? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Which Score has an Opponent of @ la lakers, and a Record of 8-6?It is not neccessary to use all the tables.
table_name_84: score [ VARCHAR] opponent [ VARCHAR] record [ VARCHAR]
SELECT score FROM table_name_84 WHERE opponent = "@ la lakers" AND record = "8-6"
null
general
วันที่คู่ต่อสู้คือ guillermo garc al pez albert portas คือวันที่ใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the dates where the opponent was guillermo garc a-l pez albert portas?It is not neccessary to use all the tables.
table_69838: "Outcome" [ text] "Date" [ text] "Surface" [ text] "Partner" [ text] "Opponents" [ text] "Score" [ text]
SELECT "Date" FROM table_69838 WHERE "Opponents" = 'guillermo garcía-lópez albert portas'
null
general
หมายเลข SAR คือปีใด 874?ไม่จำเป็นต้องใช้ทุกตารางเลย
For what year is the SAR no. 874?It is not neccessary to use all the tables.
table_29753553_1: year [ VARCHAR] sar_no [ VARCHAR]
SELECT year FROM table_29753553_1 WHERE sar_no = 874
null
general
ชาวอิตาลีจะพูดคำว่า coche ในภาษาอันดาลูเซียได้อย่างไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How would an Italian say the Andalusian word coche?It is not neccessary to use all the tables.
table_38136: "Rioplatense" [ text] "Castilian" [ text] "Andalusian" [ text] "Mexican" [ text] "Chilean" [ text] "Italian" [ text]
SELECT "Italian" FROM table_38136 WHERE "Andalusian" = 'coche'
null
general
ตำแหน่งใดที่มีมูลค่าทัวร์นาเมนต์ของ Quicksilver classic ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's the location with tournament value of quicksilver classicIt is not neccessary to use all the tables.
table_16937: "Date" [ text] "Tournament" [ text] "Location" [ text] "Winner" [ text] "Score" [ text]
SELECT "Location" FROM table_16937 WHERE "Tournament" = 'Quicksilver Classic'
null
general
ตัวเลข 1920 คืออะไร เมื่อ 1890 มากกว่า 1,236, 1910 น้อยกว่า 1,177 และเมืองคือ Vacaville? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the 1920 number when 1890 is greater than 1,236, 1910 is less than 1,177 and the city is Vacaville?It is not neccessary to use all the tables.
table_78668: "City" [ text] "1860" [ text] "1870" [ text] "1880" [ text] "1890" [ real] "1900" [ real] "1910" [ real] "1920" [ real]
SELECT SUM("1920") FROM table_78668 WHERE "1890" > '1,236' AND "City" = 'vacaville' AND "1910" < '1,177'
null
general
คะแนนสูงสุดที่ได้รับเมื่อผู้เล่นคือ aravane reza คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest points won when the player is aravane reza ?It is not neccessary to use all the tables.
table_3051: "Seed" [ real] "Rank" [ real] "Player" [ text] "Points" [ real] "Status" [ text]
SELECT MAX("Points won") FROM table_3051 WHERE "Player" = 'Aravane Rezaï'
null
general
อะไรคือผลเสมอน้อยที่สุดสำหรับทีมที่แพ้น้อยกว่า 2 ครั้ง ชนะมากกว่า 4 ครั้ง และตำแหน่งต่ำกว่า 4 ครั้ง?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the fewest draws for teams having under 2 losses, more than 4 wins, and a position under 4?It is not neccessary to use all the tables.
table_14060: "Position" [ real] "Team" [ text] "Played" [ real] "Wins" [ real] "Draws" [ real] "Losses" [ real] "Scored" [ real] "Conceded" [ real] "Points" [ real]
SELECT MIN("Draws") FROM table_14060 WHERE "Losses" < '2' AND "Position" < '4' AND "Wins" > '4'
null
general
ก่อนปี 1965 โจนส์มีเลข 5 เริ่มต้นที่อินดี้ 500 เมื่อใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
previous to 1965 , when did jones have a number 5 start at the indy 500 ?It is not neccessary to use all the tables.
table_203_339: id [ number] "year" [ text] "car" [ number] "start" [ number] "qual" [ number] "rank" [ number] "finish" [ number] "laps" [ number] "led" [ number] "retired" [ text]
SELECT "year" FROM table_203_339 WHERE "year" < 1965 AND "start" = 5
null
general
วันไหนมีคะแนน 4 2?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Whic Date has a Score of 4 2?It is not neccessary to use all the tables.
table_name_33: date [ VARCHAR] score [ VARCHAR]
SELECT date FROM table_name_33 WHERE score = "4–2"
null
general
แสดงรหัสประเภทงบประมาณและจำนวนเอกสารในแต่ละประเภทงบประมาณด้วยแผนภูมิแท่ง คุณสามารถจัดเรียงตามจำนวนรวมจากต่ำไปสูงได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show budget type codes and the number of documents in each budget type with a bar chart, could you sort by the the total number from low to high?It is not neccessary to use all the tables.
Documents_with_Expenses: Document_ID [ INTEGER] Budget_Type_Code [ CHAR(15)] Document_Details [ VARCHAR(255)]
SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code ORDER BY COUNT(*)
null
general
ฉันต้องการทราบสัดส่วนของนักเรียนใช้เวลาเรียนกี่ชั่วโมงในแต่ละรหัสแผนก ไม่จำเป็นต้องใช้ตารางทั้งหมด
I want to know the proportion of how many hours do the students spend studying for each dept code.It is not neccessary to use all the tables.
DEPARTMENT: DEPT_CODE [ varchar(10)] DEPT_NAME [ varchar(30)] SCHOOL_CODE [ varchar(8)] EMP_NUM [ int] DEPT_ADDRESS [ varchar(20)] DEPT_EXTENSION [ varchar(4)]
SELECT DEPT_CODE, SUM(STU_HRS) FROM STUDENT GROUP BY DEPT_CODE
null
general
ชื่อของผู้เล่นคู่ชายคืออะไร เมื่อผู้เล่นหญิงคู่คือเฮเลน เรโน ไค-ริอิน ซาลุสเต? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?It is not neccessary to use all the tables.
table_14903627_1: mens_doubles [ VARCHAR] womens_doubles [ VARCHAR]
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Helen Reino Kai-Riin Saluste"
null
general
ช่อง 4 มีช่องดิจิตอลภาคพื้นดินกี่ช่อง ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many digital terrestrial channels are there for channel 4?It is not neccessary to use all the tables.
table_182410_10: digital_terrestrial_channel [ VARCHAR] channel [ VARCHAR]
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"
null
general
จำนวนผู้เข้าร่วมในเกมที่พบกับทีมเซนต์หลุยส์ คาร์ดินัลส์ต่ำที่สุดคือเท่าใด?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the lowest attendance at a game against the St. Louis Cardinals?It is not neccessary to use all the tables.
table_name_91: attendance [ INTEGER] opponent [ VARCHAR]
SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "st. louis cardinals"
null
general
ตั้งชื่อหมายเลขฤดูกาลสำหรับทีม bruichladdichไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the number of season for team bruichladdichIt is not neccessary to use all the tables.
table_20398823_1: season [ VARCHAR] team [ VARCHAR]
SELECT COUNT(season) FROM table_20398823_1 WHERE team = "team Bruichladdich"
null
general
สำนักงานใหญ่คืออะไร เมื่อประเภทเป็นพอร์ทัลข่าวออนไลน์อิสระ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Headquarter, when Type is Independent Online News Portal?It is not neccessary to use all the tables.
table_name_49: headquarter [ VARCHAR] type [ VARCHAR]
SELECT headquarter FROM table_name_49 WHERE type = "independent online news portal"
null
general
มีกี่เที่ยวบินที่มาจากเดนเวอร์ถึงบัลติมอร์ในวันที่ 7 19ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many flights come from DENVER to BALTIMORE on 7 19It is not neccessary to use all the tables.
days: days_code [ varchar] day_name [ varchar]
SELECT COUNT(DISTINCT flight.flight_id) FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((flight.arrival_time < flight.departure_time) AND date_day.day_number = 18 AND date_day.month_number = 7 AND date_day.year = 1991 AND da...
null
general
คะแนนสำหรับ Tournament of Cordenons คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the score for the Tournament of Cordenons?It is not neccessary to use all the tables.
table_name_12: score [ VARCHAR] tournament [ VARCHAR]
SELECT score FROM table_name_12 WHERE tournament = "cordenons"
null
general
สำหรับแต่ละรูปแบบไฟล์ ให้ส่งคืนจำนวนศิลปินที่ปล่อยเพลงในรูปแบบนั้น ไม่จำเป็นต้องใช้ตารางทั้งหมด
For each file format, return the number of artists who released songs in that format.It is not neccessary to use all the tables.
files: f_id [ number(10)] artist_name [ varchar2(50)] file_size [ varchar2(20)] duration [ varchar2(20)] formats [ varchar2(20)]
SELECT formats, COUNT(*) FROM files GROUP BY formats
null
general
อะไรคือจุดต่ำสุดเมื่อเป็นภาษาโปรตุเกส?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the lowest points when the language is Portuguese?It is not neccessary to use all the tables.
table_65787: "Draw" [ real] "Language" [ text] "Song" [ text] "Place" [ real] "Points" [ real]
SELECT MIN("Points") FROM table_65787 WHERE "Language" = 'portuguese'
null
general
ขอทราบจำนวนคนไข้ที่มีปีเกิดน้อยกว่า 2,129 ปี และผลแล็บชื่ออัลบูมิน?ไม่จำเป็นต้องใช้ตารางทั้งหมดครับ
give me the number of patients whose year of birth is less than 2129 and lab test name is albumin?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 [ t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2129" AND lab.label = "Albumin"
null
general
ใครคือผู้กำกับตอนที่ Scott Peters เป็นผู้เขียน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the director of the episode whom Scott Peters is the writer?It is not neccessary to use all the tables.
table_16141: "No." [ real] "#" [ real] "Title" [ text] "Director" [ text] "Writer" [ text] "Storyteller" [ text] "Villains" [ text]
SELECT "Director" FROM table_16141 WHERE "Writer" = 'Scott Peters'
null
general
5 อันดับ StackOverflowers ในโคอิมบาโตร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 5 StackOverflowers in Coimbatore.It is not neccessary to use all the tables.
PostNoticeTypes: Id [ number] ClassId [ number] Name [ text] Body [ text] IsHidden [ boolean] Predefined [ boolean] PostNoticeDurationId [ number]
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%singapore%' OR UPPER(Location) LIKE '%SINGAPORE%' OR Location LIKE '%singapore%' AND Reputation >= 10000 ORDER BY Reputation DESC LIMIT 25
null
general
ความจุสูงสุดของ Pittodrie Stadium คือเท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is Pittodrie Stadium's maximum capacity?It is not neccessary to use all the tables.
table_156: "Team" [ text] "Stadium" [ text] "Capacity" [ real] "Lowest" [ real] "Highest" [ real] "Average" [ real]
SELECT MAX("Capacity") FROM table_156 WHERE "Stadium" = 'Pittodrie'
null
general
ค้นหายอดการตรวจสอบและยอดออมรวมของบัญชีทั้งหมดโดยเรียงลำดับตามยอดรวมจากน้อยไปมาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.It is not neccessary to use all the tables.
checking: balance [ VARCHAR] custid [ VARCHAR]
SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance
null
general
Constructor ตัวใดมี Winning Driver, Jim Clark และ Circuit, Syracuse?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?It is not neccessary to use all the tables.
table_51984: "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Report" [ text]
SELECT "Constructor" FROM table_51984 WHERE "Winning driver" = 'jim clark' AND "Circuit" = 'syracuse'
null
general
ค้นหา meter_400 และ meter_100 และแสดงภาพด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find meter_400 and meter_100 , and visualize them by a bar chart.It is not neccessary to use all the tables.
record: ID [ int] Result [ text] Swimmer_ID [ int] Event_ID [ int]
SELECT meter_400, meter_100 FROM swimmer
null
general