thai_instruction
stringlengths 8
429
⌀ | eng_instruction
stringlengths 16
503
⌀ | table
stringlengths 11
2.09k
⌀ | sql
stringlengths 9
2.37k
⌀ | pandas
stringlengths 1
635
⌀ | real_table
stringclasses 2
values |
---|---|---|---|---|---|
จำนวนการสูญเสียต่ำสุดที่สหรัฐอเมริกา ซึ่งอยู่ในอันดับที่สูงกว่า 3 และชนะมากกว่า 6 ครั้งคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have?It is not neccessary to use all the tables. | table_67840: "Rank" [ real] "Team" [ text] "Wins" [ real] "Losses" [ real] | SELECT MIN("Losses") FROM table_67840 WHERE "Rank" < '3' AND "Team" = 'united states' AND "Wins" > '6' | null | general |
การแปลภาษาอังกฤษคืออะไรเมื่อภาษาเป็นภาษาอังกฤษ Draw มีขนาดเล็กกว่า 16 และศิลปินคือ aysel และ arash? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the english translation when the Language is english, Draw is smaller than 16, and the Artist is aysel and arash?It is not neccessary to use all the tables. | table_77002: "Draw" [ real] "Language" [ text] "Artist" [ text] "Song" [ text] "Place" [ real] "Points" [ real] | SELECT "English translation" FROM table_77002 WHERE "Language" = 'english' AND "Draw" < '16' AND "Artist" = 'aysel and arash' | null | general |
ชื่อของทีมที่มีโอกาส 1,317 ครั้งคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the name of the team that has 1,317 attempts?It is not neccessary to use all the tables. | table_name_8: team [ VARCHAR] attempts [ VARCHAR] | SELECT team FROM table_name_8 WHERE attempts = "1,317" | null | general |
ผู้เข้าร่วมสูงสุดของริชมอนด์คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was Richmond's highest attendance?It is not neccessary to use all the tables. | table_58572: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT MAX("Crowd") FROM table_58572 WHERE "Home team" = 'richmond' | null | general |
ผู้เข้ารอบก่อนรองชนะเลิศมีอะไรบ้างเมื่อรองชนะเลิศคือ แอนดรูว์ แพตติสัน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What are the quarterfinalists when the runner up is andrew pattison?It is not neccessary to use all the tables. | table_29302816_8: quarterfinalists [ VARCHAR] runner_up [ VARCHAR] | SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison" | null | general |
ขอการเปรียบเทียบ author_tutor_ATB กับ family_name ด้วยแผนภูมิแท่งให้ฉันหน่อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Give me the comparison about author_tutor_ATB over the family_name by a bar chart.It is not neccessary to use all the tables. | Course_Authors_and_Tutors: author_id [ INTEGER] author_tutor_ATB [ VARCHAR(3)] login_name [ VARCHAR(40)] password [ VARCHAR(40)] personal_name [ VARCHAR(80)] middle_name [ VARCHAR(80)] family_name [ VARCHAR(80)] gender_mf [ VARCHAR(1)] address_line_1 [ VARCHAR(80)] | SELECT family_name, author_tutor_ATB FROM Course_Authors_and_Tutors ORDER BY personal_name | null | general |
หมายเลข 7 สร้างขึ้นในปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What year was number 7 built?It is not neccessary to use all the tables. | table_15988: "Class" [ text] "Operator" [ text] | SELECT "Year Built" FROM table_15988 WHERE "No. Built" = '7' | null | general |
แจ็ค โลเอลล์ มีแต้มพิเศษกี่แต้ม?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Jack Loell had how many extra points?It is not neccessary to use all the tables. | table_28060: "Player" [ text] "Touchdowns" [ real] "Points" [ real] | SELECT "Extra points" FROM table_28060 WHERE "Player" = 'Jack Loell' | null | general |
การคัดเลือกรอบ 6 คนสัญชาติใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What nationality was the round 6 draft pick?It is not neccessary to use all the tables. | table_77838: "Round" [ real] "Player" [ text] "Position" [ text] "Nationality" [ text] | SELECT "Nationality" FROM table_77838 WHERE "Round" = '6' | null | general |
มีมหาวิทยาลัยกี่แห่งที่ก่อตั้งในปี พ.ศ. 2406?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many University founded in 1863?It is not neccessary to use all the tables. | table_2004: "Institution" [ text] "Location" [ text] "Founded" [ real] "Affiliation" [ text] "Enrollment" [ real] "Nickname" [ text] "Conference" [ text] | SELECT COUNT("Enrollment") FROM table_2004 WHERE "Founded" = '1863' | null | general |
นับจำนวนผู้ป่วยที่ได้รับการผ่าตัด cont inv mec ven นานกว่า 96 ชั่วโมงในเดือนเดียวกันภายหลังการวินิจฉัยโรค crnry athrscl natve vssl ในปีที่แล้ว ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | count the number of patients who received a cont inv mec ven 96+ hrs procedure in the same month following a diagnosis of crnry athrscl natve vssl in the last year.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(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'crnry athrscl natve vssl') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv mec ven 96+ hrs') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') | null | general |
สิ่งที่ถูกดึงออกมาเมื่อพยายามต่อต้านคือ 89? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the drawn when the tries against was 89?It is not neccessary to use all the tables. | table_17810: "Club" [ text] "Played" [ text] "Won" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text] | SELECT "Drawn" FROM table_17810 WHERE "Tries against" = '89' | null | general |
จำนวนภาพยนตร์ที่ผลิตในปี 2556 เป็นเท่าใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the number of movies produced in 2013 ?It is not neccessary to use all the tables. | director: did [ int] gender [ text] name [ text] nationality [ text] birth_city [ text] birth_year [ int] | SELECT COUNT(DISTINCT (title)) FROM movie WHERE release_year = 2013 | null | general |
เหตุการณ์ใดส่งผลให้ฝ่ายตรงข้ามชนะ เชน ออตต์?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Event resulted in a Win for Opponent, Shane Ott?It is not neccessary to use all the tables. | table_name_4: event [ VARCHAR] res [ VARCHAR] opponent [ VARCHAR] | SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott" | null | general |
เอกสารประเภทใดที่คำอธิบายขึ้นต้นด้วยคำว่า 'เริ่มต้น' เป็นเอกสารประเภทใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the type of the document whose description starts with the word 'Initial'?It is not neccessary to use all the tables. | organisations: organisation_id [ number] organisation_type [ text] organisation_details [ text] | SELECT document_type_code FROM document_types WHERE document_description LIKE 'Initial%' | null | general |
สกอร์ทีมเจ้าบ้านที่เล่นที่คาร์ดิเนีย พาร์คเป็นเท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the home team score that played at Kardinia Park?It is not neccessary to use all the tables. | table_name_25: home_team [ VARCHAR] venue [ VARCHAR] | SELECT home_team AS score FROM table_name_25 WHERE venue = "kardinia park" | null | general |
แจ้งจำนวนผู้ป่วยที่เส้นทางการรับยา iv. ไม่จำเป็นต้องใช้ทุกตาราง | give the number of patients whose drug route is iv.It is not neccessary to use all the tables. | procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "IV" | null | general |
รูปแบบของ ed remaster cd คือวันที่ใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | On what date was the format of ed remaster cd?It is not neccessary to use all the tables. | table_8573: "Region" [ text] "Date" [ text] "Label" [ text] "Format" [ text] "Catalog" [ text] | SELECT "Date" FROM table_8573 WHERE "Format" = 'ed remaster cd' | null | general |
ระบุชื่อพนักงานที่ได้รับมอบหมายหลายงาน ไม่จำเป็นต้องใช้ทุกตาราง | List the name of staff who has been assigned multiple jobs.It is not neccessary to use all the tables. | staff: staff_id [ number] staff_gender [ text] staff_name [ text] | SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id GROUP BY T2.staff_id HAVING COUNT(*) > 1 | null | general |
สัญชาติของนักว่ายน้ำในเลน 4 หรือใหญ่กว่าที่มีอันดับ 5 ขึ้นไปคือเท่าไร ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the Nationality of the Swimmer in Lane 4 or larger with a Rank of 5 or more?It is not neccessary to use all the tables. | table_name_37: nationality [ VARCHAR] lane [ VARCHAR] rank [ VARCHAR] | SELECT nationality FROM table_name_37 WHERE lane > 4 AND rank > 5 | null | general |
บอกผู้ทำประตูชั้นนำของหมีกริซลี่ให้ฉันหน่อยไม่จำเป็นต้องใช้ตารางทั้งหมด | Tell me the leading scorer for grizzliesIt is not neccessary to use all the tables. | table_name_59: leading_scorer [ VARCHAR] visitor [ VARCHAR] | SELECT leading_scorer FROM table_name_59 WHERE visitor = "grizzlies" | null | general |
เจ้าของชื่อเสียงสูงสุด 100 อันดับแรกจากอินเดีย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Top 100 Highest reputation holder from India.It is not neccessary to use all the tables. | Votes: Id [ number] PostId [ number] VoteTypeId [ number] UserId [ number] CreationDate [ time] BountyAmount [ number] | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", DisplayName, Reputation FROM Users WHERE LOWER(Location) LIKE '%sri lanka%' OR UPPER(Location) LIKE '%LK' ORDER BY Reputation DESC LIMIT 100 | null | general |
สถานที่ใดที่จะจัดการแข่งขัน Concacaf Gold Cup ประจำปี 2013?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What venue will hold the 2013 Concacaf Gold Cup competition?It is not neccessary to use all the tables. | table_11027: "Date" [ text] "Venue" [ text] "Score" [ text] "Result" [ text] "Competition" [ text] | SELECT "Venue" FROM table_11027 WHERE "Competition" = '2013 concacaf gold cup' | null | general |
ใครคือโมเดล Centerfold ในรุ่น 5-88?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who was the Centerfold model on 5-88?It is not neccessary to use all the tables. | table_name_20: centerfold_model [ VARCHAR] date [ VARCHAR] | SELECT centerfold_model FROM table_name_20 WHERE date = "5-88" | null | general |
บรรทัดที่ 3 มีความยาวเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many lengths of line 3 are given?It is not neccessary to use all the tables. | table_20512: "Line" [ text] "Terminals" [ text] "Status" [ text] "Length" [ text] "Operator" [ text] | SELECT COUNT("Length") FROM table_20512 WHERE "Line" = 'Line 3' | null | general |
คืนห้องและจำนวนการจองของแต่ละห้องเพื่อวาดแผนภูมิแท่ง แสดงแกน X ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Return the room and number of reservations made for each of the rooms to draw a bar chart, display X-axis in desc order.It is not neccessary to use all the tables. | Reservations: Code [ INTEGER] Room [ TEXT] CheckIn [ TEXT] CheckOut [ TEXT] Rate [ REAL] LastName [ TEXT] FirstName [ TEXT] Adults [ INTEGER] Kids [ INTEGER] | SELECT Room, COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY Room DESC | null | general |
ชื่ออะไรเมื่อประเทศคือฝรั่งเศส แต้ม/เกมมากกว่า 3 และแต้มน้อยกว่า 33? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the name when the nation is France, the pts/game is more than 3 and points is less than 33?It is not neccessary to use all the tables. | table_53671: "Name" [ text] "Nation" [ text] "Points" [ real] "Games" [ real] "Pts/game" [ real] | SELECT "Name" FROM table_53671 WHERE "Nation" = 'france' AND "Pts/game" > '3' AND "Points" < '33' | null | general |
ผู้ป่วย 017-45919 มีสถานะเป็นเอาต์พุตในช่วงวันก่อนหน้าล่าสุดเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what did patient 017-45919 have last as the output during the previous day?It is not neccessary to use all the tables. | intakeoutput: intakeoutputid [ number] patientunitstayid [ number] cellpath [ text] celllabel [ text] cellvaluenumeric [ number] intakeoutputtime [ time] | 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 = '017-45919')) AND intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-1 day') ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1 | null | general |
ใครเป็นคนทำชุดให้กับทีม โดยมี อูเว่ ราโปลเดอร์ เป็นหัวหน้าโค้ช ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who is the kitmaker for the team that Uwe Rapolder is the head coach of.It is not neccessary to use all the tables. | table_name_84: kitmaker [ VARCHAR] head_coach [ VARCHAR] | SELECT kitmaker FROM table_name_84 WHERE head_coach = "uwe rapolder" | null | general |
จำนวนผู้ป่วยที่รักษาตัวในโรงพยาบาลมากกว่า 6 และชื่อการทดสอบในห้องปฏิบัติการคือ asparate aminotransferase (ast) เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the number of patients whose days of hospital stay is greater than 6 and lab test name is asparate aminotransferase (ast)?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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "6" AND lab.label = "Asparate Aminotransferase (AST)" | null | general |
ทัวร์นาเมนท์ใดมีคะแนน 3 6 6 4 4 6 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Tournament has a Score of 3 6 6 4 4 6?It is not neccessary to use all the tables. | table_36033: "Outcome" [ text] "Date" [ text] "Tournament" [ text] "Surface" [ text] "Score" [ text] | SELECT "Tournament" FROM table_36033 WHERE "Score" = '3–6 6–4 4–6' | null | general |
จำนวนผู้ใช้ในฐานข้อมูล ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many users are in the database.It is not neccessary to use all the tables. | TagSynonyms: Id [ number] SourceTagName [ text] TargetTagName [ text] CreationDate [ time] OwnerUserId [ number] AutoRenameCount [ number] LastAutoRename [ time] Score [ number] ApprovedByUserId [ number] ApprovalDate [ time] | SELECT COUNT(*) AS number_of_userss FROM Users | null | general |
วันที่สำหรับการแข่งขันกรังด์ปรีซ์ของแคนาดาคือวันที่เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the date for the canadian grand prix?It is not neccessary to use all the tables. | table_name_65: date [ VARCHAR] grand_prix [ VARCHAR] | SELECT date FROM table_name_65 WHERE grand_prix = "canadian grand prix" | null | general |
จากจำนวนผู้ป่วยทั้งหมดที่รักษาด้วยยาเด็กซาเมทาโซน มีกี่คนที่เสียชีวิตในหรือก่อนปี 2112?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | Out of total number of patients treated with dexamethasone, how many of them died in or before 2112?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2112.0" AND prescriptions.drug = "Dexamethasone" | null | general |
นักว่ายน้ำใช้เวลา 158.44 ว่ายน้ำในเลนใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | In which lane did the swimmer with a time of 158.44 swim?It is not neccessary to use all the tables. | table_13750: "Rank" [ real] "Lane" [ real] "Name" [ text] "Nationality" [ text] "Time" [ text] | SELECT COUNT("Lane") FROM table_13750 WHERE "Time" = '1:58.44' | null | general |
คนไข้ 021-69410 เข้าโรงพยาบาลตั้งแต่ 5 ปีที่แล้ว?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | patient 021-69410 was admitted to hospital since 5 years ago?It is not neccessary to use all the tables. | allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ time] | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '021-69410' AND DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-5 year') | null | general |
กองพลน้อยคืออะไรเมื่อ Al-Hamra ('arab al-hamra) แสดงชื่อ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the brigade when Al-Hamra ('arab al-hamra) shows for name?It is not neccessary to use all the tables. | table_46547: "Name" [ text] "Date" [ text] "Brigade" [ text] "Population" [ text] | SELECT "Brigade" FROM table_46547 WHERE "Name" = 'al-hamra (''arab al-hamra)' | null | general |
ผู้ป่วยประเภทเข้ารับการรักษาแบบเร่งด่วนและวินิจฉัยชื่อยาวว่าความผิดปกติของอิเล็กโทรไลต์และของเหลว มิได้จำแนกไว้ที่ใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the number of patients whose admission type is urgent and diagnoses long title is electrolyte and fluid disorders not elsewhere classified?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.admission_type = "URGENT" AND diagnoses.long_title = "Electrolyte and fluid disorders not elsewhere classified" | null | general |
ใครเป็นผู้อำนวยการของ Little Beau Porky?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who is the director of Little Beau Porky?It is not neccessary to use all the tables. | table_63758: "Title" [ text] "Series" [ text] "Director" [ text] | SELECT "Director" FROM table_63758 WHERE "Title" = 'little beau porky' | null | general |
s เป็นรายปี ไม่จำเป็นต้องใช้ทุกตาราง | s by Year.It is not neccessary to use all the tables. | PostsWithDeleted: Id [ number] PostTypeId [ number] AcceptedAnswerId [ number] ParentId [ number] CreationDate [ time] DeletionDate [ time] Score [ number] ViewCount [ number] Body [ text] OwnerUserId [ number] OwnerDisplayName [ text] LastEditorUserId [ number] LastEditorDisplayName [ text] LastEditDate [ time] LastActivityDate [ time] Title [ text] Tags [ text] AnswerCount [ number] CommentCount [ number] FavoriteCount [ number] ClosedDate [ time] CommunityOwnedDate [ time] ContentLicense [ text] | SELECT COUNT(P.Id) AS Posts, YEAR(P.CreationDate) AS Year_Data FROM Posts AS P WHERE P.PostTypeId = 1 GROUP BY YEAR(P.CreationDate) | null | general |
การเปลี่ยนแปลงการหายใจของผู้ป่วย 027-61708 จากค่าที่วัดได้ที่ 2105-12-23 000000 เป็นอย่างไร เทียบกับค่าที่วัดที่ 2105-12-22 235500 ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the respiration change of patient 027-61708 from the value measured at 2105-12-23 000000 compared to the value measured at 2105-12-22 235500?It is not neccessary to use all the tables. | diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text] | SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-61708')) AND NOT vitalperiodic.respiration IS NULL AND vitalperiodic.observationtime = '2105-12-23 00:00:00') - (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-61708')) AND NOT vitalperiodic.respiration IS NULL AND vitalperiodic.observationtime = '2105-12-22 23:55:00') | null | general |
แจ้งจำนวนผู้ป่วยด้วยขั้นตอน icd9 รหัส 3606 ที่เข้ารับการรักษาในโรงพยาบาลนานเกิน 23 วัน ไม่จำเป็นต้องใช้ทุกตาราง | provide the number of patients with procedure icd9 code 3606 who were admitted in hospital for more than 23 days.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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "23" AND procedures.icd9_code = "3606" | null | general |
หากแพ้หรือแพ้ โบนัสที่แพ้คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | With a lost of lost what was the losing bonus?It is not neccessary to use all the tables. | table_46097: "Club" [ text] "Played" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text] | SELECT "Losing bonus" FROM table_46097 WHERE "Lost" = 'lost' | null | general |
มีกี่คนที่อาศัยอยู่ในซานตามาเรีย ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | how many people live in santa maria ?It is not neccessary to use all the tables. | table_204_646: id [ number] "location" [ text] "region" [ text] "population" [ number] "elevation" [ number] | SELECT "population" FROM table_204_646 WHERE "location" = 'santa maria' | null | general |
ขาที่ 1 ตัวใดมี 52-70 เป็น agg.ไม่จำเป็นต้องใช้ทุกตาราง | What 1st leg has 52-70 as the agg.?It is not neccessary to use all the tables. | table_name_8: agg [ VARCHAR] | SELECT 1 AS st_leg FROM table_name_8 WHERE agg = "52-70" | null | general |
นักกีฬาคนไหนมีการรีโนเวทสถานที่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What athlete has reno as the place?It is not neccessary to use all the tables. | table_name_73: athlete [ VARCHAR] place [ VARCHAR] | SELECT athlete FROM table_name_73 WHERE place = "reno" | null | general |
จำนวนการแพ้สูงสุดที่ทีมเกิดขึ้นขณะทำคะแนนน้อยกว่า 79 แต้มใน 10 เกมโดยมีแต้มต่างกันน้อยกว่า 34 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?It is not neccessary to use all the tables. | table_name_69: losses [ INTEGER] point_differential [ VARCHAR] points_for [ VARCHAR] games_played [ VARCHAR] | SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34 | null | general |
ผลการแข่งขันเสมอกันที่สถานที่ใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | In what venue was the result a draw?It is not neccessary to use all the tables. | table_name_20: venue [ VARCHAR] result [ VARCHAR] | SELECT venue FROM table_name_20 WHERE result = "draw" | null | general |
มีกี่ชื่อสำหรับรหัสการผลิตของ NABF07?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many titles for the production code of NABF07?It is not neccessary to use all the tables. | table_2386: "\u2116" [ real] "#" [ real] "Title" [ text] | SELECT COUNT("Title") FROM table_2386 WHERE "Production code" = 'NABF07' | null | general |
ให้ระบุจำนวนผู้ป่วยที่เกิดก่อนปี พ.ศ. 2566 และนับถือศาสนาโปรเตสแตนต์เควกเกอร์ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | give the number of patients who are born before the year 2023 and follow the religion protestant quaker.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.religion = "PROTESTANT QUAKER" AND demographic.dob_year < "2023" | null | general |
ออกอากาศตอนแรกวันไหนมีผู้ชม 5.85 คน (ล้านคน)?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What original air date has 5.85 u.s. viewers (million)?It is not neccessary to use all the tables. | table_29319: "Title" [ text] | SELECT "Original air date" FROM table_29319 WHERE "U.S. viewers (million)" = '5.85' | null | general |
มีผู้ป่วยกี่รายที่เป็นประเภทเข้าฉุกเฉินและวินิจฉัยรหัส icd9 คือ 7455?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients whose admission type is emergency and diagnoses icd9 code is 7455?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.admission_type = "EMERGENCY" AND diagnoses.icd9_code = "7455" | null | general |
ผู้เล่นจากประเทศสเปนที่มีอันดับต่ำกว่า 3 ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the name of the player from Spain with a rank lower than 3?It is not neccessary to use all the tables. | table_75670: "Ranking" [ real] "Nationality" [ text] "Name" [ text] "From" [ text] "Year" [ real] | SELECT "Name" FROM table_75670 WHERE "Nationality" = 'spain' AND "Ranking" > '3' | null | general |
ตั้งชื่อจำนวนชื่อเรื่องทั้งหมดสำหรับ 3x5655ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the total number of titles for 3x5655It is not neccessary to use all the tables. | table_3018: "No." [ real] "Title" [ text] | SELECT COUNT("Title") FROM table_3018 WHERE "Production code" = '3X5655' | null | general |
2009 ใดมี 0 ในปี 2008 และ 2010 ไม่จำเป็นต้องใช้ตารางทั้งหมด | What 2009 has a 0 in 2008 & 2010?It is not neccessary to use all the tables. | table_name_3: Id [ VARCHAR] | SELECT 2009 FROM table_name_3 WHERE 2010 = "0" AND 2008 = "0" | null | general |
ฉันต้องการดูหลักสูตร 13 -credit Business Forecasting and Equity Valuation ไม่จำเป็นต้องใช้ตารางทั้งหมด | I want to see 13 -credit Business Forecasting and Equity Valuation courses .It is not neccessary to use all the tables. | course: course_id [ int] name [ varchar] department [ varchar] number [ varchar] credits [ varchar] advisory_requirement [ varchar] enforced_requirement [ varchar] description [ varchar] num_semesters [ int] num_enrolled [ int] has_discussion [ varchar] has_lab [ varchar] has_projects [ varchar] has_exams [ varchar] num_reviews [ int] clarity_score [ int] easiness_score [ int] helpfulness_score [ int] | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Business Forecasting and Equity Valuation%' OR name LIKE '%Business Forecasting and Equity Valuation%') AND credits = 13 | null | general |
บริษัทใดบ้างที่เปิดตัวเมื่อ 2010-11-04 4 พฤศจิกายน 2010ไม่จำเป็นต้องใช้ตารางทั้งหมด | which companies released on 2010-11-04 4 november 2010It is not neccessary to use all the tables. | table_20174050_24: company [ VARCHAR] release_date [ VARCHAR] | SELECT company FROM table_20174050_24 WHERE release_date = "2010-11-04 4 November 2010" | null | general |
ใครคือทีมเยือนในเกมเหย้าของเอโทบิโค้ก จิงโจ้?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who was the away team for the Etobicoke Kangaroos home game?It is not neccessary to use all the tables. | table_name_81: away [ VARCHAR] home [ VARCHAR] | SELECT away FROM table_name_81 WHERE home = "etobicoke kangaroos" | null | general |
คะแนนสุดท้ายในเกมกับ Cincinnati Bengals คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the final score in the game against the Cincinnati Bengals?It is not neccessary to use all the tables. | table_name_78: final_score [ VARCHAR] visiting_team [ VARCHAR] | SELECT final_score FROM table_name_78 WHERE visiting_team = "cincinnati bengals" | null | general |
แสดงจำนวนผู้ป่วยเข้ารับการรักษาในโรงพยาบาลแบบเลือกที่เข้ารับการรักษาในโรงพยาบาลเกิน 14 วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด | show me the number of elective hospital admission patients who were hospitalized for more than 14 days.It is not neccessary to use all the tables. | procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay > "14" | null | general |
ตัดสินที่ไหนก่อนรอบ 5?ไม่จำเป็นต้องใช้ทุกตาราง | Where was the decision draw before round 5?It is not neccessary to use all the tables. | table_48503: "Result" [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Event" [ text] "Round" [ real] "Time" [ text] "Location" [ text] | SELECT "Location" FROM table_48503 WHERE "Method" = 'decision draw' AND "Round" < '5' | null | general |
ทีมใดในฝรั่งเศสมี 15 คะแนน UCI?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What team in France had 15 UCi points?It is not neccessary to use all the tables. | table_57604: "Cyclist" [ text] "Country" [ text] "Team" [ text] "Time" [ text] | SELECT "Team" FROM table_57604 WHERE "Country" = 'france' AND "UCI Points" = '15' | null | general |
ทีมไหนมีผู้ชม 16,468 คน และแพ้ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which team had the attendance of 16,468 and lost?It is not neccessary to use all the tables. | table_69378: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Attendance" [ text] | SELECT "Loss" FROM table_69378 WHERE "Attendance" = '16,468' | null | general |
ขอทราบจำนวนคนไข้ที่มีประกันของรัฐบาลและสถานที่เข้ารับบริการห้องฉุกเฉินหรือไม่ไม่จำเป็นต้องใช้ทุกโต๊ะ | give me the number of patients whose insurance is government and admission location is emergency room admit?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.insurance = "Government" AND demographic.admission_location = "EMERGENCY ROOM ADMIT" | null | general |
ใครที่ขับรถด้วยแชสซี n175 ในรอบ 13 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who drove the car with the n175 chassis in round 13?It is not neccessary to use all the tables. | table_name_1: driver [ VARCHAR] chassis [ VARCHAR] rounds [ VARCHAR] | SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13" | null | general |
รหัสของผู้สอนที่ให้คำแนะนำนักเรียนทุกคนจากภาควิชาประวัติศาสตร์คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the id of the instructor who advises of all students from History department?It is not neccessary to use all the tables. | student: id [ VARCHAR] dept_name [ VARCHAR] | SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History' | null | general |
แมตช์ที่เล่นน้อยกว่า 22 เกมมีแต้มกี่แต้ม?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the number of points of the match with less than 22 games played?It is not neccessary to use all the tables. | table_name_69: points [ VARCHAR] games_played [ INTEGER] | SELECT COUNT(points) FROM table_name_69 WHERE games_played < 22 | null | general |
แสดงสำนักงานใหญ่ที่มีทั้งบริษัทในอุตสาหกรรมการธนาคารและบริษัทในอุตสาหกรรมน้ำมันและก๊าซ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show the headquarters that have both companies in banking industry and companies in oil and gas industry.It is not neccessary to use all the tables. | company: Headquarters [ VARCHAR] Industry [ VARCHAR] | SELECT Headquarters FROM company WHERE Industry = "Banking" INTERSECT SELECT Headquarters FROM company WHERE Industry = "Oil and gas" | null | general |
คู่ต่อสู้ในรอบชิงชนะเลิศคืออะไร เมื่อวันที่คือก่อนปี 1991 และเมื่อผลลัพธ์คือ 'รองชนะเลิศ'? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Opponent In The Final, when Date is before 1991, and when Outcome is 'Runner-Up'?It is not neccessary to use all the tables. | table_76312: "Outcome" [ text] "Date" [ real] "Championship" [ text] "Surface" [ text] | SELECT "Opponent in the final" FROM table_76312 WHERE "Date" < '1991' AND "Outcome" = 'runner-up' | null | general |
ฉันจำเป็นต้องปฏิบัติตามข้อกำหนดใดบ้างสำหรับการศึกษาระดับปริญญา CS-LSA?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which requirements do I need to meet for a CS-LSA degree ?It is not neccessary to use all the tables. | program_course: program_id [ int] course_id [ int] workload [ int] category [ varchar] | SELECT DISTINCT program_requirement.additional_req, program_requirement.category, program_requirement.min_credit, program.name FROM program, program_requirement WHERE program.name LIKE '%CS-LSA%' AND program.program_id = program_requirement.program_id | null | general |
ทีมไหนมีคะแนนน้อยกว่า 203 แต้ม ไม่จำเป็นต้องใช้ทุกตาราง | What team has fewer than 203 points?It is not neccessary to use all the tables. | table_name_66: team [ VARCHAR] points [ INTEGER] | SELECT team FROM table_name_66 WHERE points < 203 | null | general |
เมืองใดมีผลการแข่งขัน w และการแข่งขันกระชับมิตรระหว่างประเทศ (การแข่งขันอย่างไม่เป็นทางการ) และสกอร์ 1-0 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which City has a Result of w, and a Competition of international friendly (unofficial match), and a Score of 1-0?It is not neccessary to use all the tables. | table_37478: "Date" [ text] "City" [ text] "Result" [ text] "Score" [ text] "Competition" [ text] | SELECT "City" FROM table_37478 WHERE "Result" = 'w' AND "Competition" = 'international friendly (unofficial match)' AND "Score" = '1-0' | null | general |
ชื่อบริษัทใดที่มีสำนักงานใหญ่อยู่ที่เมืองนากาโอกะเคียว จังหวัดเกียวโต?ไม่จำเป็นต้องใช้ทุกโต๊ะ | Which company name has headquarters in nagaokakyo, kyoto?It is not neccessary to use all the tables. | table_237199_1: company_name [ VARCHAR] world_headquarters [ VARCHAR] | SELECT company_name FROM table_237199_1 WHERE world_headquarters = "Nagaokakyo, Kyoto" | null | general |
ดิวิชั่นใดมี 565 เป็นจำนวนตั๋วที่ชนะ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which divisions have 565 as the number of winning tickets?It is not neccessary to use all the tables. | table_20195922_3: divisions [ VARCHAR] number_of_winning_tickets [ VARCHAR] | SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565 | null | general |
ฉันแก้ไขโพสต์ไปแล้วกี่โพสต์ (สำหรับป้ายสถานะ)?. สคริปต์นี้จะนับจำนวนโพสต์ของผู้อื่นที่คุณได้แก้ไขทั้งชื่อเรื่องหรือเนื้อหา ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many posts have I edited (for badges)?. This script counts the number of others' posts on which you have edited either the title or body.It is not neccessary to use all the tables. | FlagTypes: Id [ number] Name [ text] Description [ text] | SELECT COUNT(DISTINCT p.Id) AS "Posts Edited" FROM PostHistory AS h, Posts AS p WHERE h.UserId = @UserId AND p.Id = h.PostId AND p.OwnerUserId != @UserId AND h.PostHistoryTypeId IN (4, 5, 24) | null | general |
วันที่เข้ารับตำแหน่งประธานาธิบดีที่ออกจากตำแหน่งคือเมื่อใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | What is the Took Office Date of the Presidency that Left Office Incumbent?It is not neccessary to use all the tables. | table_name_42: took_office [ INTEGER] left_office [ VARCHAR] | SELECT SUM(took_office) FROM table_name_42 WHERE left_office = "incumbent" | null | general |
ค่า FT pct ที่สูงที่สุดของผู้เล่น abromaitis ซึ่งมี 3FG pct น้อยกว่า 12.5 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the highest FT pct of player abromaitis, who has a 3FG pct less than 12.5?It is not neccessary to use all the tables. | table_7428: "Player" [ text] "3FGM" [ real] "3FGA" [ real] "Asst" [ real] | SELECT MAX("FT Pct") FROM table_7428 WHERE "Player" = 'abromaitis' AND "3FG Pct" < '12.5' | null | general |
ขอทราบความแตกต่างระหว่างจำนวนอินพุตทั้งหมดและเอาต์พุตรวมของผู้ป่วย 4401 ในเดือน/30 นี้ ไม่จำเป็นต้องใช้ตารางทั้งหมด | give me the difference between the total amount of input and the total output of patient 4401 on this month/30.It is not neccessary to use all the tables. | d_labitems: row_id [ number] itemid [ number] label [ text] | SELECT (SELECT SUM(inputevents_cv.amount) 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 = 4401)) AND DATETIME(inputevents_cv.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', inputevents_cv.charttime) = '30') - (SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4401)) AND DATETIME(outputevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', outputevents.charttime) = '30') | null | general |
วันที่วางจำหน่ายใดที่มีหมวดหมู่ของยูทิลิตี้, ผู้พัฒนาของ microsoft และชื่อของตัวค้นหาคอร์ด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?It is not neccessary to use all the tables. | table_60967: "Title" [ text] "Developer" [ text] "Category" [ text] "Version" [ text] | SELECT "Release date" FROM table_60967 WHERE "Category" = 'utilities' AND "Developer" = 'microsoft' AND "Title" = 'chord finder' | null | general |
ตั้งชื่อซีรีส์ M809 ด้วยซีรีส์ M939 ของ M931/932ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the M809 seris with M939 series of M931/932It is not neccessary to use all the tables. | table_name_88: m809_series [ VARCHAR] m939_series [ VARCHAR] | SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932" | null | general |
ปีใดที่มีคะแนนมากกว่า 0 โดยมีแชสซีชื่อ AGS JH22?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What year is listed that has points greater than 0 with a chassis labeled AGS JH22?It is not neccessary to use all the tables. | table_67847: "Year" [ real] "Chassis" [ text] "Engine" [ text] "Tyres" [ text] "Points" [ real] | SELECT "Year" FROM table_67847 WHERE "Points" > '0' AND "Chassis" = 'ags jh22' | null | general |
ใครมีแต้มมากที่สุดในเกม 72?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who had the most poinst in game 72?It is not neccessary to use all the tables. | table_17288825_9: high_points [ VARCHAR] game [ VARCHAR] | SELECT high_points FROM table_17288825_9 WHERE game = 72 | null | general |
จำนวนหลาสูงสุดในรอบหลายปีที่มีการวิ่งน้อยกว่า 51 ครั้งและมากกว่า 12 เกมคือเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?It is not neccessary to use all the tables. | table_31614: "Year" [ text] "Games" [ real] "Rushes" [ real] "Yards" [ real] "Average" [ real] | SELECT MAX("Yards") FROM table_31614 WHERE "Rushes" < '51' AND "Games" > '12' | null | general |
ชื่อและตำแหน่งแรกของอาจารย์ประวัติศาสตร์ที่ไม่มีปริญญาเอกคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What are the first names and offices of history professors who don't have Ph.D.s?It is not neccessary to use all the tables. | enroll: class_code [ text] stu_num [ number] enroll_grade [ text] | SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.' | null | general |
เราไม่ได้ออกอากาศกี่ตอน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many episodes were unaired in u.s ?It is not neccessary to use all the tables. | table_203_306: id [ number] "no." [ number] "title" [ text] | SELECT COUNT("title") FROM table_203_306 WHERE "original air date" IS NULL | null | general |
ส่งกลับประเทศต่างๆ ให้กับศิลปิน ไม่จำเป็นต้องใช้ตารางทั้งหมด | Return the different countries for artists.It is not neccessary to use all the tables. | artist: artist_id [ number] name [ text] country [ text] year_join [ number] age [ number] | SELECT DISTINCT country FROM artist | null | general |
Top Division Debut คืออะไร เมื่อทัวร์นาเมนต์คือ '12' และเมื่อชื่อคือ 'Yamamotoyama'?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Top Division Debut, when Tournaments is '12', and when Name is 'Yamamotoyama'?It is not neccessary to use all the tables. | table_name_67: top_division_debut [ VARCHAR] tournaments [ VARCHAR] name [ VARCHAR] | SELECT top_division_debut FROM table_name_67 WHERE tournaments = 12 AND name = "yamamotoyama" | null | general |
เยอรมนีมีทองได้กี่เหรียญกับเงินมากกว่า 1 เหรียญไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | How many golds does Germany have with more than 1 silver?It is not neccessary to use all the tables. | table_name_74: gold [ INTEGER] silver [ VARCHAR] nation [ VARCHAR] | SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany" | null | general |
ตั้งชื่อวันที่สำหรับรอบคัดเลือกเอเอฟซีเอเชียนคัพ 2004 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the date for 2004 afc asian cup qualifierIt is not neccessary to use all the tables. | table_name_23: date [ VARCHAR] competition [ VARCHAR] | SELECT date FROM table_name_23 WHERE competition = "2004 afc asian cup qualifier" | null | general |
คนไข้หมายเลข 030-51920 เข้ารับการรักษาในโรงพยาบาลครั้งสุดท้ายมีอาการภูมิแพ้อะไรบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | what are the allergies that on their last hospital encounter patient 030-51920 had?It is not neccessary to use all the tables. | allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ time] | SELECT allergy.allergyname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-51920' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) | null | general |
มีผู้ป่วยอายุต่ำกว่า 86 ปีกี่รายที่ได้รับการวินิจฉัยว่ามีรหัส icd9 11284?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients aged below 86 were diagnosed with icd9 code 11284?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 WHERE demographic.age < "86" AND diagnoses.icd9_code = "11284" | null | general |
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มี ID ระหว่าง 100 ถึง 200 ให้เปรียบเทียบ Employee_id กับ first_name ด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the first_name by a bar chart.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 FIRST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | null | general |
ฝ่ายตรงข้ามในเกมที่มีผลการแข่งขัน W 23-7 คืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What was the Opponent in the game with a Result of W 23-7?It is not neccessary to use all the tables. | table_name_30: opponent [ VARCHAR] result [ VARCHAR] | SELECT opponent FROM table_name_30 WHERE result = "w 23-7" | null | general |
ประเทศใดมีรายรับต่อหัวมากที่สุดในปี 2548 ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what country had the most receipts per capita in 2005 ?It is not neccessary to use all the tables. | table_203_54: id [ number] "internl.\ntourism\nreceipts.\n2010\n(usd\n(x1000)" [ number] "receipts\nper\ncapita\n2005\nusd" [ number] "tourism\nincome\n%\ngdp\n2003" [ number] "world\nranking\ntourism\ncompetitiv.\nttci\n2011" [ number] "2011\nttci\nindex" [ number] | SELECT "selected\nlatin american\ncountries" FROM table_203_54 ORDER BY "receipts\nper\ncapita\n2005\nusd" DESC LIMIT 1 | null | general |
คำนวณความแตกต่างระหว่างเอาท์พุตรวมของผู้ป่วย 010-1155 และอินพุทรวมในการนัดตรวจไอซียูครั้งล่าสุด ไม่จำเป็นต้องใช้ตารางทั้งหมด | calculate the difference between patient 010-1155's total output and the total input on the last icu visit.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 (SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-1155') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND intakeoutput.cellpath LIKE '%intake%') - (SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-1155') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND intakeoutput.cellpath LIKE '%output%') | null | general |
ลูกค้าที่มีชื่อ 'Meaghan' เปิดบัญชีทั้งหมดกี่บัญชีในแต่ละวัน จัดเก็บบัญชีที่เปิดเป็นช่วงวันต่อปีในแผนภูมิแท่ง คุณสามารถจัดอันดับแกน x จากน้อยไปหามากได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many accounts are opened in each day for all accounts by the customer with first name 'Meaghan' ? Bin the account open day by year interval in a bar chart, could you rank x-axis in ascending order?It is not neccessary to use all the tables. | Product_Categories: production_type_code [ VARCHAR(15)] product_type_description [ VARCHAR(80)] vat_rating [ DECIMAL(194)] | SELECT date_account_opened, COUNT(date_account_opened) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan' ORDER BY date_account_opened | null | general |
มีกี่ตอนที่มีชื่อว่า 'Cops & Robbers'?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many episodes are titled 'Cops & Robbers'?It is not neccessary to use all the tables. | table_26435: "Title" [ text] | SELECT COUNT("No. by season") FROM table_26435 WHERE "Title" = 'Cops & Robbers' | null | general |
จะมีชั้นเรียนระดับบน 1 เครดิตสำหรับฤดูใบไม้ร่วงปี 2016 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Will there be a 1 -credit upper level class for Fall 2016 ?It is not neccessary to use all the tables. | course: course_id [ int] name [ varchar] department [ varchar] number [ varchar] credits [ varchar] advisory_requirement [ varchar] enforced_requirement [ varchar] description [ varchar] num_semesters [ int] num_enrolled [ int] has_discussion [ varchar] has_lab [ varchar] has_projects [ varchar] has_exams [ varchar] num_reviews [ int] clarity_score [ int] easiness_score [ int] helpfulness_score [ int] | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.credits = 1 AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Fall' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | null | general |
ยางคืออะไรเมื่อเครื่องยนต์คือ asiatech at02 และคนขับคือ alex yoong?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | what is the tyre when the engine is asiatech at02 and the driver is alex yoong?It is not neccessary to use all the tables. | table_name_47: tyre [ VARCHAR] engine_† [ VARCHAR] driver [ VARCHAR] | SELECT tyre FROM table_name_47 WHERE engine_† = "asiatech at02" AND driver = "alex yoong" | null | general |
โปรแกรมการปลูกถ่ายด้วยตนเองเป็นยาชนิดใด ไม่จำเป็นต้องใช้ทุกตาราง | transplant self medication program is which type of drug?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 prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Transplant Self Medication Program" | null | general |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.