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 |
---|---|---|---|---|---|
ทีมกีฬาเมดิสันทีมใดที่ก่อตั้งขึ้นก่อน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | which of the madison sports teams was established first ?It is not neccessary to use all the tables. | table_202_85: id [ number] "club" [ text] "league" [ text] "sport" [ text] "venue" [ text] "established" [ number] "championships" [ text] | SELECT "club" FROM table_202_85 ORDER BY "established" LIMIT 1 | null | general |
โปรดบอกระดับดาวโดยเฉลี่ยของภาพยนตร์แต่ละเรื่องโดยใช้แผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด | Please tell me the average star ratings of each movie title using a bar chart.It is not neccessary to use all the tables. | Reviewer: rID [ int] name [ text] | SELECT title, AVG(stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title | null | general |
การแข่งขันวันที่ 5 กันยายน ระยะทางเท่าไร?ไม่จำเป็นต้องใช้ทุกโต๊ะ | What is the distance for the 5 September race?It is not neccessary to use all the tables. | table_name_69: distance [ VARCHAR] date [ VARCHAR] | SELECT distance FROM table_name_69 WHERE date = "5 september" | null | general |
เทศกาลซิตาลซัสธีที่มีหิระคุดเป็นซัมบาลปุรีสารีคืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the sitalsasthi carnival with hirakud as sambalpuri saree?It is not neccessary to use all the tables. | table_76560: "Kosal" [ text] | SELECT "Sitalsasthi Carnival" FROM table_76560 WHERE "Sambalpuri Saree" = 'hirakud' | null | general |
ในแต่ละเดือนมีการจ้างอาจารย์ที่มีสำนักงานอยู่ใน DRE 102 จำนวนกี่คน ส่งกลับแผนภูมิแท่ง และแสดงแกน y ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many professors whose office is located in DRE 102 are hired in each month? Return a bar chart, and show y-axis in desc order.It is not neccessary to use all the tables. | EMPLOYEE: EMP_NUM [ int] EMP_LNAME [ varchar(15)] EMP_FNAME [ varchar(12)] EMP_INITIAL [ varchar(1)] EMP_JOBCODE [ varchar(5)] EMP_HIREDATE [ datetime] EMP_DOB [ datetime] | SELECT EMP_HIREDATE, COUNT(EMP_HIREDATE) FROM EMPLOYEE AS T1 JOIN PROFESSOR AS T2 ON T1.EMP_NUM = T2.EMP_NUM WHERE T2.PROF_OFFICE = 'DRE 102' ORDER BY COUNT(EMP_HIREDATE) DESC | null | general |
Gary Clark ทำการตัดไปกี่ครั้ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many cuts did Gary Clark make?It is not neccessary to use all the tables. | table_74293: "Player" [ text] "Starts" [ real] | SELECT "Cuts made" FROM table_74293 WHERE "Player" = 'Gary Clark' | null | general |
จำนวนประชากรขั้นต่ำในปี 2554 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the minimum population in 2011?It is not neccessary to use all the tables. | table_2328113_1: population__2011_ [ INTEGER] | SELECT MIN(population__2011_) FROM table_2328113_1 | null | general |
การแข่งขันในวันที่ 30 กรกฎาคม 1950 จะเป็นอย่างไรกับ Formula 2 Fia ไม่ใช่แชมป์?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?It is not neccessary to use all the tables. | table_36227: "Date" [ text] "Race" [ text] "Category" [ text] | SELECT "Race" FROM table_36227 WHERE "Category" = 'formula 2 fia, non-championship' AND "Date" = 'july 30, 1950' | null | general |
ครูคนไหนสอนในห้องเรียน 109? บอกนามสกุลมาให้ฉันหน่อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which teachers teach in classroom 109? Give me their last names.It is not neccessary to use all the tables. | teachers: lastname [ text] firstname [ text] classroom [ number] | SELECT lastname FROM teachers WHERE classroom = 109 | null | general |
เปอร์เซ็นต์การยิงของทีมที่เล่นในสวิตเซอร์แลนด์คือกี่เปอร์เซ็นต์?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What are the shot percentages for teams that played in switzerland?It is not neccessary to use all the tables. | table_1644876_2: shot__percentage [ VARCHAR] locale [ VARCHAR] Switzerland [ VARCHAR] | SELECT shot__percentage FROM table_1644876_2 WHERE locale = Switzerland | null | general |
เซ็นเซอร์ตัวไหนมีพื้นที่มากที่สุด ?ไม่จำเป็นต้องใช้ทุกตารางเลย | which sensor has the largest area ?It is not neccessary to use all the tables. | table_203_356: id [ number] "type" [ text] | SELECT "type" FROM table_203_356 ORDER BY "area (mm2)" DESC LIMIT 1 | null | general |
ลีโอนาร์โด ไมอา ทำรอบได้เร็วที่สุดกี่ครั้ง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many times did leonardo maia have the fastest lap ?It is not neccessary to use all the tables. | table_204_845: id [ number] "round" [ number] "circuit" [ text] "location" [ text] "date" [ text] | SELECT COUNT(*) FROM table_204_845 WHERE "fastest lap" = 'leonardo maia' | null | general |
ระบุจำนวนผู้ป่วยที่วินิจฉัยชื่อย่อว่า human immunovirus dis และเส้นทางยาคือ iv หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด | provide the number of patients whose diagnoses short title is human immuno virus dis and 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Human immuno virus dis" AND prescriptions.route = "IV" | null | general |
การแข่งขันอะไรที่มีคะแนนสุดท้าย 65?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the competition that had a final score of 65?It is not neccessary to use all the tables. | table_70844: "Year" [ real] "Competition" [ text] "Town" [ text] "Opponent" [ text] | SELECT "Competition" FROM table_70844 WHERE "Final score" = '6:5' | null | general |
Nashville Metros อยู่ที่ไหนในฤดูกาล 1994/95? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | What place did the Nashville Metros place in the 1994/95 Season?It is not neccessary to use all the tables. | table_name_64: regular_season [ VARCHAR] year [ VARCHAR] | SELECT regular_season FROM table_name_64 WHERE year = "1994/95" | null | general |
ผู้เข้าร่วมที่ Moorabbin Oval เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What was the attendance at Moorabbin Oval?It is not neccessary to use all the tables. | table_51767: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT AVG("Crowd") FROM table_51767 WHERE "Venue" = 'moorabbin oval' | null | general |
ปีที่สร้างปี 2010 มีรายการกี่รายการ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many entries feature a year built of 2010?It is not neccessary to use all the tables. | table_name_24: total [ VARCHAR] year_built [ VARCHAR] | SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010 | null | general |
ใครคือคู่ที่สองของตอนนี้ที่มีอันดับ ITV1 ที่ 29? ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who was the second couple for the episode having an ITV1 ranking of 29?It is not neccessary to use all the tables. | table_27973: "#" [ real] "Airdate" [ text] | SELECT "Second couple" FROM table_27973 WHERE "ITV1 weekly ranking" = '29' | null | general |
มีนางไบรอาร์เป็นตัวร้ายกี่คนไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many have Mrs. briar as a villainIt is not neccessary to use all the tables. | table_16124: "No." [ real] "#" [ real] "Title" [ text] "Director" [ text] "Writer" [ text] "Storyteller" [ text] "Villains" [ text] | SELECT COUNT("No.") FROM table_16124 WHERE "Villains" = 'Mrs. Briar' | null | general |
ผลเพลย์ออฟใดที่เกิดขึ้นระหว่างฤดูกาลที่พวกเขาจบอันดับ 1 ทางใต้?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What playoff result happened during the season in which they finished 1st, southern?It is not neccessary to use all the tables. | table_12002388_1: playoffs [ VARCHAR] reg_season [ VARCHAR] | SELECT playoffs FROM table_12002388_1 WHERE reg_season = "1st, Southern" | null | general |
สำหรับแต่ละประเภท มีเรือกี่ลำ เขียนเป็นแผนภูมิแท่ง แสดงรายการแกน y ตามลำดับ asc ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | For each type, how many ships are there Plot them as bar chart, list y-axis in asc order.It is not neccessary to use all the tables. | ship: Ship_ID [ int] Name [ text] Type [ text] Nationality [ text] Tonnage [ int] | SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY COUNT(*) | null | general |
ใครคือผู้นำเสนอหลักสำหรับภูมิภาค/ประเทศเอสโตเนีย?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who is every main presenter for the Estonia region/country?It is not neccessary to use all the tables. | table_24224647_2: main_presenter [ VARCHAR] region_country [ VARCHAR] | SELECT main_presenter FROM table_24224647_2 WHERE region_country = "Estonia" | null | general |
วาดแผนภูมิแท่งเกี่ยวกับการแจกแจงของ meter_200 และผลรวมของ ID และจัดกลุ่มตามแอตทริบิวต์ meter_200 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Draw a bar chart about the distribution of meter_200 and the sum of ID , and group by attribute meter_200.It is not neccessary to use all the tables. | record: ID [ int] Result [ text] Swimmer_ID [ int] Event_ID [ int] | SELECT meter_200, SUM(ID) FROM swimmer GROUP BY meter_200 | null | general |
สำหรับพนักงานที่มีเงินเดือนอยู่ในช่วง 8,000 และ 12,000 และค่าคอมมิชชันไม่เป็นค่าว่างหรือหมายเลขแผนกไม่เท่ากับ 40 โปรดแสดงให้ฉันดูเกี่ยวกับการแจกแจงของ job_id และค่าเฉลี่ยของเงินเดือน และจัดกลุ่มตามแอตทริบิวต์ job_id ในแผนภูมิแท่ง และแสดงแกน y จากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the distribution of job_id and the average of salary , and group by attribute job_id in a bar chart, and show y 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(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(SALARY) DESC | null | general |
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้ส่งกลับแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Hire_date และค่าเฉลี่ยของ Employee_id bin Hire_date ตามเวลา คุณช่วยแสดงจากมากไปน้อยตามแกน Y ได้หรือไม่ ไม่จำเป็นต้องใช้ทั้งหมด โต๊ะ. | 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 time, could you show in descending by the Y-axis?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' ORDER BY AVG(EMPLOYEE_ID) DESC | null | general |
นักแข่งที่จบรอบโดยเฉลี่ยด้วยเวลา +211.524 เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average laps completed by riders with times of +211.524?It is not neccessary to use all the tables. | table_46266: "Rider" [ text] "Manufacturer" [ text] "Laps" [ real] "Time" [ text] "Grid" [ real] | SELECT AVG("Laps") FROM table_46266 WHERE "Time" = '+2:11.524' | null | general |
สถานที่ใดจัดการแข่งขันในปี 1965?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which venue hosted a tournament in 1965?It is not neccessary to use all the tables. | table_54246: "Year" [ real] "Tournament" [ text] "Venue" [ text] "Result" [ text] "Event" [ text] | SELECT "Venue" FROM table_54246 WHERE "Year" = '1965' | null | general |
สัตว์ชนิดใดที่สอดคล้องกับหมายเลขภาคยานุวัติ xp_852505.1?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What kind of animal corresponds to the accession number xp_852505.1?It is not neccessary to use all the tables. | table_15417439_1: common_name [ VARCHAR] accession_number [ VARCHAR] | SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.1" | null | general |
ประตูใดที่มีตำแหน่งน้อยกว่า 16 และชนะน้อยกว่า 19 และประตูต่อที่น้อยกว่า 32 ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32?It is not neccessary to use all the tables. | table_name_17: goals_for [ INTEGER] goals_against [ VARCHAR] position [ VARCHAR] wins [ VARCHAR] | SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32 | null | general |
ทีมโรงเรียน/ชมรมของ Stephen Thompson คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Stephen Thompson's School/Club Team?It is not neccessary to use all the tables. | table_name_80: school_club_team [ VARCHAR] player [ VARCHAR] | SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson" | null | general |
ย้ายจาก Nancy หลังปี 2005 รายการใดอยู่ในอันดับที่ต่ำที่สุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Moving from Nancy after 2005, what is listed as the lowest rank?It is not neccessary to use all the tables. | table_66765: "Rank" [ real] "Year" [ real] "Name" [ text] | SELECT MIN("Rank") FROM table_66765 WHERE "Year" > '2005' AND "Moving from" = 'nancy' | null | general |
ผู้เล่นจากโรงเรียนมัธยม Huntsville เข้าเรียนที่วิทยาลัยใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What college did the player with a school of huntsville high school go to?It is not neccessary to use all the tables. | table_10729: "Player" [ text] "Position" [ text] "School" [ text] "Hometown" [ text] "College" [ text] | SELECT "College" FROM table_10729 WHERE "School" = 'huntsville high school' | null | general |
ครูแต่ละคนสอนกี่หลักสูตร? แสดงแผนภูมิแท่งแบบเรียงซ้อนให้ฉันดู แกน x คือชื่อผู้สอนและกลุ่มตามรหัสหลักสูตร คุณช่วยจัดเรียงหมายเลข emp fname ตามลำดับจากมากไปน้อยได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many courses each teacher taught? Show me a stacked bar chart The x-axis is the instructor's first name and group by course code, could you sort the number of emp fname in descending order please?It is not neccessary to use all the tables. | COURSE: CRS_CODE [ varchar(10)] DEPT_CODE [ varchar(10)] CRS_DESCRIPTION [ varchar(35)] CRS_CREDIT [ float(8)] | SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM GROUP BY CRS_CODE, EMP_FNAME ORDER BY COUNT(EMP_FNAME) DESC | null | general |
เลกที่สองที่บาเลนเซียอยู่คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the second leg that Valencia was on?It is not neccessary to use all the tables. | table_68891: "Agg." [ text] | SELECT "2nd leg" FROM table_68891 WHERE "Team 2" = 'valencia' | null | general |
เบลารุสชนะได้ทั้งหมดกี่เหรียญ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many total medals did belarus win ?It is not neccessary to use all the tables. | table_203_724: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number] | SELECT "total" FROM table_203_724 WHERE "nation" = 'belarus' | null | general |
ขอทราบจำนวนคนไข้ที่มีสถานภาพสมรสเป็นโสด และรหัสขั้นตอน icd9 คือ 8960 ค่ะ ไม่จำเป็นต้องใช้ตารางทั้งหมดค่ะ | give me the number of patients whose marital status is single and procedure icd9 code is 8960?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.icd9_code = "8960" | null | general |
ใครเป็นผู้กำกับเพลงในปี 1971 สำหรับภาพยนตร์เรื่อง Kalyani?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who was the music director in 1971 for the movie Kalyani?It is not neccessary to use all the tables. | table_65394: "Year" [ real] "Director" [ text] "Cast" [ text] | SELECT "Music Director" FROM table_65394 WHERE "Year" = '1971' AND "Movie (in Kannada )" = 'kalyani' | null | general |
การทดสอบในห้องปฏิบัติการห้าแบบที่พบบ่อยที่สุดสำหรับผู้ป่วยอายุ 60 ปีขึ้นไปคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what are the five most common lab tests for patients of age 60 or above?It is not neccessary to use all the tables. | cost: costid [ number] uniquepid [ text] patienthealthsystemstayid [ number] eventtype [ text] eventid [ number] chargetime [ time] cost [ number] | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 5 | null | general |
สำหรับหลักสูตร Core ใครคือครูที่ง่ายที่สุด ?ไม่จำเป็นต้องใช้ทุกตาราง | For the Core course , who is the easiest teacher ?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 instructor.name, program_course.workload FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_course.category LIKE '%Core%' AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 WHERE PROGRAM_COURSEalias1.category LIKE '%Core%') | null | general |
วิชาเอก EECS จำเป็นต้องมีคลาส ULCS ใดบ้าง ไม่จำเป็นต้องใช้ตารางทั้งหมด | What ULCS classes are required for EECS majors ?It is not neccessary to use all the tables. | program_course: program_id [ int] course_id [ int] workload [ int] category [ varchar] | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%EECS%' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id | null | general |
ใครที่ยังเปิดที่นั่งไว้สำหรับเขตคอนเนตทิคัตขนาดใหญ่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who left a seat open for the district of connecticut at-largeIt is not neccessary to use all the tables. | table_224844_4: vacator [ VARCHAR] district [ VARCHAR] | SELECT vacator FROM table_224844_4 WHERE district = "Connecticut At-large" | null | general |
มียาใดที่จ่ายให้กับผู้ป่วย 032-24135 ในการเยี่ยมโรงพยาบาลในปัจจุบันหรือไม่?ไม่จำเป็นต้องใช้ทุกโต๊ะ | is any medicine prescribed to patient 032-24135 on the current hospital visit?It is not neccessary to use all the tables. | treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time] | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-24135' AND patient.hospitaldischargetime IS NULL)) | null | general |
ตำแหน่งจากโรงเรียน/สโมสรฟาร์อีสเทิร์นคือใคร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who is the position from the school/club Far Eastern?It is not neccessary to use all the tables. | table_6813: "Name" [ text] "Position" [ text] "Number" [ text] "Season" [ text] | SELECT "Position" FROM table_6813 WHERE "School/Club Team" = 'far eastern' | null | general |
หลักสูตรภาพยนตร์และภาพยนตร์ศึกษาใดบ้างที่ไม่มีข้อกำหนดเบื้องต้น ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Film and Cinema Studies courses do n't have prerequisites ?It is not neccessary to use all the tables. | requirement: requirement_id [ int] requirement [ varchar] college [ varchar] | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id WHERE (area.area LIKE '%Film and Cinema Studies%' OR course.description LIKE '%Film and Cinema Studies%' OR course.name LIKE '%Film and Cinema Studies%') AND course.enforced_requirement = 'N / A' | null | general |
ครั้งล่าสุดเมื่อเดือนที่แล้ว ผู้ป่วย 19175 กำหนดให้ d5w และ pantoprazole พร้อมกันเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | the last time the previous month, when was patient 19175 prescribed d5w and pantoprazole at the same time?It is not neccessary to use all the tables. | d_labitems: row_id [ number] itemid [ number] label [ text] | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'd5w' AND admissions.subject_id = 19175 AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'pantoprazole' AND admissions.subject_id = 19175 AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')) AS t2 ON t1.subject_id = t2.subject_id WHERE DATETIME(t1.startdate) = DATETIME(t2.startdate) ORDER BY t1.startdate DESC LIMIT 1 | null | general |
คำถามที่มีการติดแท็ก (รวมถึงผู้แก้ไขที่เพิ่มด้วย) ไม่จำเป็นต้องใช้ตารางทั้งหมด | Questions which had given tag (included the editor who added it).It is not neccessary to use all the tables. | PendingFlags: Id [ number] FlagTypeId [ number] PostId [ number] CreationDate [ time] CloseReasonTypeId [ number] CloseAsOffTopicReasonTypeId [ number] DuplicateOfQuestionId [ number] BelongsOnBaseHostAddress [ text] | WITH firstrev_cte AS (SELECT p.Id AS pid, MIN(ph.Id) AS MinId FROM PostHistory AS ph INNER JOIN Posts AS p ON ph.PostId = p.Id WHERE ph.PostHistoryTypeId IN (3, 6, 9) AND ph.Text LIKE '%<##tagName##>%' GROUP BY p.Id) SELECT pid AS "post_link", url = 'site://posts/' + CAST(PostId AS TEXT) + '/revisions', UserId AS "user_link", UserDisplayName FROM PostHistory INNER JOIN firstrev_cte ON PostHistory.Id = MinId | null | general |
OpenShift Rancher Terraform Ansible Jenkins ไม่จำเป็นต้องใช้ตารางทั้งหมด | OpenShift Rancher Terraform Ansible Jenkins.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 * FROM Posts WHERE Tags LIKE '%monitor%' AND CreationDate > '01-01-2020' | null | general |
ใครมาวันที่ 29 เม.ย. ไม่จำเป็นต้องใช้โต๊ะทั้งหมดครับ | Who visited on April 29?It is not neccessary to use all the tables. | table_75528: "Date" [ text] "Home" [ text] "Score" [ text] "Visitor" [ text] "Record" [ text] | SELECT "Visitor" FROM table_75528 WHERE "Date" = 'april 29' | null | general |
ทีมใดมาจาก Russian Major League?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What team is from the Russian Major League?It is not neccessary to use all the tables. | table_54542: "Player" [ text] "Nationality" [ text] "Position" [ text] | SELECT "Position" FROM table_54542 WHERE "League from" = 'russian major league' | null | general |
แสดงชื่อศิลปินทั้งหมดและจำนวนนิทรรศการของศิลปินแต่ละคนในแผนภูมิแท่ง โดยฉันต้องการเรียงลำดับจากมากไปน้อยตามจำนวนทั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show all artist names and the number of exhibitions for each artist in a bar chart, I want to order in descending by the total number.It is not neccessary to use all the tables. | artist: Artist_ID [ int] Name [ text] Country [ text] Year_Join [ int] Age [ int] | SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID ORDER BY COUNT(*) DESC | null | general |
ทีมไหน 2 เจอกับทีม 1 จากบาร์เซโลน่า?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | Which Team 2 faced Team 1 from Barcelona?It is not neccessary to use all the tables. | table_56852: "Agg." [ text] | SELECT "Team 2" FROM table_56852 WHERE "Team 1" = 'barcelona' | null | general |
Catrine bengtsson margit borg มีผู้ชายกี่คนที่จะได้สองเท่าเมื่อผู้หญิงเป็นสองเท่า? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | How many mens doubles when womens doubles is catrine bengtsson margit borg?It is not neccessary to use all the tables. | table_12171145_1: mens_doubles [ VARCHAR] womens_doubles [ VARCHAR] | SELECT COUNT(mens_doubles) FROM table_12171145_1 WHERE womens_doubles = "Catrine Bengtsson Margit Borg" | null | general |
มีผู้ป่วยที่เป็นโรคปอดบวมหลักและอายุน้อยกว่า 49 ปีจำนวนเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients whose primary disease is pneumonia and age is less than 49?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.diagnosis = "PNEUMONIA" AND demographic.age < "49" | null | general |
สัญชาติใดมีอันดับมากกว่า 3 และชื่อทอม ฮิลเด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Nationality has a Rank larger than 3, and a Name of tom hilde?It is not neccessary to use all the tables. | table_34380: "Rank" [ real] "Name" [ text] "Nationality" [ text] "Points" [ real] | SELECT "Nationality" FROM table_34380 WHERE "Rank" > '3' AND "Name" = 'tom hilde' | null | general |
รัฐคืออะไร เมื่อ AAM Accredited เป็นไม่ เมื่อสมาชิก ASTC เป็นไม่ และเมื่อเมืองคือทัลซา ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is State, when AAM Accredited is No, when ASTC Member is No, and when City is Tulsa?It is not neccessary to use all the tables. | table_name_49: state [ VARCHAR] city [ VARCHAR] aam_accredited [ VARCHAR] astc_member [ VARCHAR] | SELECT state FROM table_name_49 WHERE aam_accredited = "no" AND astc_member = "no" AND city = "tulsa" | null | general |
มีไดรเวอร์กี่ตัวในรายการ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many different drivers are listed ?It is not neccessary to use all the tables. | table_204_976: id [ number] "pos" [ text] "driver" [ text] "entrant" [ text] "constructor" [ text] "time/retired" [ text] "grid" [ number] | SELECT COUNT(DISTINCT "driver") FROM table_204_976 | null | general |
แสดงจำนวนทั้งหมดให้ฉันดูด้วยรหัสผลลัพธ์ในฮิสโตแกรม ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show me the total number by outcome code in a histogramIt is not neccessary to use all the tables. | Order_Items: item_id [ INTEGER] order_item_status_code [ VARCHAR(15)] order_id [ INTEGER] product_id [ INTEGER] item_status_code [ VARCHAR(15)] item_delivered_datetime [ DATETIME] item_order_quantity [ VARCHAR(80)] | SELECT outcome_code, COUNT(*) FROM Mailshot_Customers GROUP BY outcome_code | null | general |
ตอนที่ 4 ของซีซั่นเดิมออกอากาศวันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What date did episode 4 in the season originally air?It is not neccessary to use all the tables. | table_24425976_7: original_air_date [ VARCHAR] season [ VARCHAR] | SELECT original_air_date FROM table_24425976_7 WHERE season = 4 | null | general |
สิ่งแรกที่สร้างขึ้นสำหรับภาพยนตร์โทรทัศน์เพื่อพูดคุยกับผู้ป่วยโรคเอดส์ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | what was the first made for television film to address people with aids ?It is not neccessary to use all the tables. | table_203_293: id [ number] "title" [ text] "network" [ text] "actor" [ text] "notes" [ text] | SELECT "title" FROM table_203_293 WHERE "notes" = 'the first made-for-television film to address people with aids' | null | general |
เปอร์เซ็นต์การห้ามฝ่ายตรงข้ามต่ำสุดคือเท่าใด เมื่อจำนวนฝ่ายตรงข้ามคือ 9,575 และเปอร์เซ็นต์การสนับสนุนน้อยกว่า 72.2 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the lowest percentage opposing prohibition when the number opposing is 9,575 and the percent supporting is less than 72.2?It is not neccessary to use all the tables. | table_51222: "Jurisdiction" [ text] | SELECT MIN("Percent Against") FROM table_51222 WHERE "Against Prohibition" = '9,575' AND "Percent For" < '72.2' | null | general |
ผู้ป่วยที่เป็นโรคต้นกำเนิดและปีที่เข้ารับการรักษาน้อยกว่า 2,155 ปีมีจำนวนเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the number of patients whose primary disease is stemi and admission year is less than 2155?It is not neccessary to use all the tables. | demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "STEMI" AND demographic.admityear < "2155" | null | general |
วันใดที่มีภูมิภาคของสหราชอาณาจักร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which date has a region of united kingdom?It is not neccessary to use all the tables. | table_47198: "Region" [ text] "Date" [ text] "Label" [ text] "Format" [ text] "Catalog" [ text] | SELECT "Date" FROM table_47198 WHERE "Region" = 'united kingdom' | null | general |
ผู้ใช้ที่มีตัวแทนสูงโดยไม่มีตราสัญลักษณ์กดดันจากเพื่อน วิธีค้นหาว่าผู้ใช้รายใด (ส่วนใหญ่เป็นตัวแทนระดับสูง) ไม่มีตราสัญลักษณ์กดดันจากเพื่อน ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | High Rep users without the peer pressure badge. A way to find which users (mostly high rep) don't have the peer pressure badge.It is not neccessary to use all the tables. | ReviewTaskTypes: Id [ number] Name [ text] Description [ text] | SELECT Id AS "user_link", DisplayName, Reputation FROM Users WHERE Reputation > @RepLimit AND NOT EXISTS(SELECT Id FROM Badges AS b WHERE b.UserId = Users.Id AND b.Name = 'Peer Pressure') ORDER BY Reputation DESC | null | general |
มีผู้ป่วยชาวเอเชียกี่คนที่เป็นโรคปฐมภูมิหัวใจห้องล่างเต้นเร็ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many asian patients have ventricular tachycardia primary disease?It is not neccessary to use all the tables. | prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.diagnosis = "VENTRICULAR TACHYCARDIA" | null | general |
อะไรคือระดับความสูงสูงสุดของ daurm l และค่า Isolation (km) ที่มากกว่า 4? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the highest elevation for the peak daurm l, and an Isolation (km) larger than 4?It is not neccessary to use all the tables. | table_67726: "Peak" [ text] "Municipality" [ text] "County" [ text] | SELECT MAX("Elevation (m)") FROM table_67726 WHERE "Peak" = 'daurmål' AND "Isolation (km)" > '4' | null | general |
มีสมาชิกคลับ 'Bootup Baltimore' ที่มีอายุต่ำกว่า 18 ปีกี่คน? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many members of club 'Bootup Baltimore' are younger than 18?It is not neccessary to use all the tables. | club: clubid [ VARCHAR] clubname [ VARCHAR] | SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.age < 18 | null | general |
มีเที่ยวบินใดบ้างบน DL จากดัลลาสถึงแอตแลนต้าในเช้าวันจันทร์ไม่จำเป็นต้องใช้ตารางทั้งหมด | what flights are available on DL from DALLAS to ATLANTA on monday morningIt is not neccessary to use all the tables. | state: state_code [ text] state_name [ text] country_name [ 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 = 21 AND date_day.month_number = 2 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.airline_code = 'DL' AND flight.flight_days = days.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.departure_time BETWEEN 0 AND 1200 | null | general |
YX ให้บริการบัลติมอร์หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | does YX serve BALTIMOREIt is not neccessary to use all the tables. | class_of_service: booking_class [ varchar] rank [ int] class_description [ text] | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.to_airport = AIRPORT_SERVICE_0.airport_code AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE') OR (flight.from_airport = AIRPORT_SERVICE_1.airport_code AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE')) AND flight.airline_code = 'YX' | null | general |
นับจำนวนคนไข้ที่วินิจฉัยได้รหัส icd9 คือ 25,002 และผลตรวจแล็ปผิดปกติเป็น delta หรือไม่ไม่จำเป็นต้องใช้ทุกตาราง | count the number of patients whose diagnoses icd9 code is 25002 and lab test abnormal status is delta?It is not neccessary to use all the tables. | diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "25002" AND lab.flag = "delta" | null | general |
สถานที่ที่มีโรงภาพยนตร์มีอะไรบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What are all the locations with a cinema?It is not neccessary to use all the tables. | cinema: LOCATION [ VARCHAR] | SELECT DISTINCT LOCATION FROM cinema | null | general |
เพลงของบาร์เรโตเลือกเพลงอะไรเมื่อธีมเป็นเพลงแซมบ้า?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was Barreto's song choice when the theme was samba?It is not neccessary to use all the tables. | table_29652: "Theme" [ text] "Result" [ text] | SELECT "Song Choice" FROM table_29652 WHERE "Theme" = 'Samba' | null | general |
แชมป์ของทีมใดมีคลาสรองอย่าง Matt Rao สำหรับ Winter Series Champion of Not Held?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What team's champion has a secondary class of Matt Rao for a Winter Series Champion of Not Held?It is not neccessary to use all the tables. | table_5293: "Season" [ text] "Champion" [ text] "Constructor" [ text] | SELECT "Teams' Champion" FROM table_5293 WHERE "Winter Series Champion" = 'not held' AND "Secondary Class" = 'matt rao' | null | general |
ผู้ป่วยจำนวนเท่าใดที่ชื่อการวินิจฉัยว่าเป็นความผิดปกติปริกำเนิดของระบบย่อยอาหารที่ระบุอื่น ๆ มีประกันของรัฐบาลจำนวนเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what number of patients whose diagnosis title is other specified perinatal disorders of digestive systems had government insurance?It is not neccessary to use all the tables. | lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Government" AND diagnoses.long_title = "Other specified perinatal disorders of digestive system" | null | general |
ผู้ป่วย 67005 ออกจากโรงพยาบาลครั้งแรกเมื่อใดในปีที่แล้ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด | when was patient 67005's first discharge from the hospital the last year?It is not neccessary to use all the tables. | cost: row_id [ number] subject_id [ number] hadm_id [ number] event_type [ text] event_id [ number] chargetime [ time] cost [ number] | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 67005 AND DATETIME(admissions.dischtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY admissions.dischtime LIMIT 1 | null | general |
การตั้งถิ่นฐานใดที่แสดงอยู่หลัง oulu?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what settlement is listed right after oulu ?It is not neccessary to use all the tables. | table_204_563: id [ number] "abbreviation" [ text] "settlement" [ text] "district" [ text] "division" [ text] "cup" [ number] | SELECT "settlement" FROM table_204_563 WHERE id = (SELECT id FROM table_204_563 WHERE "settlement" = 'oulu') + 1 | null | general |
บอกฉันจำนวนครั้งที่ผู้ป่วย 006-1634 ได้รับการตรวจทางห้องปฏิบัติการเพื่อหา -น้ำเหลืองในเดือนที่ผ่านมา ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | tell me the number of times patient 006-1634 has had a lab test for -lymphs in the last month.It is not neccessary to use all the tables. | vitalperiodic: vitalperiodicid [ number] patientunitstayid [ number] temperature [ number] sao2 [ number] heartrate [ number] respiration [ number] systemicsystolic [ number] systemicdiastolic [ number] systemicmean [ number] observationtime [ time] | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-1634')) AND lab.labname = '-lymphs' AND DATETIME(lab.labresulttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') | null | general |
ผลการแข่งขันที่เล่นที่ Soldier Field เป็นอย่างไร?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | What is the result of the game that was played at Soldier Field?It is not neccessary to use all the tables. | table_66882: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ real] | SELECT "Result" FROM table_66882 WHERE "Game site" = 'soldier field' | null | general |
Valley Vista รุ่นใดมี Dysart ปี 1668?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What Valley Vista has a Dysart of 1668?It is not neccessary to use all the tables. | table_name_39: valley_vista [ VARCHAR] dysart [ VARCHAR] | SELECT valley_vista FROM table_name_39 WHERE dysart = "1668" | null | general |
อายุเฉลี่ยของคนไข้ที่เข้าประเภทฉุกเฉินและจำนวนวันที่ต้องนอนโรงพยาบาลคือ 4 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is average age of patients whose admission type is emergency and days of hospital stay is 4?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 AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.days_stay = "4" | null | general |
การวินิจฉัยที่พบบ่อยที่สุดสามอันดับแรกที่ตามมาภายใน 2 เดือนสำหรับผู้ป่วยที่ได้รับการวินิจฉัยว่าติดเชื้อเฉียบพลันในปีนี้คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what were the top three most common diagnoses that followed within 2 months for the patients who were diagnosed with septic shock in this year?It is not neccessary to use all the tables. | lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time] | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'septic shock' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosisname, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.diagnosistime AND DATETIME(t2.diagnosistime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month') GROUP BY t2.diagnosisname) AS t3 WHERE t3.c1 <= 3 | null | general |
ความหนาแน่นของประชากร (ต่อ กม. ) เท่ากับ 2.5 กี่ครั้ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many time is the population density (per km ) is 2.5?It is not neccessary to use all the tables. | table_28245: "Localities" [ real] "Total" [ real] "Arabs" [ real] | SELECT COUNT("Localities") FROM table_28245 WHERE "Population density (per km\u00b2)" = '2.5' | null | general |
คนไข้ปวดท้องนอนโรงพยาบาลเกิน 3 วัน มีกี่ราย ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many of the patients with abdominal pain remained in the hospital for more than 3 days?It is not neccessary to use all the tables. | demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL PAIN" AND demographic.days_stay > "3" | null | general |
ขอฮิสโตแกรมว่าโครงการใดบ้างที่ต้องใช้เวลามากกว่า 300 ชั่วโมง และกำหนดให้แต่ละโครงการมีนักวิทยาศาสตร์กี่คน และแสดงแบบ asc ตามแกน x ไม่จำเป็นต้องใช้ตารางทั้งหมด | Give me a histogram for what are the names of projects that require more than 300 hours, and how many scientists are assigned to each?, and display in asc by the x axis.It is not neccessary to use all the tables. | Scientists: SSN [ int] Name [ Char(30)] | SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project WHERE T1.Hours > 300 GROUP BY T1.Name ORDER BY Name | null | general |
ตอนที่ออกอากาศเวลา 19.30 น. ET วันที่เท่าไหร่? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What date was the episode that aired at 730 pm ET?It is not neccessary to use all the tables. | table_64663: "Episode" [ text] "Date" [ text] "Time" [ text] "Network" [ text] "Length" [ text] | SELECT "Date" FROM table_64663 WHERE "Time" = '7:30 pm et' | null | general |
จำนวนเมืองหลวงทั้งหมดที่มีพื้นที่ 1,104 ตารางกิโลเมตรพอดีคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total number of capitals that have an area of exactly 1104 square km?It is not neccessary to use all the tables. | table_23090: "Country" [ text] "Population" [ real] "Capital" [ text] | SELECT COUNT("Capital") FROM table_23090 WHERE "Area km\u00b2" = '1104' | null | general |
มีกี่ดอกที่เป็นแบบเดียวกับระฆังแห่งอิสรภาพ ?ไม่จำเป็นต้องใช้ทุกโต๊ะ | how many flowers have the same type as the freedom bell ?It is not neccessary to use all the tables. | table_203_699: id [ number] "name" [ text] "parentage" [ text] "size" [ text] | SELECT COUNT("name") FROM table_203_699 WHERE "name" <> 'freedom bell' AND "flower type" = (SELECT "flower type" FROM table_203_699 WHERE "name" = 'freedom bell') | null | general |
ฤดูกาลสูงสุดที่ผู้รักษาประตูชั้นนำคือ สก็อตต์ ซิมิสเตอร์ (54) ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the maximum season where leading goalkicker is scott simister (54)It is not neccessary to use all the tables. | table_1165048_1: season [ INTEGER] leading_goalkicker [ VARCHAR] | SELECT MAX(season) FROM table_1165048_1 WHERE leading_goalkicker = "Scott Simister (54)" | null | general |
จำนวนคะแนนเฉลี่ยของเกมหลังวันที่ 3 มกราคมกับ Cleveland Barons คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average number of points of the game after January 3 against the Cleveland Barons?It is not neccessary to use all the tables. | table_name_23: points [ INTEGER] opponent [ VARCHAR] january [ VARCHAR] | SELECT AVG(points) FROM table_name_23 WHERE opponent = "cleveland barons" AND january > 3 | null | general |
ตารางรวมสำหรับรถยนต์ที่มีรอบมากกว่า 69 รอบเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the grid total for cars with over 69 laps?It is not neccessary to use all the tables. | table_58415: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real] | SELECT COUNT("Grid") FROM table_58415 WHERE "Laps" > '69' | null | general |
ตอนที่ Martin Worth เขียนชื่อเรื่องว่าอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the title of the episode that martin worth wrote the story for?It is not neccessary to use all the tables. | table_41524: "Episode" [ real] "Title" [ text] "Story" [ text] "Director" [ text] "Airdate" [ text] "Exists?" [ text] | SELECT "Title" FROM table_41524 WHERE "Story" = 'martin worth' | null | general |
จำนวนเหรียญทั้งหมดของประเทศที่มี 7 เหรียญทองแดงหรือน้อยกว่า และ 1 เหรียญเงินที่มีอันดับ 9 ขึ้นไปคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger?It is not neccessary to use all the tables. | table_name_90: total [ INTEGER] rank [ VARCHAR] bronze [ VARCHAR] silver [ VARCHAR] | SELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 9 | null | general |
เกมเมื่อวันที่ 15 พฤษภาคมจัดขึ้นที่ไหนและมีผู้เข้าร่วมกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Where was the game on May 15 and how many were in attendance?It is not neccessary to use all the tables. | table_17327: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Series" [ text] | SELECT "Location Attendance" FROM table_17327 WHERE "Date" = 'May 15' | null | general |
ตารางนี้มีโรงเรียนจำนวนเท่าใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what 's the number of schools represented in the table ?It is not neccessary to use all the tables. | table_203_721: id [ number] "school" [ text] "location" [ text] "control" [ text] "type" [ text] "enrollment" [ number] "founded" [ number] | SELECT COUNT("school") FROM table_203_721 | null | general |
ใครมาเป็นอันดับหนึ่งในระหว่างการแข่งขันรอบคัดเลือกโลกปี 2007 ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | who came in first place during the 2007 worlds qualification tournament ?It is not neccessary to use all the tables. | table_203_586: id [ number] "#" [ number] "nation" [ text] "sailor" [ text] | SELECT "nation" FROM table_203_586 WHERE "place in qt" = 1 AND "qualification tournament" = '2007 worlds' | null | general |
Nation คืออะไร เมื่อจำนวน Bronze น้อยกว่า 17 และเมื่อจำนวน Gold น้อยกว่า 16? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?It is not neccessary to use all the tables. | table_45289: "Rank" [ text] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real] | SELECT "Nation" FROM table_45289 WHERE "Bronze" < '17' AND "Gold" < '16' | null | general |
แขกคนไหนที่มีบ้านของวัว?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which Visitor has a Home of bulls?It is not neccessary to use all the tables. | table_6822: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text] | SELECT "Visitor" FROM table_6822 WHERE "Home" = 'bulls' | null | general |
ในแต่ละวันมีการสร้างเอกสารกี่ฉบับ? ผูกวันที่ของเอกสารตามช่วงปี และจัดกลุ่มตามประเภทเอกสารด้วยแผนภูมิเส้นกลุ่ม และเรียงลำดับจากสูงไปต่ำตาม Document_Date โปรดไม่จำเป็นต้องใช้ตารางทั้งหมด | How many documents are created in each day? Bin the document date by year interval and group by document type with a group line chart, and order from high to low by the Document_Date please.It is not neccessary to use all the tables. | Ref_Budget_Codes: Budget_Type_Code [ CHAR(15)] Budget_Type_Description [ VARCHAR(255)] | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name ORDER BY Document_Date DESC | null | general |
หมายเลขการเลือกเฉลี่ยสำหรับตำแหน่งกองหลังเมื่อคะแนนรวมน้อยกว่า 134 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the mean pick number for the cornerback position when the overall is less than 134?It is not neccessary to use all the tables. | table_name_60: pick__number [ INTEGER] position [ VARCHAR] overall [ VARCHAR] | SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134 | null | general |
ผู้ใช้ 20 อันดับแรกจากบังกาลอร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Top 20 Users from bangalore.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 "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%bengaluru%' OR LOWER(Location) LIKE '%bengalore%' ORDER BY Reputation DESC LIMIT 20 | null | general |
มีค่าหัวเพียงอันเดียว) ไม่จำเป็นต้องใช้ทุกตาราง | s with only one bounty).It is not neccessary to use all the tables. | PostNoticeTypes: Id [ number] ClassId [ number] Name [ text] Body [ text] IsHidden [ boolean] Predefined [ boolean] PostNoticeDurationId [ number] | WITH bounties_cte AS (SELECT SUM(v.BountyAmount) AS bntsum, COUNT(v.BountyAmount) AS bntnum, p.Id AS pid, p.ViewCount AS vc FROM Posts AS p JOIN Votes AS v ON v.PostId = p.Id WHERE v.VoteTypeId = 8 GROUP BY p.Id, p.ViewCount) SELECT bntsum AS "total_bounties", AVG(vc) AS "average_viewcount" FROM bounties_cte WHERE bntnum = 1 GROUP BY bntsum ORDER BY bntsum | null | general |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.