Datasets:
AIAT
/

thai_instruction
stringlengths
8
429
eng_instruction
stringlengths
16
503
table
stringlengths
11
2.09k
sql
stringlengths
9
2.37k
pandas
stringlengths
1
635
real_table
stringclasses
2 values
ชื่อเรื่องของภาพยนตร์ทั้งหมดที่มีระดับดาวอยู่ระหว่าง 3 ถึง 5 คืออะไร และนับตามแผนภูมิแท่ง และคุณสามารถแสดงตามแกน y จากมากไปน้อยได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the titles of all movies that have rating star is between 3 and 5, and count them by a bar chart, and could you display by the y axis in descending?It is not neccessary to use all the tables.
Movie: mID [ int] title [ text] year [ int] director [ text]
SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title ORDER BY COUNT(title) DESC
null
general
เมื่อใดจะมีผู้ทำประตูนำของ ricky davis (20)? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
When has a Leading scorer of ricky davis (20)?It is not neccessary to use all the tables.
table_6819: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text]
SELECT "Date" FROM table_6819 WHERE "Leading scorer" = 'ricky davis (20)'
null
general
การวินิจฉัยที่พบบ่อยที่สุด 5 อันดับแรกที่ผู้ป่วยได้รับภายใน 2 เดือนหลังจากได้รับการวินิจฉัยว่าเป็นโรคกรดไหลย้อนในช่วงหนึ่งปีก่อนคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the top five most frequent diagnoses that patients were given within 2 months after being diagnosed with esophageal reflux during a year before?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 d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'esophageal reflux') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 5)
null
general
โรงเรียนมัธยมปลาย 26 มม. เพศอะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the gender of senior high school 26mm?It is not neccessary to use all the tables.
table_13555999_1: gender [ VARCHAR] senior_high_school__15_18_yrs_ [ VARCHAR]
SELECT gender FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm"
null
general
3 ขั้นตอนที่ได้รับบ่อยที่สุดสำหรับผู้ป่วยอายุ 60 ปีขึ้นไปคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the three most frequently given procedures for patients with age 60 or above?It is not neccessary to use all the tables.
microbiologyevents: row_id [ number] subject_id [ number] hadm_id [ number] charttime [ time] spec_type_desc [ text] org_name [ text]
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >= 60) GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 <= 3)
null
general
รหัส ชื่อ และสัญชาติของสถาปนิกที่สร้างโรงงานส่วนใหญ่คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the id, name and nationality of the architect who built most mills?It is not neccessary to use all the tables.
architect: id [ text] name [ text] nationality [ text] gender [ text]
SELECT T1.id, T1.name, T1.nationality FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
null
general
รัฐใดมีลูกค้ามากที่สุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which state has the most customers?It is not neccessary to use all the tables.
customers: customer_id [ number] customer_type_code [ text] address_line_1 [ text] address_line_2 [ text] town_city [ text] state [ text] email_address [ text] phone_number [ text]
SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) LIMIT 1
null
general
NERS 421 มีการบรรยายกี่ครั้งต่อสัปดาห์ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
NERS 421 has how many lectures per week ?It is not neccessary to use all the tables.
requirement: requirement_id [ int] requirement [ varchar] college [ varchar]
SELECT (SELECT SUM(CASE WHEN DERIVED_TABLEalias0.FRIDAY = 'Y' THEN 1 ELSE 0 END) + SUM(CASE WHEN DERIVED_TABLEalias0.MONDAY = 'Y' THEN 1 ELSE 0 END) + SUM(CASE WHEN DERIVED_TABLEalias0.SATURDAY = 'Y' THEN 1 ELSE 0 END) + SUM(CASE WHEN DERIVED_TABLEalias0.SUNDAY = 'Y' THEN 1 ELSE 0 END) + SUM(CASE WHEN DERIVED_TABLEalias0.THURSDAY = 'Y' THEN 1 ELSE 0 END) + SUM(CASE WHEN DERIVED_TABLEalias0.TUESDAY = 'Y' THEN 1 ELSE 0 END) + DERIVED_FIELDalias6 FROM (SELECT SUM(CASE WHEN DERIVED_TABLEalias0.FRIDAY = 'Y' THEN 1 ELSE 0 END), SUM(CASE WHEN DERIVED_TABLEalias0.MONDAY = 'Y' THEN 1 ELSE 0 END), SUM(CASE WHEN DERIVED_TABLEalias0.SATURDAY = 'Y' THEN 1 ELSE 0 END), SUM(CASE WHEN DERIVED_TABLEalias0.SUNDAY = 'Y' THEN 1 ELSE 0 END), SUM(CASE WHEN DERIVED_TABLEalias0.THURSDAY = 'Y' THEN 1 ELSE 0 END), SUM(CASE WHEN DERIVED_TABLEalias0.TUESDAY = 'Y' THEN 1 ELSE 0 END), SUM(CASE WHEN DERIVED_TABLEalias0.WEDNESDAY = 'Y' THEN 1 ELSE 0 END), COURSE_OFFERING, SEMESTER WHERE COURSEalias0.COURSE_ID = COURSE_OFFERING.COURSE_ID AND COURSEalias0.DEPARTMENT = 'NERS' AND COURSEalias0.NUMBER = 421 AND SEMESTER.SEMESTER = 'WN' AND SEMESTER.SEMESTER_ID = COURSE_OFFERING.SEMESTER AND SEMESTER.YEAR = 2016 LIMIT 1) AS DERIVED_TABLEalias0) AS DERIVED_TABLEalias1
null
general
วันที่นัดหมายคืออะไร เมื่อผู้จัดการขาออกคือ 'Hakan Kutlu'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Date of Appointment, when Outgoing Manager is 'Hakan Kutlu'?It is not neccessary to use all the tables.
table_45755: "Team" [ text]
SELECT "Date of appointment" FROM table_45755 WHERE "Outgoing manager" = 'hakan kutlu'
null
general
การต้อนรับเฉลี่ยของผู้เล่นที่ทำ 4 ทัชดาวน์และระยะน้อยกว่า 171 หลาเป็นเท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the average reception of the player with 4 touchdowns and less than 171 yards?It is not neccessary to use all the tables.
table_54464: "Player" [ text] "Rec." [ real] "Yards" [ real] "Avg." [ real] "TD's" [ real]
SELECT AVG("Rec.") FROM table_54464 WHERE "TD's" = '4' AND "Yards" < '171'
null
general
แท็ก StackOverflow ที่ได้รับความนิยมสูงสุดในปี 2013 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Most popular StackOverflow tags in 2013.It is not neccessary to use all the tables.
ReviewTaskResultTypes: Id [ number] Name [ text] Description [ text]
SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS MayRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsIn2013, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts.CreationDate < '2014-12-31' AND Posts.CreationDate > '2014-01-01' GROUP BY TagName) AS rate INNER JOIN (SELECT COUNT(PostId) AS Num, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId GROUP BY TagName HAVING COUNT(PostId) > 800) AS num ON rate.TagName = num.TagName ORDER BY rate.rate DESC
null
general
Napisten Hava เป็นรุ่นใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What type of release was Napisten Hava?It is not neccessary to use all the tables.
table_name_81: release_type [ VARCHAR] album [ VARCHAR]
SELECT release_type FROM table_name_81 WHERE album = "napisten hava"
null
general
ชื่อใดที่แสดงอยู่ด้านบนของตาราง ?ไม่จำเป็นต้องใช้ทุกตาราง
what title is listed in the top of the table ?It is not neccessary to use all the tables.
table_204_689: id [ number] "year" [ number] "title" [ text] "album" [ text] "uk" [ number] "b-sides" [ text]
SELECT "title" FROM table_204_689 WHERE id = 1
null
general
ผู้ลงคะแนนเสียงเลือกแมคเคนกี่เปอร์เซ็นต์ในเขตที่ผู้มีสิทธิเลือกตั้ง 1.1% โหวตให้บุคคลที่สาม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What percentage of voters chose McCain in the county where 1.1% of voters voted third party?It is not neccessary to use all the tables.
table_20278716_2: mccain__percentage [ VARCHAR] others__percentage [ VARCHAR]
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "1.1%"
null
general
ไตรกลีเซอไรด์ที่มากกว่าหรือเท่ากับ 500 mg/dl ไม่จำเป็นต้องใช้ทุกตาราง
triglycerides greater than or equal to 500 mg / dlIt is not neccessary to use all the tables.
table_dev_9: "id" [ int] "heart_disease" [ bool] "hba1c" [ float] "coronary_artery_disease_cad" [ bool] "triglyceride_tg" [ float] "hypertension" [ bool] "NOUSE" [ float]
SELECT * FROM table_dev_9 WHERE triglyceride_tg >= 500
null
general
กลุ่มสุนัขของเล่นของสภาสุนัขแห่งชาติออสเตรเลียที่มีปาปิลอนเป็นพันธุ์สุนัขพันธุ์เคนเนลคลับคืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the Australian National Kennel Council Toy Dogs Group with papillon as the Kennel Club breed?It is not neccessary to use all the tables.
table_38760:
SELECT "Australian National Kennel Council Toy Dogs Group" FROM table_38760 WHERE "The Kennel Club (UK) Toy Group" = 'papillon'
null
general
จำนวนเกมสำหรับผู้เล่น Partizan Belgrade Nikola Pekovi ที่มีอันดับมากกว่า 4 คือเท่าไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the number of Games for Partizan Belgrade player Nikola Pekovi with a Rank of more than 4?It is not neccessary to use all the tables.
table_76010: "Rank" [ real] "Name" [ text] "Team" [ text] "Games" [ real] "Rebounds" [ real]
SELECT MIN("Games") FROM table_76010 WHERE "Team" = 'partizan belgrade' AND "Name" = 'nikola peković' AND "Rank" > '4'
null
general
NATIVEAM 333 จะสอนโดยผู้สอนคนไหนในฤดูใบไม้ร่วงนี้ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
NATIVEAM 333 will be taught by which instructor this Fall ?It is not neccessary to use all the tables.
comment_instructor: instructor_id [ int] student_id [ int] score [ int] comment_text [ varchar]
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'NATIVEAM' AND course.number = 333 AND semester.semester = 'Fall' AND semester.year = 2016
null
general
Country คืออะไร เมื่อ Class คือ 'club'? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Country, when Class is 'club'?It is not neccessary to use all the tables.
table_name_51: country [ VARCHAR] class [ VARCHAR]
SELECT country FROM table_name_51 WHERE class = "club"
null
general
มีผู้เข้าร่วมเล่นเกมสัปดาห์ที่ 15 กี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many people were in attendance for the game week 15?It is not neccessary to use all the tables.
table_name_9: attendance [ VARCHAR] week [ VARCHAR]
SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15
null
general
วันที่ 13 พ.ค. สถิติของทีมเป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On May 13, what was the team's record?It is not neccessary to use all the tables.
table_15607: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Record" [ text]
SELECT "Record" FROM table_15607 WHERE "Date" = 'may 13'
null
general
ฝ่ายใดที่ผู้ดำรงตำแหน่งคือ เอ็ดเวิร์ด โบแลนด์?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the party where the incumbent is edward boland?It is not neccessary to use all the tables.
table_18352: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT "Party" FROM table_18352 WHERE "Incumbent" = 'Edward Boland'
null
general
Bill Bray เลือกคนไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which pick was Bill Bray?It is not neccessary to use all the tables.
table_name_66: pick [ INTEGER] player [ VARCHAR]
SELECT SUM(pick) FROM table_name_66 WHERE player = "bill bray"
null
general
รายการสำหรับเสียงออสเตรเลียที่เทียบเท่ากับศตวรรษที่ 17 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the entry for the Australian sound that has a 17th century equivalent of ?It is not neccessary to use all the tables.
table_60999: "American" [ text] "Australian" [ text] "Examples" [ text]
SELECT "Australian" FROM table_60999 WHERE "17th c." = 'ɐ'
null
general
ปีเฉลี่ยสำหรับบทบาทของอัลวิน เซวิลล์ ไซมอน เซวิลล์ เดวิด 'เดฟ' เซบียา และชื่อเรื่องการผจญภัยกระแตคือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure?It is not neccessary to use all the tables.
table_42447: "Year" [ real] "Title" [ text] "Producer" [ text] "Actor" [ text] "Role" [ text]
SELECT AVG("Year") FROM table_42447 WHERE "Role" = 'alvin seville simon seville david ''dave'' seville' AND "Title" = 'the chipmunk adventure'
null
general
จนถึงปี 2104 มีผู้ป่วยกี่รายที่ได้รับการวินิจฉัยว่าเป็นโรค systemic lupus erythematosus หลังจากขั้นตอนการดูดหลอดลมภายใน 2 เดือน?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
until 2104 how many patients were diagnosed with systemic lupus erythematosus after the tracheal suctioning procedure within 2 months?It is not neccessary to use all the tables.
lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time]
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'tracheal suctioning' AND STRFTIME('%y', treatment.treatmenttime) <= '2104') AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'systemic lupus erythematosus' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104') AS t2 WHERE t1.treatmenttime < t2.diagnosistime AND DATETIME(t2.diagnosistime) BETWEEN DATETIME(t1.treatmenttime) AND DATETIME(t1.treatmenttime, '+2 month')
null
general
ตั้งชื่อการเข้างานด้วยวันที่ 11 มิถุนายน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the attendance with date of june 11It is not neccessary to use all the tables.
table_name_92: attendance [ VARCHAR] date [ VARCHAR]
SELECT attendance FROM table_name_92 WHERE date = "june 11"
null
general
จำนวนครั้งที่ผู้ป่วย 007-15837 ใส่ท่อช่วยหายใจในหนึ่งวันก่อนคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of times patient 007-15837 has had a chest tube a amount during a day before?It is not neccessary to use all the tables.
vitalperiodic: vitalperiodicid [ number] patientunitstayid [ number] temperature [ number] sao2 [ number] heartrate [ number] respiration [ number] systemicsystolic [ number] systemicdiastolic [ number] systemicmean [ number] observationtime [ time]
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-15837')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'chest tube a amount' AND DATETIME(intakeoutput.intakeoutputtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-1 day')
null
general
ตั้งชื่อประเทศสำหรับสถานที่ t3ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the country for t3 placeIt is not neccessary to use all the tables.
table_name_45: country [ VARCHAR] place [ VARCHAR]
SELECT country FROM table_name_45 WHERE place = "t3"
null
general
ระบุอายุเฉลี่ยของผู้ป่วยที่มีอายุ 70 ปี และต่ำกว่า และเข้ารับการรักษาในหรือก่อนปี พ.ศ. 2157 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Provide the average age of patients aged 70 and under and admitted in or before the year 2157.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 AVG(demographic.age) FROM demographic WHERE demographic.age >= "70" AND demographic.admityear >= "2157"
null
general
Niels Christian Kaldau ชนะซิงเกิลชายกี่ครั้ง และ Pi Hongyan ชนะซิงเกิลหญิงในปีเดียวกันกี่ครั้ง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year?It is not neccessary to use all the tables.
table_12275654_1: year [ VARCHAR] mens_singles [ VARCHAR] womens_singles [ VARCHAR]
SELECT COUNT(year) FROM table_12275654_1 WHERE mens_singles = "Niels Christian Kaldau" AND womens_singles = "Pi Hongyan"
null
general
เมื่อ TSV Siegen เป็นรองแชมป์คะแนนเท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the score when TSV Siegen was the runner-up?It is not neccessary to use all the tables.
table_66063: "Year" [ text] "Champions" [ text] "Score" [ text] "Runners-up" [ text] "Venue" [ text]
SELECT "Score" FROM table_66063 WHERE "Runners-up" = 'tsv siegen'
null
general
ผลรวมของเหรียญทั้งหมดที่มีมากกว่า 2 เหรียญทองแดงและมากกว่า 1 เหรียญทองสำหรับประเทศสหรัฐอเมริกาเป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States?It is not neccessary to use all the tables.
table_name_27: total [ INTEGER] gold [ VARCHAR] bronze [ VARCHAR] nation [ VARCHAR]
SELECT SUM(total) FROM table_name_27 WHERE bronze > 2 AND nation = "united states" AND gold > 1
null
general
แสดงรายการคะแนนการฉกและคะแนนการกระตุกที่สะอาดของนักเพาะกายโดยเรียงลำดับจากคะแนนการฉกจากน้อยไปมาก ลงจุดเป็นแผนภูมิกระจาย ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the snatch score and clean jerk score of body builders in ascending order of snatch score. Plot them as scatter chart.It is not neccessary to use all the tables.
body_builder: Body_Builder_ID [ int] People_ID [ int] Snatch [ real] Clean_Jerk [ real] Total [ real]
SELECT Snatch, Clean_Jerk FROM body_builder
null
general
สถานะที่มีชื่อคือ anas cheuen คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Status with a Name that is anas cheuen?It is not neccessary to use all the tables.
table_41713: "Name" [ text] "Status" [ text] "Authors" [ text] "Unit" [ text] "Location" [ text]
SELECT "Status" FROM table_41713 WHERE "Name" = 'anas cheuen'
null
general
สถาบันโพลีเทคนิคแห่งชาติเป็นเจ้าของเครือข่ายใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the only network owned by national polytechnic institute ?It is not neccessary to use all the tables.
table_204_779: id [ number] "flagship" [ text] "owner" [ text] "affiliates" [ number]
SELECT "network name" FROM table_204_779 WHERE "owner" = 'national polytechnic institute'
null
general
รอบต่ำสุดที่มีผู้ผลิต Yamaha และเวลา/เลิกใช้ที่ +108.312 และกริดน้อยกว่า 20 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +108.312, and a grid less than 20?It is not neccessary to use all the tables.
table_name_4: laps [ INTEGER] grid [ VARCHAR] manufacturer [ VARCHAR] time_retired [ VARCHAR]
SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20
null
general
เจ้าบ้านทีมไหนมีผู้เข้าชมมากที่สุด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
which home team brought the greatest number of attendance ?It is not neccessary to use all the tables.
table_204_846: id [ number] "score" [ text] "attendance" [ number]
SELECT "home team" FROM table_204_846 ORDER BY "attendance" DESC LIMIT 1
null
general
ชื่อของผู้ที่ไม่ใช่สัตว์เลี้ยงลูกด้วยนมของหน่วย vyazniki assemblage คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the non mammal of the unit vyazniki assemblage?It is not neccessary to use all the tables.
table_7026: "Name" [ text] "Status" [ text] "Authors" [ text] "Unit" [ text] "Location" [ text]
SELECT "Name" FROM table_7026 WHERE "Unit" = 'vyazniki assemblage'
null
general
จำนวนสูงสุดที่ให้บริการบางอย่างคือเท่าใด? ระบุรหัสบริการ รายละเอียด และหมายเลข ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the maximum number that a certain service is provided? List the service id, details and number.It is not neccessary to use all the tables.
Residents_Services: service_id [ VARCHAR]
SELECT T1.service_id, T1.service_details, COUNT(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id = T2.service_id GROUP BY T1.service_id ORDER BY COUNT(*) DESC LIMIT 1
null
general
คะแนนของเกมที่ 18 เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the score for game 18?It is not neccessary to use all the tables.
table_name_87: score [ VARCHAR] game [ VARCHAR]
SELECT score FROM table_name_87 WHERE game = 18
null
general
งานที่มีเงินรางวัล z 1,226,711 ชื่ออะไร ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the name of the event that had a prize of z 1,226,711?It is not neccessary to use all the tables.
table_name_22: event [ VARCHAR] prize [ VARCHAR]
SELECT event FROM table_name_22 WHERE prize = "zł 1,226,711"
null
general
วันที่สำหรับเกมที่ michie Stadium West Point คืออะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the Date for the game at michie stadium west point, ny?It is not neccessary to use all the tables.
table_name_80: date [ VARCHAR] location [ VARCHAR]
SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny"
null
general
แสดงทีมช่างที่แตกต่างกันและจำนวนช่างในแต่ละทีมด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show different teams of technicians and the number of technicians in each team with a bar chart.It is not neccessary to use all the tables.
technician: technician_id [ real] Name [ text] Team [ text] Starting_Year [ real] Age [ int]
SELECT Team, COUNT(*) FROM technician GROUP BY Team
null
general
ในการแข่งขันที่ Ji Nov k เข้าสู่รอบที่ 1 (1R) ในปี 1995 เขาทำอย่างไรบ้างในปี 2001?ไม่จำเป็นต้องใช้โต๊ะทั้งหมดเลย
In the Tournament during which Ji Nov k made it to the 1st round(1R) in 1995, how did he do in 2001?It is not neccessary to use all the tables.
table_name_32: Id [ VARCHAR]
SELECT 2001 FROM table_name_32 WHERE 1995 = "1r"
null
general
ประเทศใดได้คะแนน 71-69=140?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What country scored 71-69=140?It is not neccessary to use all the tables.
table_name_97: country [ VARCHAR] score [ VARCHAR]
SELECT country FROM table_name_97 WHERE score = 71 - 69 = 140
null
general
ขอทราบจำนวนคนไข้ที่แต่งงานแล้วที่มีอายุต่ำกว่า 70 ปี ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
get me the number of married patients who are less than 70 years of age.It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.age < "70"
null
general
ผู้ใช้ 100 อันดับแรกของ Bhubaneswar ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 100 User of Bhubaneswar.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, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Bhubaneswar%' ORDER BY Reputation DESC LIMIT 100
null
general
ผลผลิตสูงสุดต่อปี (มล.)-การผ่าตัดไตทางขวา 10 fr คือเท่าใด ผลลัพธ์ที่ผู้ป่วย 015-16479 มีตั้งแต่ 32 เดือนที่แล้ว? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the yearly maximum output (ml)-nephrostomy right 10 fr. output that patient 015-16479 has had since 32 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 MAX(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 = '015-16479')) AND intakeoutput.celllabel = 'output (ml)-nephrostomy right 10 fr.' AND intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime) >= DATETIME(CURRENT_TIME(), '-32 month') GROUP BY STRFTIME('%y', intakeoutput.intakeoutputtime)
null
general
วันที่ของเกมที่มีสถิติ 8 10 6 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Date of the game with a Record of 8 10 6?It is not neccessary to use all the tables.
table_name_99: date [ VARCHAR] record [ VARCHAR]
SELECT date FROM table_name_99 WHERE record = "8–10–6"
null
general
ปีแรกสุดที่มีการแข่งขันระยะทาง 50 กม. และคว้าอันดับ 2 ในลอนดอน สหราชอาณาจักรคือปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is earliest year that had a 50km event with a 2nd place result played in London, United Kingdom?It is not neccessary to use all the tables.
table_name_8: year [ INTEGER] venue [ VARCHAR] event [ VARCHAR] result [ VARCHAR]
SELECT MIN(year) FROM table_name_8 WHERE event = "50km" AND result = "2nd" AND venue = "london, united kingdom"
null
general
การยอมรับใดที่มีการเสมอน้อยกว่า 5 และตำแหน่งที่มากกว่า 6? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Conceded has Draws smaller than 5, and a Position larger than 6?It is not neccessary to use all the tables.
table_38586: "Position" [ real] "Team" [ text] "Played" [ real] "Wins" [ real] "Draws" [ real] "Losses" [ real] "Scored" [ real] "Conceded" [ real] "Points" [ real]
SELECT SUM("Conceded") FROM table_38586 WHERE "Draws" < '5' AND "Position" > '6'
null
general
ก่อนปี 1947 ผลรวมของ Broadsound ที่มี Belyando มากกว่า 11,362 และ Total Region เท่ากับ 5,016 เป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Before the Year 1947, what is the sum of Broadsound that have a Belyando greater than 11,362, and a Total Region equal to 5,016?It is not neccessary to use all the tables.
table_70915: "Year" [ real] "Belyando" [ real] "Broadsound" [ real] "Nebo" [ real]
SELECT SUM("Broadsound") FROM table_70915 WHERE "Belyando" > '11,362' AND "Total Region" = '5,016' AND "Year" < '1947'
null
general
ปีไหนก่อนปี 2554 ไม่จำเป็นต้องใช้ทุกตาราง
which year is previous to 2011It is not neccessary to use all the tables.
table_204_983: id [ number] "year" [ number]
SELECT "year" FROM table_204_983 WHERE id = (SELECT id FROM table_204_983 WHERE "year" = 2011) - 1
null
general
นัดกระชับมิตรที่โอ๊คแลนด์จัดขึ้นวันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On what date was a friendly match held at Auckland?It is not neccessary to use all the tables.
table_name_32: date [ VARCHAR] competition [ VARCHAR] venue [ VARCHAR]
SELECT date FROM table_name_32 WHERE competition = "friendly match" AND venue = "auckland"
null
general
หมายเลขที่ระบุไว้ในเกมเหย้าเมื่อทีมคือ Seattle Seahawks คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the number listed in home games when the team is Seattle Seahawks?It is not neccessary to use all the tables.
table_74333: "Team" [ text] "Stadium" [ text]
SELECT "Home Games" FROM table_74333 WHERE "Team" = 'Seattle Seahawks'
null
general
ถามตั้งแต่ 1 มกราคม 2556 ไม่จำเป็นต้องใช้ทุกตาราง
s asked since 1 Jan 2013.It is not neccessary to use all the tables.
PostNotices: Id [ number] PostId [ number] PostNoticeTypeId [ number] CreationDate [ time] DeletionDate [ time] ExpiryDate [ time] Body [ text] OwnerUserId [ number] DeletionUserId [ number]
SELECT Id AS "post_link", CreationDate, FavoriteCount FROM Posts WHERE PostTypeId = 1 AND TIME_TO_STR(CreationDate, '%Y') >= 2013 AND FavoriteCount >= 25 ORDER BY CreationDate DESC
null
general
กี่วันของเบิร์ตถ้าสโมสรก่อนหน้าคือเชลซีไม่จำเป็นต้องใช้ตารางทั้งหมด
how many date of birts are if the previous club is chelseaIt is not neccessary to use all the tables.
table_74223: "No." [ real] "Name" [ text] "Fee" [ text]
SELECT COUNT("Date of Birth") FROM table_74223 WHERE "Previous Club" = 'Chelsea'
null
general
ภาษาอาหรับที่ดีในวิวภูเขาอยู่ที่ไหน ?ไม่จำเป็นต้องใช้ทุกตาราง
where is a good arabic in mountain view ?It is not neccessary to use all the tables.
restaurant: id [ int] name [ varchar] food_type [ varchar] city_name [ varchar] rating [ "decimal]
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
null
general
Red Dead Redemption มีไว้เพื่อแพลตฟอร์มใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which platform was Red Dead Redemption for?It is not neccessary to use all the tables.
table_66449: "Year" [ real] "Game" [ text] "Genre" [ text] "Platform(s)" [ text] "Developer(s)" [ text]
SELECT "Platform(s)" FROM table_66449 WHERE "Game" = 'red dead redemption'
null
general
ขอทราบจำนวนคนไข้ที่มีเพศ m และโรคหลักคือ guillain barre syndrome?ไม่จำเป็นต้องใช้ตารางทั้งหมด
give me the number of patients whose gender is m and primary disease is guillain barre syndrome?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.gender = "M" AND demographic.diagnosis = "GUILLAIN BARRE SYNDROME"
null
general
เอาล่ะ ขอเวลาเที่ยวบินในตอนเช้าวันที่ 9 20 จากพิตส์เบิร์กไปซานฟรานซิสโก ไม่จำเป็นต้องใช้ตารางทั้งหมด
all right give me the flight times in the morning on 9 20 from PITTSBURGH to SAN FRANCISCOIt is not neccessary to use all the tables.
equipment_sequence: aircraft_code_sequence [ varchar] aircraft_code [ varchar]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((flight.departure_time BETWEEN 0 AND 1200) AND date_day.day_number = 20 AND date_day.month_number = 9 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' 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
ผู้ป่วยที่มีภาวะลิ้นหัวใจเอออร์ติกไม่เพียงพอ/การเปลี่ยนลิ้นหัวใจเอออร์ติก /sda เป็นโรคหลักจำนวนกี่รายที่เกิดก่อนปี พ.ศ. 2514? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
How many of the patients with aortic valve insuffiency/aortic valve replacement /sda as their primary disease were born before the year 2071?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "AORTIC VALVE INSUFFIENCY\AORTIC VALVE REPLACEMENT /SDA" AND demographic.dob_year < "2071"
null
general
จำนวนผู้ป่วยที่ได้รับการส่องกล้องหลอดลม-ด้วยการแปรงฟันในปีนี้ ไม่จำเป็นต้องใช้ทุกโต๊ะ
the number of patients who have received a bronchoscopy - with brushings in this year.It is not neccessary to use all the tables.
medication: medicationid [ number] patientunitstayid [ number] drugname [ text] dosage [ text] routeadmin [ text] drugstarttime [ time] drugstoptime [ time]
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'bronchoscopy - with brushings' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year'))
null
general
สร้างแผนภูมิแท่งที่แสดงจำนวนรวมของประเภทเตียง แสดงตามจำนวนทั้งหมดตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Create a bar chart showing the total number across bedtype, show by the total number in desc.It is not neccessary to use all the tables.
Rooms: RoomId [ TEXT] roomName [ TEXT] beds [ INTEGER] bedType [ TEXT] maxOccupancy [ INTEGER] basePrice [ INTEGER] decor [ TEXT]
SELECT bedType, COUNT(*) FROM Rooms GROUP BY bedType ORDER BY COUNT(*) DESC
null
general
คู่ต่อสู้เจ้าบ้านคนแรกของโลมาในฤดูกาลนี้ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
first home opponent for the dolphins in the seasonIt is not neccessary to use all the tables.
table_204_9: id [ number] "week" [ number] "date" [ text] "opponent" [ text] "result" [ text] "attendance" [ number]
SELECT "opponent" FROM table_204_9 WHERE "opponent" = 'home' ORDER BY "date" LIMIT 1
null
general
ชื่อของรันนิ่งแบ็คคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the running back pick?It is not neccessary to use all the tables.
table_33588: "Round" [ real] "Overall" [ real] "Player" [ text] "Position" [ text] "College" [ text]
SELECT "Player" FROM table_33588 WHERE "Position" = 'running back'
null
general
ค่าใช้จ่ายโดยรวมของโรงพยาบาลโดยเฉลี่ยที่เกี่ยวข้องกับ ondansetron 4 มก. po-disperse ในปีนี้คือเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the average total hospital cost which involves ondansetron 4 mg po tab-disperse this year?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'ondansetron 4 mg po tab-disperse')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY cost.patienthealthsystemstayid) AS t1
null
general
คะแนนกับทีมที่มีสถิติ 11-3 กับฮอว์กส์เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the score against the team with an 11-3 record against the Hawks?It is not neccessary to use all the tables.
table_25796: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "Score" FROM table_25796 WHERE "Record" = '11-3'
null
general
มีกี่แทร็กที่ใช้เวลานานกว่าสามนาที?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many tracks last for more than three minutes ?It is not neccessary to use all the tables.
table_204_238: id [ number] "#" [ number] "title" [ text] "producer(s)" [ text] "time" [ text]
SELECT COUNT("title") FROM table_204_238 WHERE "time" >= 3
null
general
รอบที่เกรก ฮันติงตันเข้าไป? ไม่จำเป็นต้องใช้โต๊ะทั้งหมดเลย
Round that greg huntington went in?It is not neccessary to use all the tables.
table_name_54: round [ VARCHAR] name [ VARCHAR]
SELECT round FROM table_name_54 WHERE name = "greg huntington"
null
general
พวกเขาเล่นทีมไหนในวันที่ 19 กันยายน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which team did they play on September 19?It is not neccessary to use all the tables.
table_name_66: opponent [ VARCHAR] date [ VARCHAR]
SELECT opponent FROM table_name_66 WHERE date = "september 19"
null
general
หมายเลขซีรีส์ของตอนที่กำกับโดย Rob Bailey คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the series number of the episode directed by Rob Bailey?It is not neccessary to use all the tables.
table_1048: "Title" [ text]
SELECT MAX("Series #") FROM table_1048 WHERE "Directed by" = 'Rob Bailey'
null
general
แค่บอกการวินิจฉัยที่พบบ่อยที่สุดสามอันดับแรกให้ฉันตั้งแต่ 3 ปีที่แล้ว? ไม่จำเป็นต้องใช้ตารางทั้งหมด
just give me the top three most common diagnosis since 3 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 t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 3
null
general
Linence เมื่อ Leclerc เป็น Hp (kw) คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the lince when Leclerc was Hp (kw)?It is not neccessary to use all the tables.
table_61162: "Lince" [ text] "Leclerc" [ text]
SELECT "Lince" FROM table_61162 WHERE "Leclerc" = 'hp (kw)'
null
general
Curradonohoe เป็นส่วนหนึ่งของสหภาพกฎหมายที่ไม่ดีอะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What poor law union is Curradonohoe a part of?It is not neccessary to use all the tables.
table_30120555_1: poor_law_union [ VARCHAR] townland [ VARCHAR]
SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe"
null
general
หลักสูตรฤดูหนาวใดบ้างที่เปิดสอนเท่านั้น ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Winter courses are only offered then ?It is not neccessary to use all the tables.
instructor: instructor_id [ int] name [ varchar] uniqname [ varchar]
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'EECS' AND semester.semester = 'Winter' AND (SELECT COUNT(DISTINCT SEMESTERalias1.semester) FROM course AS COURSEalias1 INNER JOIN course_offering ON COURSEalias1.course_id = course_offering.course_id INNER JOIN semester AS SEMESTERalias1 ON SEMESTERalias1.semester_id = course_offering.semester WHERE course.course_id = COURSEalias1.course_id) = 1
null
general
เมื่อเล่นเกมที่สนามเลคโอวัล สกอร์ของเจ้าบ้านเป็นเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When the game was played at the Venue of Lake Oval, what was the home team score?It is not neccessary to use all the tables.
table_name_58: home_team [ VARCHAR] venue [ VARCHAR]
SELECT home_team AS score FROM table_name_58 WHERE venue = "lake oval"
null
general
ประเทศแหล่งกำเนิดสินค้าคืออะไร เมื่อเป็นประเภทแบบใช้แล้วทิ้ง เมื่อตลับหมึกหลักคือ 105 มม. และเมื่อปีแนะนำน้อยกว่าปี 2008 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Country of Origin, when Type is Disposable, when Primary Cartridge is 105mm, and when Year of Intro is less than 2008?It is not neccessary to use all the tables.
table_7701: "Type" [ text]
SELECT "Country of origin" FROM table_7701 WHERE "Type" = 'disposable' AND "Primary cartridge" = '105mm' AND "Year of intro" < '2008'
null
general
เจ้าบ้านทีมไหนเล่นวันที่ 13 ม.ค. ไม่จำเป็นต้องใช้ทุกโต๊ะ
Which home team was playing on January 13?It is not neccessary to use all the tables.
table_name_87: home [ VARCHAR] date [ VARCHAR]
SELECT home FROM table_name_87 WHERE date = "january 13"
null
general
รหัสการผลิตที่มีผู้ชม 24.8 ล้านคนของเราคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the production code that had 24.8 million u.s. viewers?It is not neccessary to use all the tables.
table_27713890_1: production_code [ INTEGER] us_viewers__millions_ [ VARCHAR]
SELECT MAX(production_code) FROM table_27713890_1 WHERE us_viewers__millions_ = "24.8"
null
general
อัตราการหยุดงานเมื่อมี 17 วิคเก็ตเป็นเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the strike rate when there are 17 wickets?It is not neccessary to use all the tables.
table_23150: "Player" [ text] "Team" [ text] "Matches" [ real] "Overs" [ text] "Wickets" [ real] "Average" [ text] "BBI" [ text] "BBM" [ text]
SELECT "Strike Rate" FROM table_23150 WHERE "Wickets" = '17'
null
general
นับจำนวนผู้ป่วยที่มีโรคหลักซ้ายเกิดลิ่มเลือดอุดตันหลอดเลือดดำคอบวมที่แขนซ้ายและปีที่เข้ารับการรักษาน้อยกว่า 2,148 หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose primary disease is left internal jugular vein thrombosis;left arm edema and admission year is less than 2148?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.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA" AND demographic.admityear < "2148"
null
general
ระบุจำนวนผู้ป่วยประเภทรับเข้าและปีที่รับเข้าน้อยกว่า 2105 ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose admission type is elective and admission year is less than 2105?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.admityear < "2105"
null
general
ผลลัพธ์คืออะไร เมื่อ Year มากกว่าปี 1999 เมื่อ White คือ 'Kramnik' และเมื่อ Tournament เป็น 'Mainz CC Champions Duel (5)'? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Result, when Year is greater than 1999, when White is 'Kramnik', and when Tournament is 'Mainz CC Champions Duel (5)'?It is not neccessary to use all the tables.
table_59335: "White" [ text] "Black" [ text] "Year" [ real] "Result" [ text] "Moves" [ real] "Tournament" [ text] "Opening" [ text]
SELECT "Result" FROM table_59335 WHERE "Year" > '1999' AND "White" = 'kramnik' AND "Tournament" = 'mainz cc champions duel (5)'
null
general
ในบรรดาผู้ป่วยที่ได้รับการวินิจฉัยว่าเป็นโรคหลอดอาหารขอดในโรคที่จำแนกไว้ที่อื่นและมีเลือดออก มีกี่รายที่เป็นเชื้อสายผิวขาว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
among patients diagnosed with esophageal varices in diseases classified elsewhere, with bleeding, how many of them belonged to white ethnic origin?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 WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Esophageal varices in diseases classified elsewhere, with bleeding"
null
general
แสดงเที่ยวบินจากดัลลาสไปยังแอตแลนต้า ซึ่งออกเดินทางระหว่าง 14.00 น. ถึง 18.00 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
display flights from DALLAS to ATLANTA which depart between 1400 and 1800It is not neccessary to use all the tables.
airline: airline_code [ varchar] airline_name [ text] note [ text]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.departure_time <= 1800 AND flight.departure_time >= 1400) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
อะไรคือการซื้อกิจการที่มีน้อยกว่า 22 ในฤดูกาล 2002? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Acquisition that has less than 22, in the 2002 season?It is not neccessary to use all the tables.
table_42795: "Name" [ text] "Position" [ text] "Number" [ real] "Season" [ text]
SELECT "Acquisition via" FROM table_42795 WHERE "Number" < '22' AND "Season" = '2002'
null
general
มีกี่เกมที่เล่นโดยได้คะแนน 15 แต้มพอดี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many games were played where exactly 15 points were scored?It is not neccessary to use all the tables.
table_name_34: played [ INTEGER] points [ VARCHAR]
SELECT SUM(played) FROM table_name_34 WHERE points = 15
null
general
ทีมไหนเล่นเลกแรกในบ้านด้วยสกอร์รวม 3-4?ไม่จำเป็นต้องใช้ทุกตาราง
Which team played their first leg at home with an aggregate score of 3-4?It is not neccessary to use all the tables.
table_name_70: home__1st_leg_ [ VARCHAR] aggregate [ VARCHAR]
SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-4"
null
general
ประเทศใดที่เกี่ยวข้องกับวันที่ในปี 2546?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the country associated with the date in 2003?It is not neccessary to use all the tables.
table_12902: "Date" [ text] "Label" [ text] "Format" [ text] "Country" [ text] "Catalog" [ text]
SELECT "Country" FROM table_12902 WHERE "Date" = '2003'
null
general
คะแนนเฉลี่ยของเพลงสำหรับแต่ละภาษาคือเท่าใด เขียนเป็นแผนภูมิแท่ง ฉันต้องการเรียงลำดับภาษาจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average rating of songs for each language Plot them as bar chart, I want to sort languages in ascending order.It is not neccessary to use all the tables.
files: f_id [ number(10)] artist_name [ varchar2(50)] file_size [ varchar2(20)] duration [ varchar2(20)] formats [ varchar2(20)]
SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY languages
null
general
ใครคือนักแสดงตลกที่มีคู่ไม่เกิน 5 คนกับนักแสดงตลก II Jimmy Moses?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the comedian that has a pair no larger than 5 with a comedian II Jimmy Moses?It is not neccessary to use all the tables.
table_70253: "Comedian:1" [ text] "Comedian:II" [ text] "Tansen(Singers)" [ text] "Place(Result)" [ text]
SELECT "Comedian:1" FROM table_70253 WHERE "Pair No." > '5' AND "Comedian:II" = 'jimmy moses'
null
general
มีผู้ป่วยกี่รายที่เข้าเส้นทางการใช้ยา ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose drug route is pr?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 prescriptions.route = "PR"
null
general
โรงเรียนเมาท์อัลเบิร์ตมีพื้นที่เท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the area of Mount Albert School?It is not neccessary to use all the tables.
table_name_85: area [ VARCHAR] name [ VARCHAR]
SELECT area FROM table_name_85 WHERE name = "mount albert school"
null
general
วันที่ใดที่มีชาวเกาะเป็นผู้เยี่ยมชม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date has ny islanders as the visitor?It is not neccessary to use all the tables.
table_name_66: date [ VARCHAR] visitor [ VARCHAR]
SELECT date FROM table_name_66 WHERE visitor = "ny islanders"
null
general
วันที่ของเกมที่มีสถิติ 2 3 1 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Date of the game with a Record of 2 3 1?It is not neccessary to use all the tables.
table_60377: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ real]
SELECT "Date" FROM table_60377 WHERE "Record" = '2–3–1'
null
general
นักบิดคนไหนที่วิ่งเกิน 23 รอบ ผู้ผลิต Aprilia และตารางที่ 14 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14It is not neccessary to use all the tables.
table_name_95: rider [ VARCHAR] grid [ VARCHAR] laps [ VARCHAR] manufacturer [ VARCHAR]
SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14
null
general
มีการบันทึกตัวเลขจำนวนเท่าใดเทียบกับเมื่อพยายามทำ 43? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
How many numbers were recorded points against when the tries were for 43?It is not neccessary to use all the tables.
table_811: "Club" [ text] "Played" [ text] "Won" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text]
SELECT COUNT("Points against") FROM table_811 WHERE "Tries for" = '43'
null
general
สนามไหนมีผลลัพธ์เป็น 1 2 ไม่จำเป็นต้องใช้ทุกโต๊ะ
Which venue has a Result of 1 2?It is not neccessary to use all the tables.
table_52484: "Date" [ text] "Venue" [ text] "Result" [ text] "Scored" [ real] "Competition" [ text]
SELECT "Venue" FROM table_52484 WHERE "Result" = '1–2'
null
general