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 |
|---|---|---|---|---|---|
รับโพสต์ทั้งหมดที่โพสต์โดยผู้ใช้และแก้ไขโดยผู้อื่น ไม่จำเป็นต้องใช้ตารางทั้งหมด | Get all posts that were posted by a user and edited by another.It is not neccessary to use all the tables. | ReviewRejectionReasons: Id [ number] Name [ text] Description [ text] PostTypeId [ number] | SELECT Posts.Id AS "post_link", Posts.CreationDate AS "post_date", PostHistory.CreationDate AS "edit_date", PostHistoryTypes.Name AS "edit_type" FROM Posts JOIN PostHistory ON Posts.Id = PostHistory.PostId JOIN PostHistoryTypes ON PostHistory.PostHistoryTypeId = PostHistoryTypes.Id WHERE OwnerUserId = @UserId AND PostH... | null | general |
มีกี่นัดที่แพ้ 0?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many matches have 0 as the lost?It is not neccessary to use all the tables. | table_42857: "Team" [ text] "Match" [ real] "Points" [ real] "Draw" [ real] "Lost" [ real] | SELECT COUNT("Match") FROM table_42857 WHERE "Lost" = '0' | null | general |
แจ้งเวลารับเข้าและวันเสียชีวิตของผู้ป่วย id 15898 ไม่จำเป็นต้องใช้ตารางทั้งหมด | let me know the time of admission and death date of patient with patient id 15898.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 demographic.dod, demographic.admittime FROM demographic WHERE demographic.subject_id = "15898" | null | general |
ประเทศไหนอยู่ก่อนอันดับที่ 20 ไม่จำเป็นต้องใช้ตารางทั้งหมด | which country is before rank 20It is not neccessary to use all the tables. | table_204_225: id [ number] "rank" [ number] "country/territory" [ text] "semifinalists" [ number] "total" [ number] | SELECT "country/territory" FROM table_204_225 WHERE id = (SELECT id FROM table_204_225 WHERE "rank" = 20) - 1 | null | general |
นับจำนวนผู้ป่วยที่จำหน่ายประจำที่สถานพยาบาลที่บ้าน และวินิจฉัยชื่อยาว เคมีในเลือดผิดปกติอื่นๆ หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | count the number of patients whose discharge location is home health care and diagnoses long title is other abnormal blood chemistry?It is not neccessary to use all the tables. | prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND diagnoses.long_title = "Other abnormal blood chemistry" | null | general |
ชื่ออะไรเมื่อผู้เขียนคือ Emily Halpern?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the title when the writer is Emily Halpern?It is not neccessary to use all the tables. | table_27196: "Title" [ text] | SELECT "Title" FROM table_27196 WHERE "Written by" = 'Emily Halpern' | null | general |
ขอพายเพื่อแสดงจำนวนรวมจากอันดับต่างๆ กัน ไม่จำเป็นต้องใช้ทุกตาราง | Give me a pie to show the total number from different rank.It is not neccessary to use all the tables. | Activity: actid [ INTEGER] activity_name [ varchar(25)] | SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank | null | general |
จำนวนผู้เข้าร่วมทั้งหมดสำหรับผลการแข่งขัน 7-23 ก่อนปี 1960 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the total attendance for a result of 7-23 before 1960?It is not neccessary to use all the tables. | table_79165: "Year" [ real] "Date" [ text] "Result" [ text] "Venue" [ text] "Attendance" [ real] | SELECT SUM("Attendance") FROM table_79165 WHERE "Result" = '7-23' AND "Year" < '1960' | null | general |
หนังสือเสียงที่มี ISBN 978-1-4084-6879-1 นั้นอ่านโดยใคร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | THe audio book with ISBN 978-1-4084-6879-1 is read by whom?It is not neccessary to use all the tables. | table_31181: "#" [ real] "Title" [ text] "Author" [ text] "Doctor" [ text] "Featuring" [ text] "Published" [ text] "ISBN" [ text] | SELECT "Read by" FROM table_31181 WHERE "ISBN" = 'ISBN 978-1-4084-6879-1' | null | general |
ในปีใดที่ Maggs Maggs Maggie Mild ได้รับรางวัลเหรียญทองประเภท Mild และ Porter จากการแข่งขันเบียร์ภูมิภาคตะวันออกเฉียงใต้ของ Siba? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?It is not neccessary to use all the tables. | table_name_93: year [ INTEGER] competition [ VARCHAR] category [ VARCHAR] beer_name [ VARCHAR] prize [ VARCHAR] | SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition" | null | general |
แป้งคนไหนมีนามสกุลเกรแฮม?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which batter has the last name Graham?It is not neccessary to use all the tables. | table_name_61: bats [ VARCHAR] surname [ VARCHAR] | SELECT bats FROM table_name_61 WHERE surname = "graham" | null | general |
ฮีโมโกลบิน a1c > 8 หรือ bp > 140 / 90ไม่จำเป็นต้องใช้ทุกตาราง | hemoglobin a1c > 8 or bp > 140 / 90It is not neccessary to use all the tables. | table_train_154: "id" [ int] "systolic_blood_pressure_sbp" [ int] "fpg" [ float] "hemoglobin_a1c_hba1c" [ float] "creatinine_clearance_cl" [ float] "diastolic_blood_pressure_dbp" [ int] "NOUSE" [ float] | SELECT * FROM table_train_154 WHERE hemoglobin_a1c_hba1c > 8 OR (systolic_blood_pressure_sbp > 140 OR diastolic_blood_pressure_dbp > 90) | null | general |
เวลาที่ชุดที่ 2 คือ 25 21 วันที่ 29 พฤษภาคม?ไม่จำเป็นต้องใช้ทุกตาราง | What is the Time when the Set 2 is 25 21, on 29 may?It is not neccessary to use all the tables. | table_7296: "Date" [ text] "Time" [ text] "Score" [ text] "Total" [ text] "Report" [ text] | SELECT "Time" FROM table_7296 WHERE "Set 2" = '25–21' AND "Date" = '29 may' | null | general |
อะไรคือพาร์ของผู้เล่นจากสหรัฐอเมริกาที่มีอันดับ t1 และคะแนน 76-68=144?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the to par of the player from the United States with a place of t1 and a 76-68=144 score?It is not neccessary to use all the tables. | table_50020: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text] | SELECT "To par" FROM table_50020 WHERE "Country" = 'united states' AND "Place" = 't1' AND "Score" = '76-68=144' | null | general |
ประเทศที่ย้ายจากชื่ออะไรเป็นเมืองบริสตอล?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the name of the country where moving from is listed as bristol city?It is not neccessary to use all the tables. | table_1734: "N" [ real] "P" [ text] "Name" [ text] "EU" [ text] "Country" [ text] "Age" [ real] "Type" [ text] "Ends" [ text] "Source" [ text] | SELECT "Country" FROM table_1734 WHERE "Moving from" = 'Bristol City' | null | general |
ตั้งชื่อนักแข่งที่ชนะด้วย วงจร monzaไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the winning driver with circuit of monzaIt is not neccessary to use all the tables. | table_56879: "Race" [ text] "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Tyre" [ text] "Report" [ text] | SELECT "Winning driver" FROM table_56879 WHERE "Circuit" = 'monza' | null | general |
ค่าเวลาสำหรับนักบิด Brian Finch และอันดับมากกว่า 3 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the time value for the rider Brian Finch and a rank greater than 3?It is not neccessary to use all the tables. | table_31948: "Rank" [ real] "Rider" [ text] "Team" [ text] "Speed" [ text] "Time" [ text] | SELECT "Time" FROM table_31948 WHERE "Rank" > '3' AND "Rider" = 'brian finch' | null | general |
มีผู้เสนอราคาจำนวนเท่าใดสำหรับเปอร์เซ็นต์การชนะ .500 ในการประชุม Ohio Valley?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many bids were there for the .500 win percentage in the Ohio Valley conference?It is not neccessary to use all the tables. | table_name_7: _number_of_bids [ INTEGER] win__percentage [ VARCHAR] conference [ VARCHAR] | SELECT SUM(_number_of_bids) FROM table_name_7 WHERE win__percentage = ".500" AND conference = "ohio valley" | null | general |
แท็กที่ใช้ร่วมกัน นี่อาจให้ข้อมูลเชิงลึกที่น่าสนใจเกี่ยวกับประเภทของโพสต์บนไซต์..ไม่จำเป็นต้องใช้ตารางทั้งหมด | Tags that are used together. This might give some interesting insight in the types of posts on a site..It is not neccessary to use all the tables. | Comments: Id [ number] PostId [ number] Score [ number] Text [ text] CreationDate [ time] UserDisplayName [ text] UserId [ number] ContentLicense [ text] | SELECT t1.TagName AS "tag_link", t2.TagName AS "tag_link", COUNT(pt1.PostId) AS "post_count" FROM PostTags AS pt1 JOIN PostTags AS pt2 ON pt1.PostId = pt2.PostId JOIN Tags AS t1 ON t1.Id = pt1.TagId JOIN Tags AS t2 ON t2.Id = pt2.TagId GROUP BY t1.TagName, t2.TagName ORDER BY COUNT(pt1.PostId) DESC LIMIT 1000 | null | general |
อายุระหว่าง luis estrella martinez และ edgardo rivera garcia แตกต่างกันอย่างไร ไม่จำเป็นต้องใช้ตารางทั้งหมด | what 's the difference in age between luis estrella martinez and edgardo rivera garcia ?It is not neccessary to use all the tables. | table_203_671: id [ number] "name" [ text] "rank" [ text] "age" [ number] | SELECT ABS((SELECT "age" FROM table_203_671 WHERE "name" = 'luis estrella martinez') - (SELECT "age" FROM table_203_671 WHERE "name" = 'edgardo rivera garcia')) | null | general |
ข้อตกลงกับพรรคกลางสิ้นสุดลงในวันที่ใดหรือวันที่ใดไม่จำเป็นต้องใช้ตารางทั้งหมด | On what date or dates did the term with the Centre Party end?It is not neccessary to use all the tables. | table_68358: "Minister" [ text] "Party" [ text] "Governments" [ text] | SELECT "Term end" FROM table_68358 WHERE "Party" = 'centre party' | null | general |
ตั้งชื่อจุดสูงสำหรับลวดเย็บตรงกลาง 18,997 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the high points for the staples center 18,997It is not neccessary to use all the tables. | table_25876: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text] | SELECT "High points" FROM table_25876 WHERE "Location Attendance" = 'Staples Center 18,997' | null | general |
มีกี่ตำแหน่งที่แสดงสำหรับฤดูกาล 2010?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many positions are shown for the 2010 season?It is not neccessary to use all the tables. | table_25740774_1: position [ VARCHAR] season [ VARCHAR] | SELECT COUNT(position) FROM table_25740774_1 WHERE season = 2010 | null | general |
ระบุจำนวนนักเรียนในแต่ละนามสกุลที่เรียนวิชาเอก 600 โดยใช้แผนภูมิแท่งและเรียงตามแท่งจากต่ำไปสูง ไม่จำเป็นต้องใช้ตารางทั้งหมด | List how many students in each last name who majored in 600 using a bar chart, and sort by the bars from low to high.It is not neccessary to use all the tables. | Restaurant_Type: ResTypeID [ INTEGER] ResTypeName [ VARCHAR(40)] ResTypeDescription [ VARCHAR(100)] | SELECT LName, COUNT(LName) FROM Student WHERE Major = 600 GROUP BY LName ORDER BY LName | null | general |
ก่อนปี 1990 เปอร์เซ็นต์การโหวตยอดนิยมสูงสุดคือเท่าใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | before 1990 what was the highest percentage of popular vote ?It is not neccessary to use all the tables. | table_203_330: id [ number] | SELECT MAX("% of popular vote") FROM table_203_330 WHERE "year of election" < 1990 | null | general |
แสดงอาคารทั้งหมดที่มีอาจารย์อย่างน้อย 10 คน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Show all the buildings that have at least 10 professors.It is not neccessary to use all the tables. | Faculty: building [ VARCHAR] rank [ VARCHAR] | SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10 | null | general |
บอกคู่รู้ผลผู้ชนะและคะแนน 7-6 (7) 5-7 10-7 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7It is not neccessary to use all the tables. | table_4423: "Outcome" [ text] "Date" [ text] "Tournament" [ text] "Surface" [ text] "Partner" [ text] "Score" [ text] | SELECT "Partner" FROM table_4423 WHERE "Outcome" = 'winner' AND "Score" = '7-6 (7) 5-7 10-7' | null | general |
เทศบาลใดมีอันดับ 44?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What Municipality has a Rank of 44?It is not neccessary to use all the tables. | table_name_94: municipality [ VARCHAR] rank [ VARCHAR] | SELECT municipality FROM table_name_94 WHERE rank = 44 | null | general |
ตั้งชื่อคู่ต่อสู้ในวันที่ 27 เมษายนไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Name the opponent on april 27It is not neccessary to use all the tables. | table_name_60: opponent [ VARCHAR] date [ VARCHAR] | SELECT opponent FROM table_name_60 WHERE date = "april 27" | null | general |
แสดงจำนวนบริษัทที่มีสำนักงานใหญ่ไม่ได้มาจากสหรัฐอเมริกา fpr แต่ละอุตสาหกรรมหลักในแผนภูมิแท่ง แถบแสดงผลตามลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show the number of companies whose headquarters are not from USA fpr each main industry in a bar chart, display bars in descending order.It is not neccessary to use all the tables. | gas_station: Station_ID [ int] Open_Year [ int] Location [ text] Manager_Name [ text] Vice_Manager_Name [ text] Representative_Name [ text] | SELECT Main_Industry, COUNT(Main_Industry) FROM company WHERE Headquarters <> 'USA' GROUP BY Main_Industry ORDER BY Main_Industry DESC | null | general |
มีผู้ป่วยกี่รายที่มีตำแหน่งจำหน่ายกลับบ้านและขั้นตอนการรักษาคือการเจาะตับผ่านผิวหนัง?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients whose discharge location is home and procedure long title is percutaneous aspiration of liver?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.discharge_location = "HOME" AND procedures.long_title = "Percutaneous aspiration of liver" | null | general |
รหัสค่าโดยสาร F หมายถึงอะไรไม่จำเป็นต้องใช้ตารางทั้งหมด | what does fare code F meanIt is not neccessary to use all the tables. | flight_stop: flight_id [ int] stop_number [ int] stop_days [ text] stop_airport [ text] arrival_time [ int] arrival_airline [ text] arrival_flight_number [ int] departure_time [ int] departure_airline [ text] departure_flight_number [ int] stop_time [ int] | SELECT DISTINCT booking_class FROM class_of_service WHERE booking_class = 'F' | null | general |
อะไรคือการสร้างแบรนด์ของความถี่เมโทรมะนิลาพร้อมสัญญาณเรียกขาน DWBL?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the Branding of the Metro Manila Frequency with a Callsign of DWBL?It is not neccessary to use all the tables. | table_name_19: branding [ VARCHAR] location [ VARCHAR] callsign [ VARCHAR] | SELECT branding FROM table_name_19 WHERE location = "metro manila" AND callsign = "dwbl" | null | general |
คนไข้ที่อายุน้อยกว่า 70 ปี และตรวจพบรหัส icd9 คือ 36201 มีจำนวนเท่าใด ไม่จำเป็นต้องใช้ทุกตาราง | what is the number of patients whose age is less than 70 and diagnoses icd9 code is 36201?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 [ t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "70" AND diagnoses.icd9_code = "36201" | null | general |
Sony Music กำกับค่ายเพลงเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | When did sony music direct a label?It is not neccessary to use all the tables. | table_14911: "Region" [ text] "Date" [ text] "Label" [ text] "Format" [ text] "Catalog" [ text] | SELECT "Date" FROM table_14911 WHERE "Label" = 'sony music direct' | null | general |
สำหรับแต่ละเมือง ให้ส่งคืนละติจูดที่สูงที่สุดในสถานีต่างๆ แสดงแผนภูมิแท่ง ฉันต้องการเรียงลำดับเมืองตามลำดับ โปรดใช้ตารางทั้งหมดไม่จำเป็น | For each city, return the highest latitude among its stations Show bar chart, I want to sort city in desc order please.It is not neccessary to use all the tables. | weather: date [ TEXT] max_temperature_f [ INTEGER] mean_temperature_f [ INTEGER] min_temperature_f [ INTEGER] max_dew_point_f [ INTEGER] mean_dew_point_f [ INTEGER] min_dew_point_f [ INTEGER] max_humidity [ INTEGER] mean_humidity [ INTEGER] min_humidity [ INTEGER] max_sea_level_pressure_inches [ NUMERIC] m... | SELECT city, MAX(lat) FROM station GROUP BY city ORDER BY city DESC | null | general |
ผู้ป่วยชายมีโรงพยาบาลระยะยาวเป็นสถานที่จำหน่ายกี่ราย?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many male patients have long term care hospital as their discharge location?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 [ t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "LONG TERM CARE HOSPITAL" | null | general |
สโมสรใดที่มีถ้วยบาสเก็ตบอลตุรกีและ fiba eurochallenge (ชั้น 3) คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?It is not neccessary to use all the tables. | table_55082: "Season" [ text] "Club" [ text] | SELECT "Club" FROM table_55082 WHERE "National Cup" = 'turkish basketball cup' AND "European Cup" = 'fiba eurochallenge (3rd tier)' | null | general |
Ship คืออะไร เมื่อได้รับมอบหมายให้เป็น '13 มีนาคม 1982'?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Ship, when Commissioned is '13 March 1982'?It is not neccessary to use all the tables. | table_61232: "Ship" [ text] "Launched" [ text] "Commissioned" [ text] | SELECT "Ship" FROM table_61232 WHERE "Commissioned" = '13 march 1982' | null | general |
คะแนนทีมเยือนเมื่อทีมเยือนคือเอสเซนดอนเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the away team score when the away team is Essendon?It is not neccessary to use all the tables. | table_33178: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT "Away team score" FROM table_33178 WHERE "Away team" = 'essendon' | null | general |
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มี ID ระหว่าง 100 ถึง 200 ให้วาดแผนภูมิกระจายเกี่ยวกับความสัมพันธ์ระหว่าง Employee_id และ manager_id ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees who do not work in departments with managers that have ids between 100 and 200, draw a scatter chart about the correlation between employee_id and manager_id .It is not neccessary to use all the tables. | countries: COUNTRY_ID [ varchar(2)] COUNTRY_NAME [ varchar(40)] REGION_ID [ decimal(100)] | SELECT EMPLOYEE_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | null | general |
ในอัลบั้มมีกี่เพลง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many tracks are in the album ?It is not neccessary to use all the tables. | table_204_184: id [ number] "#" [ number] "title" [ text] "producer(s)" [ text] "length" [ text] | SELECT COUNT("title") FROM table_204_184 | null | general |
ตัวเลือกเพลงคืออะไรเมื่อธีมเป็นตัวเลือกฟรีและ Adeleye สามารถผ่านเข้าค่าย bootcamp ได้?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the song choice when the theme was free choice and Adeleye made it through to bootcamp?It is not neccessary to use all the tables. | table_5828: "Week" [ text] "Theme" [ text] "Result" [ text] | SELECT "Song choice" FROM table_5828 WHERE "Theme" = 'free choice' AND "Result" = 'through to bootcamp' | null | general |
เมื่อพวกเขามาโรงพยาบาลครั้งสุดท้าย ผู้ป่วย 83894 ได้รับการตรวจในห้องปฏิบัติการครั้งแรกเมื่อใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | when they came to the hospital last time, when did patient 83894 get a first lab test?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 labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83894 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) ORDER BY labevents.charttime LIMIT 1 | null | general |
ผู้เข้าแข่งขันรายนี้ได้อันดับที่ 5 หรือดีกว่าในการแข่งขันกี่ครั้งแล้ว ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | how many times has this competitor placed 5th or better in competition ?It is not neccessary to use all the tables. | table_204_622: id [ number] "year" [ number] "competition" [ text] "venue" [ text] "position" [ text] "event" [ text] "notes" [ text] | SELECT COUNT(*) FROM table_204_622 WHERE "position" <= 5 | null | general |
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้ส่งคืนแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Hire_date และค่าเฉลี่ยของ Employee_id bin Hire_date ตามวันทำงาน ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday.It is not neccessary to use all the tables. | departments: DEPARTMENT_ID [ decimal(40)] DEPARTMENT_NAME [ varchar(30)] MANAGER_ID [ decimal(60)] LOCATION_ID [ decimal(40)] | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' | null | general |
ตั้งชื่อ landesliga mitte sv t rk gcm nchenไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the landesliga mitte sv t rk g c m nchenIt is not neccessary to use all the tables. | table_20181270_3: landesliga_mitte [ VARCHAR] bayernliga [ VARCHAR] | SELECT landesliga_mitte FROM table_20181270_3 WHERE bayernliga = "SV Türk Gücü München" | null | general |
ฉันต้องการข้อมูลเกี่ยวกับเที่ยวบินจากแอตแลนต้าไปวอชิงตัน ฉันต้องการออกเดินทางหลัง 16.00 น. ในวันพุธหรือก่อน 21.00 น. ในวันพฤหัสบดีไม่จำเป็นต้องใช้ตารางทั้งหมด | i want information on flights from ATLANTA to WASHINGTON i want to leave after 1600 on wednesday or before 900 on thursdayIt is not neccessary to use all the tables. | airline: airline_code [ varchar] airline_name [ text] note [ text] | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 24 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time... | null | general |
ผู้เข้าแข่งขันที่มีชุดว่ายน้ำเฉลี่ยน้อยกว่า 9.32 คือเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the average of the contestant with a swimsuit less than 9.32?It is not neccessary to use all the tables. | table_name_86: average [ INTEGER] swimsuit [ INTEGER] | SELECT SUM(average) FROM table_name_86 WHERE swimsuit < 9.32 | null | general |
คู่ต่อสู้ในวันที่ 24 พฤศจิกายนคือใคร?ไม่จำเป็นต้องใช้ทุกโต๊ะ | who is the opponent on november 24?It is not neccessary to use all the tables. | table_77373: "Game" [ real] "November" [ real] "Opponent" [ text] "Score" [ text] "Record" [ text] | SELECT "Opponent" FROM table_77373 WHERE "November" = '24' | null | general |
นับจำนวนผู้ป่วยที่เข้ารับการรักษาก่อนปี 2200 ซึ่งได้รับการผ่าตัดเอานิ่วออกจากทางเดินน้ำดีด้วยการส่องกล้อง ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | count the number of patients admitted before 2200 who had endoscopic removal of stone(s) from biliary tract.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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2200" AND procedures.long_title = "Endoscopic removal of stone(s) from biliary tract" | null | general |
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตผลิตภัณฑ์แต่ละราย โปรดให้ฉันเปรียบเทียบผลรวมของผู้ผลิตเหนือชื่อ และจัดกลุ่มตามชื่อแอตทริบิวต์ด้วยแผนภูมิแท่ง และโปรดจัดเรียงแกน y จากน้อยไปมาก ไม่จำเป็นต้องใช้ โต๊ะทั้งหมด | For those records from the products and each product's manufacturer, give me the comparison about the sum of manufacturer over the name , and group by attribute name by a bar chart, and sort y-axis in ascending order please.It is not neccessary to use all the tables. | Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL] | SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Manufacturer | null | general |
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตผลิตภัณฑ์แต่ละราย ให้ส่งคืนแผนภูมิแท่งเกี่ยวกับการแจกแจงชื่อและรหัส และจัดกลุ่มตามชื่อแอตทริบิวต์ ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute name.It is not neccessary to use all the tables. | Products: Code [ INTEGER] Name [ VARCHAR(255)] Price [ DECIMAL] Manufacturer [ INTEGER] | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name | null | general |
นับจำนวนผู้ป่วยที่รักษาตัวในโรงพยาบาลมากกว่า 14 วัน และวินิจฉัยว่าชื่อย่อคือ noninf gastroenterit nec หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด | count the number of patients whose days of hospital stay is greater than 14 and diagnoses short title is noninf gastroenterit nec?It is not neccessary to use all the tables. | procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "14" AND diagnoses.short_title = "Noninf gastroenterit NEC" | null | general |
ผู้เขียนแต่ละคนส่งผลงานเข้าร่วมเวิร์คช็อปกี่ครั้ง ส่งกลับชื่อผู้เขียนและจำนวนเวิร์กช็อป พล็อตเป็นแผนภูมิแท่ง โดยแสดงจากมากไปน้อยด้วย Y ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many workshops did each author submit to? Return the author name and the number of workshops Plot them as bar chart, display in descending by the Y.It is not neccessary to use all the tables. | workshop: Workshop_ID [ int] Date [ text] Venue [ text] Name [ text] | SELECT Author, COUNT(DISTINCT T1.Workshop_ID) FROM Acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID ORDER BY COUNT(DISTINCT T1.Workshop_ID) DESC | null | general |
หลังจาก goi วัดต่อไปคืออะไร ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | after goi , what was the next temple ?It is not neccessary to use all the tables. | table_204_465: id [ number] "#" [ number] "hangul" [ text] "hanja" [ text] "relationship" [ text] "note" [ text] | SELECT "temple name" FROM table_204_465 WHERE "#" = (SELECT "#" FROM table_204_465 WHERE "temple name" = 'goi') + 1 | null | general |
มีการบันทึกจำนวนประตูกี่ประตูเมื่อมีเปอร์เซ็นต์น้อยกว่า 0.519 และคะแนนมากกว่า 65?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many Goals for were recorded when there was a percentage smaller than 0.519 and points greater than 65?It is not neccessary to use all the tables. | table_9166: "Season" [ text] "Games" [ real] "Lost" [ real] "Points" [ real] "Standing" [ text] | SELECT COUNT("Goals For") FROM table_9166 WHERE "Pct %" < '0.519' AND "Points" > '65' | null | general |
รถไฟไปบังกาลอร์มีความถี่เท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the frequency of the train to Bangalore?It is not neccessary to use all the tables. | table_name_82: frequency [ VARCHAR] destination [ VARCHAR] | SELECT frequency FROM table_name_82 WHERE destination = "bangalore" | null | general |
มีกี่คะแนนสำหรับสีน้ำตาลในสถานที่ที่มี coakley 84.1%?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many votes for brown in the place that had 84.1% for coakley?It is not neccessary to use all the tables. | table_24115349_6: brown_votes [ INTEGER] coakley__percentage [ VARCHAR] | SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%" | null | general |
จำนวนรอบสูงสุดสำหรับกริด 17 คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the highest number of laps for grid 17?It is not neccessary to use all the tables. | table_name_99: laps [ INTEGER] grid [ VARCHAR] | SELECT MAX(laps) FROM table_name_99 WHERE grid = 17 | null | general |
วันที่เกมที่เอสเตบัน ปาเรเดส ยิง 2 ประตูคือวันที่เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the date of the game where Esteban Paredes scored 2 goals?It is not neccessary to use all the tables. | table_name_62: date [ VARCHAR] goal [ VARCHAR] | SELECT date FROM table_name_62 WHERE goal = 2 | null | general |
จำนวนชั่วโมงต่อสัปดาห์และจำนวนเกมที่นักเรียนอายุต่ำกว่า 20 ปีเล่นเป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total number of hours per week and number of games played by students under 20?It is not neccessary to use all the tables. | sportsinfo: stuid [ number] sportname [ text] hoursperweek [ number] gamesplayed [ number] onscholarship [ text] | SELECT SUM(hoursperweek), SUM(gamesplayed) FROM sportsinfo AS T1 JOIN student AS T2 ON T1.stuid = T2.stuid WHERE T2.age < 20 | null | general |
อุปกรณ์ ktm-vmc มีข้อดีอะไรบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What are the points for ktm-vmc equipment?It is not neccessary to use all the tables. | table_72800: "Position" [ real] "Equipment" [ text] "Points" [ real] | SELECT "Points" FROM table_72800 WHERE "Equipment" = 'KTM-VMC' | null | general |
ใครร่วมกันเราสามารถทำอะไรได้มากกว่าเมื่อพันธมิตรประชาธิปไตยคือ ren alinco (ppd)?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who is the together we can do more when democratic coalition is ren alinco ( ppd )?It is not neccessary to use all the tables. | table_2651755_1: together_we_can_do_more [ VARCHAR] democratic_coalition [ VARCHAR] | SELECT together_we_can_do_more FROM table_2651755_1 WHERE democratic_coalition = "René Alinco ( PPD )" | null | general |
ค้นหาขั้นตอน รหัส icd9 และชื่อยาของผู้ป่วย id 10317 ไม่จำเป็นต้องใช้ตารางทั้งหมด | find out the procedure icd9 code and drug name of patient with patient id 10317.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 procedures.icd9_code, prescriptions.drug FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "10317" | null | general |
จำนวนการแข่งขันในฤดูกาลที่ทีมได้อันดับที่ 14 เป็นจำนวนเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the number of races in the season in which the team placed on the 14th position?It is not neccessary to use all the tables. | table_23225: "Season" [ real] "Series" [ text] "Team" [ text] "Races" [ real] "Wins" [ real] "Poles" [ real] "F/Laps" [ real] "Podiums" [ real] "Points" [ real] "Position" [ text] | SELECT MIN("Races") FROM table_23225 WHERE "Position" = '14th' | null | general |
อะไรคือการเปิดตัวแบบ cross-code ภายหลังปี 1958 สำหรับ Dick Thornett?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the cross-code debut later than 1958 for Dick Thornett?It is not neccessary to use all the tables. | table_name_87: cross_code_debut [ VARCHAR] year [ VARCHAR] player [ VARCHAR] | SELECT cross_code_debut FROM table_name_87 WHERE year > 1958 AND player = "dick thornett" | null | general |
ใครที่ยังเปิดที่นั่งไว้สำหรับเขตคอนเนตทิคัตขนาดใหญ่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who left a seat open for the district of connecticut at-largeIt is not neccessary to use all the tables. | table_25038: "District" [ text] "Vacator" [ text] "Successor" [ text] | SELECT "Vacator" FROM table_25038 WHERE "District" = 'Connecticut At-large' | null | general |
จำนวนตอนที่ผู้ชม 2.99 ล้านคนในสหรัฐอเมริกาเห็นเป็นจำนวนเท่าใด โดยที่นักแสดงคนที่ 2 คือ Heather Anne Campbell?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell?It is not neccessary to use all the tables. | table_23294081_11: _number [ INTEGER] performer_2 [ VARCHAR] us_viewers__millions_ [ VARCHAR] | SELECT MIN(_number) FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND us_viewers__millions_ = "2.99" | null | general |
ผู้ป่วยที่เข้ารับการรักษาครั้งสุดท้าย 28443 เมื่อวันที่ 19 เดือนนี้ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | the last intake patient 28443 had on this month/19 what was the name of that?It is not neccessary to use all the tables. | microbiologyevents: row_id [ number] subject_id [ number] hadm_id [ number] charttime [ time] spec_type_desc [ text] org_name [ text] | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT inputevents_cv.itemid FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443)) AND DATETIME(inputevents_cv.... | null | general |
แสดงภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ ACC_Road และผลรวมของ School_ID และจัดกลุ่มตามแอตทริบิวต์ ACC_Road ไม่จำเป็นต้องใช้ตารางทั้งหมด | Visualize a bar chart about the distribution of ACC_Road and the sum of School_ID , and group by attribute ACC_Road.It is not neccessary to use all the tables. | basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text] | SELECT ACC_Road, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road | null | general |
ตำแหน่งใดที่แสดงตั้งแต่ปี 2548-2553 ไม่จำเป็นต้องใช้ตารางทั้งหมด | What location is listed from 2005-2010?It is not neccessary to use all the tables. | table_28733: "Institution" [ text] "Location" [ text] "Years" [ text] | SELECT "Location" FROM table_28733 WHERE "Years" = '2005-2010' | null | general |
ผลลัพธ์ของโกลด์โคสต์จะเป็นอย่างไรเมื่อเมลเบิร์นและแอดิเลดใช่ แต่เพิร์ธไม่ใช่? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no?It is not neccessary to use all the tables. | table_71060: "Sydney" [ text] "Melbourne" [ text] "Perth" [ text] "Adelaide" [ text] "Auckland" [ text] | SELECT "Gold Coast" FROM table_71060 WHERE "Melbourne" = 'yes' AND "Perth" = 'no' AND "Adelaide" = 'yes' | null | general |
บอกประเภทของผู้ป่วยที่รับเข้ารักษาด้วยรหัสผู้ป่วย 53707 ได้ ไม่จำเป็นต้องใช้ตารางทั้งหมด | tell me the type of admission patient with patient id 53707 had.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 demographic.admission_type FROM demographic WHERE demographic.subject_id = "53707" | null | general |
OWGR pts ใดมีวันที่ 10-13 พฤษภาคม? ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which OWGR pts has Dates of may 10-13?It is not neccessary to use all the tables. | table_name_37: owgr_pts [ INTEGER] dates [ VARCHAR] | SELECT SUM(owgr_pts) FROM table_name_37 WHERE dates = "may 10-13" | null | general |
ตั้งชื่อ IATA ของ wmkk ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the IATA of wmkkIt is not neccessary to use all the tables. | table_name_20: iata [ VARCHAR] icao [ VARCHAR] | SELECT iata FROM table_name_20 WHERE icao = "wmkk" | null | general |
แสดงเที่ยวบินจาก PITTSBURGH ไปยัง OAKLAND บนสายการบินสหรัฐอเมริกาพร้อมข้อมูลค่าโดยสาร ไม่จำเป็นต้องใช้ตารางทั้งหมด | show flights from PITTSBURGH to OAKLAND on US airlines with fare informationIt is not neccessary to use all the tables. | ground_service: city_code [ text] airport_code [ text] transport_type [ text] ground_fare [ int] | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CIT... | null | general |
ใครเล่นกับทีมเยือนเฮริฟอร์ดยูไนเต็ด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who played against away team hereford united?It is not neccessary to use all the tables. | table_name_4: home_team [ VARCHAR] away_team [ VARCHAR] | SELECT home_team FROM table_name_4 WHERE away_team = "hereford united" | null | general |
นับจำนวนผู้ป่วยที่ได้รับการวินิจฉัยชื่อสั้นว่า ath ext ntv ที่ w claudct ไม่จำเป็นต้องใช้ตารางทั้งหมด | count the number of patients whose diagnosis short title is ath ext ntv at w claudct.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 [ t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Ath ext ntv at w claudct" | null | general |
ระบุชื่อที่มีค่าฮีตอย่างน้อย 3 และเลนเท่ากับ 5 พอดี ไม่จำเป็นต้องใช้ตารางทั้งหมด | List a name that has a heat of at least 3 and a Lane of exactly 5.It is not neccessary to use all the tables. | table_name_54: name [ VARCHAR] heat [ VARCHAR] lane [ VARCHAR] | SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 5 | null | general |
สถานที่ใดที่มี League of ncaa และก่อตั้งขึ้นเมื่อเล็กกว่าปี 1965 และมีฮ็อกกี้น้ำแข็งชายของ Club of penn state nittany lions? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | Which Venue has a League of ncaa, and a Founded smaller than 1965, and a Club of penn state nittany lions men's ice hockey?It is not neccessary to use all the tables. | table_46858: "Sport" [ text] "League" [ text] "Club" [ text] "Founded" [ real] "Venue" [ text] | SELECT "Venue" FROM table_46858 WHERE "League" = 'ncaa' AND "Founded" < '1965' AND "Club" = 'penn state nittany lions men''s ice hockey' | null | general |
เมืองใดมีจุดแวะพัก 15 แห่งและเป็นแบบ NB?ไม่จำเป็นต้องใช้ทุกโต๊ะ | What town has 15 stops and a NB kind?It is not neccessary to use all the tables. | table_name_82: town [ VARCHAR] stops [ VARCHAR] kind [ VARCHAR] | SELECT town FROM table_name_82 WHERE stops = "15" AND kind = "nb" | null | general |
ไมค์ เทย์เลอร์ (5) แอสซิสต์สูงคือวันไหน?ไม่จำเป็นต้องใช้ทุกโต๊ะ | What day was the high assist Mike Taylor (5)?It is not neccessary to use all the tables. | table_50200: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text] | SELECT "Date" FROM table_50200 WHERE "High assists" = 'mike taylor (5)' | null | general |
แนร์ ดูการสนทนาที่http//meta.stackexchange.com/q/281666/287315ไม่จำเป็นต้องใช้ตารางทั้งหมด | naire. See discussion at http//meta.stackexchange.com/q/281666/287315It is not neccessary to use all the tables. | ReviewTaskStates: Id [ number] Name [ text] Description [ text] | SELECT Id, link = CONCAT('http://meta.puzzling.stackexchange.com/a/', Id) FROM Posts WHERE ParentId = @questionnaire_question_id AND OwnerUserId = @candidate_user_id | null | general |
สำหรับพนักงานทุกคนที่มีตัวอักษร D หรือ S ในชื่อของพวกเขา ขอการเปรียบเทียบค่าเฉลี่ยของ Employee_id กับ job_id และจัดกลุ่มตามแอตทริบิวต์ job_id ด้วยแผนภูมิแท่ง คุณสามารถแสดงแกน x จากมากไปน้อยได้หรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง | For all employees who have the letters D or S in their first name, give me the comparison about the average of employee_id over the job_id , and group by attribute job_id by a bar chart, could you show x-axis from high to low order?It is not neccessary to use all the tables. | employees: EMPLOYEE_ID [ decimal(60)] FIRST_NAME [ varchar(20)] LAST_NAME [ varchar(25)] EMAIL [ varchar(25)] PHONE_NUMBER [ varchar(20)] HIRE_DATE [ date] JOB_ID [ varchar(10)] SALARY [ decimal(82)] COMMISSION_PCT [ decimal(22)] MANAGER_ID [ decimal(60)] DEPARTMENT_ID [ decimal(40)] | SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | null | general |
ตั้งชื่อเวลา #1 อลาบามา ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the time for #1 alabamaIt is not neccessary to use all the tables. | table_26842217_10: time [ VARCHAR] visiting_team [ VARCHAR] | SELECT time FROM table_26842217_10 WHERE visiting_team = "#1 Alabama" | null | general |
งานเลี้ยงแรกของลอร์ดจอห์น เฮย์ก่อนปี 1857 คืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the first party for Lord John Hay earlier than 1857?It is not neccessary to use all the tables. | table_name_82: first_party [ VARCHAR] year [ VARCHAR] first_member [ VARCHAR] | SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay" | null | general |
ผลรวมของพาร์ที่มากกว่า 7 และผู้เล่นของ al geiberger เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total for a to par bigger than 7 and a player of al geiberger?It is not neccessary to use all the tables. | table_12197: "Player" [ text] "Country" [ text] "Total" [ real] | SELECT COUNT("Total") FROM table_12197 WHERE "Player" = 'al geiberger' AND "To par" > '7' | null | general |
ค้นหาวันที่ในใบแจ้งหนี้ทั้งหมดที่ตรงกับลูกค้าด้วยชื่อ Astrid และนามสกุล Gruber ไม่จำเป็นต้องใช้ตารางทั้งหมด | Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.It is not neccessary to use all the tables. | genre: genreid [ number] name [ text] | SELECT T2.invoicedate FROM customer AS T1 JOIN invoice AS T2 ON T1.customerid = T2.customerid WHERE T1.firstname = "Astrid" AND lastname = "Gruber" | null | general |
ครั้งสุดท้ายที่ค่าเฉลี่ย bp ของผู้ป่วย 26817 ในการเข้ารับการตรวจไอซียูครั้งล่าสุดมีค่ามากกว่า 58.0 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | what was the last time that the arterial bp mean of patient 26817 was, on the last icu visit, greater than 58.0?It is not neccessary to use all the tables. | d_icd_procedures: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text] | 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 = 26817) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.itemid... | null | general |
หมายเลขซีรีส์สำหรับตอนที่ 10 ของซีซั่นคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the series number for the episode number 10 of the season?It is not neccessary to use all the tables. | table_27833469_1: series__number [ VARCHAR] season__number [ VARCHAR] | SELECT series__number FROM table_27833469_1 WHERE season__number = "10" | null | general |
ตั้งชื่อ hdi 2012 สำหรับโดมินิกาไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the hdi 2012 for dominicaIt is not neccessary to use all the tables. | table_28575: "Country" [ text] | SELECT "HDI 2012" FROM table_28575 WHERE "Country" = 'Dominica' | null | general |
เมื่อฝ่ายตรงข้ามคือ Yan Zi Jie Zheng ผลลัพธ์จะเป็นอย่างไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | When the opponent was Yan Zi Jie Zheng, what was the outcome?It is not neccessary to use all the tables. | table_27425: "Outcome" [ text] "Year" [ real] "Championship" [ text] "Surface" [ text] "Partner" [ text] "Opponents" [ text] "Score" [ text] | SELECT "Outcome" FROM table_27425 WHERE "Opponents" = 'Yan Zi Jie Zheng' | null | general |
จำนวนไซต์เมื่อจำนวนหน้าจอคือ 687 และอันดับมากกว่า 7 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the number of sites when the number of screens is 687 and rank is more than 7?It is not neccessary to use all the tables. | table_name_8: sites [ INTEGER] screens [ VARCHAR] rank [ VARCHAR] | SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7 | null | general |
มีการเต้นรำทั้งหมดกี่คู่สำหรับคู่รักอันดับที่ 6?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many different numbers of total dances are there for the couple ranked at number 6?It is not neccessary to use all the tables. | table_20424140_3: number_of_dances [ VARCHAR] place [ VARCHAR] | SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 6 | null | general |
รอบ 20 จัดขึ้นที่สถานที่ใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What venue was round 20 held at?It is not neccessary to use all the tables. | table_name_11: venue [ VARCHAR] round [ VARCHAR] | SELECT venue FROM table_name_11 WHERE round = 20 | null | general |
ค้นหาจำนวนวันที่เริ่มต้นการจองสำหรับอพาร์ทเมนท์ที่มีมากกว่า 2 ห้องนอนในแต่ละวันธรรมดาในแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด | Find the number of booking start date for the apartments that have more than two bedrooms for each weekday in a bar chart.It is not neccessary to use all the tables. | Apartment_Facilities: apt_id [ INTEGER] facility_code [ CHAR(15)] | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2 | null | general |
มีกี่คนที่อยู่ในฝูงชนเมื่อเมลเบิร์นเหนือเป็นทีมเหย้า?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many were in the crowd when North Melbourne was the home team?It is not neccessary to use all the tables. | table_11607: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT "Crowd" FROM table_11607 WHERE "Home team" = 'north melbourne' | null | general |
ประเทศไหนได้เหรียญเงินมากที่สุด เม็กซิโก หรือ สเปน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | which nation won the most silver medals mexico or spain ?It is not neccessary to use all the tables. | table_204_311: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number] | SELECT "nation" FROM table_204_311 WHERE "nation" IN ('mexico', 'spain') ORDER BY "silver" DESC LIMIT 1 | null | general |
คะแนนรวมของ Darren Clarke เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Darren Clarke's total score?It is not neccessary to use all the tables. | table_name_45: score [ VARCHAR] player [ VARCHAR] | SELECT COUNT(score) FROM table_name_45 WHERE player = "darren clarke" | null | general |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.