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
GDP ต่ำสุด (ppp) ต่อหัวคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest GDP (ppp) per capita?It is not neccessary to use all the tables.
table_3449: "Country" [ text]
SELECT MIN("GDP (PPP) per capita") FROM table_3449
null
general
ส่งกลับแผนภูมิแท่งเกี่ยวกับชื่อและราคาของผลิตภัณฑ์ที่มีราคาอย่างน้อย 180 เรียงตามราคาที่ลดลงและชื่อจากน้อยไปมาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart on what are the names and prices of products that cost at least 180, sorted by price decreasing and name ascending?It is not neccessary to use all the tables.
Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL]
SELECT Name, Price FROM Products WHERE Price >= 180 ORDER BY Price DESC, Name
null
general
การโอนเงินไปฮังการีมีอะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the transfers in for Hungary?It is not neccessary to use all the tables.
table_name_36: transfers_in [ VARCHAR] country [ VARCHAR]
SELECT transfers_in FROM table_name_36 WHERE country = "hungary"
null
general
RACKHAM 571 ง่ายกว่า RACKHAM 575 หรือไม่ ไม่จำเป็นต้องใช้ทุกโต๊ะ
Is RACKHAM 571 easier than RACKHAM 575 ?It is not neccessary to use all the tables.
program_requirement: program_id [ int] category [ varchar] min_credit [ int] additional_req [ varchar]
SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, program_course AS PROGRAM_COURSE_0, program_course AS PROGRAM_COURSE_1 WHERE COURSE_0.department = 'RACKHAM' AND COURSE_0.number = 575 AND COURSE_1.department = 'RACKHAM' AND COURSE_1.number = 571 AND PROGRAM_COURSE_0.course_id = COURSE_0.course_id AND PROGRAM_COURSE_0.workload < PROGRAM_COURSE_1.workload AND PROGRAM_COURSE_1.course_id = COURSE_1.course_id
null
general
ผู้หญิงโสดของอิหม่ามโซดิกินอิราวันและตันดาปุตราคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the womens singles of imam sodikin irawan andi tandaputra?It is not neccessary to use all the tables.
table_72270: "Year" [ real]
SELECT "Womens singles" FROM table_72270 WHERE "Mens doubles" = 'Imam Sodikin Irawan Andi Tandaputra'
null
general
ชนิดยาและรหัสยาชื่อยาซิเมทิโคนคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is drug type and drug code of drug name simethicone?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 prescriptions.drug_type, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Simethicone"
null
general
สำหรับพายุทั้งหมดที่มีผู้เสียชีวิตอย่างน้อย 1 ราย ให้เปรียบเทียบจำนวนผู้เสียชีวิตทั้งหมดตามแอตทริบิวต์ date_active ไม่จำเป็นต้องใช้ตารางทั้งหมด
For all storms with at least 1 death, compare the total number of deaths by dates_active attribute.It is not neccessary to use all the tables.
storm: Storm_ID [ int] Name [ text] Dates_active [ text] Max_speed [ int] Damage_millions_USD [ real] Number_Deaths [ int]
SELECT Dates_active, Number_Deaths FROM storm WHERE Number_Deaths >= 1
null
general
ค่ายเพลงใดออกอัลบั้มเมื่อวันที่ 19 ธันวาคม พ.ศ. 2544 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What label released a record on December 19, 2001?It is not neccessary to use all the tables.
table_71473: "Region" [ text] "Date" [ text] "Label" [ text] "Format" [ text] "Catalog" [ text]
SELECT "Label" FROM table_71473 WHERE "Date" = 'december 19, 2001'
null
general
ผู้เข้าร่วมที่ Corio Oval เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the attendance at Corio Oval?It is not neccessary to use all the tables.
table_name_9: crowd [ VARCHAR] venue [ VARCHAR]
SELECT crowd FROM table_name_9 WHERE venue = "corio oval"
null
general
การทดสอบในห้องปฏิบัติการที่ได้รับคำสั่งบ่อยที่สุดสามรายการสำหรับผู้ป่วยที่ได้รับการวินิจฉัยว่าเป็นโรคปอดบวมแล้วระหว่างการไปโรงพยาบาลครั้งเดียวกันในปี 2103 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the three most frequently ordered lab tests for patients that have already been diagnosed with pneumothorax during the same hospital visit, in 2103?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 t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pneumothorax' AND STRFTIME('%y', diagnosis.diagnosistime) = '2103') AS t1 JOIN (SELECT patient.uniquepid, lab.labname, lab.labresulttime, patient.patienthealthsystemstayid FROM lab JOIN patient ON lab.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', lab.labresulttime) = '2103') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.labresulttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.labname) AS t3 WHERE t3.c1 <= 3
null
general
Jo Bonnier ขับไปกี่รอบเมื่อหมายเลขกริดน้อยกว่า 11?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many laps did Jo Bonnier driver when the grid number was smaller than 11?It is not neccessary to use all the tables.
table_51480: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT SUM("Laps") FROM table_51480 WHERE "Driver" = 'jo bonnier' AND "Grid" < '11'
null
general
ประสิทธิภาพรวมของกองหลังเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the total effic for the quarterbacks?It is not neccessary to use all the tables.
table_name_20: effic [ INTEGER] name [ VARCHAR]
SELECT MIN(effic) FROM table_name_20 WHERE name = "total"
null
general
หุบเขาสนอยู่ที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Where is pine valley?It is not neccessary to use all the tables.
table_54069: "Rank" [ real] "Name" [ text] "Location" [ text] "State" [ text]
SELECT "Location" FROM table_54069 WHERE "Name" = 'pine valley'
null
general
วันสุดท้ายคือวันที่เท่าไร ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the last date ?It is not neccessary to use all the tables.
table_204_130: id [ number] "#" [ number] "date" [ text] "venue" [ text] "opponent" [ text] "score" [ text] "result" [ text] "competition" [ text]
SELECT "date" FROM table_204_130 ORDER BY "date" DESC LIMIT 1
null
general
การแข่งขันฟุตบอลโอลิมปิกหญิงลอนดอน 2012 ผลลัพธ์เป็นอย่างไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the result of the London 2012 Women's Olympic Football Tournament?It is not neccessary to use all the tables.
table_name_13: result [ VARCHAR] location [ VARCHAR]
SELECT result FROM table_name_13 WHERE location = "london 2012 women's olympic football tournament"
null
general
การทดสอบในห้องปฏิบัติการครั้งสุดท้ายที่ผู้ป่วย 012-85821 ได้รับระหว่างการเยี่ยมโรงพยาบาลครั้งสุดท้ายคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the last laboratory test that patient 012-85821 received during their last hospital visit?It is not neccessary to use all the tables.
diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text]
SELECT lab.labname FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-85821' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) ORDER BY lab.labresulttime DESC LIMIT 1
null
general
เมื่อ 3 ปีที่แล้ว ผู้ป่วย 025-23610 ได้รับ angiotensin ii receptor blocker (arb) - losartan เป็นครั้งแรก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when did until 3 years ago patient 025-23610 first receive angiotensin ii receptor blocker (arb) - losartan?It is not neccessary to use all the tables.
allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ time]
SELECT 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 = '025-23610')) AND treatment.treatmentname = 'angiotensin ii receptor blocker (arb) - losartan' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY treatment.treatmenttime LIMIT 1
null
general
ผลลัพธ์ปี 2002 ที่ปี 2011 และ 2000 เป็น 1R คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the 2002 result where 2011 and 2000 are 1R?It is not neccessary to use all the tables.
table_name_22: Id [ VARCHAR]
SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r"
null
general
Led Zeppelin เป็นประเภทใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What genre is Led Zeppelin?It is not neccessary to use all the tables.
table_69981: "Artist" [ text] "Genre" [ text]
SELECT "Genre" FROM table_69981 WHERE "Artist" = 'led zeppelin'
null
general
Howard Hall มีสีอะไรบ้าง?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What are the colors of Howard Hall?It is not neccessary to use all the tables.
table_15873547_1: colors [ VARCHAR] residence_hall [ VARCHAR]
SELECT colors FROM table_15873547_1 WHERE residence_hall = "Howard Hall"
null
general
ไวน์ที่ได้รับการจัดอันดับสูงสุดชื่ออะไร?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the name of the highest rated wine?It is not neccessary to use all the tables.
grapes: id [ number] grape [ text] color [ text]
SELECT name FROM wine ORDER BY score LIMIT 1
null
general
การรีบาวด์โดยเฉลี่ยของผู้เล่นที่เริ่มเล่นในปี 1986 และผู้ที่เล่น SG เป็นเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the average rebounds for the player who started in 1986 and who plays SG?It is not neccessary to use all the tables.
table_54002: "Player" [ text] "Pos." [ text] "From" [ real] "School/Country" [ text] "Rebs" [ real] "Asts" [ real]
SELECT AVG("Rebs") FROM table_54002 WHERE "From" = '1986' AND "Pos." = 'sg'
null
general
สำหรับการผ่าตัดรูทวารราคาเท่าไหร่?ไม่จำเป็นต้องใช้ทุกโต๊ะ
for the anal fistulotomy what does it cost?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 DISTINCT cost.cost FROM cost WHERE cost.event_type = 'procedures_icd' AND cost.event_id IN (SELECT procedures_icd.row_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'anal fistulotomy'))
null
general
ผู้เล่นมีฝีเท้าออร์แลนโดรอบต่ำสุดรอบใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What lowest round has orlando pace as the player?It is not neccessary to use all the tables.
table_name_3: round [ INTEGER] player [ VARCHAR]
SELECT MIN(round) FROM table_name_3 WHERE player = "orlando pace"
null
general
ค่าใช้จ่ายรวมโดยเฉลี่ยของโรงพยาบาลที่เกี่ยวข้องกับภาวะหายใจลำบากเฉียบพลัน - ไม่ทราบสาเหตุในปีที่แล้วคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the average total costs of a hospital involving acute respiratory distress - etiology unknown the previous year?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'acute respiratory distress - etiology unknown')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY cost.patienthealthsystemstayid) AS t1
null
general
แสดงภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ All_Games และ ACC_Percent และจัดอันดับตาม Y จากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize a bar chart about the distribution of All_Games and ACC_Percent , and rank by the Y in descending.It is not neccessary to use all the tables.
university: School_ID [ int] School [ text] Location [ text] Founded [ real] Affiliation [ text] Enrollment [ real] Nickname [ text] Primary_conference [ text]
SELECT All_Games, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC
null
general
วาดแผนภูมิแท่งประเภทเทียบกับจำนวนทั้งหมด และเรียงลำดับจากต่ำไปสูงด้วยจำนวนทั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Draw a bar chart of type versus the total number, and order from low to high by the the total number .It is not neccessary to use all the tables.
building: building_id [ text] Name [ text] Street_address [ text] Years_as_tallest [ text] Height_feet [ int] Floors [ int]
SELECT Type, COUNT(*) FROM Institution GROUP BY Type ORDER BY COUNT(*)
null
general
ทุกชื่อมีต้นกำเนิดมาจากชื่อ Ovda Fluctus คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is every name origin with the name Ovda Fluctus?It is not neccessary to use all the tables.
table_16799784_12: name [ VARCHAR]
SELECT name AS origin FROM table_16799784_12 WHERE name = "Ovda Fluctus"
null
general
Lon Hinkle อยู่ที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What place in Lon Hinkle in?It is not neccessary to use all the tables.
table_47346: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Place" FROM table_47346 WHERE "Player" = 'lon hinkle'
null
general
แสดงเที่ยวบินทั้งหมดที่มาถึง DAL จากสนามบินอื่นให้ฉันดู ไม่จำเป็นต้องใช้ตารางทั้งหมด
show me all flights arriving at DAL from other airportsIt is not neccessary to use all the tables.
fare_basis: fare_basis_code [ text] booking_class [ text] class_type [ text] premium [ text] economy [ text] discounted [ text] night [ text] season [ text] basis_days [ text]
SELECT DISTINCT flight.flight_id FROM airport, airport_service, city, flight WHERE airport.airport_code = 'DAL' AND city.city_code = airport_service.city_code AND flight.from_airport = airport_service.airport_code AND flight.to_airport = airport.airport_code
null
general
ค้นหารายการเอกสารที่มีทั้งประเภทยอดนิยมสามประเภทและมีโครงสร้างยอดนิยมสามอันดับสูงสุด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the list of documents that are both in the most three popular type and have the most three popular structure.It is not neccessary to use all the tables.
documents: document_name [ VARCHAR] document_type_code [ VARCHAR] document_structure_code [ VARCHAR]
SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 3
null
general
มีแท็กเฉพาะเพียงแท็กเดียว ไม่จำเป็นต้องใช้ทุกตาราง
s with one specific tag.It is not neccessary to use all the tables.
Badges: Id [ number] UserId [ number] Name [ text] Date [ time] Class [ number] TagBased [ boolean]
SELECT Id AS "post_link", CreationDate FROM Posts WHERE PostTypeId = 1 AND Tags LIKE LOWER('%hard-science%') ORDER BY CreationDate DESC LIMIT 5000
null
general
บันทึกของดวงอาทิตย์เมื่อวันที่ 12/9/93 อยู่ที่ไหนไม่จำเป็นต้องใช้ตารางทั้งหมด
where was sun 09/12/93 record madeIt is not neccessary to use all the tables.
table_24353: "Attendance" [ real] "Date/Year" [ text] "Stadium" [ text] "Result/Games" [ text]
SELECT "Stadium" FROM table_24353 WHERE "Date/Year" = 'Sun 09/12/93'
null
general
นักแข่งคนไหนที่มีรอบมากกว่า 78 และเวลา/เกษียณที่ + 109.4 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Driver has Laps larger than 78, and a Time/Retired of + 109.4?It is not neccessary to use all the tables.
table_51740: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT "Driver" FROM table_51740 WHERE "Laps" > '78' AND "Time/Retired" = '+ 1:09.4'
null
general
CMPLXSYS 391 มีชั้นเรียนภาคเช้าหรือไม่ ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Does CMPLXSYS 391 have morning classes ?It is not neccessary to use all the tables.
comment_instructor: instructor_id [ int] student_id [ int] score [ int] comment_text [ varchar]
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'CMPLXSYS' AND course.number = 391 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016
null
general
จำนวนครั้งที่ผู้ป่วย 021-80293 ได้รับประทานและล้างลำไส้นับตั้งแต่วันที่ 21/10/2102 เป็นจำนวนเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of times that patient 021-80293 has had a enteral og flush intake since 10/21/2102?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 COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-80293')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'enteral og flush' AND STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime) >= '2102-10-21'
null
general
ในกลุ่มผู้ป่วยที่ต้องนอนโรงพยาบาลเกิน 14 วัน มีกี่คนที่อายุต่ำกว่า 50 ปี ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
among patients who had a hospital stay for more than 14 days, how many of them were aged below 50?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.age < "50" AND demographic.days_stay > "14"
null
general
Tyre d และ Bruce Mclaren ชนะวันที่เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date was the Tyre d and Bruce Mclaren won?It is not neccessary to use all the tables.
table_name_61: date [ VARCHAR] tyre [ VARCHAR] winning_driver [ VARCHAR]
SELECT date FROM table_name_61 WHERE tyre = "d" AND winning_driver = "bruce mclaren"
null
general
คำถามที่ได้รับการป้องกันในปัจจุบัน ค้นหาง่าย ๆ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Currently Protected Questions, simple search.It is not neccessary to use all the tables.
ReviewTaskStates: Id [ number] Name [ text] Description [ text]
SELECT ph.PostId AS "post_link", ph.CreationDate AS "protected_date", CASE ph.UserId WHEN NULL THEN ph.UserDisplayName ELSE ph.UserId END AS "user_link" FROM PostHistory AS ph WHERE ph.PostHistoryTypeId = 19 ORDER BY ph.PostId, ph.CreationDate
null
general
เกมสูงสุดที่มี 32 แต้มและมีอันดับทีมมากกว่า 4 ชื่อ มอนเตปาสชิ เซียนา ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest game that has 32 points and a team rank larger than 4 named montepaschi sienaIt is not neccessary to use all the tables.
table_name_41: games [ INTEGER] rank [ VARCHAR] points [ VARCHAR] team [ VARCHAR]
SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 4
null
general
บอกฉันถึงความแตกต่างในค่า mchc ของผู้ป่วย 010-16572 วินาทีที่วัดในการนัดตรวจในโรงพยาบาลปัจจุบัน เทียบกับค่าแรกที่วัดในการนัดตรวจในโรงพยาบาลปัจจุบันหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the difference in the mchc value for patient 010-16572 second measured on the current hospital visit compared to the first value measured on the current hospital visit?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-16572' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'mchc' ORDER BY lab.labresulttime LIMIT 1 OFFSET 1) - (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-16572' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'mchc' ORDER BY lab.labresulttime LIMIT 1)
null
general
โปรดระบุเที่ยวบินที่ออกจากดัลลัสเช้าวันอังคารและมาถึงแอตแลนต้าให้ฉัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
please list the flights for me that leave DALLAS on tuesday morning and arrive in ATLANTAIt is not neccessary to use all the tables.
airport: airport_code [ varchar] airport_name [ text] airport_location [ text] state_code [ varchar] country_name [ varchar] time_zone_code [ varchar] minimum_connect_time [ int]
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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 22 AND date_day.month_number = 3 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.departure_time BETWEEN 0 AND 1200
null
general
วันที่ต้องพักรักษาตัวในโรงพยาบาลและสถานที่จำหน่ายผู้ป่วย id 98220 คือกี่วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is days of hospital stay and discharge location of subject id 98220?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 demographic.days_stay, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "98220"
null
general
ค้นหาอายุเฉลี่ยของสมาชิกของชมรม 'Hopkins Student Enterprises' ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the average age of members of the club 'Hopkins Student Enterprises'.It is not neccessary to use all the tables.
member_of_club: stuid [ number] clubid [ number] position [ text]
SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises"
null
general
University of Maryland สังกัดอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the affiliation of the University of Maryland?It is not neccessary to use all the tables.
table_name_54: affiliation [ VARCHAR] school [ VARCHAR]
SELECT affiliation FROM table_name_54 WHERE school = "university of maryland"
null
general
ประเภทบริษัทที่พบบ่อยที่สุดคืออะไร และมีกี่บริษัท?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the most common company type, and how many are there?It is not neccessary to use all the tables.
operate_company: TYPE [ VARCHAR]
SELECT TYPE, COUNT(*) FROM operate_company GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
null
general
% FPv ใดที่มีคะแนนโหวต First Pref มากกว่า 19,684 และที่นั่ง 9 ที่นั่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which % FPv has First Pref votes larger than 19,684, and Seats of 9?It is not neccessary to use all the tables.
table_7975: "Party" [ text] "Seats" [ text]
SELECT "% FPv" FROM table_7975 WHERE "First Pref votes" > '19,684' AND "Seats" = '9'
null
general
เที่ยวบินจากทาโคมาไปซานโฮเซ่ในวันอังคารที่ 18 พฤษภาคมมีอะไรบ้างไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the flights from TACOMA to SAN JOSE also on tuesday the eighteenth of mayIt is not neccessary to use all the tables.
flight_leg: flight_id [ int] leg_number [ int] leg_flight [ int]
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, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN JOSE' AND date_day.day_number = 22 AND date_day.month_number = 3 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'TACOMA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
มีผู้ป่วยโรคความดันโลหิตสูงกี่ราย (ไม่รวมโรคหลอดเลือดหัวใจ\สายสวนหัวใจ) เป็นโรคหลักที่มีสถานะการตายที่ไม่ระบุรายละเอียด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many patients with hypertension (rule out coronary artery disease\cardiac cath) as their primary disease have an unspecified death status?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 WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH"
null
general
ขอทราบจำนวนคนไข้ที่เป็นโรคเบื้องต้นคือแองจิโออีดีมา?ไม่จำเป็นต้องใช้ตารางทั้งหมดค่ะ
give me the number of patients whose primary disease is angioedema?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 WHERE demographic.diagnosis = "ANGIOEDEMA"
null
general
การทดสอบทางจุลชีววิทยาที่ได้รับบ่อยที่สุดสี่รายการสำหรับผู้ป่วยที่เคยได้รับยาต้านแบคทีเรียเพื่อการรักษามาก่อน ได้แก่ เซฟาโลสปอรินรุ่นที่สี่ภายใน 2 เดือนในปีที่แล้ว? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the four most frequently given microbiology tests for patients who have previously received therapeutic antibacterials - fourth generation cephalosporin within 2 months, in the previous year?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'therapeutic antibacterials - fourth generation cephalosporin' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT patient.uniquepid, microlab.culturesite, microlab.culturetakentime FROM microlab JOIN patient ON microlab.patientunitstayid = patient.patientunitstayid WHERE DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.culturetakentime AND DATETIME(t2.culturetakentime) BETWEEN DATETIME(t1.treatmenttime) AND DATETIME(t1.treatmenttime, '+2 month') GROUP BY t2.culturesite) AS t3 WHERE t3.c1 <= 4
null
general
เมื่อนอร์ทเมลเบิร์นเป็นทีมเยือนจำนวนฝูงชนทั้งหมดเป็นเท่าใดไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When North Melbourne is the Away team, what is the total number of the Crowd?It is not neccessary to use all the tables.
table_name_46: crowd [ VARCHAR] away_team [ VARCHAR]
SELECT COUNT(crowd) FROM table_name_46 WHERE away_team = "north melbourne"
null
general
เวลาออกเดินทางที่สถานี Kanpur Central คือเมื่อใด?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the Departure time at Kanpur Central Station?It is not neccessary to use all the tables.
table_6683: "Arrival" [ text] "Departure" [ text] "Platform" [ text]
SELECT "Departure" FROM table_6683 WHERE "Station Name" = 'kanpur central'
null
general
อะไรคือค่าของการแย่งบอล เมื่อค่าของ Solo มากกว่า 67 เมื่อค่าของ Sacks น้อยกว่า 2 และเมื่อค่าของ INT YDS มากกว่า 1 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?It is not neccessary to use all the tables.
table_name_75: tackles [ VARCHAR] int_yds [ VARCHAR] solo [ VARCHAR] sacks [ VARCHAR]
SELECT tackles FROM table_name_75 WHERE solo > 67 AND sacks < 2 AND int_yds > 1
null
general
มีการออกโปรโมชันกี่ครั้ง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many promotional releases were there ?It is not neccessary to use all the tables.
table_203_426: id [ number] "year" [ number] "title" [ text] "album" [ text]
SELECT COUNT(*) FROM table_203_426 WHERE "album" = 'promotional release'
null
general
บันทึกของเขาที่ ufc 67 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is his record at ufc 67?It is not neccessary to use all the tables.
table_32704: "Res." [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Event" [ text] "Round" [ real] "Time" [ text] "Location" [ text]
SELECT "Record" FROM table_32704 WHERE "Event" = 'ufc 67'
null
general
ให้ระบุจำนวนคนไข้ที่แต่งงานแล้วที่เข้ารับการรักษาก่อนปี พ.ศ. 2175 ไม่จำเป็นต้องใช้ตารางทั้งหมด
give the number of married patients who were admitted before the year 2175.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 WHERE demographic.marital_status = "MARRIED" AND demographic.admityear < "2175"
null
general
รถจักรที่มีปริมาณสร้างได้ 25 เรือน เลิกใช้ปีไหน ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the year retired of the locomotive which had the quantity made of 25?It is not neccessary to use all the tables.
table_name_5: year_s__retired [ VARCHAR] quantity_made [ VARCHAR]
SELECT year_s__retired FROM table_name_5 WHERE quantity_made = "25"
null
general
บอกฉันว่าอันเดียวที่ออกในเดือนธันวาคม 2556 ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the only one released in december 2013 .It is not neccessary to use all the tables.
table_204_696: id [ number] "issue" [ number] "volume" [ number] "title" [ text]
SELECT "title" FROM table_204_696 WHERE "release date" = 2013 AND "release date" = 12
null
general
อัตรากำไรขั้นต้นสูงสุดในวันที่ 5 สิงหาคม 2551 คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the maximum lead margin on august 5, 2008?It is not neccessary to use all the tables.
table_72802:
SELECT MAX("Lead Margin") FROM table_72802 WHERE "Dates administered" = 'August 5, 2008'
null
general
ชื่อสถานีของสถานีต้นทางที่มาถึงคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Station Name of the Arrival Starting Station?It is not neccessary to use all the tables.
table_5090: "Arrival" [ text] "Departure" [ text] "Platform" [ text]
SELECT "Station Name" FROM table_5090 WHERE "Arrival" = 'starting station'
null
general
ผู้เข้าร่วม 40,429 คนเป็นสัปดาห์ใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
For what week was the attendance 40,429?It is not neccessary to use all the tables.
table_name_2: week [ INTEGER] attendance [ VARCHAR]
SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429
null
general
ทีมสโมสรใดที่มีคะแนนเฉลี่ย 8 คน รับบทเป็น kaj linna และมีคะแนนรวมมากกว่า 131 คน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What Club team has an average of 8, plays kaj linna, and has an overall larger than 131?It is not neccessary to use all the tables.
table_name_97: club_team [ VARCHAR] player [ VARCHAR] overall [ VARCHAR] round [ VARCHAR]
SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna"
null
general
คะแนนของ Lew Worsham คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was Lew Worsham's score?It is not neccessary to use all the tables.
table_name_53: score [ VARCHAR] player [ VARCHAR]
SELECT score FROM table_name_53 WHERE player = "lew worsham"
null
general
, ตอบ ไม่จำเป็นต้องใช้ทุกตาราง
, answer.It is not neccessary to use all the tables.
PostHistoryTypes: Id [ number] Name [ text]
SELECT P.Id AS "post_link", R.MaxScore, R.PostType FROM Posts AS P INNER JOIN (SELECT MAX(PO.Score) AS MaxScore, PT.Name AS PostType FROM Posts AS PO INNER JOIN PostTypes AS PT ON PT.Id = PO.PostTypeId AND PT.Id IN (1, 2) WHERE PO.DeletionDate IS NULL GROUP BY PT.Name) AS R ON R.MaxScore = P.Score
null
general
รูปแบบและหมายเหตุพิเศษสำหรับสนธิสัญญา ...ของเหล่าทวยเทพคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Format and Special Notes for of the pact ...of the gods?It is not neccessary to use all the tables.
table_name_23: format [ VARCHAR] _special_notes [ VARCHAR] title [ VARCHAR]
SELECT format, _special_notes FROM table_name_23 WHERE title = "the pact: ...of the gods"
null
general
ปีที่ 7 เหรียญทองได้ไปกี่เหรียญ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
How many silver medals were won the year 7 gold medals were won?It is not neccessary to use all the tables.
table_name_43: silver [ VARCHAR] gold [ VARCHAR]
SELECT silver FROM table_name_43 WHERE gold = "7"
null
general
ปีที่แล้วผู้ป่วย 030-72509 เคยมาโรงพยาบาลกี่ครั้ง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many times has patient 030-72509 ever visited the hospital the last year?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '030-72509' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
null
general
Peter Schmeichel อยู่ในอันดับที่เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What rank was Peter Schmeichel?It is not neccessary to use all the tables.
table_name_89: rank [ INTEGER] name [ VARCHAR]
SELECT SUM(rank) FROM table_name_89 WHERE name = "peter schmeichel"
null
general
ผู้เข้าร่วมคนใดมีเจ้าบ้านของ djurg rdens if และรอบ 53 คน ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Which Attendance has a Home of djurg rdens if, and a Round of 53?It is not neccessary to use all the tables.
table_13415: "Round" [ real] "Date" [ text] "Home" [ text] "Result" [ text] "Visitor" [ text] "Venue" [ text] "Attendance" [ real]
SELECT MAX("Attendance") FROM table_13415 WHERE "Home" = 'djurgårdens if' AND "Round" = '53'
null
general
ขอทราบจำนวนคนไข้ที่มีเชื้อชาติเป็นคนผิวขาวและปีที่เข้ารับการรักษาน้อยกว่า 2,152 คนหรือไม่ ไม่จำเป็นต้องใช้ทุกโต๊ะ
give me the number of patients whose ethnicity is white and admission year is less than 2152?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 WHERE demographic.ethnicity = "WHITE" AND demographic.admityear < "2152"
null
general
โค้ชคนไหนที่มีจำนวนเกมรวมน้อยที่สุดในสถิติของพวกเขา ?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
which coach has the least number of total games on their record ?It is not neccessary to use all the tables.
table_204_469: id [ number] "coach" [ text] "years" [ text] "seasons" [ number] "wins" [ number] "losses" [ number] "ties" [ number] "pct" [ number]
SELECT "coach" FROM table_204_469 ORDER BY "wins" + "losses" + "ties" LIMIT 1
null
general
การแข่งขันในโมเดน่าเซอร์กิตชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the race in the Modena circuit?It is not neccessary to use all the tables.
table_16767: "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Report" [ text]
SELECT "Race Name" FROM table_16767 WHERE "Circuit" = 'Modena'
null
general
ค่าธรรมเนียม (ถ้ามี) สำหรับประเทศนอร์เวย์คือเท่าไร?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the fee (if applicable) for Norway?It is not neccessary to use all the tables.
table_28212:
SELECT "Fee (if applicable)" FROM table_28212 WHERE "Countries and Territories" = 'Norway'
null
general
ผู้ป่วย 7524 เกิดวันเดือนปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's the date of the birth of patient 7524?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 patients.dob FROM patients WHERE patients.subject_id = 7524
null
general
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตผลิตภัณฑ์แต่ละราย ให้ส่งคืนแผนภูมิแท่งเกี่ยวกับการกระจายชื่อและรายได้ และจัดกลุ่มตามสำนักงานใหญ่ของแอตทริบิวต์ และคุณช่วยแสดงจากบนลงล่างตามแกน X ได้ไหม ไม่จำเป็นต้องใช้ โต๊ะทั้งหมด
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and revenue , and group by attribute headquarter, and could you show from high to low by the X-axis please?It is not neccessary to use all the tables.
Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL]
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name DESC
null
general
คู่ต่อสู้คือใครในการแข่งขันที่จัดขึ้นที่จอนจู?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the opponent at the competition held at Jeonju?It is not neccessary to use all the tables.
table_name_20: opponent [ VARCHAR] venue [ VARCHAR]
SELECT opponent FROM table_name_20 WHERE venue = "jeonju"
null
general
มีผู้ป่วยกี่รายที่มีภาวะหลอดเลือดเอออร์ตาไม่เพียงพอ/ทำการผ่าตัดกระดูกอกใหม่ การเปลี่ยนลิ้นหัวใจเอออร์ติกมีแก๊สในหลอดเลือดในวันจันทร์? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
How many patients had aortic insufficiency/re-do sternotomy, aortic valve replacement had cnt intraart bld gas mon?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.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " AND procedures.short_title = "Cnt intraart bld gas mon"
null
general
ตั้งชื่อจำนวนรอบตัดเชือกสำหรับรอบรองชนะเลิศไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the number of playoffs for semifinalsIt is not neccessary to use all the tables.
table_245694_4: playoffs [ VARCHAR] concacaf [ VARCHAR]
SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals"
null
general
ความหนาแน่นน้อยที่สุด (ต่อ กม.) คือเท่าใด เมื่ออันดับคือ 5 และพื้นที่ (กม.) น้อยกว่า 125,755 ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the least density (per km ) when the rank is 5 and the Area (km ) is less than 125,755?It is not neccessary to use all the tables.
table_14254: "Rank" [ text] "Province" [ text]
SELECT MIN("Density (per km\u00b2)") FROM table_14254 WHERE "Rank" = '5' AND "Area (km\u00b2)" < '125,755'
null
general
ในเกมวันที่ 5 มกราคม พ.ศ. 2529 โดยมี เอ็กเซเตอร์ ซิตี้ เป็นทีมเยือน เสมอกันที่หมายเลขใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the tie number in the game on 5 January 1986 where Exeter City is the away team?It is not neccessary to use all the tables.
table_47838: "Score" [ text] "Date" [ text]
SELECT "Tie no" FROM table_47838 WHERE "Date" = '5 january 1986' AND "Away team" = 'exeter city'
null
general
วันที่ใดมีผลลัพธ์ l 25-13?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which date has a Result of l 25-13?It is not neccessary to use all the tables.
table_9073: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text]
SELECT "Date" FROM table_9073 WHERE "Result" = 'l 25-13'
null
general
วิดีโอใดที่มีช่อง 25.3?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Video has a Channel of 25.3?It is not neccessary to use all the tables.
table_63156: "Channel" [ real] "Video" [ text] "Aspect" [ text] "Programming" [ text]
SELECT "Video" FROM table_63156 WHERE "Channel" = '25.3'
null
general
จำนวนผู้เข้าร่วมที่มีบันทึกเป็นเท่าใด 94 36ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHAT IS THE NUMBER OF Attendance WITH A RECORD 94 36It is not neccessary to use all the tables.
table_name_70: attendance [ INTEGER] save [ VARCHAR] record [ VARCHAR]
SELECT AVG(attendance) FROM table_name_70 WHERE save = "–" AND record = "94–36"
null
general
แสดงแผนภาพกระจายที่ถูกทำลายโดยรหัสพนักงานและจำนวนรวมของ .ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Show me a scatter plot of destroyed by employee id and the total number for .It is not neccessary to use all the tables.
Ref_Locations: Location_Code [ CHAR(15)] Location_Name [ VARCHAR(255)] Location_Description [ VARCHAR(255)]
SELECT Destroyed_by_Employee_ID, COUNT(*) FROM Documents_to_be_Destroyed GROUP BY Destroyed_by_Employee_ID
null
general
รอบใดที่มีผู้เล่นของ brunel christensen และตัวเลือกที่น้อยกว่า 293? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Round has a Player of brunel christensen and a Pick smaller than 293?It is not neccessary to use all the tables.
table_name_38: round [ INTEGER] player [ VARCHAR] pick [ VARCHAR]
SELECT MIN(round) FROM table_name_38 WHERE player = "brunel christensen" AND pick < 293
null
general
บอกชื่อผู้ป่วยขาออก 010-32698 ครั้งสุดท้ายในการเข้ารับการรักษาในไอซียูครั้งล่าสุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the name of the output patient 010-32698 had last on the last icu visit?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 intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-32698') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND intakeoutput.cellpath LIKE '%output%' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
null
general
LEONARD NIMOY มีอันดับไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHAT RANK DOES LEONARD NIMOY HAVE?It is not neccessary to use all the tables.
table_name_16: rank [ INTEGER] director [ VARCHAR]
SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy"
null
general
เรตติ้งของตอนที่มีส่วนแบ่ง 4 และเรตติ้ง/ส่วนแบ่ง (18-49) ที่ 0.7/2 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2?It is not neccessary to use all the tables.
table_25751274_2: rating [ VARCHAR] share [ VARCHAR]
SELECT rating FROM table_25751274_2 WHERE share = 4 AND rating / SHARE(18 - 49) = 0.7 / 2
null
general
ประสูติใดได้เป็นดัชเชสแห่ง 17 เมษายน พ.ศ. 2254 สามีขึ้นสู่สวรรค์?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Birth has a Became Duchess of 17 april 1711 husband's ascension?It is not neccessary to use all the tables.
table_37214: "Name" [ text] "Birth" [ text] "Marriage" [ text] "Death" [ text] "Spouse" [ text]
SELECT "Birth" FROM table_37214 WHERE "Became Duchess" = '17 april 1711 husband''s ascension'
null
general
ผู้ว่างงานสำหรับเขต Louisiana 1st ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the vacator for district Louisiana 1st?It is not neccessary to use all the tables.
table_15969: "District" [ text] "Vacator" [ text] "Successor" [ text]
SELECT "Vacator" FROM table_15969 WHERE "District" = 'Louisiana 1st'
null
general
วันเกิดของชื่อ kelly gallardo คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is date of birth of subject name kelly gallardo?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 demographic.dob FROM demographic WHERE demographic.name = "Kelly Gallardo"
null
general
จำนวนผู้เล่นทั้งหมดมีทั้งหมด 78 คน?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
How many players had overall 78?It is not neccessary to use all the tables.
table_17212: "Round" [ real] "Overall" [ text] "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT COUNT("Player") FROM table_17212 WHERE "Overall" = '78'
null
general
กริยาคลาสใดที่ถือส่วนที่ 3 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What class is the verb wich its part 3 is helduIt is not neccessary to use all the tables.
table_1745843_10: class [ VARCHAR] part_3 [ VARCHAR]
SELECT class FROM table_1745843_10 WHERE part_3 = "heldu"
null
general
ใครคือผู้สร้างซึ่งมีวงจรคือ Oulton Park?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the constructor whose circuit was Oulton Park?It is not neccessary to use all the tables.
table_54651: "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Report" [ text]
SELECT "Constructor" FROM table_54651 WHERE "Circuit" = 'oulton park'
null
general
Studholm พื้นที่เป็นตารางกิโลเมตรคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the area in square kilometers of Studholm?It is not neccessary to use all the tables.
table_name_87: area_km_2 [ VARCHAR] official_name [ VARCHAR]
SELECT COUNT(area_km_2) FROM table_name_87 WHERE official_name = "studholm"
null
general
แสดงให้ฉันทราบเกี่ยวกับการกระจายของ Team_Name และ ACC_Percent ในแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me about the distribution of Team_Name and ACC_Percent in a bar chart.It is not neccessary to use all the tables.
university: School_ID [ int] School [ text] Location [ text] Founded [ real] Affiliation [ text] Enrollment [ real] Nickname [ text] Primary_conference [ text]
SELECT Team_Name, ACC_Percent FROM basketball_match
null
general
กษัตริย์ที่ออกจากตำแหน่งในปี 982 และเข้ารับตำแหน่งในปี 949 มีพระอิสริยยศอะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the title of the king who left office in 982 and entered office in 949?It is not neccessary to use all the tables.
table_name_64: title [ VARCHAR] left_office [ VARCHAR] entered_office [ VARCHAR]
SELECT title FROM table_name_64 WHERE left_office = "982" AND entered_office = "949"
null
general
สถานะของ Bluetooth สำหรับรุ่นที่เปิดตัวหลังปี 2004 โดยมี ROM (MiB) 128 และ Wifi 802.11b เป็นอย่างไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the status of Bluetooth for the model that launched after 2004 with a ROM (MiB) of 128 and a Wifi of 802.11b?It is not neccessary to use all the tables.
table_name_5: bluetooth [ VARCHAR] wifi [ VARCHAR] launch_year [ VARCHAR] rom___mib__ [ VARCHAR]
SELECT bluetooth FROM table_name_5 WHERE launch_year > 2004 AND rom___mib__ = 128 AND wifi = "802.11b"
null
general
แสดงภาพเรตติ้งเฉลี่ยที่น้อยที่สุดของชื่อภาพยนตร์ต่างๆ โดยใช้แผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize the average smallest rating of different movie title using a bar chart.It is not neccessary to use all the tables.
Rating: rID [ int] mID [ int] stars [ int] ratingDate [ date]
SELECT T2.title, AVG(MIN(T1.stars)) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.title
null
general