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 |
---|---|---|---|---|---|
น้ำหนักเฉลี่ยของผู้เล่นส่วนสูง 180 ซม. และเล่นตำแหน่ง d คือเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the average weight of the player with a height of 180 cm and plays the d position?It is not neccessary to use all the tables. | table_name_53: weight__kg_ [ INTEGER] height__cm_ [ VARCHAR] position [ VARCHAR] | SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = "d" | null | general |
EARTH 148 ภาคการศึกษาหน้าจะมีภาคการบรรยายกี่ส่วน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many lecture sections are available for EARTH 148 next semester ?It is not neccessary to use all the tables. | course_prerequisite: pre_course_id [ int] course_id [ int] | SELECT COUNT(*) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EARTH' AND course.number = 148 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | null | general |
บอกชื่อการวินิจฉัยแบบยาวสำหรับผู้ป่วยที่มีรหัสผู้ป่วย 18077 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Tell me the long title of diagnoses for the patient with patient id 18077.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 diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "18077" | null | general |
ยางสำหรับ United States Grand Prix คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the Tyre for the united states grand prix?It is not neccessary to use all the tables. | table_56351: "Race" [ text] "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Tyre" [ text] "Report" [ text] | SELECT "Tyre" FROM table_56351 WHERE "Race" = 'united states grand prix' | null | general |
ตำแหน่ง/ผู้เข้าร่วมใดที่มีการรีบาวด์สูงของเลนน็อกซ์ (7)?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Location/Attendance has High rebounds of lennox (7)?It is not neccessary to use all the tables. | table_76380: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location/Attendance" [ text] "Record" [ text] | SELECT "Location/Attendance" FROM table_76380 WHERE "High rebounds" = 'lennox (7)' | null | general |
มีผู้เข้าร่วมทั้งหมดกี่คนในระหว่างเกมในวันที่ 27 ตุลาคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many total numbers of attendance are there during the game in October 27?It is not neccessary to use all the tables. | table_22057: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ real] | SELECT COUNT("Attendance") FROM table_22057 WHERE "Date" = 'October 27' | null | general |
บัตรประจำตัวผู้ป่วยคนสุดท้ายของผู้ป่วย 86929 เมื่อพวกเขามาโรงพยาบาลครั้งล่าสุดคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what was patient 86929's last ward identification when they came to the hospital last time?It is not neccessary to use all the tables. | patients: row_id [ number] subject_id [ number] gender [ text] dob [ time] dod [ time] | SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 86929 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND NOT transfers.wardid IS NULL ORDER BY transfers.intime DESC LIMIT 1 | null | general |
กำลังของเครื่องยนต์ที่มีอัตราการสิ้นเปลือง (แก๊ส/เอทานอล) และรหัสแรงบิดสูง k7m คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the power of the engine with a combined consumption of (gas/ethanol) and the k7m hi-torque code?It is not neccessary to use all the tables. | table_51821: "Name" [ text] "Code" [ text] "Capacity" [ text] "Type" [ text] "Power" [ text] "Torque" [ text] | SELECT "Power" FROM table_51821 WHERE "Combined consumption" = '(gas/ethanol)' AND "Code" = 'k7m hi-torque' | null | general |
คนไข้ที่วินิจฉัยชื่อสั้นเป็นแผลที่ส้นเท้าและกลางเท้าและชนิดยาเป็นเบสมีกี่ราย?ไม่จำเป็นต้องใช้ทุกตาราง | what is the number of patients whose diagnoses short title is ulcer of heel & midfoot and drug type is base?It is not neccessary to use all the tables. | lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Ulcer of heel & midfoot" AND prescriptions.drug_type = "BASE" | null | general |
สมาชิกคนอื่นๆ ของผู้สำเร็จราชการแทนพระองค์จากทัลซา นอกเหนือจากโจเซฟ แอล. ปาร์คเกอร์จูเนียร์ .ไม่จำเป็นต้องใช้ทุกตาราง | other members of the state regents from tulsa besides joseph l. parker jr. .It is not neccessary to use all the tables. | table_204_68: id [ number] "name" [ text] "profession" [ text] "hometown" [ text] "office" [ text] | SELECT "name" FROM table_204_68 WHERE "hometown" = 'tulsa' AND "name" <> 'joseph l. parker jr' | null | general |
ใครคือผู้เขียนสำหรับตอนที่ระบุโดยรหัสการผลิต 2t5954?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who was the writter for the episode identified by the production code 2t5954?It is not neccessary to use all the tables. | table_73966: "No." [ real] "#" [ real] "Title" [ text] | SELECT "Written by" FROM table_73966 WHERE "Production code" = '2T5954' | null | general |
ผู้เข้าชมเป็นอย่างไรบ้างเมื่อเจ้าบ้านอยู่ที่เมลเบิร์น?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What was the crowd attendance when the home team was Melbourne?It is not neccessary to use all the tables. | table_name_73: crowd [ VARCHAR] home_team [ VARCHAR] | SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne" | null | general |
คนไข้ที่เข้ารับการรักษาน้อยกว่า 2,162 ปี และชื่อการผ่าตัดแบบยาวผ่านผิวหนัง [ส่องกล้อง] gastrojejunostomy มีจำนวนเท่าใด? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | what is the number of patients whose admission year is less than 2162 and procedure long title is percutaneous [endoscopic] gastrojejunostomy?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2162" AND procedures.long_title = "Percutaneous [endoscopic] gastrojejunostomy" | null | general |
นับจำนวนผู้ป่วยที่มีการวินิจฉัยชื่อยาวไม่ระบุโรคระบบประสาทส่วนปลายทางพันธุกรรมและไม่ทราบสาเหตุ และประเภทการทดสอบในห้องปฏิบัติการคือโลหิตวิทยาหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | count the number of patients whose diagnoses long title is unspecified hereditary and idiopathic peripheral neuropathy and lab test category is hematology?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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Unspecified hereditary and idiopathic peripheral neuropathy" AND lab."CATEGORY" = "Hematology" | null | general |
สำหรับ 499 เทอมหน้า ศาสตราจารย์แฟรงค์ แอนเดอร์สันจะสอนในชั้นเรียนหรือไม่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | For 499 , next semester , will Prof. Frank Anderson be teaching the class ?It is not neccessary to use all the tables. | jobs: job_id [ int] job_title [ varchar] description [ varchar] requirement [ varchar] city [ varchar] state [ varchar] country [ varchar] zip [ int] | SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 499 AND instructor.name LIKE '%Frank Anderson%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | null | general |
แชสซีประเภทใดที่รองรับผู้เข้าร่วม Equipe Gordini?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What kind of Chassis supports an Equipe Gordini Entrant?It is not neccessary to use all the tables. | table_name_82: chassis [ VARCHAR] entrant [ VARCHAR] | SELECT chassis FROM table_name_82 WHERE entrant = "equipe gordini" | null | general |
ด้วยวิธีการ tko (เตะ) บันทึกของการแข่งขันคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | With a method of tko (kick) what is the record of the match?It is not neccessary to use all the tables. | table_49967: "Res." [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Event" [ text] "Round" [ text] "Location" [ text] | SELECT "Record" FROM table_49967 WHERE "Method" = 'tko (kick)' | null | general |
คะแนน 1 ของเสมอหมายเลข 6 คืออะไร?ไม่จำเป็นต้องใช้ทุกตาราง | What is the Score 1 of Tie no 6?It is not neccessary to use all the tables. | table_name_46: score_1 [ VARCHAR] tie_no [ VARCHAR] | SELECT score_1 FROM table_name_46 WHERE tie_no = "6" | null | general |
คุณต้องเข้าห้องแล็บด้วย 523 หรือไม่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Do you have to take a lab with 523 ?It is not neccessary to use all the tables. | semester: semester_id [ int] semester [ varchar] year [ int] | SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 523 | null | general |
วันที่ อุณหภูมิเฉลี่ย และความชื้นเฉลี่ยของวันที่มีความเร็วลมกระโชกสูงสุด 3 ระดับสูงสุดคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?It is not neccessary to use all the tables. | trip: id [ number] duration [ number] start_date [ text] start_station_name [ text] start_station_id [ number] end_date [ text] end_station_name [ text] end_station_id [ number] bike_id [ number] subscription_type [ text] zip_code [ number] | SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3 | null | general |
สถานที่ใดมีพื้นที่มากกว่า (กม. 2) มากกว่า 34.42?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which place has more area (km 2) than 34.42?It is not neccessary to use all the tables. | table_34372: "Place" [ text] "Code" [ real] "Population" [ real] | SELECT "Place" FROM table_34372 WHERE "Area (km 2 )" > '34.42' | null | general |
แสดงภาพแผนภูมิแท่งเกี่ยวกับการกระจายสัญชาติและผลรวมของ meter_100 และจัดกลุ่มตามแอตทริบิวต์ Nationality จัดเรียงตามแกน Y ใน asc ไม่จำเป็นต้องใช้ตารางทั้งหมด | Visualize a bar chart about the distribution of Nationality and the sum of meter_100 , and group by attribute Nationality, sort by the Y-axis in asc.It is not neccessary to use all the tables. | swimmer: ID [ int] name [ text] Nationality [ text] meter_100 [ real] meter_200 [ text] meter_300 [ text] meter_400 [ text] meter_500 [ text] meter_600 [ text] meter_700 [ text] Time [ text] | SELECT Nationality, SUM(meter_100) FROM swimmer GROUP BY Nationality ORDER BY SUM(meter_100) | null | general |
เปรียบเทียบจำนวนรายการตามประเภทของแต่ละรายการโดยใช้แผนภูมิแท่งและเรียงลำดับตามชื่อจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Compare the number of items in the type of each thing using a bar chart, and sort by the names in descending.It is not neccessary to use all the tables. | Residents_Services: resident_id [ INTEGER] service_id [ INTEGER] date_moved_in [ DATETIME] property_id [ INTEGER] date_requested [ DATETIME] date_provided [ DATETIME] other_details [ VARCHAR(255)] | SELECT Type_of_Thing_Code, COUNT(Type_of_Thing_Code) FROM Things GROUP BY Type_of_Thing_Code ORDER BY Type_of_Thing_Code DESC | null | general |
วันที่ใดมีฝ่ายตรงข้ามของ Juan M Naco และคะแนน 6 2, 4 6, 7 6 (7 3) ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which date has a Opponent of juan m naco, and a Score of 6 2, 4 6, 7 6 (7 3)?It is not neccessary to use all the tables. | table_55034: "Outcome" [ text] "Date" [ text] "Surface" [ text] "Opponent" [ text] "Score" [ text] | SELECT "Date" FROM table_55034 WHERE "Opponent" = 'juan mónaco' AND "Score" = '6–2, 4–6, 7–6 (7–3)' | null | general |
ตั้งชื่อวันที่พร้อมผลผู้ชนะและคะแนน 4 6 6 2 7 6 (7 4)ไม่จำเป็นต้องใช้ทุกตาราง | Name the date with outcome of winner and score of 4 6 6 2 7 6 (7 4)It is not neccessary to use all the tables. | table_name_25: date [ VARCHAR] outcome [ VARCHAR] score [ VARCHAR] | SELECT date FROM table_name_25 WHERE outcome = "winner" AND score = "4–6 6–2 7–6 (7–4)" | null | general |
เพ็กกี้ ฮายามะ เจ้าบ้านทีมสีแดงหมายเลขใดที่ k haku?ไม่จำเป็นต้องใช้ตารางทั้งหมด | In what number k haku was the red team host Peggy Hayama?It is not neccessary to use all the tables. | table_18000: "Date" [ text] "Mediator" [ text] | SELECT "K\u014dhaku #" FROM table_18000 WHERE "Red Team Host" = 'Peggy Hayama' | null | general |
มีผู้ป่วยกี่รายที่เป็นประเภทแรกเกิดและจำนวนวันที่ต้องนอนโรงพยาบาลมากกว่า 10 วัน ไม่จำเป็นต้องใช้ทุกโต๊ะ | how many patients whose admission type is newborn and days of hospital stay is greater than 10?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 = "NEWBORN" AND demographic.days_stay > "10" | null | general |
หมายเลขเลือกต่ำสุดของ Ken Walter โดยหมายเลขเลือกโดยรวมมากกว่า 195 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Ken Walter's lowest pick number with an overall pick number larger than 195?It is not neccessary to use all the tables. | table_name_28: pick__number [ INTEGER] name [ VARCHAR] overall [ VARCHAR] | SELECT MIN(pick__number) FROM table_name_28 WHERE name = "ken walter" AND overall > 195 | null | general |
ชื่อดั้งเดิมอะไรที่มีปี 1978?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What original title has a year of 1978?It is not neccessary to use all the tables. | table_name_18: original_title [ VARCHAR] year [ VARCHAR] | SELECT original_title FROM table_name_18 WHERE year = "1978" | null | general |
กำไร/ขาดทุนสุทธิ (SEK) ใดที่มีกำไรต่อหุ้นพื้นฐาน (SEK) ที่ -6.58 และพนักงาน (เฉลี่ย/ปี) ที่มากกว่า 31,035? ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Net profit/loss (SEK) has a Basic eps (SEK) of -6.58, and Employees (Average/Year) larger than 31,035?It is not neccessary to use all the tables. | table_34012: | SELECT SUM("Net profit/loss (SEK)") FROM table_34012 WHERE "Basic eps (SEK)" = '-6.58' AND "Employees (Average/Year)" > '31,035' | null | general |
มีการสำรวจต่อมหมวกไตกี่ครั้งจนถึงปี 2102? ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many times a adrenal exploration nos has been taken until 2102?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(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'adrenal exploration nos') AND STRFTIME('%y', procedures_icd.charttime) <= '2102' | null | general |
ใครเป็นหัวหน้าโค้ชในฤดูกาลที่ 2?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who was the head coach in season 2?It is not neccessary to use all the tables. | table_14015965_1: head_coach [ VARCHAR] previous_season [ VARCHAR] | SELECT head_coach FROM table_14015965_1 WHERE previous_season = "2" | null | general |
ผู้ป่วย 61591 มีการวินิจฉัยประเภทใดในปี 2105 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | has patient 61591 had any type of diagnosis in 2105?It is not neccessary to use all the tables. | d_labitems: row_id [ number] itemid [ number] label [ text] | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 61591) AND STRFTIME('%y', diagnoses_icd.charttime) = '2105' | null | general |
ฉันต้องการทราบสัดส่วนของจำนวนรวมสำหรับรหัสสถานะลูกค้าแต่ละราย ไม่จำเป็นต้องใช้ตารางทั้งหมด | I want to know the proportion of the total number for each customer status code.It is not neccessary to use all the tables. | Staff: staff_id [ INTEGER] staff_address_id [ INTEGER] nickname [ VARCHAR(80)] first_name [ VARCHAR(80)] middle_name [ VARCHAR(80)] last_name [ VARCHAR(80)] date_of_birth [ DATETIME] date_joined_staff [ DATETIME] date_left_staff [ DATETIME] | SELECT customer_status_code, COUNT(*) FROM Customers GROUP BY customer_status_code | null | general |
เขตใดมีเบนจามิน เอ็กเกิลสตันดำรงตำแหน่ง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What district has benjamin eggleston for incumbent?It is not neccessary to use all the tables. | table_name_52: district [ VARCHAR] incumbent [ VARCHAR] | SELECT district FROM table_name_52 WHERE incumbent = "benjamin eggleston" | null | general |
มีกี่ประเทศที่ไม่ได้รับเหรียญเงินเลย ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many nations won no silver medals at all ?It is not neccessary to use all the tables. | table_203_165: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number] | SELECT COUNT("nation") FROM table_203_165 WHERE "silver" = 0 | null | general |
ลูกค้าชื่อ Carole และนามสกุล Bernhard จ่ายเงินทั้งหมดเท่าไร ไม่จำเป็นต้องใช้ทุกตาราง | How much in total does customer with first name as Carole and last name as Bernhard paid?It is not neccessary to use all the tables. | Customer_Payments: amount_payment [ INTEGER] customer_id [ VARCHAR] | SELECT SUM(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Carole" AND T2.last_name = "Bernhard" | null | general |
รายการเที่ยวบินราคาประหยัดที่สุดจาก ดัลลาส ไป บัลติมอร์ ที่เสิร์ฟอาหาร ไม่จำเป็นต้องใช้ตารางทั้งหมด | list lowest cost flight from DALLAS to BALTIMORE that serves a mealIt is not neccessary to use all the tables. | time_interval: period [ text] begin_time [ int] end_time [ int] | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare, food_service WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food_service.meal_code = flight.meal_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1, food_service AS FOOD_SERVICEalias1 WHERE (CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BALTIMORE' AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code AND FOOD_SERVICEalias1.meal_code = FLIGHTalias1.meal_code) AND CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'DALLAS' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id | null | general |
การแข่งขันคืออะไร เมื่อการเคลื่อนไหวเป็น '37' และเมื่อผลลัพธ์เป็น ' '?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Tournament, when Moves is '37', and when Result is ' '?It is not neccessary to use all the tables. | table_59334: "White" [ text] "Black" [ text] "Year" [ real] "Result" [ text] "Moves" [ real] "Tournament" [ text] "Opening" [ text] | SELECT "Tournament" FROM table_59334 WHERE "Moves" = '37' AND "Result" = '½–½' | null | general |
ค้นหาชื่อวิทยาเขตที่มีคณะต่างๆ ในปี 2545 มากกว่าทุกวิทยาเขตในออเรนจ์เคาน์ตี้ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Find the names of the campus which has more faculties in 2002 than every campus in Orange county.It is not neccessary to use all the tables. | campuses: campus [ VARCHAR] id [ VARCHAR] county [ VARCHAR] | SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT MAX(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = "Orange") | null | general |
ระบุชื่อและจำนวนนักเรียนที่ลงทะเบียนสำหรับแต่ละหลักสูตรในแผนภูมิแท่ง และคุณสามารถแสดงตามลำดับตามแกน X ได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | List the name and the number of enrolled student for each course in a bar chart, and could you show in desc by the X-axis?It is not neccessary to use all the tables. | Courses: course_id [ INTEGER] author_id [ INTEGER] subject_id [ INTEGER] course_name [ VARCHAR(120)] course_description [ VARCHAR(255)] | SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY course_name DESC | null | general |
มีเที่ยวบินไปกลับจากแอตแลนต้าไปดัลลาสผ่านเดนเวอร์หรือไม่ ไม่จำเป็นต้องใช้ทุกโต๊ะ | is there a round trip flight from ATLANTA to DALLAS via DENVERIt is not neccessary to use all the tables. | time_zone: time_zone_code [ text] time_zone_name [ text] hours_from_gmt [ int] | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, fare, flight, flight_fare, flight_stop WHERE ((CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DENVER' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare_id = fare.fare_id AND flight_stop.stop_airport = AIRPORT_SERVICE_2.airport_code AND flight.flight_id = flight_fare.flight_id AND flight.flight_id = flight_stop.flight_id) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | null | general |
ผู้ป่วยที่เสียชีวิตน้อยกว่า 2,174 วันเฉลี่ยนอนโรงพยาบาลคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is average days of hospital stay of patients whose year of death is less than 2174?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 AVG(demographic.days_stay) FROM demographic WHERE demographic.dod_year < "2174.0" | null | general |
ค่าเฉลี่ยของ sao2 สำหรับผู้ป่วย 016-18150 ในเดือนที่แล้ว/03 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what was the average value for sao2 for patient 016-18150 on last month/03?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 AVG(vitalperiodic.sao2) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18150')) AND NOT vitalperiodic.sao2 IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') AND STRFTIME('%d', vitalperiodic.observationtime) = '03' | null | general |
ผู้ป่วย 004-79017 รับประทานอะไรเป็นครั้งสุดท้ายในการมาเยี่ยมหอผู้ป่วยหนักในปัจจุบัน ไม่จำเป็นต้องใช้ตารางทั้งหมด | what intake did patient 004-79017 have the last time on the current intensive care unit visit.It is not neccessary to use all the tables. | diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text] | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-79017') AND patient.unitdischargetime IS NULL) AND intakeoutput.cellpath LIKE '%intake%' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1 | null | general |
ชื่อใดมีจำนวนผู้มีสิทธิเลือกตั้ง (2552) มากกว่า 188,799 คน ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Name has a Number of electorates (2009) greater than 188,799?It is not neccessary to use all the tables. | table_name_56: name [ VARCHAR] number_of_electorates__2009_ [ INTEGER] | SELECT name FROM table_name_56 WHERE number_of_electorates__2009_ > 188 OFFSET 799 | null | general |
ค้นหาชื่อและยอดคงเหลือในบัญชีของลูกค้าที่มีชื่อประกอบด้วยตัวอักษร a แสดงภาพโดยใช้แผนภูมิแท่ง และเรียงลำดับตามแกน y จากน้อยไปมาก โปรดไม่จำเป็นต้องใช้ตารางทั้งหมด | Find the name and account balance of the customer whose name includes the letter a Visualize them using a bar chart, and order by the y-axis in ascending please.It is not neccessary to use all the tables. | loan: loan_ID [ varchar(3)] loan_type [ varchar(15)] cust_ID [ varchar(3)] branch_ID [ varchar(3)] amount [ int] | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' ORDER BY acc_bal | null | general |
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มีรหัสระหว่าง 100 ถึง 200 ให้วาดแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Hire_date และค่าเฉลี่ยของถังเงินเดือน Hire_date ตามวันทำงาน ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of hire_date and the average of salary bin hire_date by weekday.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, AVG(SALARY) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | null | general |
ตั้งชื่อพื้นผิวเทียบกับโมนาโกไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the surface against monacoIt is not neccessary to use all the tables. | table_25435: "Edition" [ text] "Round" [ text] "Date" [ text] "Against" [ text] "Surface" [ text] "Opponent" [ text] "W\u2013L" [ text] "Result" [ text] | SELECT "Surface" FROM table_25435 WHERE "Against" = 'Monaco' | null | general |
ร้านอาหารอเมริกันที่ดีที่สุดในบริเวณอ่าวอยู่ที่ไหน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | where is the best restaurant in the bay area for american food ?It is not neccessary to use all the tables. | geographic: city_name [ varchar] county [ varchar] region [ varchar] | SELECT location.house_number, restaurant.name FROM geographic, location, restaurant WHERE geographic.region = 'bay area' AND restaurant.city_name = geographic.city_name AND restaurant.food_type = 'american' AND restaurant.id = location.restaurant_id AND restaurant.rating = (SELECT MAX(RESTAURANTalias1.rating) FROM geographic AS GEOGRAPHICalias1, restaurant AS RESTAURANTalias1 WHERE GEOGRAPHICalias1.region = 'bay area' AND RESTAURANTalias1.city_name = GEOGRAPHICalias1.city_name AND RESTAURANTalias1.food_type = 'american') | null | general |
ตั้งชื่อเจ้าของรายการสำหรับ mike garveyไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the listed owner for mike garveyIt is not neccessary to use all the tables. | table_26895: "Team" [ text] "Truck(s)" [ text] "#" [ real] "Driver(s)" [ text] | SELECT "Listed Owner(s)" FROM table_26895 WHERE "Crew Chief" = 'Mike Garvey' | null | general |
ความสูงสุดท้ายของคนไข้ 21074 คือเท่าใด ไม่จำเป็นต้องใช้ทุกโต๊ะ | what the last height of patient 21074.It is not neccessary to use all the tables. | d_icd_diagnoses: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text] | SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 21074)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht' AND d_items.linksto = 'chartevents') ORDER BY chartevents.charttime DESC LIMIT 1 | null | general |
มีซีรีส์กี่เรื่องที่มีคนดูรวม 23.93 ล้านคน?ไม่จำเป็นต้องใช้ตารางทั้งหมดเลย | How many series had viewers totaling 23.93 million?It is not neccessary to use all the tables. | table_22209: "Title" [ text] | SELECT COUNT("Series #") FROM table_22209 WHERE "U.S. viewers (millions)" = '23.93' | null | general |
การแข่งขันใดเข้าเส้นชัยเป็นที่ 1 ในสนามแข่งม้า Saratoga?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which race had a finish of 1st at Saratoga Race Course?It is not neccessary to use all the tables. | table_46438: "Finish" [ text] "Race" [ text] "Distance" [ text] "Jockey" [ text] "Time" [ text] "Track" [ text] "Surface" [ text] "Date" [ text] | SELECT "Race" FROM table_46438 WHERE "Finish" = '1st' AND "Track" = 'saratoga race course' | null | general |
ผู้เข้าชมเกมในวันที่ 18 กันยายน พ.ศ. 2508 ก่อนสัปดาห์ที่ 3 เป็นอย่างไรบ้าง ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the attendance of the game on September 18, 1965 before week 3?It is not neccessary to use all the tables. | table_name_72: attendance [ VARCHAR] week [ VARCHAR] date [ VARCHAR] | SELECT attendance FROM table_name_72 WHERE week < 3 AND date = "september 18, 1965" | null | general |
วันที่ล่าสุดก่อตั้งขึ้นใน elk county คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the most recent date founded in elk county?It is not neccessary to use all the tables. | table_57008: | SELECT MAX("Date founded") FROM table_57008 WHERE "County or counties" = 'elk county' | null | general |
ชุดว่ายน้ำที่ต่ำที่สุดสำหรับผู้เข้าแข่งขันที่มีค่าเฉลี่ย 9.125 คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the lowest swimsuit for a contestant with an average of 9.125?It is not neccessary to use all the tables. | table_name_38: swimsuit [ INTEGER] average [ VARCHAR] | SELECT MIN(swimsuit) FROM table_name_38 WHERE average = 9.125 | null | general |
ค้นหาชื่อและนามสกุลของผู้ที่จ่ายเงินมากกว่าราคาฐานของห้อง ไม่จำเป็นต้องใช้ทุกโต๊ะ | Find the first and last names of people who payed more than the rooms' base prices.It is not neccessary to use all the tables. | Rooms: RoomId [ VARCHAR] basePrice [ VARCHAR] | SELECT T1.firstname, T1.lastname FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE T1.Rate - T2.basePrice > 0 | null | general |
ใครคือคนขับรถที่รถเรโนลต์สร้างและ Q1 pos มากกว่า 2 คือใคร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who is the driver whose car was constructed by Renault and whose Q1 pos is greater than 2?It is not neccessary to use all the tables. | table_12088: "Driver" [ text] "Constructor" [ text] | SELECT "Driver" FROM table_12088 WHERE "Constructor" = 'renault' AND "Q1 pos" > '2' | null | general |
ครั้งแรกที่เข้ารับการรักษาในหอผู้ป่วยหนักในปัจจุบัน ผู้ป่วย 12775 ถึงค่าเฉลี่ย bp ของหลอดเลือดแดงขั้นต่ำคือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | when was the first time on the current intensive care unit visit patient 12775 reached the minimum arterial bp mean?It is not neccessary to use all the tables. | diagnoses_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time] | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12775) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean' AND d_items.linksto = 'chartevents') ORDER BY chartevents.valuenum, chartevents.charttime LIMIT 1 | null | general |
แสดงชื่อกิจกรรมทั้งหมด และจำนวนคณะที่เกี่ยวข้องในแต่ละกิจกรรม แสดงแผนภูมิแท่ง แถบรายการตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show all the activity names and the number of faculty involved in each activity Show bar chart, list bar in desc order.It is not neccessary to use all the tables. | Activity: actid [ INTEGER] activity_name [ varchar(25)] | SELECT activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_Participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid ORDER BY activity_name DESC | null | general |
ตั้งชื่อขาดทุนด้วยบันทึก 14-19 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the loss with record of 14-19It is not neccessary to use all the tables. | table_68892: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Record" [ text] | SELECT "Loss" FROM table_68892 WHERE "Record" = '14-19' | null | general |
ผู้เข้าร่วมมากที่สุดในวันที่ 10 สิงหาคม 2506 และหนึ่งสัปดาห์มากกว่า 1 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the largest attendance on august 10, 1963, and a week larger than 1?It is not neccessary to use all the tables. | table_name_75: attendance [ INTEGER] date [ VARCHAR] week [ VARCHAR] | SELECT MAX(attendance) FROM table_name_75 WHERE date = "august 10, 1963" AND week > 1 | null | general |
ครีเอตินีนในเลือด > 2 มก. / ดล. ไม่จำเป็นต้องใช้ทุกตาราง | serum creatinine > 2 mg / dlIt is not neccessary to use all the tables. | table_test_13: "id" [ int] "systolic_blood_pressure_sbp" [ int] "tachycardia" [ int] "diastolic_blood_pressure_dbp" [ int] "total_cholesterol" [ int] "high_density_lipoprotein_cholesterol_hdl_c" [ int] "serum_creatinine" [ float] "alcohol_abuse" [ bool] "drug_abuse" [ bool] "body_mass_index_bmi" [ float] "triglyceride_tg" [ float] "age" [ float] "NOUSE" [ float] | SELECT * FROM table_test_13 WHERE serum_creatinine > 2 | null | general |
มีผู้ป่วยกี่รายที่ได้รับการวินิจฉัยว่าเป็นโรคลำไส้อุดตันและเข้ารับการรักษาก่อนปี 2162 ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients are diagnosed with primary disease bowel obstruction and with admission year before 2162?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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BOWEL OBSTRUCTION" AND demographic.admityear < "2162" | null | general |
ฤดูกาลใดที่เป็นหนึ่งในผู้เล่นที่มีคะแนน +98?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which season was one of the players rated +98?It is not neccessary to use all the tables. | table_name_6: season [ VARCHAR] rating [ VARCHAR] | SELECT season FROM table_name_6 WHERE rating = "+98" | null | general |
วาดแผนภาพกระจายของรหัสทีมเทียบกับ all_games_percent โดยที่รหัสทีมอยู่บนแกน x และจุดต่างๆ จะถูกระบายสีด้วย All_Games ไม่จำเป็นต้องใช้ตารางทั้งหมด | Draw a scatterplot of team id vs all_games_percent where team id is on the x-axis and points are colored by All_GamesIt is not neccessary to use all the tables. | university: School_ID [ int] School [ text] Location [ text] Founded [ real] Affiliation [ text] Enrollment [ real] Nickname [ text] Primary_conference [ text] | SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY All_Games | null | general |
แวซโจได้คะแนนเท่าใดเมื่อคาร์ลสตัดได้ 1 คะแนน?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | What did Vaxjo score when Karlstad scored 1?It is not neccessary to use all the tables. | table_name_53: växjö [ VARCHAR] karlstad [ VARCHAR] | SELECT växjö FROM table_name_53 WHERE karlstad = "1" | null | general |
แผนที่ดาวจีนดวงแรกที่ทราบว่าถูกสร้างขึ้น ไม่จำเป็นต้องใช้ตารางทั้งหมด | which was the first chinese star map known to have been created ?It is not neccessary to use all the tables. | table_204_281: id [ number] "creator" [ text] "contets" [ text] "links" [ text] | SELECT "map or catalog" FROM table_204_281 ORDER BY id LIMIT 1 | null | general |
เควิน เอ็ดเวิร์ดส์ เล่นตำแหน่งไหน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which position did kevin edwards play forIt is not neccessary to use all the tables. | table_72791: "Player" [ text] "No." [ real] "Nationality" [ text] "Position" [ text] | SELECT "Position" FROM table_72791 WHERE "Player" = 'Kevin Edwards' | null | general |
ซีซั่น 'All-stars' มีรอบปฐมทัศน์ของซีรีส์กี่เรื่อง?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many series premieres did the season 'All-stars' have?It is not neccessary to use all the tables. | table_25659: "Season" [ text] "Episodes" [ real] "Host(s)" [ text] "Judges" [ text] | SELECT COUNT("Series premiere") FROM table_25659 WHERE "Season" = 'All-Stars' | null | general |
ฟิล เคสเซลคือทีมอะไรในปี 2548-2549 สำหรับผู้เล่น?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the 2005-2006 team for player Phil Kessel?It is not neccessary to use all the tables. | table_name_89: name [ VARCHAR] | SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel" | null | general |
Wakool เสมอกันทั้งหมด 11 ครั้ง แพ้มากกว่า 11 ครั้ง และชนะน้อยกว่า 4 ครั้ง เท่าไร? ไม่จำเป็นต้องใช้ทุกโต๊ะ | What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins?It is not neccessary to use all the tables. | table_60689: "Wins" [ real] "Byes" [ real] "Losses" [ real] "Draws" [ real] "Against" [ real] | SELECT COUNT("Draws") FROM table_60689 WHERE "Losses" > '11' AND "Wins" < '4' AND "Golden Rivers" = 'wakool' | null | general |
สำหรับทัวร์นาเมนต์ที่เล่นวันที่ 13 พ.ย. 2531 จบลงด้วยชัยชนะ 5 จังหวะ ใครเป็นรองแชมป์?ไม่จำเป็นต้องใช้ตารางทั้งหมด | For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up?It is not neccessary to use all the tables. | table_name_67: runner_s__up [ VARCHAR] margin_of_victory [ VARCHAR] date [ VARCHAR] | SELECT runner_s__up FROM table_name_67 WHERE margin_of_victory = "5 strokes" AND date = "nov 13, 1988" | null | general |
งานหมายเลข 7 คือวันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | On what Date was the Works Number 7?It is not neccessary to use all the tables. | table_name_18: date [ VARCHAR] works_number [ VARCHAR] | SELECT date FROM table_name_18 WHERE works_number = "7" | null | general |
ใครคือไม่มี. 79 กำกับโดย?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | Who is no. 79 directed by?It is not neccessary to use all the tables. | table_25538: "No." [ real] "#" [ real] "Title" [ text] | SELECT "Directed by" FROM table_25538 WHERE "No." = '79' | null | general |
หลักสูตรใดในการให้คำปรึกษา-การออกแบบสหสาขาวิชาชีพที่ตรงตามข้อกำหนดของ ULCS ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which courses in Mentorship- Multidisciplinary Design satisfy the ULCS requirement ?It is not neccessary to use all the tables. | course_tags_count: course_id [ int] clear_grading [ int] pop_quiz [ int] group_projects [ int] inspirational [ int] long_lectures [ int] extra_credit [ int] few_tests [ int] good_feedback [ int] tough_tests [ int] heavy_papers [ int] cares_for_students [ int] heavy_assignments [ int] respected [ int] participation [ int] heavy_reading [ int] tough_grader [ int] hilarious [ int] would_take_again [ int] good_lecture [ int] no_skip [ int] | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Mentorship- Multidisciplinary Design%' OR course.description LIKE '%Mentorship- Multidisciplinary Design%' OR course.name LIKE '%Mentorship- Multidisciplinary Design%') AND program_course.category LIKE '%ULCS%' | null | general |
ขอรายชื่อคนไข้ที่มีรายการทดสอบในห้องปฏิบัติการ id 50824 ที่เสียชีวิตในหรือก่อนปี 2115 ให้ฉันทราบ ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | give me the list of patients with lab test item id 50824 who died in or before 2115.It is not neccessary to use all the tables. | procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2115.0" AND lab.itemid = "50824" | null | general |
โปรดส่งคืนแผนภูมิแท่งเกี่ยวกับจำนวนบริษัทในแต่ละอุตสาหกรรม เรียงจากสูงไปต่ำเป็นแถบ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Return a bar chart about the number of companies for each industry, list from high to low by the bars please.It is not neccessary to use all the tables. | people: People_ID [ int] Age [ int] Name [ text] Nationality [ text] Graduation_College [ text] | SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry ORDER BY Industry DESC | null | general |
จำนวนปีทั้งหมดคือเท่าไร โดยวันที่ (เปิดทำการ) คือ '21 กันยายน'?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total number of Year(s), when Date (Opening) is 'September 21'?It is not neccessary to use all the tables. | table_60282: "Year" [ real] | SELECT COUNT("Year") FROM table_60282 WHERE "Date (Opening)" = 'september 21' | null | general |
สนามแข่ง Phoenix International มีสนามแข่งกี่ประเภท?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many types of tracks are there on the Phoenix International raceway?It is not neccessary to use all the tables. | table_25238: "Rnd" [ real] "Date" [ text] "Length" [ text] "Track" [ text] "Location" [ text] "Type" [ text] | SELECT COUNT("Type") FROM table_25238 WHERE "Track" = 'Phoenix International Raceway' | null | general |
มีนักแสดงชาวออสเตรเลียดั้งเดิมกี่คนเมื่อนักแสดงเวสต์เอนด์ดั้งเดิมคือ Jordan Dunne?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many original Australian performers are there when the Original West End Performer is Jordan Dunne?It is not neccessary to use all the tables. | table_1901751_1: original_australian_performer [ VARCHAR] original_west_end_performer [ VARCHAR] | SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne" | null | general |
อันดับที่ 6 มีกี่ประตู?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many goals ranked 6?It is not neccessary to use all the tables. | table_name_36: goals [ VARCHAR] rank [ VARCHAR] | SELECT COUNT(goals) FROM table_name_36 WHERE rank = 6 | null | general |
หากคุณได้รับการจัดอันดับเป็นเอกในกองทัพอังกฤษ แล้วกองทัพสเปนจะเรียกคุณว่าอะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | If you get a ranking as major in the english military then what would the spanish military address you as?It is not neccessary to use all the tables. | table_1015521_2: rank_in_spanish [ VARCHAR] rank_in_english [ VARCHAR] | SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = "Major" | null | general |
ค่าพาร์สำหรับ ERNIE ELS คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | WHAT IS THE TO PAR FOR ERNIE ELS?It is not neccessary to use all the tables. | table_45785: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text] | SELECT "To par" FROM table_45785 WHERE "Player" = 'ernie els' | null | general |
จนกระทั่ง 1 ปีที่แล้ว hrt revas byps anas nec เสร็จสิ้นไปกี่ครั้งแล้ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด | until 1 year ago, how many times was the hrt revas byps anas nec done?It is not neccessary to use all the tables. | labevents: row_id [ number] subject_id [ number] hadm_id [ number] itemid [ number] charttime [ time] valuenum [ number] valueuom [ text] | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'hrt revas byps anas nec') AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TIME(), '-1 year') | null | general |
'House of Cards' ตอนล่าสุดคือตอนไหน? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What was the latest episode of 'House of Cards'?It is not neccessary to use all the tables. | table_126: "Title" [ text] | SELECT MAX("Episode #") FROM table_126 WHERE "Title" = 'House of Cards' | null | general |
รวมราคาเฉลี่ยของไวน์สำหรับปีต่างๆ และแอตทริบิวต์ bin year ลงในช่วงวันธรรมดาสำหรับแผนภูมิแท่ง ฉันต้องการแสดงรายการตามจำนวนทั้งหมดจากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Sum the average prices of wines for different years, and bin year attribute into weekday interval for a bar chart, I want to list by the total number from high to low.It is not neccessary to use all the tables. | appellations: No [ INTEGER] Appelation [ TEXT] County [ TEXT] State [ TEXT] Area [ TEXT] isAVA [ TEXT] | SELECT Year, SUM(AVG(Price)) FROM wine ORDER BY SUM(AVG(Price)) DESC | null | general |
พิธีใดมีหมวดผู้แต่งเนื้อร้องที่ดีที่สุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which ceremony has the best lyricist category?It is not neccessary to use all the tables. | table_name_67: ceremony [ VARCHAR] category [ VARCHAR] | SELECT ceremony FROM table_name_67 WHERE category = "best lyricist" | null | general |
เกมที่ 36 เริ่มเสมอกันกี่ครั้ง? ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many ties were there for game 36 started?It is not neccessary to use all the tables. | table_14389782_2: ties [ VARCHAR] games_started [ VARCHAR] | SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36 | null | general |
ทีมโรงเรียน/สโมสรของ Manuel Luis Quezon ได้กองหน้ามาได้อย่างไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How did the School/Club Team of Manuel Luis Quezon acquire their Forward?It is not neccessary to use all the tables. | table_42620: "Name" [ text] "Position" [ text] "Number" [ real] "Season" [ text] | SELECT "Acquisition via" FROM table_42620 WHERE "Position" = 'forward' AND "School/Club Team" = 'manuel luis quezon' | null | general |
มีผู้ป่วยกี่รายที่ได้รับยาเฟอร์รัสกลูโคเนต?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients were given the drug ferrous gluconate?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Ferrous Gluconate" | null | general |
เมื่อ 82.74 คือพื้นที่เป็นกิโลเมตรยกกำลัง 2 ค่าความหนาแน่น (ต่อ km2) เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | When 82.74 is the area in kilometers squared what is the pop.density (per km2)?It is not neccessary to use all the tables. | table_29289372_1: pop_density__per_km²_ [ VARCHAR] area__km²_ [ VARCHAR] | SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74" | null | general |
จำนวนคะแนนเฉลี่ยสำหรับทีมที่เล่น 17 เกมและแพ้มากกว่า 15 เกมคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average number of points for a team that played 17 games and had more than 15 losses?It is not neccessary to use all the tables. | table_name_37: points [ INTEGER] games [ VARCHAR] losses [ VARCHAR] | SELECT AVG(points) FROM table_name_37 WHERE games = 17 AND losses > 15 | null | general |
มีกี่แห่งที่แสดงอยู่ก่อนหน้า dixon ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many places are listed previous to dixon ?It is not neccessary to use all the tables. | table_204_279: id [ number] "number\nof\ncounties" [ number] "principal\ncounty" [ text] | SELECT COUNT("name of place") FROM table_204_279 WHERE id < (SELECT id FROM table_204_279 WHERE "name of place" = 'dixon') | null | general |
มีผู้ป่วยกี่รายที่ได้รับการวินิจฉัยว่าเป็น icd9 รหัส 32723 ที่มีสถานะชำระด้วยตนเอง?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients diagnosed with icd9 code 32723 had a self pay status?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.insurance = "Self Pay" AND diagnoses.icd9_code = "32723" | null | general |
แจ็ค นิคลอส มาจากประเทศใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What country is jack nicklaus from?It is not neccessary to use all the tables. | table_name_75: country [ VARCHAR] player [ VARCHAR] | SELECT country FROM table_name_75 WHERE player = "jack nicklaus" | null | general |
ผลรวมของซิมบับเวกับพาร์สูงกว่า 5 เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Zimbabwe's total with a to par higher than 5?It is not neccessary to use all the tables. | table_name_34: total [ INTEGER] country [ VARCHAR] to_par [ VARCHAR] | SELECT AVG(total) FROM table_name_34 WHERE country = "zimbabwe" AND to_par > 5 | null | general |
หมายเลขทองแดงของประเทศที่มีทองน้อยกว่า 0 คือเท่าใด ไม่จำเป็นต้องใช้ทุกตาราง | What is the bronze number for the nation with less than 0 gold?It is not neccessary to use all the tables. | table_name_53: bronze [ INTEGER] gold [ INTEGER] | SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0 | null | general |
กัลโช่เซเรียอาจะเป็นอย่างไรเมื่อโคปปาอิตาเลียอายุ 5 ขวบ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What's the Serie A when the coppa italia was 5?It is not neccessary to use all the tables. | table_61335: "Name" [ text] "Total" [ real] | SELECT AVG("Serie A") FROM table_61335 WHERE "Coppa Italia" = '5' | null | general |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.