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
เมื่อ Ilie N stase เอาชนะรองชนะเลิศ Peter Fleming เมื่อปีไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When Ilie N stase beat runner-up Peter Fleming what year was it?It is not neccessary to use all the tables.
table_name_56: year [ VARCHAR] champion [ VARCHAR] runner_up [ VARCHAR]
SELECT COUNT(year) FROM table_name_56 WHERE champion = "ilie năstase" AND runner_up = "peter fleming"
null
general
ผลรวมของตอนที่ Chip Esten เป็นนักแสดงคนที่ 4 และ Jim Meskimen เป็นนักแสดงคนที่ 1 เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer?It is not neccessary to use all the tables.
table_34322: "Date" [ text] "Episode" [ real]
SELECT SUM("Episode") FROM table_34322 WHERE "Performer 4" = 'chip esten' AND "Performer 1" = 'jim meskimen'
null
general
นับจำนวนคนไข้ที่มีอายุต่ำกว่า 36 ปี โดยมีผลตรวจทางแล็บชื่อ อัลบูมิน ของเหลวในร่างกาย ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients who are aged less than 36 years with a lab test named albumin, body fluidIt is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "36" AND lab.label = "Albumin, Body Fluid"
null
general
จำนวนเงินต่ำสุดที่ผู้เล่น จิม โคลเบิร์ต มีคือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest amount of money player jim colbert has?It is not neccessary to use all the tables.
table_50249: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT MIN("Money ( $ )") FROM table_50249 WHERE "Player" = 'jim colbert'
null
general
เนื้อหา/แหล่งที่มาของ Beechwood Bunny Tale/Source ดั้งเดิมคืออะไรซึ่งมี # ทางการมากกว่า 38 และ TF1 # ใหญ่กว่า 50 และชื่อภาษาอังกฤษว่า 'sweet fabiola'? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Original Beechwood Bunny Tale/Source material that has an Official # larger than 38, and a TF1 # larger than 50, and an English title of 'sweet fabiola'?It is not neccessary to use all the tables.
table_43549:
SELECT "Original Beechwood Bunny Tale / Source material" FROM table_43549 WHERE "Official #" > '38' AND "TF1 #" > '50' AND "English title" = 'sweet fabiola'
null
general
โรงเรียนมีคะแนนคณิตศาสตร์ 98.02 กี่ปี ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many years did the school have a mathetmatics score of 98.02?It is not neccessary to use all the tables.
table_27575: "Language" [ text] "Science" [ text] "Reading" [ text] "Mathematics" [ text]
SELECT COUNT("Science") FROM table_27575 WHERE "Mathematics" = '98.02'
null
general
ใครเป็นอันดับสองเมื่อ Martynas Norkus เป็นผู้ข้าม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was second when Martynas Norkus was the skip?It is not neccessary to use all the tables.
table_35946: "Nation" [ text] "Skip" [ text] "Third" [ text] "Second" [ text] "Lead" [ text]
SELECT "Second" FROM table_35946 WHERE "Skip" = 'martynas norkus'
null
general
Joe O'Meara ได้กี่คะแนน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many points did Joe O'Meara have?It is not neccessary to use all the tables.
table_name_93: points [ VARCHAR] artist [ VARCHAR]
SELECT COUNT(points) FROM table_name_93 WHERE artist = "joe o'meara"
null
general
ประเทศใดที่เล่น Cyclops? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What country had the play Cyclops?It is not neccessary to use all the tables.
table_63761: "play" [ text] "author" [ text] "company" [ text] "base" [ text] "country" [ text]
SELECT "country" FROM table_63761 WHERE "play" = 'cyclops'
null
general
ทีมที่มีรถมอเตอร์ไซค์ฮอนด้าชื่ออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What's the name of the team who had a Honda motorcycle?It is not neccessary to use all the tables.
table_20016339_1: team [ VARCHAR] motorcycle [ VARCHAR]
SELECT team FROM table_20016339_1 WHERE motorcycle = "Honda"
null
general
ระบุประเภทและเส้นทางการบริหารยา Famvirไม่จำเป็นต้องใช้ตารางทั้งหมด
Specify the type and route of adminsitration for the drug FamvirIt 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 prescriptions.drug_type, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Famvir"
null
general
มีผู้ป่วยอายุน้อยกว่า 48 ปี และเส้นทางยาเป็น SL กี่ราย ไม่จำเป็นต้องใช้ทุกตาราง
how many patients whose age is less than 48 and drug route is sl?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "48" AND prescriptions.route = "SL"
null
general
เรย์มอนด์ เอช. ไปเมื่อไหร่ Fogler ออกจากตำแหน่งผู้ช่วยเลขาธิการกองทัพเรือ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
when did raymond h. fogler leave the office of assistant secretary of the navy ?It is not neccessary to use all the tables.
table_202_202: id [ number] "name" [ text]
SELECT "left office" FROM table_202_202 WHERE "name" = 'raymond h. fogler'
null
general
ตำแหน่งผู้เล่นจากวิทยาลัยนอร์ทแคโรไลนาที่มีคะแนนรวมไม่ถึง 100 ตำแหน่งคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the position of the player from the college of North Carolina with an overall less than 100?It is not neccessary to use all the tables.
table_44164: "Round" [ real] "Pick" [ real] "Overall" [ real] "Name" [ text] "Position" [ text] "College" [ text]
SELECT "Position" FROM table_44164 WHERE "Overall" < '100' AND "College" = 'north carolina'
null
general
คนไข้ที่เข้ารับการรักษาก่อนปี 2137 โดยมีขั้นตอน icd9 รหัส 3972 มีจำนวนเท่าใด ไม่จำเป็นต้องใช้ทุกตาราง
what is the number of patients whose admission year is before 2137 with procedure icd9 code 3972?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2137" AND procedures.icd9_code = "3972"
null
general
ใครมีคะแนนเจ้าบ้าน 13.16 (94) ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who has a home team score of 13.16 (94)?It is not neccessary to use all the tables.
table_57404: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Home team" FROM table_57404 WHERE "Home team score" = '13.16 (94)'
null
general
แสดงรหัสสำหรับเอกสารทั้งหมดในรูปแบบ CV โดยไม่มีงบประมาณค่าใช้จ่าย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show ids for all documents in type CV without expense budgets.It is not neccessary to use all the tables.
Documents_with_expenses: document_id [ VARCHAR] document_type_code [ VARCHAR]
SELECT document_id FROM Documents WHERE document_type_code = "CV" EXCEPT SELECT document_id FROM Documents_with_expenses
null
general
ผลรวมของค่ากริดของนักแข่ง Michael Schumacher ที่มีจำนวนรอบมากกว่า 66 เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of grid values of driver Michael Schumacher with lap counts larger than 66?It is not neccessary to use all the tables.
table_name_7: grid [ INTEGER] laps [ VARCHAR] driver [ VARCHAR]
SELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = "michael schumacher"
null
general
Corey Pavin อยู่ที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What place is Corey Pavin in?It is not neccessary to use all the tables.
table_59857: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Place" FROM table_59857 WHERE "Player" = 'corey pavin'
null
general
พล็อตจำนวนกลุ่มโดยจัดกลุ่มตามกลุ่มเป็นกราฟแท่ง คุณสามารถจัดอันดับตามจำนวนทั้งหมดจากต่ำไปสูงได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Plot how many party by grouped by party as a bar graph, could you rank by the total number from low to high?It is not neccessary to use all the tables.
election: Election_ID [ int] Representative_ID [ int] Date [ text] Votes [ real] Vote_Percent [ real] Seats [ real] Place [ real]
SELECT Party, COUNT(Party) FROM representative GROUP BY Party ORDER BY COUNT(Party)
null
general
ตำแหน่งใดที่เกี่ยวข้องกับเวลา 2039.171?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What position is associated with a Time of 2039.171?It is not neccessary to use all the tables.
table_57100: "Pos." [ real] "Driver" [ text] "Time" [ text] "Points" [ real]
SELECT AVG("Pos.") FROM table_57100 WHERE "Time" = '20:39.171'
null
general
ผู้กำกับคนไหนมีภาพยนตร์ในปี 1999 หรือ 2000 และนับด้วยแผนภูมิแท่ง แสดงด้วยตัว Y ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which directors had a movie in either 1999 or 2000, and count them by a bar chart, show by the Y in desc.It is not neccessary to use all the tables.
culture_company: Company_name [ text] Type [ text] Incorporated_in [ text] Group_Equity_Shareholding [ real] book_club_id [ text] movie_id [ text]
SELECT Director, COUNT(Director) FROM movie WHERE Year = 1999 OR Year = 2000 GROUP BY Director ORDER BY COUNT(Director) DESC
null
general
ในวันที่ 12/ปีนี้ การทดสอบในห้องปฏิบัติการครั้งสุดท้ายของผู้ป่วย 006-124193 คือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
in 12/this year when was the last lab test of patient 006-124193?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT 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 = '006-124193')) AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', lab.labresulttime) = '12' ORDER BY lab.labresulttime DESC LIMIT 1
null
general
ยาขยายหลอดลมครั้งสุดท้ายของผู้ป่วย 021-124150 - ระยะเวลาในการผ่าตัด ipratropium ตั้งแต่ปี 2102 คืออะไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what was patient 021-124150's last bronchodilator - ipratropium procedure time since 2102?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 treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-124150')) AND treatment.treatmentname = 'bronchodilator - ipratropium' AND STRFTIME('%y', treatment.treatmenttime) >= '2102' ORDER BY treatment.treatmenttime DESC LIMIT 1
null
general
วันที่ 19 มกราคม มีผู้เข้าร่วมสถานที่ใดบ้าง?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What was the location attendance on January 19?It is not neccessary to use all the tables.
table_48517: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "Location Attendance" FROM table_48517 WHERE "Date" = 'january 19'
null
general
นักแข่งเกอร์ฮาร์ด เบอร์เกอร์ที่มีกริดมากกว่า 6 รอบน้อยที่สุดคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the least laps for driver gerhard berger with a grid more than 6?It is not neccessary to use all the tables.
table_10669: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT MIN("Laps") FROM table_10669 WHERE "Driver" = 'gerhard berger' AND "Grid" > '6'
null
general
มีผู้ป่วยอายุต่ำกว่า 77 ปีจำนวนกี่คนที่ทำการทดสอบในห้องปฏิบัติการเซลล์เยื่อบุผิวไต?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many patients under 77 years of age had a renal epithelial cells lab test done?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "77" AND lab.label = "Renal Epithelial Cells"
null
general
ตั้งชื่อประเภทที่เข้าร่วมปี 2550 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the type that joined 2007It is not neccessary to use all the tables.
table_262560_1: type [ VARCHAR] joined [ VARCHAR]
SELECT type FROM table_262560_1 WHERE joined = 2007
null
general
บอกฉันว่าห้าการวินิจฉัยที่พบบ่อยที่สุดของผู้ป่วยในยุค 40 ในปีนี้คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me what are the five most common diagnoses of patients in the 40s in this year?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 t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 40 AND 49) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t1.c1 <= 5)
null
general
รอบเบื้องต้นแข่งกี่คน ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
how many drivers raced in the preliminary round ?It is not neccessary to use all the tables.
table_203_780: id [ number] "rank" [ number] "diver" [ text] "preliminary\npoints" [ number] "preliminary\nrank" [ number] "final\npoints" [ number] "final\nrank" [ number] "final\ntotal" [ number]
SELECT COUNT("diver") FROM table_203_780 WHERE NOT "preliminary\npoints" IS NULL
null
general
อะไรคือส่วนที่ 4 ของคำกริยาที่ส่วนที่ 3 เป็นบอร์เกน?ไม่จำเป็นต้องใช้ตารางทั้งหมดเลย
What's the part 4 for the verb whose part 3 is borgen?It is not neccessary to use all the tables.
table_1745843_7: part_4 [ VARCHAR] part_3 [ VARCHAR]
SELECT part_4 FROM table_1745843_7 WHERE part_3 = "borgen"
null
general
พาร์ใดที่ต่ำที่สุดที่ชนะในปี 1962, 1967, 1972, 1980 และผลรวมมากกว่า 149 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which To par is the lowest one that has a Year(s) won of 1962, 1967, 1972, 1980, and a Total larger than 149?It is not neccessary to use all the tables.
table_name_90: to_par [ INTEGER] year_s__won [ VARCHAR] total [ VARCHAR]
SELECT MIN(to_par) FROM table_name_90 WHERE year_s__won = "1962, 1967, 1972, 1980" AND total > 149
null
general
กี่เปอร์เซ็นต์ของคนใน Bonneville โหวตให้ Bush?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What percentage of the people in Bonneville voted for Bush?It is not neccessary to use all the tables.
table_73610: "County" [ text] "Kerry%" [ text] "Kerry#" [ real] "Bush%" [ text] "Bush#" [ real] "Others%" [ text] "Others#" [ real]
SELECT "Bush%" FROM table_73610 WHERE "County" = 'Bonneville'
null
general
เดือนมกราคมที่ต่ำที่สุดคือเมื่อเกมน้อยกว่า 46 เมื่อคะแนนคือ '5 - 3' และเมื่อบันทึกเป็น '15-22-8'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest January, when Game is less than 46, when Score is '5 - 3', and when Record is '15-22-8'?It is not neccessary to use all the tables.
table_9385: "Game" [ real] "January" [ real] "Opponent" [ text] "Score" [ text] "Record" [ text]
SELECT MIN("January") FROM table_9385 WHERE "Game" < '46' AND "Score" = '5 - 3' AND "Record" = '15-22-8'
null
general
ตารางคืออะไรเมื่อทีมคือ slovan bratislava?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the table when the team is slovan bratislava?It is not neccessary to use all the tables.
table_29718: "Team" [ text] "Table" [ text]
SELECT "Table" FROM table_29718 WHERE "Team" = 'Slovan Bratislava'
null
general
ขอทราบจำนวนคนไข้เพศ f และรหัสยาเป็น trif12.5i ครับ ไม่จำเป็นต้องใช้ทุกตารางครับ
give me the number of patients whose gender is f and drug code is trif12.5i?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.formulary_drug_cd = "TRIF12.5I"
null
general
จำนวนผู้เข้าร่วมเฉลี่ยสำหรับวันที่ 26 ตุลาคม 1947 เป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the avarage Attendance for the Date of october 26, 1947?It is not neccessary to use all the tables.
table_51778: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ real]
SELECT AVG("Attendance") FROM table_51778 WHERE "Date" = 'october 26, 1947'
null
general
ผู้เล่นคนไหนทำคะแนนได้ 73-68-66=207?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What player scored 73-68-66=207?It is not neccessary to use all the tables.
table_name_78: player [ VARCHAR] score [ VARCHAR]
SELECT player FROM table_name_78 WHERE score = 73 - 68 - 66 = 207
null
general
ทีมใดเคยเล่นในโตเกียวเกมส์ปี 1964?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What team played in the 1964 Tokyo Games?It is not neccessary to use all the tables.
table_name_56: name [ VARCHAR] games [ VARCHAR]
SELECT name FROM table_name_56 WHERE games = "1964 tokyo"
null
general
นักแข่งคนไหนชนะเมื่อ om เป็นตัวสร้างที่ชนะ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which driver won when o.m. was the winning constructor ?It is not neccessary to use all the tables.
table_68065: "Name" [ text] "Circuit" [ text] "Date" [ text] "Report" [ text]
SELECT "Winning driver" FROM table_68065 WHERE "Winning constructor" = 'o.m.'
null
general
ให้ราคาเฉลี่ยและกรณีไวน์ที่ทำจากองุ่น Zinfandel ปี 2552 ไม่จำเป็นต้องใช้ทุกโต๊ะ
Give the average price and case of wines made from Zinfandel grapes in the year 2009.It is not neccessary to use all the tables.
wine: no [ number] grape [ text] winery [ text] appelation [ text] state [ text] name [ text] year [ number] price [ number] score [ number] cases [ number] drink [ text]
SELECT AVG(price), AVG(cases) FROM wine WHERE year = 2009 AND grape = "Zinfandel"
null
general
ผู้เล่นคนใดที่เกิดในปี 1976 และมีขนาดเล็กกว่า 2.03?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What player was born in 1976 and is smaller than 2.03?It is not neccessary to use all the tables.
table_14713: "Player" [ text] "Height" [ real] "Position" [ text]
SELECT "Player" FROM table_14713 WHERE "Height" < '2.03' AND "Year born" = '1976'
null
general
จำนวนหัวในปี 2010 ที่ผลผลิตในฟาร์มอยู่ที่ 6.9 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was head count in 2010 where the farm production is 6.9?It is not neccessary to use all the tables.
table_13618358_1: agri_culture_b [ VARCHAR]
SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = "6.9"
null
general
ผู้ป่วย 006-167444 สั่งยาทางหลอดเลือดดำครั้งแรกเมื่อใด จนถึง 64 เดือนที่แล้ว?ไม่จำเป็นต้องใช้ทุกตาราง
what time is the first time patient 006-167444 was prescribed a medicine via intravenous route until 64 months ago?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-167444')) AND medication.routeadmin = 'intravenous' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-64 month') ORDER BY medication.drugstarttime LIMIT 1
null
general
ใครชนะการแข่งขันวันที่ 11 เมษายน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who won the April 11 race?It is not neccessary to use all the tables.
table_25773116_2: winning_driver [ VARCHAR] date [ VARCHAR]
SELECT winning_driver FROM table_25773116_2 WHERE date = "April 11"
null
general
ทุกคะแนนสำหรับการเข้าร่วมสถานที่ของ Madison Square Garden 19,763 และเกมน้อยกว่า 80.0 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is every score for location attendance of Madison Square Garden 19,763 and game less than 80.0?It is not neccessary to use all the tables.
table_23248869_10: score [ VARCHAR] location_attendance [ VARCHAR] game [ VARCHAR]
SELECT score FROM table_23248869_10 WHERE location_attendance = "Madison Square Garden 19,763" AND game < 80.0
null
general
นับจำนวนผู้ป่วยที่ได้รับการฉีดผลิตภัณฑ์เลือด - บรรจุเม็ดเลือดแดงมาแล้ว 2 ครั้ง ตั้งแต่ปี 2105 ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients who have already received the blood product administration - packed red blood cells two times since 2105.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, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'blood product administration - packed red blood cells' AND STRFTIME('%y', treatment.treatmenttime) >= '2105') GROUP BY patient.uniquepid) AS t1 WHERE t1.c1 = 2
null
general
ผลการแข่งขันที่มีคนเข้าร่วมถึง 80,886 คน เป็นอย่างไร ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the result of the game that was attended by 80,886 people?It is not neccessary to use all the tables.
table_name_38: result [ VARCHAR] attendance [ VARCHAR]
SELECT result FROM table_name_38 WHERE attendance = "80,886"
null
general
ซึ่งเป็นผู้วิจารณ์เมื่อโฆษกเป็น โคล้ด ดาร์เก็ต ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
who was the commentator when spokesperson was claude dargetIt is not neccessary to use all the tables.
table_184803_4: commentator [ VARCHAR] spokespersons [ VARCHAR]
SELECT commentator FROM table_184803_4 WHERE spokespersons = "Claude Darget"
null
general
ขอแผนภูมิแท่งที่รวมวันที่ชำระเงินไว้ในช่วงปี แล้วคำนวณยอดรวมของการชำระเงินแต่ละครั้งที่จัดหมวดหมู่ตามรหัสวิธีการชำระเงิน จากนั้นเรียงลำดับแถบตามลำดับวันที่จากน้อยไปมาก ไม่จำเป็นต้องใช้ตารางทั้งหมด .
Give me a bar chart that bins the payment date into the Year interval and then compute the total amount of each payment categorized by the payment method code, and then sort the bars in ascending order of date.It is not neccessary to use all the tables.
Claims: Claim_ID [ INTEGER] Policy_ID [ INTEGER] Date_Claim_Made [ DATE] Date_Claim_Settled [ DATE] Amount_Claimed [ INTEGER] Amount_Settled [ INTEGER]
SELECT Date_Payment_Made, SUM(Amount_Payment) FROM Payments GROUP BY Payment_Method_Code ORDER BY Date_Payment_Made
null
general
ชื่อสนามบินใดมีคำว่า 'นานาชาติ'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which of the airport names contains the word 'international'?It is not neccessary to use all the tables.
operate_company: id [ number] name [ text] type [ text] principal_activities [ text] incorporated_in [ text] group_equity_shareholding [ number]
SELECT name FROM airport WHERE name LIKE '%international%'
null
general
แผนภูมิแท่ง x ตัวพาแกน แกน y จำนวนของพาหะ เรียงลำดับตามจำนวนทั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Bar chart x axis carrier y axis the number of carrier, sort in desc by the total number.It is not neccessary to use all the tables.
market: Market_ID [ int] District [ text] Num_of_employees [ int] Num_of_shops [ real] Ranking [ int]
SELECT Carrier, COUNT(Carrier) FROM phone GROUP BY Carrier ORDER BY COUNT(Carrier) DESC
null
general
รับ ID ผู้ใช้จากชื่อที่แสดง ค้นหา ID ผู้ใช้ของคุณ (เพื่อใช้ในแบบสอบถามอื่น) ตามชื่อที่แสดงของคุณ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Get User ID from Display Name. Look up your User ID (for use in other queries) based upon your Display NameIt is not neccessary to use all the tables.
PostNoticeTypes: Id [ number] ClassId [ number] Name [ text] Body [ text] IsHidden [ boolean] Predefined [ boolean] PostNoticeDurationId [ number]
SELECT Id FROM Users WHERE DisplayName = '##DisplayName##'
null
general
เวลารวมของการแข่งขันที่เกิดขึ้นในรอบที่ 3 กับคู่ต่อสู้ Keith Wisniewski คือเท่าไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski?It is not neccessary to use all the tables.
table_name_39: time [ VARCHAR] round [ VARCHAR] opponent [ VARCHAR]
SELECT time FROM table_name_39 WHERE round = "3" AND opponent = "keith wisniewski"
null
general
สำหรับพนักงานทุกคนที่มีตัวอักษร D หรือ S ในชื่อ ให้วาดแผนภูมิเส้นเกี่ยวกับการเปลี่ยนแปลงของ Employee_id บน Hire_date และแสดงรายการตามลำดับตามแกน x โปรดใช้ตารางทั้งหมดไม่จำเป็นที่จะต้องใช้
For all employees who have the letters D or S in their first name, draw a line chart about the change of employee_id over hire_date , and list in desc by the x axis please.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, EMPLOYEE_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY HIRE_DATE DESC
null
general
ใครคือ 92.5 ที่มีการกด 282.5?ไม่จำเป็นต้องใช้ทุกตาราง
Who is the 92.5 with the press of 282.5?It is not neccessary to use all the tables.
table_name_26: press [ VARCHAR]
SELECT 925 FROM table_name_26 WHERE press = "282.5"
null
general
มีบทบาทกี่บทบาท?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many roles are there?It is not neccessary to use all the tables.
ref_locations: location_code [ text] location_name [ text] location_description [ text]
SELECT COUNT(*) FROM roles
null
general
มีผู้เข้าร่วมกี่คนในเกมวันที่ 5 กันยายน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many were in attendance for the september 5th game ?It is not neccessary to use all the tables.
table_203_598: id [ number] "date" [ text] "time" [ text] "opponent" [ text] "site" [ text] "tv" [ text] "result" [ text] "attendance" [ number]
SELECT "attendance" FROM table_203_598 WHERE "date" = 'september 5'
null
general
ผ่านไปกี่วันแล้วตั้งแต่ผู้ป่วย 015-59552 เข้ารับการรักษาในโรงพยาบาล?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many days have passed since patient 015-59552 was admitted in a hospital?It is not neccessary to use all the tables.
lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time]
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '015-59552' AND patient.hospitaldischargetime IS NULL
null
general
ขอฮิสโตแกรมว่าแต่ละเมืองมีกลุ่มเวิร์คช็อปละครกี่กลุ่ม? กลับทั้งเมืองและการนับ คุณสามารถเรียงลำดับตามแกน x จากมากไปน้อยได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me a histogram for how many drama workshop groups are there in each city? Return both the city and the count, could you order by the x axis in descending?It is not neccessary to use all the tables.
Invoices: Invoice_ID [ INTEGER] Order_ID [ INTEGER] payment_method_code [ CHAR(15)] Product_ID [ INTEGER] Order_Quantity [ VARCHAR(288)] Other_Item_Details [ VARCHAR(255)] Order_Item_ID [ INTEGER]
SELECT City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town ORDER BY City_Town DESC
null
general
Cleveland Browns เล่นสัปดาห์ใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What week did Cleveland Browns played?It is not neccessary to use all the tables.
table_59298: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ real]
SELECT AVG("Week") FROM table_59298 WHERE "Opponent" = 'cleveland browns'
null
general
การแข่งขันใดมีอันดับแชมป์เปี้ยน 5? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Matches has champion Rank of 5?It is not neccessary to use all the tables.
table_38183: "Rank" [ real]
SELECT MAX("Matches as champion") FROM table_38183 WHERE "Rank" = '5'
null
general
ผลการเลือกตั้งที่มีเจมส์ ก. gallivan (d) ไม่ค้าน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the result of the election featuring james a. gallivan (d) unopposed?It is not neccessary to use all the tables.
table_18695: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT "Result" FROM table_18695 WHERE "Candidates" = 'James A. Gallivan (D) Unopposed'
null
general
ผู้เล่นของ jaco coetzee และความพยายามที่มากกว่า 6 มีจำนวนคะแนนทั้งหมดเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Player of jaco coetzee, and a Tries larger than 6 had what total number of score?It is not neccessary to use all the tables.
table_70939: "Number" [ real] "Player" [ text] "Caps" [ real] "Tries" [ real] "Conversions" [ real] "Penalties" [ real] "Score" [ real]
SELECT COUNT("Score") FROM table_70939 WHERE "Player" = 'jaco coetzee' AND "Tries" > '6'
null
general
AS คือสายการบินอะไรไม่จำเป็นต้องใช้ตารางทั้งหมด
what airline is ASIt is not neccessary to use all the tables.
dual_carrier: main_airline [ varchar] low_flight_number [ int] high_flight_number [ int] dual_airline [ varchar] service_name [ text]
SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'AS'
null
general
สถานีใดอยู่ด้านบนของรายการ ?ไม่จำเป็นต้องใช้ทุกตาราง
what station is on top of the list ?It is not neccessary to use all the tables.
table_203_749: id [ number] "frequency" [ text] "licensee" [ text] "format" [ text]
SELECT "call sign" FROM table_203_749 WHERE id = 1
null
general
ผู้ใช้จัดอันดับตามจำนวนป้าย (ทุกประเภท) ไม่จำเป็นต้องใช้ทุกตาราง
Users ranked by number of badges (all kinds).It is not neccessary to use all the tables.
Users: Id [ number] Reputation [ number] CreationDate [ time] DisplayName [ text] LastAccessDate [ time] WebsiteUrl [ text] Location [ text] AboutMe [ text] Views [ number] UpVotes [ number] DownVotes [ number] ProfileImageUrl [ text] EmailHash [ text] AccountId [ number]
SELECT UserLink AS "user_link", Rep, NumBadges, COUNT(*) AS "numquestions" FROM (SELECT * FROM (SELECT Users.Id AS "userlink", Users.Reputation AS "rep", COUNT(*) AS "numbadges" FROM Users INNER JOIN Badges ON Users.Id = Badges.UserId WHERE Badges.Class = 1 GROUP BY Users.Id, Users.Reputation) AS UserByBadge ORDER BY NumBadges DESC LIMIT 100) AS UserByQuestion INNER JOIN Posts ON Posts.OwnerUserId = UserLink WHERE Posts.PostTypeId = 1 GROUP BY UserLink, Rep, NumBadges ORDER BY NumBadges DESC
null
general
จำนวนประตูสูงสุดที่ทำได้คือเท่าใดไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest number of goals scoredIt is not neccessary to use all the tables.
table_24565004_7: goals¹ [ INTEGER]
SELECT MAX(goals¹) FROM table_24565004_7
null
general
ผลรวมของผู้เข้าร่วมในปี 2013 สำหรับรัสเซียเมื่อมี 5 คนในปี 2010 และน้อยกว่า 4 ในปี 2012 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?It is not neccessary to use all the tables.
table_7827: "Country" [ text] "2010" [ real] "2011" [ real] "2012" [ real] "2013" [ real]
SELECT SUM("2013") FROM table_7827 WHERE "2010" = '5' AND "Country" = 'russia' AND "2012" < '4'
null
general
อาคารที่สร้างขึ้นในปี 1985 มี 22 ชั้นสูงแค่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How tall is the building built in 1985 with 22 floors?It is not neccessary to use all the tables.
table_62429: "Rank" [ text] "Name" [ text] "Floors" [ real] "Year" [ real]
SELECT "Height ft (m)" FROM table_62429 WHERE "Floors" = '22' AND "Year" = '1985'
null
general
พื้นผิวใดมีฝ่ายตรงข้ามของ Fernando Verdasco?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which surface has an Opponent of fernando verdasco?It is not neccessary to use all the tables.
table_name_41: surface [ VARCHAR] opponent [ VARCHAR]
SELECT surface FROM table_name_41 WHERE opponent = "fernando verdasco"
null
general
ค้นหาคะแนนเครดิตเฉลี่ยของลูกค้าที่มีสินเชื่ออยู่บ้าง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the average credit score of the customers who have some loan.It is not neccessary to use all the tables.
loan: loan_id [ text] loan_type [ text] cust_id [ text] branch_id [ text] amount [ number]
SELECT AVG(credit_score) FROM customer WHERE cust_id IN (SELECT cust_id FROM loan)
null
general
ค้นหาวันที่ลงทะเบียนหลักสูตร 'ภาษาสเปน' แล้วนับด้วยแผนภูมิแท่ง ฉันต้องการแสดงแกน Y ตามลำดับ asc ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the the date of enrollment of the 'Spanish' course, and count them by a bar chart, I want to show Y-axis in asc order.It is not neccessary to use all the tables.
Course_Authors_and_Tutors: author_id [ INTEGER] author_tutor_ATB [ VARCHAR(3)] login_name [ VARCHAR(40)] password [ VARCHAR(40)] personal_name [ VARCHAR(80)] middle_name [ VARCHAR(80)] family_name [ VARCHAR(80)] gender_mf [ VARCHAR(1)] address_line_1 [ VARCHAR(80)]
SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish" ORDER BY COUNT(date_of_enrolment)
null
general
โปรดให้บริการรับส่งบริเวณสนามบินดัลลาส ไม่จำเป็นต้องใช้ตารางทั้งหมด
please give grounds transportation at DALLAS airportIt is not neccessary to use all the tables.
city: city_code [ varchar] city_name [ varchar] state_code [ varchar] country_name [ varchar] time_zone_code [ varchar]
SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city, ground_service WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'DALLAS' AND ground_service.airport_code = airport.airport_code
null
general
เอกสารที่มี ID 4 ส่งไปยังที่อยู่ใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What address was the document with id 4 mailed to?It is not neccessary to use all the tables.
Documents_Mailed: document_id [ VARCHAR]
SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4
null
general
เกมที่แพ้ค็อกซ์มีคะแนนเท่าไหร่ (6 2) ไม่จำเป็นต้องใช้ทุกโต๊ะ
What was the score of the game that had a loss of Cox (6 2)?It is not neccessary to use all the tables.
table_67131: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Record" [ text]
SELECT "Score" FROM table_67131 WHERE "Loss" = 'cox (6–2)'
null
general
จำนวนผู้เข้าร่วมเกมสูงสุดที่ส่งผลให้ L 23-20 คืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the highest attendance of games that resulted in L 23-20?It is not neccessary to use all the tables.
table_name_64: attendance [ INTEGER] result [ VARCHAR]
SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20"
null
general
เฮปเบิร์นที่แก้ไขแล้วจำนวนเท่าใดเมื่อภาษาอังกฤษเป็นอักขระโรมันไม่จำเป็นต้องใช้ตารางทั้งหมด
how many revised hepburn when english is roman charactersIt is not neccessary to use all the tables.
table_26263954_1: revised_hepburn [ VARCHAR] english [ VARCHAR]
SELECT revised_hepburn FROM table_26263954_1 WHERE english = "Roman characters"
null
general
ขอแผนภูมิแท่งสำหรับจำนวนบริการของแต่ละบริการ และจัดอันดับตามแกน y จากมากไปหาน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me a bar chart for the number of services of each services, and rank by the y-axis in descending please.It is not neccessary to use all the tables.
weekly_weather: station_id [ int] day_of_week [ text] high_temperature [ int] low_temperature [ int] precipitation [ real] wind_speed_mph [ int]
SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY COUNT(services) DESC
null
general
มีกี่รัฐที่มีวิทยาลัยที่เล็กกว่าค่าเฉลี่ย?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many states have smaller colleges than average?It is not neccessary to use all the tables.
college: cname [ text] state [ text] enr [ number]
SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)
null
general
ส่งกลับค่าประมาณต่ำและสูงสำหรับตลาดภาพยนตร์ทั้งหมดในแผนภูมิกระจาย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return the low and high estimates for all film markets in a scatter chartIt is not neccessary to use all the tables.
film_market_estimation: Estimation_ID [ int] Low_Estimate [ real] High_Estimate [ real] Film_ID [ int] Type [ text] Market_ID [ int] Year [ int]
SELECT Low_Estimate, High_Estimate FROM film_market_estimation
null
general
เมื่อตำแหน่ง 3 อยู่ตำแหน่งใบเรือคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When 3 is the position what is the sail number?It is not neccessary to use all the tables.
table_1895: "Position" [ real] "Yacht" [ text] "State/Country" [ text] "Skipper" [ text]
SELECT "Sail Number" FROM table_1895 WHERE "Position" = '3'
null
general
วันเสาร์ที่ 21 เมษายน สถานที่ไหนครับ ไม่จำเป็นต้องใช้ทุกโต๊ะครับ
what is the location for saturday, april 21It is not neccessary to use all the tables.
table_30072: "Week" [ real] "Date" [ text] "Kickoff" [ text] "Opponent" [ text] "Attendance" [ real]
SELECT "Game site" FROM table_30072 WHERE "Date" = 'Saturday, April 21'
null
general
นับจำนวนคนไข้ที่ปีที่รับเข้ารักษาน้อยกว่า 2,123 และหมวดทดสอบในห้องปฏิบัติการเป็นเคมีหรือไม่ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients whose admission year is less than 2123 and lab test category is chemistry?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 < "2123" AND lab."CATEGORY" = "Chemistry"
null
general
สถานที่ใดในวันที่ 8/6/03 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What venue is on the date of 8/6/03It is not neccessary to use all the tables.
table_name_5: venue [ VARCHAR] date [ VARCHAR]
SELECT venue FROM table_name_5 WHERE date = "8/6/03"
null
general
เวลา 15.30 น. กับอีกโลกหนึ่งเวลา 14.00 น. คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHAT IS THE 330PM WITH ANOTHER WORLD AT 200PM?It is not neccessary to use all the tables.
table_59282: "noon" [ text]
SELECT "3:30 pm" FROM table_59282 WHERE "2:00 pm" = 'another world'
null
general
อะไรคือรอบมากที่สุดโดยจบ 10 และผ่านเข้ารอบ 106.185?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the most laps with a finish of 10 and qualification of 106.185?It is not neccessary to use all the tables.
table_71479: "Year" [ text] "Start" [ text] "Qual" [ text] "Rank" [ text] "Finish" [ text] "Laps" [ real]
SELECT MAX("Laps") FROM table_71479 WHERE "Finish" = '10' AND "Qual" = '106.185'
null
general
เรตติ้งกองหลังของผู้เล่นที่ได้เปอร์เซ็นต์คอมพ์ 62.0 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Quarterback rating of the player who got a comp percentage of 62.0?It is not neccessary to use all the tables.
table_22548: "Rank" [ real] "Name" [ text] "Tenure" [ text] "Leagues" [ text] "Attempts" [ real] "Completions" [ real] "Touchdowns" [ real] "Interceptions" [ real] "Yardage" [ real]
SELECT "QB Rating" FROM table_22548 WHERE "Comp %" = '62.0'
null
general
บอกฉันหน่อยว่าเหตุการณ์เอาต์พุตห้าอันดับแรกที่เกิดขึ้นตั้งแต่ปี 2100 ไม่จำเป็นต้องใช้ตารางทั้งหมดหรือไม่
tell me the top five output events that happened since 2100?It is not neccessary to use all the tables.
chartevents: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] itemid [ number] charttime [ time] valuenum [ number] valueuom [ text]
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE STRFTIME('%y', outputevents.charttime) >= '2100' GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 5)
null
general
การเลือกเฉลี่ยของ Princeton หลังรอบ 3 เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average pick for Princeton after round 3?It is not neccessary to use all the tables.
table_name_29: pick [ INTEGER] round [ VARCHAR] college [ VARCHAR]
SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton"
null
general
Margin of Victory คืออะไร เมื่อการแข่งขันคือ 'Women's Kemper Open'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Margin of Victory, when Tournament is 'Women's Kemper Open'?It is not neccessary to use all the tables.
table_name_93: margin_of_victory [ VARCHAR] tournament [ VARCHAR]
SELECT margin_of_victory FROM table_name_93 WHERE tournament = "women's kemper open"
null
general
มีกี่เที่ยวบินที่มีความเร็วมากกว่า 200?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many flights have a velocity larger than 200?It is not neccessary to use all the tables.
airport: id [ number] city [ text] country [ text] iata [ text] icao [ text] name [ text]
SELECT COUNT(*) FROM flight WHERE velocity > 200
null
general
คะแนนใดที่มีนักแสดง se n monaghan และเสมอน้อยกว่า 7? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Points have a Performer of se n monaghan and a Draw smaller than 7?It is not neccessary to use all the tables.
table_41323: "Draw" [ real] "Song" [ text] "Performer" [ text] "Points" [ real] "Rank" [ text]
SELECT MIN("Points") FROM table_41323 WHERE "Performer" = 'seán monaghan' AND "Draw" < '7'
null
general
บริษัทหรือผลิตภัณฑ์ชื่ออะไรในตอนที่ 3 และสนับสนุนโดย Investing Dragon Deborah Meaden?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the Company or Product that is Episode 3 and is suppoted by Investing Dragon Deborah Meaden?It is not neccessary to use all the tables.
table_66773: "Episode" [ text] "Entrepreneur(s)" [ text]
SELECT "Company or product name" FROM table_66773 WHERE "Episode" = 'episode 3' AND "Investing Dragon(s)" = 'deborah meaden'
null
general
มีกี่ทีมที่มี 632 แต้มต่อ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many teams had 632 points against?It is not neccessary to use all the tables.
table_21051: "Club" [ text] "Played" [ text] "Won" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text]
SELECT COUNT("Points for") FROM table_21051 WHERE "Points against" = '632'
null
general
ผู้ป่วย 74159 ได้รับการทดสอบความอิ่มตัวของออกซิเจนในการไปโรงพยาบาลครั้งแรกหรือไม่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
had patient 74159 received a test of oxygen saturation in their first hospital visit?It is not neccessary to use all the tables.
chartevents: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] itemid [ number] charttime [ time] valuenum [ number] valueuom [ text]
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'oxygen saturation') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 74159 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)
null
general
ก่อนปี พ.ศ. 2503 มีป้ายทะเบียนออกกี่แผ่น ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many license plates were issued before 1960 ?It is not neccessary to use all the tables.
table_203_379: id [ number] "design" [ text] "slogan" [ text] "notes" [ text]
SELECT COUNT(*) FROM table_203_379 WHERE "first issued" < 1960
null
general
ระบุจำนวนผู้ป่วยที่วินิจฉัยชื่อสั้นว่า ben neo spinal meninges และเส้นทางการให้ยา ng?ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose diagnoses short title is ben neo spinal meninges and drug route is ng?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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Ben neo spinal meninges" AND prescriptions.route = "NG"
null
general
ระบุจำนวนผู้ป่วยที่อายุน้อยกว่า 51 ปี และปีที่เข้ารับการรักษาน้อยกว่า 2,177 ปี ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose age is less than 51 and admission year is less than 2177?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.age < "51" AND demographic.admityear < "2177"
null
general
คันนิงแฮมแสดงสถานะใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What state shows for Cunningham?It is not neccessary to use all the tables.
table_name_3: state [ VARCHAR] electorate [ VARCHAR]
SELECT state FROM table_name_3 WHERE electorate = "cunningham"
null
general