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
บอกจำนวนครั้งที่เขาได้ที่ 4 ครับ ไม่จำเป็นต้องใช้ทุกโต๊ะ
tell me the number of times he placed 4th .It is not neccessary to use all the tables.
table_204_780: id [ number] "year" [ number] "competition" [ text] "venue" [ text] "position" [ text] "notes" [ text]
SELECT COUNT(*) FROM table_204_780 WHERE "position" = 4
null
general
ใครคือนักพายเรือจากแคนาดา?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the rower from Canada?It is not neccessary to use all the tables.
table_name_80: rowers [ VARCHAR] country [ VARCHAR]
SELECT rowers FROM table_name_80 WHERE country = "canada"
null
general
จำนวนผู้เข้าร่วมสูงสุดในเกมที่ผลสกอร์ 5-1 คืออะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the highest attendance at a game with a result of 5-1?It is not neccessary to use all the tables.
table_name_94: attendance [ INTEGER] result [ VARCHAR]
SELECT MAX(attendance) FROM table_name_94 WHERE result = "5-1"
null
general
ปีคืออะไร เมื่อสัญชาติเป็นสหรัฐอเมริกา และเมื่อตำแหน่งเป็น PG / SG ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Years, when Nationality is United States, and when Position is PG / SG?It is not neccessary to use all the tables.
table_name_83: years [ VARCHAR] nationality [ VARCHAR] position [ VARCHAR]
SELECT years FROM table_name_83 WHERE nationality = "united states" AND position = "pg / sg"
null
general
แสดงรายการจำนวนหลักสูตรในปี พ.ศ. 2551 ของผู้สอนแต่ละคนในแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the number of courses in year 2008 for each instructor in a bar chart.It is not neccessary to use all the tables.
advisor: s_ID [ varchar(5)] i_ID [ varchar(5)]
SELECT name, COUNT(name) FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.ID = T3.ID WHERE year = 2008 GROUP BY name
null
general
โดยที่ทีม cfl คือเอดมันตัน (2) ตำแหน่งทั้งหมดคืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
where cfl team is edmonton (2) what are all the positionIt is not neccessary to use all the tables.
table_26996293_2: position [ VARCHAR] cfl_team [ VARCHAR]
SELECT position FROM table_26996293_2 WHERE cfl_team = "Edmonton (2)"
null
general
ผลลัพธ์ของเกม los angeles rams คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the result of the los angeles rams game?It is not neccessary to use all the tables.
table_9746: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text]
SELECT "Result" FROM table_9746 WHERE "Opponent" = 'los angeles rams'
null
general
มีสายการบินใดบ้างที่มีเที่ยวบิน JET ระหว่างพิตส์เบิร์กและบัลติมอร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
does any airline have a JET flight between PITTSBURGH and BALTIMOREIt is not neccessary to use all the tables.
ground_service: city_code [ text] airport_code [ text] transport_type [ text] ground_fare [ int]
SELECT DISTINCT flight.flight_id 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 (aircraft.propulsion = 'JET' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND equipment_sequence.aircraft_code = aircraft.aircraft_code AND flight.aircraft_code_sequence = equipment_sequence.aircraft_code_sequence AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
จำนวนสัปดาห์ทั้งหมดที่เกมนี้เล่นที่ Ivor Wynne Stadium คือเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the total number of weeks where the game played Ivor Wynne Stadium?It is not neccessary to use all the tables.
table_24604: "Week" [ real] "Date" [ text] "Opponent" [ text] "Location" [ text] "Attendance" [ real] "Record" [ text]
SELECT COUNT("Week") FROM table_24604 WHERE "Location" = 'Ivor Wynne Stadium'
null
general
คือ TW เที่ยวบิน 497 766 จาก ST. ปีเตอร์สเบิร์กไปมิลวอกีโดยมีจุดจอด 1 แห่งพรุ่งนี้เช้าไม่จำเป็นต้องใช้ทุกโต๊ะ
is TW flight 497 766 from ST. PETERSBURG to MILWAUKEE with 1 stop available tomorrow morningIt is not neccessary to use all the tables.
ground_service: city_code [ text] airport_code [ text] transport_type [ text] ground_fare [ int]
SELECT DISTINCT FLIGHT_0.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 AS FLIGHT_0, flight AS FLIGHT_1, flight AS FLIGHT_2, flight_leg AS FLIGHT_LEG_0, flight_leg AS FLIGHT_LEG_1 WHERE ((((((date_day.day_number = 20 AND date_day.month_number = 1 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND FLIGHT_0.flight_days = days.days_code AND FLIGHT_0.flight_id = FLIGHT_LEG_1.flight_id AND FLIGHT_2.flight_id = FLIGHT_LEG_1.leg_flight AND FLIGHT_2.flight_number = 766) AND FLIGHT_0.flight_id = FLIGHT_LEG_0.flight_id AND FLIGHT_1.flight_id = FLIGHT_LEG_0.leg_flight AND FLIGHT_1.flight_number = 497) AND FLIGHT_0.stops = 1) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND FLIGHT_0.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ST. PETERSBURG' AND FLIGHT_0.from_airport = AIRPORT_SERVICE_0.airport_code) AND FLIGHT_0.airline_code = 'TW') AND FLIGHT_0.departure_time BETWEEN 0 AND 1200
null
general
จำนวนรวมของ PIW Class 'The Adventures Of... คืออะไร และมีคะแนนมากกว่า 94.6 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6?It is not neccessary to use all the tables.
table_45318: "Year" [ real] "Placement" [ text] "Score" [ real] "Class" [ text]
SELECT COUNT("Year") FROM table_45318 WHERE "Class" = 'piw' AND "Program Title" = 'the adventures of...' AND "Score" > '94.6'
null
general
Kerry ได้คะแนนเสียงกี่คะแนนในเคาน์ตีที่ให้คะแนน Bush 189,605 คะแนน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many votes did Kerry get in the county that gave Bush 189,605 votes?It is not neccessary to use all the tables.
table_name_46: kerry_number [ INTEGER] bush_number [ VARCHAR]
SELECT AVG(kerry_number) FROM table_name_46 WHERE bush_number = 189 OFFSET 605
null
general
ในภาคเรียนหน้าจะเปิดรับสมัคร 480 เมื่อใด ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
In next semester when is 480 offered ?It is not neccessary to use all the tables.
offering_instructor: offering_instructor_id [ int] offering_id [ int] instructor_id [ int]
SELECT DISTINCT course_offering.end_time, course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.start_time, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 480 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
null
general
ฤดูกาลใดมีอันดับ 2?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which season has rank 2?It is not neccessary to use all the tables.
table_name_35: season [ VARCHAR] rank [ VARCHAR]
SELECT season FROM table_name_35 WHERE rank = "2"
null
general
การเปลี่ยนแปลงตามธรรมชาติที่มีอัตราการเสียชีวิตอย่างหยาบอยู่ที่ 8.7 และการเกิดมีชีพน้อยกว่า 472 ครั้งคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is natural change with a crude death rate of 8.7 and less than 472 live births?It is not neccessary to use all the tables.
table_55211: "Deaths" [ real]
SELECT "Natural change" FROM table_55211 WHERE "Crude death rate (per 1000)" = '8.7' AND "Live births" < '472'
null
general
วันที่ 27 ต.ค. ได้กี่คะแนน ไม่จำเป็นต้องใช้ทุกตาราง
How many points were there scored on October 27?It is not neccessary to use all the tables.
table_25949: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Attendance" [ real] "Record" [ text] "Points" [ real]
SELECT MAX("Points") FROM table_25949 WHERE "Date" = 'October 27'
null
general
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้ค้นหา Hire_date และผลรวมของ Employee_id bin Hire_date ตามวันทำงาน และแสดงภาพด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees who was hired before 2002-06-21, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart.It is not neccessary to use all the tables.
countries: COUNTRY_ID [ varchar(2)] COUNTRY_NAME [ varchar(40)] REGION_ID [ decimal(100)]
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21'
null
general
แสดงผู้ใช้ในช่วงชื่อเสียงที่ระบุ โดยมีอัตราส่วนของคำตอบที่ยอมรับ... แสดงผู้ใช้ในช่วงชื่อเสียงที่ระบุ โดยมีอัตราส่วนของคำตอบที่ยอมรับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the users in a specified reputation range, with ratio of answers accepted.. Show the users in a specified reputation range, with ratio of answers accepted.It is not neccessary to use all the tables.
Comments: Id [ number] PostId [ number] Score [ number] Text [ text] CreationDate [ time] UserDisplayName [ text] UserId [ number] ContentLicense [ text]
SELECT u.DisplayName, u.Reputation, u.Id, COUNT(a.Id) AS AcceptCount, (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = u.Id AND PostTypeId = 2) AS AnswerCount, (CAST(COUNT(a.Id) AS FLOAT) / (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = u.Id AND PostTypeId = 2) * 100) AS AcceptedPercentage FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id INNER JOIN Users AS u ON u.Id = a.OwnerUserId WHERE (u.Reputation >= @RepMin AND u.Reputation <= @RepMax) AND a.PostTypeId = 2 GROUP BY u.Id, u.DisplayName, u.Reputation ORDER BY AcceptedPercentage DESC
null
general
Born-Died คืออะไร เมื่อสิ้นสุดวาระคือวันที่ 19 มกราคม พ.ศ. 2486 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Born-Died, when Term End is 19 January 1943?It is not neccessary to use all the tables.
table_name_60: born_died [ VARCHAR] term_end [ VARCHAR]
SELECT born_died FROM table_name_60 WHERE term_end = "19 january 1943"
null
general
ผู้แทนพรรคประชาธิปัตย์มีทั้งหมดกี่คน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the total number of representatives from the democratic party ?It is not neccessary to use all the tables.
table_203_16: id [ number] "name" [ text] "party" [ text] "notes" [ text]
SELECT COUNT(*) FROM table_203_16 WHERE "party" = 'democratic'
null
general
ตอนที่ bb เป็น 20/16 ชื่ออะไรครับ ไม่จำเป็นต้องใช้ตารางทั้งหมดครับ
what is the title of the episode where b b is 20/16It is not neccessary to use all the tables.
table_19485888_1: title__french_____english_ [ VARCHAR] b_b_ [ VARCHAR] _corresponds_to_tf1s_broadcast_schedule [ VARCHAR]
SELECT title__french_____english_ FROM table_19485888_1 WHERE b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16
null
general
มีผู้ป่วยจำนวนกี่คนที่รักษาตัวในโรงพยาบาลมากกว่า 1 วัน และชื่อยา timolol maleate 0.5%?ไม่จำเป็นต้องใช้ทุกตาราง
how many patients whose days of hospital stay is greater than 1 and drug name is timolol maleate 0.5%?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "1" AND prescriptions.drug = "Timolol Maleate 0.5%"
null
general
เงินสูงสุด ($ ) คืออะไรเมื่อ Par น้อยกว่า 2? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest Money ( $ ), when To Par is less than 2?It is not neccessary to use all the tables.
table_name_11: money___ [ INTEGER] to_par [ INTEGER]
SELECT MAX(money___) AS $__ FROM table_name_11 WHERE to_par < 2
null
general
ส่งกลับแผนภูมิแท่งเกี่ยวกับจำนวนการจองสำหรับหมายเลขอพาร์ทเมนต์แต่ละหมายเลข และจัดอันดับจากสูงไปต่ำตามแกน x ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart about the number bookings for each apartment number, and rank from high to low by the x-axis.It is not neccessary to use all the tables.
Apartment_Buildings: building_id [ INTEGER] building_short_name [ CHAR(15)] building_full_name [ VARCHAR(80)] building_description [ VARCHAR(255)] building_address [ VARCHAR(255)] building_manager [ VARCHAR(50)] building_phone [ VARCHAR(80)]
SELECT apt_number, COUNT(apt_number) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id GROUP BY apt_number ORDER BY apt_number DESC
null
general
ใครมีการรีบาวด์สูงสุดของเกมด้วยหมายเลขเกมสูงกว่า 65 เมื่อวันที่ 28 มีนาคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who had the highest rebounds of the game with a game number higher than 65 on March 28?It is not neccessary to use all the tables.
table_51164: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "High rebounds" FROM table_51164 WHERE "Game" > '65' AND "Date" = 'march 28'
null
general
ฝูงชน 78,431 คนมาร่วมงานวันไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On what date was the attendance of the crowd 78,431?It is not neccessary to use all the tables.
table_52231: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text]
SELECT "Date" FROM table_52231 WHERE "Attendance" = '78,431'
null
general
สำหรับพนักงานทุกคนที่มีตัวอักษร D หรือ S ในชื่อ ให้ค้นหา Hire_date และผลรวมของ Employee_id bin Hire_date ตามวันทำงาน แล้วแสดงภาพด้วยแผนภูมิแท่ง แสดงแกน y ตามลำดับ ไม่จำเป็นต้องใช้ทั้งหมด ตาราง
For all employees who have the letters D or S in their first name, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart, show y axis in desc order.It is not neccessary to use all the tables.
regions: REGION_ID [ decimal(50)] REGION_NAME [ varchar(25)]
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(EMPLOYEE_ID) DESC
null
general
สำหรับพนักงานที่ไม่มีงานทำในอดีต แผนภูมิแท่งจะแสดงการกระจายของ job_id และค่าเฉลี่ยของเงินเดือน และจัดกลุ่มตามแอตทริบิวต์ job_id ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees who did not have any job in the past, a bar chart shows the distribution of job_id and the average of salary , and group by attribute job_id.It is not neccessary to use all the tables.
employees: EMPLOYEE_ID [ decimal(60)] FIRST_NAME [ varchar(20)] LAST_NAME [ varchar(25)] EMAIL [ varchar(25)] PHONE_NUMBER [ varchar(20)] HIRE_DATE [ date] JOB_ID [ varchar(10)] SALARY [ decimal(82)] COMMISSION_PCT [ decimal(22)] MANAGER_ID [ decimal(60)] DEPARTMENT_ID [ decimal(40)]
SELECT JOB_ID, AVG(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID
null
general
จำนวนไวน์สำหรับองุ่นแต่ละชนิดมีเท่าใด เขียนเป็นแผนภูมิแท่ง แสดงตามจำนวนทั้งหมดโดยเรียงจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the numbers of wines for different grapes Plot them as bar chart, show by the the total number in ascending.It is not neccessary to use all the tables.
grapes: ID [ INTEGER] Grape [ TEXT] Color [ TEXT]
SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY COUNT(*)
null
general
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตผลิตภัณฑ์แต่ละราย แสดงให้ฉันเห็นเกี่ยวกับการกระจายของผู้ก่อตั้งและผลรวมของรายได้ และจัดกลุ่มตามแอตทริบิวต์ของผู้ก่อตั้งในแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those records from the products and each product's manufacturer, show me about the distribution of founder and the sum of revenue , and group by attribute founder 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 Founder, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
null
general
เลกที่ 1 คืออะไรเมื่อทีมหมายเลข 1 คือ CSU SIBIU?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the 1st leg when team number 1 is CSU SIBIU?It is not neccessary to use all the tables.
table_64691: "Agg." [ text]
SELECT "1st leg" FROM table_64691 WHERE "Team #1" = 'csu sibiu'
null
general
จำนวนการเข้ารับการรักษาในหอผู้ป่วยหนักที่ผู้ป่วย 035-2205 มีในระหว่างปีนี้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
the number of intensive care unit visits that patient 035-2205 had during this year.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(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-2205') AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
null
general
มีคนไข้กี่คนที่อายุเข้ารักษาน้อยกว่า 2,184 ปี และวินิจฉัยว่า ซีโรมายาว ทำให้ขั้นตอนซับซ้อน? ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose admission year is less than 2184 and diagnoses long title is seroma complicating a procedure?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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2184" AND diagnoses.long_title = "Seroma complicating a procedure"
null
general
เพศของผู้ป่วย 25869 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are patient 25869's genders?It is not neccessary to use all the tables.
cost: row_id [ number] subject_id [ number] hadm_id [ number] event_type [ text] event_id [ number] chargetime [ time] cost [ number]
SELECT patients.gender FROM patients WHERE patients.subject_id = 25869
null
general
ข้อกำหนดเบื้องต้นที่พบบ่อยที่สุดในภาคการศึกษานี้คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the most common prerequisite this semester ?It is not neccessary to use all the tables.
program_requirement: program_id [ int] category [ varchar] min_credit [ int] additional_req [ varchar]
SELECT COUNT(DISTINCT course_prerequisite.course_id), course.department, course.name, course.number FROM course, course_offering, course_prerequisite, semester WHERE course.course_id = course_offering.course_id AND course.course_id = course_prerequisite.pre_course_id AND course.department = 'EECS' AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016 GROUP BY course_prerequisite.pre_course_id ORDER BY COUNT(course_prerequisite.course_id) DESC
null
general
ชื่ออะไรที่เห็น 4 ฮีตและเลนที่สูงกว่า 7 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the name that saw 4 heats and a lane higher than 7?It is not neccessary to use all the tables.
table_80288: "Heat" [ real] "Lane" [ real] "Name" [ text] "Nationality" [ text] "Time" [ text]
SELECT "Name" FROM table_80288 WHERE "Heat" = '4' AND "Lane" > '7'
null
general
จำนวนผู้ป่วยตามใบสั่งยาประเภทหลักที่ได้รับการวินิจฉัยว่ามีอาการบวมน้ำเกี่ยวกับหลอดเลือด มิได้จำแนกไว้ที่ใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients on main type drug prescription who had diagnoses of angioneurotic edema, not elsewhere classified?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Angioneurotic edema, not elsewhere classified" AND prescriptions.drug_type = "MAIN"
null
general
หมายเลข 2 คืออะไร เมื่อหมายเลข 9 คือ Mia?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is No. 2, when No. 9 is Mia?It is not neccessary to use all the tables.
table_name_56: no_2 [ VARCHAR] no_9 [ VARCHAR]
SELECT no_2 FROM table_name_56 WHERE no_9 = "mia"
null
general
อะไรจะแสดงในปี 2009 เมื่อปี 2008 คือ A, 2012 คือ 1r, 2010 คือ q2 และ 2011 คือ 2r?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r?It is not neccessary to use all the tables.
table_65399: "Tournament" [ text] "2007" [ text] "2008" [ text] "2009" [ text] "2010" [ text] "2011" [ text] "2012" [ text]
SELECT "2009" FROM table_65399 WHERE "2008" = 'a' AND "2012" = '1r' AND "2010" = 'q2' AND "2011" = '2r'
null
general
ครั้งแรกที่ผู้ป่วย 12927 มีฮีมาโตคริตสูงสุดในเดือนนี้คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the first time patient 12927 had a maximum of hematocrit in this month?It is not neccessary to use all the tables.
procedures_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time]
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12927) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hematocrit') AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY labevents.valuenum DESC, labevents.charttime LIMIT 1
null
general
จำนวนผู้ป่วยที่อายุน้อยกว่า 89 ปี และได้รับการวินิจฉัยว่าชื่อยาวคือยาระงับประสาทที่ใช้เบนโซไดอะซีพีนซึ่งก่อให้เกิดผลเสียต่อการใช้ในการรักษาคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients whose age is less than 89 and diagnoses long title is benzodiazepine-based tranquilizers causing adverse effects in therapeutic use?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "89" AND diagnoses.long_title = "Benzodiazepine-based tranquilizers causing adverse effects in therapeutic use"
null
general
สำหรับแต่ละฝ่าย ให้ส่งคืนชื่อปาร์ตี้และจำนวนผู้ร่วมประชุมจากปาร์ตี้นั้น เขียนเป็นแผนภูมิแท่ง และแถบเรียงลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
For each party, return the name of the party and the number of delegates from that party Plot them as bar chart, and sort bar from high to low order.It is not neccessary to use all the tables.
election: Election_ID [ int] Counties_Represented [ text] District [ int] Delegate [ text] Party [ int] First_Elected [ real] Committee [ text]
SELECT T2.Party, AVG(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY T2.Party DESC
null
general
ผู้ที่ได้รับเลือกเป็นลำดับแรกคนใดไม่มีผู้ดำรงตำแหน่งใด (ที่นั่งใหม่) ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Which First elected has a Incumbent of none (new seat)?It is not neccessary to use all the tables.
table_37902: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text]
SELECT "First elected" FROM table_37902 WHERE "Incumbent" = 'none (new seat)'
null
general
ร่าง MLB ใดที่มีโรงเรียนมัธยมแห่ง Green Valley High School?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What MLB draft has a School of green valley high school?It is not neccessary to use all the tables.
table_57549: "Player" [ text] "Position" [ text] "School" [ text] "Hometown" [ text]
SELECT "MLB Draft" FROM table_57549 WHERE "School" = 'green valley high school'
null
general
อะไรคือความท้าทายทางวิทยาศาสตร์หลังเวทีสุริยะ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the challenge for scientific after the solar stage ?It is not neccessary to use all the tables.
table_203_185: id [ number] "season" [ text] "a\ntechnical" [ text] "b\nscientific" [ text] "d\nimprovisational" [ text] "e\nstructural" [ text] "po\nprojectoutreach\u00ae" [ text]
SELECT "b\nscientific" FROM table_203_185 WHERE "season" > (SELECT "season" FROM table_203_185 WHERE "b\nscientific" = 'the solar stage') ORDER BY "season" LIMIT 1
null
general
คะแนนของเกมที่เล่นบนพื้นหญ้าเป็นเท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the score of the game that was played on a grass surface?It is not neccessary to use all the tables.
table_name_24: score [ VARCHAR] surface [ VARCHAR]
SELECT score FROM table_name_24 WHERE surface = "grass"
null
general
แต่ละวิชามีกี่วิชา? โปรดพล็อตแผนภูมิแท่งและแสดงรายการตาม Y ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many courses for each subject? Plot a bar chart, and list by the Y in asc please.It is not neccessary to use all the tables.
Student_Course_Enrolment: registration_id [ INTEGER] student_id [ INTEGER] course_id [ INTEGER] date_of_enrolment [ DATETIME] date_of_completion [ DATETIME]
SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY COUNT(*)
null
general
แจ้งให้ฉันทราบสถานะการเสียชีวิตและวันที่ผู้ป่วย พอล ดันน์ เข้ารับการรักษาในโรงพยาบาล ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
let me know the death status and days for which patient paul dunn was hospitalized.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.expire_flag FROM demographic WHERE demographic.name = "Paul Dunn"
null
general
ผู้ป่วยที่สถานะเสียชีวิตเป็น 0 และปีเกิดน้อยกว่า พ.ศ. 2526 มีกี่ราย ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients whose death status is 0 and year of birth is less than 2083?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.expire_flag = "0" AND demographic.dob_year < "2083"
null
general
มีการบริหารอิเล็กโทรไลต์ให้กับผู้ป่วย 013-33898 ในการเข้ารับการรักษาในโรงพยาบาลในปัจจุบันหรือไม่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
was there a administration of electrolytes performed on patient 013-33898 in their current hospital encounter?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(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-33898' AND patient.hospitaldischargetime IS NULL)) AND treatment.treatmentname = 'administration of electrolytes'
null
general
จาง ซิ่วหยุน อยู่ประเทศอะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
what is the country for zhang xiuyun?It is not neccessary to use all the tables.
table_66211: "Rank" [ real] "Athlete" [ text] "Country" [ text] "Time" [ text] "Notes" [ text]
SELECT "Country" FROM table_66211 WHERE "Athlete" = 'zhang xiuyun'
null
general
Case Suffix (Case) คืออะไร เมื่อความหมายภาษาอังกฤษคือ 'to Georgia, in Georgia'? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Case Suffix (Case), when English Meaning is 'to Georgia, in Georgia'?It is not neccessary to use all the tables.
table_name_54: case_suffix__case_ [ VARCHAR] english_meaning [ VARCHAR]
SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in georgia"
null
general
แสดงการขนส่งภาคพื้นดินในเทศมณฑลเวสต์เชสเตอร์ให้ฉันดู ไม่จำเป็นต้องใช้ตารางทั้งหมด
show me ground transportation in WESTCHESTER COUNTYIt is not neccessary to use all the tables.
code_description: code [ varchar] description [ text]
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'WESTCHESTER COUNTY' AND ground_service.city_code = city.city_code
null
general
เจ้าของหรือเจ้าของรายใดมีคำอธิบายการปฏิบัติงาน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What owner or owners have an operational description?It is not neccessary to use all the tables.
table_name_34: owner_s_ [ VARCHAR] description [ VARCHAR]
SELECT owner_s_ FROM table_name_34 WHERE description = "operational"
null
general
ผู้ป่วยที่มีโรคประจำตัวคือภาวะขาดออกซิเจนในโรงพยาบาลสูงสุดคือกี่วัน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is maximum days of hospital stay of patients whose primary disease is hypoxia?It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "HYPOXIA"
null
general
ปีใดมีกำไรสุทธิน้อยที่สุด ?ไม่จำเป็นต้องใช้ทุกตาราง
what year had the least net profit ?It is not neccessary to use all the tables.
table_203_847: id [ number] "turnover" [ text]
SELECT "financial year" FROM table_203_847 ORDER BY "net profit" LIMIT 1
null
general
สนามไหนมีผลลัพธ์เป็น 1 0 ไม่จำเป็นต้องใช้ทุกโต๊ะ
Which venue has a Result of 1 0?It is not neccessary to use all the tables.
table_name_96: venue [ VARCHAR] result [ VARCHAR]
SELECT venue FROM table_name_96 WHERE result = "1–0"
null
general
เกมที่ 2 เล่นวันไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On what day was game 2 played?It is not neccessary to use all the tables.
table_name_56: date [ VARCHAR] game [ VARCHAR]
SELECT date FROM table_name_56 WHERE game = 2
null
general
หมายเลขเสมอกันในรอบที่พบกับนิวคาสเซิ่ล ยูไนเต็ด คู่ต่อสู้ที่มาเยือนคือเท่าไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What was the tie number for the round against visiting opponent Newcastle United?It is not neccessary to use all the tables.
table_name_53: tie_no [ VARCHAR] away_team [ VARCHAR]
SELECT tie_no FROM table_name_53 WHERE away_team = "newcastle united"
null
general
เมื่อทีมเยือนทำคะแนนได้ 15.18 (108) มีคนอยู่ในฝูงชนกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many people were in the crowd when the away team scored 15.18 (108)?It is not neccessary to use all the tables.
table_51915: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Crowd" FROM table_51915 WHERE "Away team score" = '15.18 (108)'
null
general
เมืองที่ได้รับใบอนุญาตใดมีเครือข่ายอิสระ มีรูปแบบหลากหลาย และเป็นสถานี KKUP?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which city of license has an independent network affiliation, a variety format and is station KKUP?It is not neccessary to use all the tables.
table_name_9: city_of_license [ VARCHAR] station [ VARCHAR] network_affiliation [ VARCHAR] format [ VARCHAR]
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup"
null
general
รายงานใดสำหรับ Townsville Entertainment Centre?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which report is for Townsville Entertainment Centre?It is not neccessary to use all the tables.
table_49866: "Date" [ text] "Score" [ text] "Venue" [ text] "Report" [ text]
SELECT "Report" FROM table_49866 WHERE "Venue" = 'townsville entertainment centre'
null
general
ตั้งชื่อทัวร์นาเมนต์สำหรับพื้นหญ้าและคู่ต่อสู้ในรอบชิงชนะเลิศว่า paul baccanelloไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Name the tournament for grass surface and opponent in the final being paul baccanelloIt is not neccessary to use all the tables.
table_name_11: tournament [ VARCHAR] surface [ VARCHAR] opponent_in_the_final [ VARCHAR]
SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello"
null
general
ใครอยู่ในเดือนพฤศจิกายนหลังปี 1988 เมื่อ Prinzzess อยู่ในเดือนตุลาคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is in November after 1988 when Prinzzess is in October?It is not neccessary to use all the tables.
table_14154: "Year" [ real] "September" [ text] "October" [ text] "November" [ text] "December" [ text]
SELECT "November" FROM table_14154 WHERE "Year" > '1988' AND "October" = 'prinzzess'
null
general
เมื่อ Yusuke Hatanaka เป็นผู้ชนะบนเวทีในประเภท tonton susanto General ประเภทนักแข่งชาวมาเลเซียคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When Yusuke Hatanaka was the stage winner in the tonton susanto general classification, what was the malaysian rider classification?It is not neccessary to use all the tables.
table_38699: "Stage" [ text]
SELECT "Malaysian rider classification" FROM table_38699 WHERE "General classification" = 'tonton susanto' AND "Stage winner" = 'yusuke hatanaka'
null
general
บอกวิธีการรับประทานครีม clobetasol propionate 0.05% ให้ฉันทราบหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the method of intake of clobetasol propionate 0.05% ointment?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 DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'clobetasol propionate 0.05% ointment'
null
general
Alexander Woo เขียนบทและกำกับโดย Scott Winant กี่ตอน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many episodes were written by Alexander Woo and directed by Scott Winant?It is not neccessary to use all the tables.
table_26493520_1: title [ VARCHAR] written_by [ VARCHAR] directed_by [ VARCHAR]
SELECT COUNT(title) FROM table_26493520_1 WHERE written_by = "Alexander Woo" AND directed_by = "Scott Winant"
null
general
ให้ระบุจำนวนผู้ป่วยที่เข้ารับการรักษาก่อนปี พ.ศ. 2111 และตรวจของเหลวในห้องปฏิบัติการเป็นเยื่อหุ้มปอด ไม่จำเป็นต้องใช้ตารางทั้งหมด
give the number of patients whose admission year is before 2111 and lab test fluid is pleural.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.admityear < "2111" AND lab.fluid = "Pleural"
null
general
ผลการแข่งขันที่จัดขึ้นในวันที่ 27 ธันวาคม พ.ศ. 2547 โดยมีสัปดาห์มากกว่า 2 สัปดาห์เป็นอย่างไรบ้าง ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the result for the game held on December 27, 2004 with a week greater than 2?It is not neccessary to use all the tables.
table_32707: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ text]
SELECT "Result" FROM table_32707 WHERE "Week" > '2' AND "Date" = 'december 27, 2004'
null
general
Interregnum สิ้นสุดลงสำหรับเคานต์พาลาไทน์แห่งแซกโซนีแห่งเฟรดเดอริก ออกัสตัส ที่ 1 ผู้มีสิทธิเลือกแห่งแซกโซนีคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Interregnum ended for Count Palatine of Saxony of frederick augustus i, elector of saxony?It is not neccessary to use all the tables.
table_name_37: interregnum_ended [ VARCHAR] count_palatine_of_saxony [ VARCHAR]
SELECT interregnum_ended FROM table_name_37 WHERE count_palatine_of_saxony = "frederick augustus i, elector of saxony"
null
general
ระบุจำนวนผู้ป่วยโรคหลักคือ ภาวะหัวใจล้มเหลว และปีที่เข้ารับการรักษาน้อยกว่า 2,155 ปี ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose primary disease is congestive heart failure and admission year is less than 2155?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.diagnosis = "CONGESTIVE HEART FAILURE" AND demographic.admityear < "2155"
null
general
คิวมูลัสก่อตั้งในปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
In what year was cumulus founded?It is not neccessary to use all the tables.
table_27295: "Freq" [ real] "Call" [ text] "City" [ text] "Owner" [ text] "Start" [ real] "Nickname" [ text] "Format" [ text] "Stereo" [ text]
SELECT MIN("Start") FROM table_27295 WHERE "Owner" = 'Cumulus'
null
general
ผู้ใช้ 1,000 อันดับแรกจากอินเดีย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 1000 users from India.It is not neccessary to use all the tables.
CloseReasonTypes: Id [ number] Name [ text] Description [ text]
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%india%' OR UPPER(Location) LIKE '%IND' ORDER BY Reputation DESC LIMIT 1000
null
general
วันที่สั่งซื้อของคำสั่งซื้อที่มีราคาสูงกว่า 1,000 คืออะไร และนับตามแผนภูมิเส้น ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the order dates of orders with price higher than 1000, and count them by a line chartIt is not neccessary to use all the tables.
Drama_Workshop_Groups: Workshop_Group_ID [ INTEGER] Address_ID [ INTEGER] Currency_Code [ CHAR(15)] Marketing_Region_Code [ CHAR(15)] Store_Name [ VARCHAR(255)] Store_Phone [ VARCHAR(255)] Store_Email_Address [ VARCHAR(255)] Other_Details [ VARCHAR(255)]
SELECT Order_Date, COUNT(Order_Date) FROM Customer_Orders AS T1 JOIN Order_Items AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_Price > 1000
null
general
ถ้าความสูงเป็นนิ้วคือ 5'7' ค่าที่แสดงคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
If the height in inches is 5'7', what is the represented?It is not neccessary to use all the tables.
table_26165: "Represented" [ text] "Contestant" [ text] "Age" [ real] "Hometown" [ text]
SELECT "Represented" FROM table_26165 WHERE "Height (in.)" = '5''7'
null
general
ตำแหน่งใดที่มีรายได้มากกว่า $400?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What placement gets more than $400?It is not neccessary to use all the tables.
table_name_18: place [ VARCHAR] money___$__ [ INTEGER]
SELECT place FROM table_name_18 WHERE money___$__ > 400
null
general
ตัวเลขเฉลี่ยปีที่มีชัยชนะมากกว่า 0 คลาสคือ 250cc และแต้มคือ 95 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95?It is not neccessary to use all the tables.
table_74984: "Year" [ real] "Class" [ text] "Team" [ text] "Points" [ real] "Wins" [ real]
SELECT AVG("Year") FROM table_74984 WHERE "Wins" > '0' AND "Class" = '250cc' AND "Points" = '95'
null
general
Claude Fuller ดำรงตำแหน่งการเลือกตั้งครั้งแรกกี่ครั้ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many first elections have Claude Fuller as incumbent?It is not neccessary to use all the tables.
table_18653: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT COUNT("First elected") FROM table_18653 WHERE "Incumbent" = 'Claude Fuller'
null
general
มีทัชดาวน์กี่แต้มที่มีแต้มพิเศษมากกว่า 0 และแต้ม 48 ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many Touchdowns have Extra points larger than 0, and Points of 48?It is not neccessary to use all the tables.
table_37812: "Player" [ text] "Touchdowns" [ real] "Points" [ real]
SELECT COUNT("Touchdowns") FROM table_37812 WHERE "Extra points" > '0' AND "Points" = '48'
null
general
ปี 2004 คืออะไร เมื่อปี 2008 เป็น 'WTA Premier 5 Tournaments'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is 2004, when 2008 is 'WTA Premier 5 Tournaments'?It is not neccessary to use all the tables.
table_name_19: Id [ VARCHAR]
SELECT 2004 FROM table_name_19 WHERE 2008 = "wta premier 5 tournaments"
null
general
ไก่งวงได้เหรียญเงินกี่เหรียญ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many silver medals did turkey win ?It is not neccessary to use all the tables.
table_203_812: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number]
SELECT "silver" FROM table_203_812 WHERE "nation" = 'turkey'
null
general
แท็กยอดนิยมในช่วง 30 วันที่ผ่านมา ไม่จำเป็นต้องใช้ตารางทั้งหมด
Popular tags over last 30 days.It is not neccessary to use all the tables.
Posts: Id [ number] PostTypeId [ number] AcceptedAnswerId [ number] ParentId [ number] CreationDate [ time] DeletionDate [ time] Score [ number] ViewCount [ number] Body [ text] OwnerUserId [ number] OwnerDisplayName [ text] LastEditorUserId [ number] LastEditorDisplayName [ text] LastEditDate [ time] LastActivityDate [ time] Title [ text] Tags [ text] AnswerCount [ number] CommentCount [ number] FavoriteCount [ number] ClosedDate [ time] CommunityOwnedDate [ time] ContentLicense [ text]
WITH tags_info AS (SELECT TagName, Votes.Id AS V_Id, Posts.Id AS P_Id, Posts.OwnerUserId AS P_OwnerUserId, Posts.CreationDate AS P_CreationDate FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId AND Posts.PostTypeId = 2 INNER JOIN Votes ON Votes.PostId = Posts.Id AND VoteTypeId = 2) SELECT TagName FROM tags_info WHERE P_CreationDate >= DATEADD(DD, -30, GETDATE()) GROUP BY TagName HAVING COUNT(P_Id) >= 90 ORDER BY TagName
null
general
ด้วยคำตอบที่ยอมรับได้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
s with an accepted answer.It is not neccessary to use all the tables.
PostHistoryTypes: Id [ number] Name [ text]
SELECT Posts.Id AS "post_link", Posts.ViewCount AS "views", Posts.AnswerCount AS "#_answers" FROM Posts WHERE PostTypeId = 1 AND NOT Posts.AcceptedAnswerId IS NULL ORDER BY Posts.AnswerCount DESC
null
general
ตั้งชื่อคะแนนของ ไมเคิล บูเอร์ค และ รัสเซลล์ ฮาวเวิร์ด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the scores for michael buerk and russell howardIt is not neccessary to use all the tables.
table_2904: "Episode" [ text] "Scores" [ text]
SELECT "Scores" FROM table_2904 WHERE "Lees team" = 'Michael Buerk and Russell Howard'
null
general
เกมแรกสุดที่มีคะแนน 99-89 คืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the earliest game with a score of 99-89?It is not neccessary to use all the tables.
table_76884: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Record" [ text]
SELECT MIN("Game") FROM table_76884 WHERE "Score" = '99-89'
null
general
รหัสและรายละเอียดสำหรับทุกองค์กรที่มีทุนสนับสนุนมากกว่า 6,000 ดอลลาร์คืออะไร แสดงแผนภูมิแท่ง และคุณสามารถเรียงลำดับจากมากไปน้อยตามจำนวนทั้งหมดได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the ids and details for all organizations that have grants of more than 6000 dollars Show bar chart, and could you order in descending by the total number?It is not neccessary to use all the tables.
Grants: grant_id [ INTEGER] organisation_id [ INTEGER] grant_amount [ DECIMAL(194)] grant_start_date [ DATETIME] grant_end_date [ DATETIME] other_details [ VARCHAR(255)]
SELECT T2.organisation_details, T1.organisation_id FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_details ORDER BY T1.organisation_id DESC
null
general
บอกช่วงเวลาสำหรับการโทรว่าเหตุใดจึงไม่จำเป็นต้องใช้ตารางทั้งหมด
Tell me the timeslot for calls of whynIt is not neccessary to use all the tables.
table_31967: "Calls" [ text] "Frequency" [ text] "Branding" [ text] "Format" [ text] "Timeslot" [ text]
SELECT "Timeslot" FROM table_31967 WHERE "Calls" = 'whyn'
null
general
ให้จำนวนวันนอนโรงพยาบาลสูงสุดสำหรับคนไข้ที่เกิดหลังปี 2596 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
give the maximum days of hospital stay for patients who are born after 2053.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.days_stay) FROM demographic WHERE demographic.dob_year > "2053"
null
general
การสำรวจความคิดเห็นของ Quantum Research จัดขึ้นเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When was Quantum Research's poll conducted?It is not neccessary to use all the tables.
table_20683381_2: date_of_opinion_poll [ VARCHAR] conductor [ VARCHAR]
SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research"
null
general
'เควิน สเปซีย์' เกิดในปีใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
In what year was ' Kevin Spacey ' born ?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 birth_year FROM writer WHERE name = 'Kevin Spacey'
null
general
ตั้งชื่อโคโรนีสำหรับ marowijne เป็น 6.8% ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the coronie for marowijne being 6.8%It is not neccessary to use all the tables.
table_21149: "Religion" [ text] "Suriname" [ text] "Paramaribo" [ text] "Wanica" [ text] "Nickerie" [ text] "Coronie" [ text] "Saramacca" [ text] "Commewijne" [ text] "Marowijne" [ text] "Para" [ text] "Brokopondo" [ text] "Sipaliwini" [ text]
SELECT "Coronie" FROM table_21149 WHERE "Marowijne" = '6.8%'
null
general
ชื่อส่วนตัวและนามสกุลของนักเรียนคืออะไร? จัดเรียงผลลัพธ์ตามลำดับตัวอักษรของนามสกุล ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the personal names and family names of the students? Sort the result in alphabetical order of the family name.It is not neccessary to use all the tables.
subjects: subject_id [ number] subject_name [ text]
SELECT personal_name, family_name FROM students ORDER BY family_name
null
general
อะไรคือความพ่ายแพ้ของเกมเมื่อสถิติอยู่ที่ 46-84?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the loss of the game when the record was 46-84?It is not neccessary to use all the tables.
table_34841: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Attendance" [ text] "Record" [ text]
SELECT "Loss" FROM table_34841 WHERE "Record" = '46-84'
null
general
จำนวนหัวหน้าลูกเรือของทีม Fas Lane Racing ทั้งหมดคือเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What's the total number of crew chiefs of the Fas Lane Racing team?It is not neccessary to use all the tables.
table_1266602_1: crew_chief [ VARCHAR] team [ VARCHAR]
SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team = "FAS Lane Racing"
null
general
กระสุนที่ใช้ใน Weatherby มีน้ำหนักเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the weight of the bullet used in a Weatherby?It is not neccessary to use all the tables.
table_16010376_1: bullet_weight [ VARCHAR] source [ VARCHAR]
SELECT bullet_weight FROM table_16010376_1 WHERE source = "Weatherby"
null
general
Dick Saslaw ผู้ดำรงตำแหน่งอยู่ในเขตใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
In which district was the incumbent Dick Saslaw?It is not neccessary to use all the tables.
table_835: "District" [ text] "Incumbent" [ text] "Party" [ text] "Elected" [ real] "Status" [ text]
SELECT "District" FROM table_835 WHERE "Incumbent" = 'Dick Saslaw'
null
general
ระบุจำนวนคนไข้ที่มีรหัสยาคือ mago140 และหมวดการทดสอบในห้องปฏิบัติการคือ โลหิตวิทยา ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose drug code is mago140 and lab test category is hematology.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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "MAGO140" AND lab."CATEGORY" = "Hematology"
null
general
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2002 ให้เห็นภาพแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Hire_date และผลรวมของ department_id bin Hire_date ตามเวลา และแสดงแกน Y ตามลำดับ โดยไม่จำเป็นต้องใช้ตารางทั้งหมด .
For those employees who was hired before 2002-06-21, visualize a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time, and show Y-axis in desc order.It is not neccessary to use all the tables.
departments: DEPARTMENT_ID [ decimal(40)] DEPARTMENT_NAME [ varchar(30)] MANAGER_ID [ decimal(60)] LOCATION_ID [ decimal(40)]
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(DEPARTMENT_ID) DESC
null
general
แฟรงค์ เชฟ มาจากเขตใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What district is incumbent frank chelf from?It is not neccessary to use all the tables.
table_1341884_19: district [ VARCHAR] incumbent [ VARCHAR]
SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf"
null
general
ผ่านไปกี่วันแล้วนับตั้งแต่ผู้ป่วย 004-13127 ได้รับการทดสอบในห้องปฏิบัติการ -monos ครั้งล่าสุดในการเข้ารับการรักษาในโรงพยาบาลในปัจจุบัน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many days have elapsed since patient 004-13127 last received a -monos lab test on their current hospital 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 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-13127' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = '-monos' ORDER BY lab.labresulttime DESC LIMIT 1
null
general
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
2
Edit dataset card

Models trained or fine-tuned on AIAT/Machima-applydataset

Collection including AIAT/Machima-applydataset