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
ปีสุดท้ายที่มีการเลือกตั้งครั้งแรกคือปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the last year that someone is first elected?It is not neccessary to use all the tables.
table_1342359_2: first_elected [ INTEGER]
SELECT MAX(first_elected) FROM table_1342359_2
null
general
เจ้าบ้านทำคะแนนได้ 11.13 (79) ในสถานที่ใด?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
In which venue did the home team score 11.13 (79)?It is not neccessary to use all the tables.
table_10814: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Venue" FROM table_10814 WHERE "Home team score" = '11.13 (79)'
null
general
ชุดว่ายน้ำที่สูงที่สุดที่ผู้เข้าแข่งขันจากแคนซัสมีค่าเฉลี่ยใหญ่กว่า 8.48 สัมภาษณ์สูงกว่า 8.58 และชุดราตรีสูงกว่า 8.82 คืออะไร ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has?It is not neccessary to use all the tables.
table_name_69: swimsuit [ INTEGER] state [ VARCHAR] evening_gown [ VARCHAR] average [ VARCHAR] interview [ VARCHAR]
SELECT MAX(swimsuit) FROM table_name_69 WHERE average > 8.48 AND interview > 8.58 AND evening_gown > 8.82 AND state = "kansas"
null
general
ตัวเลือกที่มี Dean Sears และทรงกลมที่ใหญ่กว่า 6 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the pick with Dean Sears and round larger than 6?It is not neccessary to use all the tables.
table_name_61: pick [ INTEGER] round [ VARCHAR] player [ VARCHAR]
SELECT MIN(pick) FROM table_name_61 WHERE round > 6 AND player = "dean sears"
null
general
ซึ่ง Against มีการสูญเสียน้อยกว่า 5 และ Wimmera FL ของ warrack eagles และเสมอน้อยกว่า 0 หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?It is not neccessary to use all the tables.
table_name_68: against [ INTEGER] draws [ VARCHAR] losses [ VARCHAR] wimmera_fl [ VARCHAR]
SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = "warrack eagles" AND draws < 0
null
general
วันที่แพ้ Shirley (0-1) คือเมื่อใด? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
When was the date that had a Loss of Shirley (0-1)?It is not neccessary to use all the tables.
table_15395: "Date" [ text] "Opponent" [ text] "Site" [ text] "Score" [ text] "Loss" [ text]
SELECT "Date" FROM table_15395 WHERE "Loss" = 'shirley (0-1)'
null
general
ผู้เล่นคนไหนไป Emporia State?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which player went to Emporia State?It is not neccessary to use all the tables.
table_16078: "Round" [ real] "Choice" [ real] "Overall" [ real] "Position" [ text] "College" [ text]
SELECT "Player name" FROM table_16078 WHERE "College" = 'Emporia State'
null
general
สื่อมวลชนในปารีสสำหรับ Roger Francois และ Carlo Galimberti เป็นอย่างไรบ้าง? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the press like in Paris for Roger Francois, and Carlo Galimberti?It is not neccessary to use all the tables.
table_name_67: paris___fra__ [ VARCHAR] roger_françois [ VARCHAR]
SELECT paris___fra__ FROM table_name_67 WHERE "press" = "press" AND roger_françois = "carlo galimberti"
null
general
ขอการเปรียบเทียบ ACC_Percent กับ ACC_Regular_Season ให้ฉันหน่อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me the comparison about ACC_Percent over the ACC_Regular_Season .It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match
null
general
จำนวนชัยชนะสูงสุดสำหรับ Quambatook เมื่อ Against น้อยกว่า 1129 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest number of wins for Quambatook when Against is less than 1129?It is not neccessary to use all the tables.
table_name_83: wins [ INTEGER] golden_rivers [ VARCHAR] against [ VARCHAR]
SELECT MAX(wins) FROM table_name_83 WHERE golden_rivers = "quambatook" AND against < 1129
null
general
การเลือกรอบใดคือการเลือกหมายเลข 101 ที่เล่นเป็นฝ่ายรับ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What round pick was pick number 101 who plays defensive back?It is not neccessary to use all the tables.
table_name_92: round [ VARCHAR] position [ VARCHAR] pick__number [ VARCHAR]
SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101"
null
general
เปรียบเทียบจำนวนเหตุการณ์ตามรายละเอียดเหตุการณ์ต่างๆ โดยใช้แผนภูมิแท่ง และเรียงลำดับชื่อจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Compare how many events by different event details using a bar chart, and sort names from high to low order.It is not neccessary to use all the tables.
Participants: Participant_ID [ INTEGER] Participant_Type_Code [ CHAR(15)] Participant_Details [ VARCHAR(255)]
SELECT Event_Details, COUNT(Event_Details) FROM Events GROUP BY Event_Details ORDER BY Event_Details DESC
null
general
ใครคือผู้ดำรงตำแหน่งในเขตแมสซาชูเซตส์7?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the incumbent in district Massachusetts7?It is not neccessary to use all the tables.
table_18206: "District" [ text] "Incumbent" [ text] "Party" [ text] "Status" [ text] "Opponent" [ text]
SELECT "Incumbent" FROM table_18206 WHERE "District" = 'Massachusetts7'
null
general
ซาฟารีใดมีช่วงไตรมาสที่ 4 ปี 2555?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What safari has 2012 q4 as the period?It is not neccessary to use all the tables.
table_79299: "Period" [ text] "Firefox" [ text] "Chrome" [ text] "Safari" [ text] "Opera" [ text] "Other" [ text]
SELECT "Safari" FROM table_79299 WHERE "Period" = '2012 q4'
null
general
มีกี่คนที่ไม่ได้ขับรถ chevrolet silverado ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many people are not driving a chevrolet silverado ?It is not neccessary to use all the tables.
table_204_89: id [ number] "team" [ text] "truck(s)" [ text] "#" [ number] "driver(s)" [ text]
SELECT COUNT("driver(s)") FROM table_204_89 WHERE "truck(s)" <> 'chevrolet silverado'
null
general
วันที่ 24 ต.ค. ใครเล่นในบ้านบ้างเมื่อวอร์ดตัดสิน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On October 24, who played at home when there was a decision of Ward?It is not neccessary to use all the tables.
table_58477: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Decision" [ text] "Attendance" [ real] "Record" [ text]
SELECT "Home" FROM table_58477 WHERE "Decision" = 'ward' AND "Date" = 'october 24'
null
general
700 อะไรมีเงินเซ็กซี่สกปรก 1,000? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What 700 has a 1000 of dirty sexy money?It is not neccessary to use all the tables.
table_67978: "7:00" [ text] "7:30" [ text] "8:00" [ text] "8:30" [ text] "9:00" [ text] "9:30" [ text] "10:00" [ text] "10:30" [ text]
SELECT "7:00" FROM table_67978 WHERE "10:00" = 'dirty sexy money'
null
general
เสมอ # มีผู้เข้าร่วม 54,591 คนใด? ไม่จำเป็นต้องใช้ทุกตาราง
Which Tie #has an Attendance of 54,591?It is not neccessary to use all the tables.
table_36003: "Score" [ text] "Attendance" [ text]
SELECT "Tie no" FROM table_36003 WHERE "Attendance" = '54,591'
null
general
แสดงภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ Team_Name และ Team_ID และแสดงรายการแกน X จากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize a bar chart about the distribution of Team_Name and Team_ID , and list X-axis in descending order.It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT Team_Name, Team_ID FROM basketball_match ORDER BY Team_Name DESC
null
general
บันทึกการเข้าร่วมฤดูกาลปกติทั้งหมดอยู่ที่ไหนไม่จำเป็นต้องใช้ตารางทั้งหมด
where was the total attendance-regular season record madeIt is not neccessary to use all the tables.
table_21436373_12: stadium [ VARCHAR] type_of_record [ VARCHAR]
SELECT stadium FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season"
null
general
ฤดูกาลที่ 3 คือ Shawn Rojeski คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the season when the third is shawn rojeski?It is not neccessary to use all the tables.
table_8028: "Season" [ text] "Skip" [ text] "Third" [ text] "Second" [ text] "Lead" [ text]
SELECT "Season" FROM table_8028 WHERE "Third" = 'shawn rojeski'
null
general
ชื่อที่แปลของ Steinulven คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Translated Title of Steinulven?It is not neccessary to use all the tables.
table_10455: "Published" [ text] "Pages" [ real] "ISBN" [ text]
SELECT "Translated title" FROM table_10455 WHERE "Norwegian title" = 'steinulven'
null
general
ทีมอันดับที่ 24 ของตารางวันที่ 15 กันยายน 2551 คือทีมอะไร?ไม่จำเป็นต้องใช้ทุกตารางเลย
what is the team with the position in table of 24th and the date of appointment 15 september 2008?It is not neccessary to use all the tables.
table_64561: "Team" [ text]
SELECT "Team" FROM table_64561 WHERE "Position in table" = '24th' AND "Date of appointment" = '15 september 2008'
null
general
รายชื่อพนักงานเหล่านี้ทำงานตั้งแต่วันไหนและวันไหน พนักงานโครงการของโครงการที่จ้างพนักงานมากที่สุด ไม่จำเป็นต้องใช้ตารางทั้งหมด
List from which date and to which date these staff work project staff of the project which hires the most staffsIt is not neccessary to use all the tables.
Project_Staff: date_from [ VARCHAR] date_to [ VARCHAR] project_id [ VARCHAR] role_code [ VARCHAR]
SELECT date_from, date_to FROM Project_Staff WHERE project_id IN (SELECT project_id FROM Project_Staff GROUP BY project_id ORDER BY COUNT(*) DESC LIMIT 1) UNION SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'leader'
null
general
สำหรับสเตลเลนบอชซึ่งมีประชากรมากกว่า 155,733 คน พื้นที่เฉลี่ยคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
For Stellenbosch, which has a population larger than 155,733, what is the average area?It is not neccessary to use all the tables.
table_42838: "Name" [ text] "Seat" [ text]
SELECT AVG("Area (km 2 )") FROM table_42838 WHERE "Name" = 'stellenbosch' AND "Population (2011)" > '155,733'
null
general
ผู้ป่วย 033-32465 ได้รับการฉีดอิเล็กโทรไลต์ - ทางปากในโรงพยาบาลอื่นตั้งแต่ 6 ปีที่แล้วหรือไม่ ไม่จำเป็นต้องใช้ทุกโต๊ะ
has patient 033-32465 received administration of electrolytes - oral in other hospitals, since 6 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 treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '033-32465' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '033-32465' AND patient.hospitaldischargetime IS NULL)) AND treatment.treatmentname = 'administration of electrolytes - oral' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-6 year')
null
general
ชื่อของผู้กำกับที่สร้างภาพยนตร์หนึ่งเรื่องไม่รวมผู้กำกับ NULL คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names of the directors who made exactly one movie excluding director NULL?It is not neccessary to use all the tables.
reviewer: rid [ number] name [ text]
SELECT director FROM movie WHERE director <> "null" GROUP BY director HAVING COUNT(*) = 1
null
general
แสดงแผนภูมิแท่งว่ามีกี่มณฑลที่สอดคล้องกับกองกำลังตำรวจแต่ละแห่ง และจัดอันดับ X ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Display a bar chart for how many counties correspond to each police force?, and rank X in asc order.It is not neccessary to use all the tables.
county_public_safety: County_ID [ int] Name [ text] Population [ int] Police_officers [ int] Residents_per_officer [ int] Case_burden [ int] Crime_rate [ real] Police_force [ text] Location [ text]
SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force ORDER BY Police_force
null
general
คะแนนเป็นเท่าใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Score of ?It is not neccessary to use all the tables.
table_name_78: score [ VARCHAR] song [ VARCHAR]
SELECT score FROM table_name_78 WHERE song = "我等的人会是谁"
null
general
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตแต่ละผลิตภัณฑ์ ให้แสดงการกระจายของสำนักงานใหญ่และผลรวมของผู้ผลิต และจัดกลุ่มตามคุณลักษณะของสำนักงานใหญ่ในแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those records from the products and each product's manufacturer, show me about the distribution of headquarter and the sum of manufacturer , and group by attribute headquarter in a bar chart.It is not neccessary to use all the tables.
Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL]
SELECT Headquarter, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
null
general
นักกีฬาประเทศใดที่มีอันดับต่ำกว่า 5 และมีหมายเหตุอยู่ใน fb?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What country were the athletes where ranked smaller than 5 with notes listed as fb?It is not neccessary to use all the tables.
table_65513: "Rank" [ real] "Rowers" [ text] "Country" [ text] "Time" [ text] "Notes" [ text]
SELECT "Country" FROM table_65513 WHERE "Rank" < '5' AND "Notes" = 'fb'
null
general
นักว่ายน้ำในเลน 4 อยู่ในอันดับที่เท่าไหร่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What rank was the swimmer in lane 4?It is not neccessary to use all the tables.
table_name_41: rank [ VARCHAR] lane [ VARCHAR]
SELECT rank FROM table_name_41 WHERE lane = 4
null
general
แผนภูมิแท่งแสดงจำนวนประเทศที่มีผู้จัดการอายุมากกว่า 50 ปีหรือต่ำกว่า 46 ปี ฉันต้องการจัดอันดับตามจำนวนรวมจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart for showing the number of the countries that have managers of age above 50 or below 46, I want to rank by the total number in ascending.It is not neccessary to use all the tables.
manager: Manager_ID [ int] Name [ text] Country [ text] Working_year_starts [ text] Age [ int] Level [ int]
SELECT Country, COUNT(Country) FROM manager WHERE Age > 50 OR Age < 46 GROUP BY Country ORDER BY COUNT(Country)
null
general
ผลรวมอันดับของคนที่เรียกว่า Fernando Cavenaghi ซึ่งปรากฏน้อยกว่า 7 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.It is not neccessary to use all the tables.
table_31898: "Rank" [ real] "Name" [ text] "Team" [ text] "Goals" [ real] "Appearances" [ real]
SELECT SUM("Rank") FROM table_31898 WHERE "Name" = 'fernando cavenaghi' AND "Appearances" < '7'
null
general
จัดกลุ่มและนับวันที่ย้ายเข้าในแผนภูมิแท่ง คุณสามารถแสดงแกน X จากต่ำไปสูงได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Group and count the move in date in a bar chart, could you display X-axis from low to high order?It is not neccessary to use all the tables.
Residents_Services: resident_id [ INTEGER] service_id [ INTEGER] date_moved_in [ DATETIME] property_id [ INTEGER] date_requested [ DATETIME] date_provided [ DATETIME] other_details [ VARCHAR(255)]
SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events GROUP BY date_moved_in ORDER BY date_moved_in
null
general
ผู้ดำรงตำแหน่งในระบอบประชาธิปไตยคนใดมาจากเขตโอไฮโอ 7?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which democratic incumbent is from the district of ohio 7?It is not neccessary to use all the tables.
table_name_93: incumbent [ VARCHAR] party [ VARCHAR] district [ VARCHAR]
SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7"
null
general
อาคารที่ถนน 10 คอร์ท สร้างขึ้นเมื่อใด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
when was the building at 10 court street built ?It is not neccessary to use all the tables.
table_204_749: id [ number] "courthouse" [ text] "city" [ text] "jurisdiction" [ text]
SELECT "dates of use" FROM table_204_749 WHERE "street address" = '10 court street'
null
general
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้เปรียบเทียบผลรวมของ department_id กับ job_id และจัดกลุ่มตามแอตทริบิวต์ job_id ด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees who was hired before 2002-06-21, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id by a bar chart.It is not neccessary to use all the tables.
job_history: EMPLOYEE_ID [ decimal(60)] START_DATE [ date] END_DATE [ date] JOB_ID [ varchar(10)] DEPARTMENT_ID [ decimal(40)]
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID
null
general
ชื่อของรายการที่มีสาธารณะเป็นใช่ ไซต์ส่วนตัวเป็นไม่ใช่ และไซต์ทีมเป็นไม่ใช่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No?It is not neccessary to use all the tables.
table_60937: "Name" [ text] "Public" [ text] "Intranet" [ text] "Extranet" [ text] "Developer" [ text]
SELECT "Name" FROM table_60937 WHERE "Public" = 'yes' AND "Personal Sites" = 'no' AND "Team Sites" = 'no'
null
general
ชิ้นส่วนใดมีข้อบกพร่องมากกว่า 2 ข้อ? แสดงชื่อชิ้นส่วนและรหัส วาดเป็นแผนภูมิแท่ง และคุณสามารถเรียงลำดับตามแกน y ได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which parts have more than 2 faults? Show the part name and id Plot them as bar chart, and could you sort in desc by the y axis?It is not neccessary to use all the tables.
Engineer_Visits: engineer_visit_id [ INTEGER] contact_staff_id [ INTEGER] engineer_id [ INTEGER] fault_log_entry_id [ INTEGER] fault_status [ VARCHAR(10)] visit_start_datetime [ DATETIME] visit_end_datetime [ DATETIME] other_visit_details [ VARCHAR(255)]
SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id ORDER BY T1.part_id DESC
null
general
ผู้สมัครคนไหนลงสมัครในเขต Alabama 6?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which candidates ran in the Alabama 6 district?It is not neccessary to use all the tables.
table_1341973_3: candidates [ VARCHAR] district [ VARCHAR]
SELECT candidates FROM table_1341973_3 WHERE district = "Alabama 6"
null
general
ตอนที่รองชนะเลิศคือ Monique Evans มีผู้เข้าแข่งขันกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many contestants were there when the runner-up was Monique Evans?It is not neccessary to use all the tables.
table_25214321_1: contestants [ INTEGER] runner_up [ VARCHAR]
SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Monique Evans"
null
general
ขอเหตุการณ์เอาท์พุตที่พบบ่อยที่สุดห้ารายการตั้งแต่ 2 ปีที่แล้วมาให้ฉันหน่อยได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
give me the five most common output events since 2 years ago?It is not neccessary to use all the tables.
patients: row_id [ number] subject_id [ number] gender [ text] dob [ time] dod [ time]
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE DATETIME(outputevents.charttime) >= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 5)
null
general
ปีใดที่มีการแข่งขันสูงสุดคือนิวยอร์กซิตี้มาราธอน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest Year with a Competition that is new york city marathon?It is not neccessary to use all the tables.
table_41086: "Year" [ real] "Competition" [ text] "Venue" [ text] "Position" [ text] "Notes" [ text]
SELECT MAX("Year") FROM table_41086 WHERE "Competition" = 'new york city marathon'
null
general
ปีแรกสุดที่ Assists น้อยกว่า 13 นาทีและนาทีที่ต่ำกว่า 91 คือปีใดที่ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the earliest year that Assists were less than 13 and minutes were under 91?It is not neccessary to use all the tables.
table_name_47: season [ INTEGER] assists [ VARCHAR] minutes [ VARCHAR]
SELECT MIN(season) FROM table_name_47 WHERE assists < 13 AND minutes < 91
null
general
คนไข้ที่อายุน้อยกว่า 68 ปี และมีของเหลวทดสอบในห้องปฏิบัติการเป็นของเหลวในข้อมีจำนวนเท่าใด ไม่จำเป็นต้องใช้ทุกตาราง
what is the number of patients whose age is less than 68 and lab test fluid is joint fluid?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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "68" AND lab.fluid = "Joint Fluid"
null
general
ความถี่ต่ำสุดที่ระยะพิทช์ของ Hemholtz อยู่ที่ d คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest Frequency where the Hemholtz pitch is d?It is not neccessary to use all the tables.
table_77930: "String" [ text]
SELECT MIN("Frequency ( Hz )") FROM table_77930 WHERE "Helmholtz pitch" = 'd'
null
general
เรื่องไหนมีอันดับ 14 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which stories have a rank of 14?It is not neccessary to use all the tables.
table_name_43: stories [ VARCHAR] rank [ VARCHAR]
SELECT stories FROM table_name_43 WHERE rank = "14"
null
general
ความคิดเห็นสั้นๆ เกี่ยวกับ WHYT รหัสเท่านั้น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Short WHYT comments, Id only.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]
SELECT Id AS "comment_link" FROM Comments WHERE LOWER(Text) LIKE 'what have you tried%' AND LENGTH(Text) < 75 ORDER BY LENGTH(Text), Id
null
general
สำหรับนักแข่ง Mark Skaife ผลลัพธ์ของการแข่งรอบที่ 1 คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
For driver Mark Skaife what is the result for race 1?It is not neccessary to use all the tables.
table_256: "Driver" [ text] "No." [ real] "Team" [ text] "Car" [ text] "Points" [ real]
SELECT "Race 1" FROM table_256 WHERE "Driver" = 'Mark Skaife'
null
general
คะแนนโดยรวมสูงสุดก่อนปี 1996 โดยมีสลาลอม 39 คะแนนคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest overall prior to 1996 with a slalom of 39?It is not neccessary to use all the tables.
table_name_33: overall [ INTEGER] slalom [ VARCHAR] season [ VARCHAR]
SELECT MAX(overall) FROM table_name_33 WHERE slalom = "39" AND season < 1996
null
general
มีผู้ป่วยกี่รายที่มีสถานภาพสมรสเป็นหม้ายและตรวจของเหลวในห้องปฏิบัติการเป็นปัสสาวะ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose marital status is widowed and lab test fluid is urine?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.marital_status = "WIDOWED" AND lab.fluid = "Urine"
null
general
การเข้าร่วมงานในเกมที่ฟิตซ์รอยเป็นทีมเยือนมีอะไรบ้าง?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the attendance of the game where fitzroy was the away team?It is not neccessary to use all the tables.
table_52235: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT COUNT("Crowd") FROM table_52235 WHERE "Away team" = 'fitzroy'
null
general
มีเวนดี้ สแตนซ์เลอร์เป็นผู้กำกับกี่คนที่เขียน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many written by have wendey stanzler as the director?It is not neccessary to use all the tables.
table_22570439_1: written_by [ VARCHAR] directed_by [ VARCHAR]
SELECT COUNT(written_by) FROM table_22570439_1 WHERE directed_by = "Wendey Stanzler"
null
general
ทีมได้อันดับ 2 ในเมืองแอนต์เวิร์ป ประเทศเบลเยียมมากี่ปีแล้ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many years did the team place 2nd in Antwerp, Belgium?It is not neccessary to use all the tables.
table_name_21: year [ VARCHAR] venue [ VARCHAR] result [ VARCHAR]
SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd"
null
general
จำนวนเครื่องบินข้าศึกมากหรือน้อยกว่าข้าศึกอื่นๆ รวมกัน ?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
is the number of enemy aircraft more or less than the other foes combined ?It is not neccessary to use all the tables.
table_204_353: id [ number] "no." [ number] "date/time" [ text] "aircraft" [ text] "foe" [ text] "result" [ text] "location" [ text] "notes" [ text]
SELECT (SELECT COUNT(*) FROM table_204_353 WHERE "foe" = 'enemy aircraft') > (SELECT COUNT(*) FROM table_204_353 WHERE "foe" <> 'enemy aircraft')
null
general
โซนใดมีแชมป์ของ surozh Sudak?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Zone has a Champion of surozh sudak?It is not neccessary to use all the tables.
table_44580: "Season" [ text] "Zone" [ real] "Champion" [ text] "Second" [ text] "Third" [ text]
SELECT SUM("Zone") FROM table_44580 WHERE "Champion" = 'surozh sudak'
null
general
Mathieu เล่นกับ Flavio Cipolla เมื่อไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When did Mathieu play against Flavio Cipolla?It is not neccessary to use all the tables.
table_name_60: date [ VARCHAR] opponent_in_the_final [ VARCHAR]
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla"
null
general
เป็นคะแนนในนัดที่ 1 ระหว่าง svendborg และ goteborgs kvinnliga เช่นเดียวกับคะแนนในนัดที่สอง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
was the score in the 1st match between svendborg and goteborgs kvinnliga the same as the score in the secon match ?It is not neccessary to use all the tables.
table_204_230: id [ number] "agg." [ text]
SELECT "1st match" = "2nd match" FROM table_204_230 WHERE "team #1" = 'svendborg' AND "team #2" = 'goteborgs kvinnliga'
null
general
รายการการบินขึ้นและลงทั้งหมดที่ MKEI ไม่จำเป็นต้องใช้ตารางทั้งหมด
list all the takeoffs and landings at MKEIt is not neccessary to use all the tables.
days: days_code [ varchar] day_name [ varchar]
SELECT DISTINCT flight.flight_id FROM airport AS AIRPORT_0, airport AS AIRPORT_1, flight WHERE (flight.to_airport = AIRPORT_0.airport_code AND AIRPORT_0.airport_code = 'MKE') OR (flight.from_airport = AIRPORT_1.airport_code AND AIRPORT_1.airport_code = 'MKE')
null
general
ขอ sao2 ขั้นต่ำรายปีของผู้ป่วย 027-135249 จนถึง 4 เดือนที่แล้ว ไม่จำเป็นต้องใช้ตารางทั้งหมด
give me patient 027-135249's yearly minimum sao2 until 4 months 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 MIN(vitalperiodic.sao2) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-135249')) AND NOT vitalperiodic.sao2 IS NULL AND DATETIME(vitalperiodic.observationtime) <= DATETIME(CURRENT_TIME(), '-4 month') GROUP BY STRFTIME('%y', vitalperiodic.observationtime)
null
general
หน่วยงานใดที่มี Decile น้อยกว่า 6 และพื้นที่ของ opoutere?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Authority has a Decile smaller than 6, and an Area of opoutere?It is not neccessary to use all the tables.
table_70466: "Name" [ text] "Years" [ text] "Gender" [ text] "Area" [ text] "Authority" [ text] "Decile" [ real] "Roll" [ real]
SELECT "Authority" FROM table_70466 WHERE "Decile" < '6' AND "Area" = 'opoutere'
null
general
ดึงข้อมูลรหัสผู้ป่วยที่ได้รับการวินิจฉัยว่าเป็นโรคเส้นประสาทตาขาดเลือดในปีนี้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
retrieve the patients ids who had been diagnosed with ischemic optic neuropthy in this 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 admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ischemic optic neuropthy') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year'))
null
general
ทีมเยือนทีมไหนมีสกอร์ 0 3 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Away team has a Score of 0 3?It is not neccessary to use all the tables.
table_36000: "Score" [ text] "Attendance" [ text]
SELECT "Away team" FROM table_36000 WHERE "Score" = '0–3'
null
general
ปีใดที่สร้างเสร็จมีเขื่อนแบบถมดิน และเขื่อนสร้างเขื่อนคันโคบัน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?It is not neccessary to use all the tables.
table_62076:
SELECT MAX("Year completed") FROM table_62076 WHERE "Dam type" = 'earthfill embankment' AND "Dam constructed" = 'khancoban dam'
null
general
คะแนนโหวตรวมของคำตอบต่อวัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Total downvotes on answers, per day.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 v.CreationDate, AnswerDownVotes = COUNT(*) FROM Votes AS v INNER JOIN Posts AS p ON p.Id = v.PostId WHERE p.PostTypeId = 2 AND v.VoteTypeId = 3 AND v.CreationDate BETWEEN @startDate AND @endDate GROUP BY v.CreationDate ORDER BY v.CreationDate
null
general
คำสั่งของนายกรัฐมนตรี อากาเท อุวิลิงจิมานา สิ้นสุดลงเมื่อใด?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
When did Prime Minister Agathe Uwilingiyimana's mandate end?It is not neccessary to use all the tables.
table_60923: "Country" [ text] "Office" [ text]
SELECT "Mandate end" FROM table_60923 WHERE "Office" = 'prime minister' AND "Name a" = 'agathe uwilingiyimana'
null
general
ค้นหาอายุสูงสุดของคนไข้ที่มีเชื้อชาติเป็นคนผิวขาว และอยู่โรงพยาบาลได้ 4 วัน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
look for the maximum age of patients whose ethnicity is white and hospital stay is 4 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 MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.days_stay = "4"
null
general
สถานะผิดปกติของการทดสอบในห้องปฏิบัติการของวิชา id 6983 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is lab test abnormal status of subject id 6983?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 lab.flag FROM lab WHERE lab.subject_id = "6983"
null
general
ผู้เข้าร่วมโดยเฉลี่ยเมื่อบันทึกคือ 17-18 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the average attendance when the record was 17-18?It is not neccessary to use all the tables.
table_68635: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Attendance" [ real] "Record" [ text]
SELECT AVG("Attendance") FROM table_68635 WHERE "Record" = '17-18'
null
general
บอกเพศคนไข้ 028-40370 ไม่จำเป็นต้องใช้ทุกโต๊ะ
tell me the sex of patient 028-40370.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 DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '028-40370'
null
general
ศาสนาที่โดดเด่นในปี 2545 ของการตั้งถิ่นฐานด้วยซีริลลิกและชื่ออื่น ๆ ของ (voivodin โรมาเนีย) คืออะไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What was the dominant religion in 2002 of the settlement with the cyrillic and other name of (romanian voivodin )?It is not neccessary to use all the tables.
table_27885: "Settlement" [ text] "Type" [ text]
SELECT "Dominant religion (2002)" FROM table_27885 WHERE "Cyrillic Name Other Names" = 'Војводинци (Romanian: Voivodinţ)'
null
general
ความถี่รวม MHz พอร์ตชาร์ลอตต์, ฟลอริดา ซึ่งมี ERP W ใหญ่กว่า 10 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has?It is not neccessary to use all the tables.
table_51198: "Class" [ text]
SELECT COUNT("Frequency MHz") FROM table_51198 WHERE "City of license" = 'port charlotte, florida' AND "ERP W" > '10'
null
general
ชื่อใดในปี 2544 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Name was in the Year 2001?It is not neccessary to use all the tables.
table_name_32: name [ VARCHAR] year [ VARCHAR]
SELECT name FROM table_name_32 WHERE year = "2001"
null
general
มีผู้ป่วยกี่รายที่มีสถานภาพสมรสเป็นโสดและได้รับการวินิจฉัยว่าเป็นโรคหลอดเลือดสมองเป็นเวลานาน ผลกระทบจากโรคหลอดเลือดสมอง อัมพาตครึ่งซีกข้างที่ไม่ระบุรายละเอียด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose marital status is single and diagnoses long title is late effects of cerebrovascular disease, hemiplegia affecting unspecified side?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.marital_status = "SINGLE" AND diagnoses.long_title = "Late effects of cerebrovascular disease, hemiplegia affecting unspecified side"
null
general
นับจำนวนยาที่สั่งจ่ายให้ผู้ป่วย 002-77945 จนถึง 3 ปีที่แล้ว ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of drugs that have been prescribed patient 002-77945 until 3 years ago.It is not neccessary to use all the tables.
patient: uniquepid [ text] patienthealthsystemstayid [ number] patientunitstayid [ number] gender [ text] age [ text] ethnicity [ text] hospitalid [ number] wardid [ number] admissionheight [ number] admissionweight [ number] dischargeweight [ number] hospitaladmittime [ time] hospitaladmitsource [ text] unitadmittime [ time] unitdischargetime [ time] hospitaldischargetime [ time] hospitaldischargestatus [ text]
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-77945')) AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-3 year')
null
general
ผู้เข้าร่วมเมื่อวิดาเป็นทีมเยือนจะเป็นอย่างไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the Attendance when Vida is the Away team?It is not neccessary to use all the tables.
table_8371: "Date" [ text] "Home" [ text] "Score" [ text] "Away" [ text] "Attendance" [ real]
SELECT AVG("Attendance") FROM table_8371 WHERE "Away" = 'vida'
null
general
ใครคือทีมเยือนของทีมลีดส์ยูไนเต็ดในการแข่งขันลีกคัพ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the away team for the tome team Leeds United, at the League Cup Competition?It is not neccessary to use all the tables.
table_name_12: away_team [ VARCHAR] home_team [ VARCHAR] competition [ VARCHAR]
SELECT away_team FROM table_name_12 WHERE home_team = "leeds united" AND competition = "league cup"
null
general
นับจำนวนผู้ป่วยที่มีโรคหลักคือเอออร์ตาวาล์วไม่เพียงพอ\การเปลี่ยนลิ้นเอออร์ติก /sda และของเหลวทดสอบในห้องปฏิบัติการคือเลือดหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose primary disease is aortic valve insuffiency\aortic valve replacement /sda and lab test fluid is blood?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.diagnosis = "AORTIC VALVE INSUFFIENCY\AORTIC VALVE REPLACEMENT /SDA" AND lab.fluid = "Blood"
null
general
ผู้ใช้อันดับต้นๆ จาก Saarbr cken ประเทศเยอรมนี ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top users from Saarbr cken, Germany.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 ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%saarbr%cken%' AND Reputation >= 1000 ORDER BY Reputation DESC
null
general
เรย์มอนด์ ฟลอยด์ชนะในปีไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which years did raymond floyd win?It is not neccessary to use all the tables.
table_46262: "Player" [ text] "Country" [ text] "Total" [ real] "Finish" [ text]
SELECT "Year(s) won" FROM table_46262 WHERE "Player" = 'raymond floyd'
null
general
จุดประสงค์ก่อนปี 2550 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the motive before 2007?It is not neccessary to use all the tables.
table_name_25: motive [ VARCHAR] year [ INTEGER]
SELECT motive FROM table_name_25 WHERE year < 2007
null
general
ตั้งชื่อคลาส MDE ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the MDE classes .It is not neccessary to use all the tables.
semester: semester_id [ int] semester [ varchar] year [ int]
SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id
null
general
ประเทศเจ้าภาพชื่ออะไรหากผู้ชนะคือฮ่องกง 207/6 (47.1 โอเวอร์)? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?It is not neccessary to use all the tables.
table_22577693_1: host_nation_s_ [ VARCHAR] winner [ VARCHAR]
SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)"
null
general
สีไหนมีอักษรวรรณสุข ไม่จำเป็นต้องใช้ทุกตาราง
Which Color has a Transcription of wan suk?It is not neccessary to use all the tables.
table_name_16: color [ VARCHAR] transcription [ VARCHAR]
SELECT color FROM table_name_16 WHERE transcription = "wan suk"
null
general
เหตุเกิดที่ พล.อ.คมริ เมื่อไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When was the incident in Pol-E Khomri?It is not neccessary to use all the tables.
table_71249: "Date" [ text] "Location" [ text] "Circumstances" [ text] "Casualties" [ text]
SELECT "Date" FROM table_71249 WHERE "Location" = 'pol-e khomri'
null
general
เมื่อ 6 ปีที่แล้ว คนไข้ 006-185446 ไปโรงพยาบาลครั้งสุดท้ายเมื่อใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
since 6 years ago, when did patient 006-185446 last visit the hospital?It is not neccessary to use all the tables.
diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text]
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-185446' AND DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-6 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1
null
general
ค้นหาหมายเลขคำอธิบายหมวดหมู่ของผลิตภัณฑ์ที่มีคำอธิบายประกอบด้วยตัวอักษร 't' ชื่อรายการตามลำดับจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the number of the category descriptions of the products whose descriptions include letter 't', list names in ascending order.It is not neccessary to use all the tables.
Ref_Product_Categories: product_category_code [ VARCHAR(15)] product_category_description [ VARCHAR(80)] unit_of_measure [ VARCHAR(20)]
SELECT product_category_description, COUNT(product_category_description) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%' GROUP BY product_category_description ORDER BY product_category_description
null
general
หากปัญหาด้านความปลอดภัยคือ 99-025 และกลไกการแจกจ่ายคือเว็บไซต์ Microsoft หมายเลขรวมของวันที่วางจำหน่ายคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number?It is not neccessary to use all the tables.
table_2263152_1: release_date [ VARCHAR] security_issues [ VARCHAR] distribution_mechanism [ VARCHAR]
SELECT COUNT(release_date) FROM table_2263152_1 WHERE security_issues = "99-025" AND distribution_mechanism = "Microsoft website"
null
general
นักวิ่งที่สูงที่สุดคืออะไรเมื่อผู้จัดรายการคือ แฟรงกี้ เดตโทริ และอันดับสูงกว่า 1? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?It is not neccessary to use all the tables.
table_name_68: runners [ INTEGER] jockey [ VARCHAR] placing [ VARCHAR]
SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1
null
general
มีผู้ป่วยกี่รายที่มีเชื้อชาติเอเชียและปีเกิดน้อยกว่า พ.ศ. 2393 ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose ethnicity is asian and year of birth is less than 1850?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 = "ASIAN" AND demographic.dob_year < "1850"
null
general
โอกาสที่จะชนะ 1 ใน 4.23 ด้วยเงินรางวัลสูงสุด 15,000 ดอลลาร์คือวันที่เปิดตัวเท่าไร?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000?It is not neccessary to use all the tables.
table_name_30: launch_date [ VARCHAR] odds_of_winning [ VARCHAR] top_prize [ VARCHAR]
SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000"
null
general
เทศบาล Entre R os โดยเฉลี่ยที่มีเทศบาล Pojo น้อยกว่า 9 แห่งคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average Entre R os Municipality with less than 9 Pojo Municipalities?It is not neccessary to use all the tables.
table_38600: "Language" [ text]
SELECT AVG("Entre R\u00edos Municipality") FROM table_38600 WHERE "Pojo Municipality" < '9'
null
general
มีกี่คนที่กำกับ 'ความตายเล็กน้อย'?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many people directed 'a little death'?It is not neccessary to use all the tables.
table_30688: "Title" [ text]
SELECT COUNT("Directed by") FROM table_30688 WHERE "Title" = 'A Little Death'
null
general
ปริมาณปัสสาวะของผู้ป่วย 009-8833 ทั้งหมดเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the total urine output amount for patient 009-8833?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 SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-8833')) AND intakeoutput.celllabel = 'urine' AND intakeoutput.cellpath LIKE '%output%'
null
general
อายุสูงสุดของผู้ป่วยที่มีสถานะการเสียชีวิตเป็น 0 และโรคหลักคือภาวะขาดเลือดในลำไส้คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is maximum age of patients whose death status is 0 and primary disease is mesenteric ischemia?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 MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "MESENTERIC ISCHEMIA"
null
general
ตั้งชื่อสัญชาติ / ฝ่ายตรงข้ามการแข่งขันถ้วยรางวัล welsh rugby union Challenge และผลการแข่งขัน 38-29?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the Nationality / Opponent of the Competition of welsh rugby union challenge trophy and a Result of 38-29?It is not neccessary to use all the tables.
table_name_63: nationality___opponent [ VARCHAR] competition [ VARCHAR] result [ VARCHAR]
SELECT nationality___opponent FROM table_name_63 WHERE competition = "welsh rugby union challenge trophy" AND result = "38-29"
null
general
ผลลัพธ์ใดมีพรรครีพับลิกันและพรรครีพับลิกันได้รับการเลือกตั้งครั้งแรกน้อยกว่าปี 1856 ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Which Result has a Party of republican, and a First elected smaller than 1856?It is not neccessary to use all the tables.
table_name_26: result [ VARCHAR] party [ VARCHAR] first_elected [ VARCHAR]
SELECT result FROM table_name_26 WHERE party = "republican" AND first_elected < 1856
null
general
Crown Entity ใดที่อยู่ในรายการก่อนแผงเทคโอเวอร์ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the crown entity listed before the takeovers panel ?It is not neccessary to use all the tables.
table_204_988: id [ number]
SELECT "crown entities" FROM table_204_988 WHERE id = (SELECT id FROM table_204_988 WHERE "crown entities" = 'takeovers panel') - 1
null
general
ผู้ชนะจากสเปนมีจำนวนเท่าใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the number of winners from spain ?It is not neccessary to use all the tables.
table_203_600: id [ number] "rank" [ text] "country" [ text] "winners" [ number] "runners-up" [ number]
SELECT "winners" FROM table_203_600 WHERE "country" = 'spain'
null
general