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 |
---|---|---|---|---|---|
สคูเดอเรีย มิลาโนเข้าร่วมในรอบใดบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | In what rounds did Scuderia Milano participate?It is not neccessary to use all the tables. | table_name_48: rounds [ VARCHAR] entrant [ VARCHAR] | SELECT rounds FROM table_name_48 WHERE entrant = "scuderia milano" | null | general |
ถ้าชื่อ Xavier Gravelaine จะทำได้กี่ประตู?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the number of goals if the name is Xavier Gravelaine?It is not neccessary to use all the tables. | table_3087: "Name" [ text] "Position" [ text] "Period" [ text] "Appearances\u00b9" [ real] "Goals\u00b9" [ real] "Nationality\u00b2" [ text] | SELECT "Goals\u00b9" FROM table_3087 WHERE "Name" = 'Xavier Gravelaine' | null | general |
เปอร์เซ็นต์ใช่ในการวัดที่มีการโหวตใช่ 35270 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the yes percentage in the measure that had 35270 yes votes?It is not neccessary to use all the tables. | table_256286_5: _percentage_yes [ VARCHAR] yes_votes [ VARCHAR] | SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270 | null | general |
หลักสูตร Studio ใดบ้างที่มีมูลค่า 15 หน่วยกิต ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which are the Studio courses that are valued at 15 credits ?It is not neccessary to use all the tables. | semester: semester_id [ int] semester [ varchar] year [ int] | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Studio%' OR name LIKE '%Studio%') AND credits = 15 | null | general |
บอกคะแนนวันที่ 27 เม.ย. กับแขกควาย ไม่จำเป็นต้องใช้ทุกโต๊ะ | Tell me the score on april 27 with visitor of buffaloIt is not neccessary to use all the tables. | table_name_8: score [ VARCHAR] visitor [ VARCHAR] date [ VARCHAR] | SELECT score FROM table_name_8 WHERE visitor = "buffalo" AND date = "april 27" | null | general |
การแข่งขันที่ Lake Oval จัดขึ้นวันไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | On what date was a match played at Lake Oval?It is not neccessary to use all the tables. | table_name_4: date [ VARCHAR] venue [ VARCHAR] | SELECT date FROM table_name_4 WHERE venue = "lake oval" | null | general |
จำนวนชัยชนะเฉลี่ยของทีม Norton ในปี 1966 โดยมี 8 แต้มเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the mean number of wins for the norton team in 1966, when there are 8 points?It is not neccessary to use all the tables. | table_35458: "Year" [ real] "Class" [ text] "Team" [ text] "Points" [ real] "Wins" [ real] | SELECT AVG("Wins") FROM table_35458 WHERE "Team" = 'norton' AND "Year" = '1966' AND "Points" = '8' | null | general |
เขตใดมีชื่อวิทยาลัยหรือวิทยาเขตของ anna University College of Engineering Kanchipuram? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What District has a College or Campus Name of anna university college of engineering kanchipuram?It is not neccessary to use all the tables. | table_name_31: district [ VARCHAR] college_or_campus_name [ VARCHAR] | SELECT district FROM table_name_31 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" | null | general |
นับบ้านเกิดตามบ้านเกิด โดยแสดงแกน x จากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Count the hometown by hometown, display x axis in descending order.It is not neccessary to use all the tables. | member: Member_ID [ int] Card_Number [ text] Name [ text] Hometown [ text] Level [ int] | SELECT Hometown, COUNT(Hometown) FROM member GROUP BY Hometown ORDER BY Hometown DESC | null | general |
ในปีที่แล้ว ตัวอย่างที่ผู้ป่วยได้รับบ่อยที่สุดห้าอันดับแรกภายใน 2 เดือนหลังจากได้รับ ins drug-elut coronry st คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | the previous year, what are the top five most frequently taken specimens for patients within 2 months after receiving ins drug-elut coronry st?It is not neccessary to use all the tables. | d_items: row_id [ number] itemid [ number] label [ text] linksto [ text] | SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (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 = 'ins drug-elut coronry st') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, microbiologyevents.spec_type_desc, microbiologyevents.charttime FROM microbiologyevents JOIN admissions ON microbiologyevents.hadm_id = admissions.hadm_id WHERE DATETIME(microbiologyevents.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(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.spec_type_desc) AS t3 WHERE t3.c1 <= 5 | null | general |
ในการเยี่ยมหอผู้ป่วยหนักครั้งแรก ครั้งสุดท้ายที่ผู้ป่วย 021-198501 มีเอาท์พุต y (มล.) - ท่ออก y - a #1 ด้านขวา b #4 เอาท์พุตด้านซ้ายคือเมื่อใด? ไม่จำเป็นต้องใช้ทั้งหมด ตาราง | on the first intensive care unit visit, when was the last time that patient 021-198501 had a output y (ml)-chest tube y - a #1 right lateral b #4 left lateral output?It is not neccessary to use all the tables. | patient: uniquepid [ text] patienthealthsystemstayid [ number] patientunitstayid [ number] gender [ text] age [ text] ethnicity [ text] hospitalid [ number] wardid [ number] admissionheight [ number] admissionweight [ number] dischargeweight [ number] hospitaladmittime [ time] hospitaladmitsource [ text] unitadmittime [ time] unitdischargetime [ time] hospitaldischargetime [ time] hospitaldischargestatus [ text] | SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-198501') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'output y (ml)-chest tube y - a #1 right lateral b #4 left lateral' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1 | null | general |
แผนภูมิกระจายเพื่อแสดงเพศบนแกน x และจำนวนรวมบนแกน y ไม่จำเป็นต้องใช้ตารางทั้งหมด | Scatter plot to show gender on x axis and the total number on y axis.It is not neccessary to use all the tables. | Invoice_Line_Items: order_item_id [ INTEGER] invoice_number [ INTEGER] product_id [ INTEGER] product_title [ VARCHAR(80)] product_quantity [ VARCHAR(50)] product_price [ DECIMAL(194)] derived_product_cost [ DECIMAL(194)] derived_vat_payable [ DECIMAL(194)] derived_total_cost [ DECIMAL(194)] | SELECT gender, COUNT(*) FROM Customers GROUP BY gender | null | general |
คุณมีเที่ยวบินอะไรบ้างจากบัลติมอร์ไปซานฟรานซิสโกไม่จำเป็นต้องใช้ตารางทั้งหมด | what flights do you have from BALTIMORE to SAN FRANCISCOIt is not neccessary to use all the tables. | fare_basis: fare_basis_code [ text] booking_class [ text] class_type [ text] premium [ text] economy [ text] discounted [ text] night [ text] season [ text] basis_days [ 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 CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | null | general |
บอกจำนวนตารางรวมของ Rubens Barrichello ให้ฉันทราบไม่จำเป็นต้องใช้ตารางทั้งหมด | Tell me the total number of Grid for Rubens BarrichelloIt is not neccessary to use all the tables. | table_name_4: grid [ VARCHAR] driver [ VARCHAR] | SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello" | null | general |
อะไรคือเป้าหมายในฤดูกาลที่เปอร์เซ็นต์เปอร์เซ็นต์คือ 0.604?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the goals for in the season that the pct % was 0.604?It is not neccessary to use all the tables. | table_2110959_1: goals_for [ INTEGER] pct__percentage [ VARCHAR] | SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604" | null | general |
ใครคือผู้ชนะสเตจที่ 1?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who was the Stage 1 winner?It is not neccessary to use all the tables. | table_22917458_15: winner [ VARCHAR] stage [ VARCHAR] | SELECT winner FROM table_22917458_15 WHERE stage = 1 | null | general |
อัลเบิร์ต เรน มาจากเขตใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What district is incumbent albert rains from?It is not neccessary to use all the tables. | table_18434: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text] | SELECT "District" FROM table_18434 WHERE "Incumbent" = 'Albert Rains' | null | general |
เลือก count(*) จากกระทู้ ไม่จำเป็นต้องใช้ตารางทั้งหมด | select count(*) from posts.It is not neccessary to use all the tables. | Tags: Id [ number] TagName [ text] Count [ number] ExcerptPostId [ number] WikiPostId [ number] | SELECT COUNT(*) FROM Users | null | general |
แผนภูมิแท่ง x สัญชาติของแกน y แกน y ของจำนวนทั้งหมด คุณช่วยแสดงรายการจากน้อยไปหามากตามแกน y ได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด | Bar chart x axis nationality y axis the total number, could you list in ascending by the y axis?It is not neccessary to use all the tables. | party: Party_ID [ int] Party_Theme [ text] Location [ text] First_year [ text] Last_year [ text] Number_of_hosts [ int] | SELECT Nationality, COUNT(*) FROM host GROUP BY Nationality ORDER BY COUNT(*) | null | general |
ขอทราบจำนวนคนไข้ที่มีเชื้อสายฮิสแปนิกหรือลาติน และจำนวนวันที่ต้องพักรักษาตัวในโรงพยาบาลมากกว่า 17 วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด | give me the number of patients whose ethnicity is hispanic or latino and days of hospital stay is greater than 17?It is not neccessary to use all the tables. | lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND demographic.days_stay > "17" | null | general |
ประเทศใดที่มี IATA เป็น bal?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Country that has a IATA of bal?It is not neccessary to use all the tables. | table_name_83: country [ VARCHAR] iata [ VARCHAR] | SELECT country FROM table_name_83 WHERE iata = "bal" | null | general |
เวลา/เกษียณของ 80 รอบด้วยตารางที่ใหญ่กว่า 2 คือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What's the Time/Retired of 80 laps with a Grid larger than 2?It is not neccessary to use all the tables. | table_57729: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real] | SELECT "Time/Retired" FROM table_57729 WHERE "Laps" = '80' AND "Grid" > '2' | null | general |
คลาสใดจะง่ายกว่าหากตัวเลือกอยู่ระหว่าง EECS 555 และ EECS 651 ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What class is easier if the choice is between EECS 555 and EECS 651 ?It is not neccessary to use all the tables. | gsi: course_offering_id [ int] student_id [ int] | SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 555 OR course.number = 651) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON PROGRAM_COURSEalias1.course_id = COURSEalias1.course_id WHERE (COURSEalias1.number = 555 OR COURSEalias1.number = 651) AND COURSEalias1.department = 'EECS') | null | general |
เฉลี่ยซีซั่นที่ 3 เซ็นทรัล ซีซั่นปกติมีคนดูกี่คน ไม่จำเป็นต้องใช้ทุกโต๊ะ | How many people saw the 3rd, Central regular season on average?It is not neccessary to use all the tables. | table_2380212_1: avg_attendance [ INTEGER] regular_season [ VARCHAR] | SELECT MIN(avg_attendance) FROM table_2380212_1 WHERE regular_season = "3rd, Central" | null | general |
ระบุจำนวนผู้ป่วยหัวใจเต้นช้าเป็นโรคหลักที่เข้ารับการรักษาในโรงพยาบาลนานกว่า 5 วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด | Provide the number of patients with bradycardia as their primary disease who were hospitalized for more than 5 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 WHERE demographic.diagnosis = "BRADYCARDIA" AND demographic.days_stay > "5" | null | general |
ในเกมที่มีคะแนนทีมเยือน 16.10 (106) คะแนนทีมเจ้าบ้านเป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | In the game with an away team score of 16.10 (106), what is the home team score?It is not neccessary to use all the tables. | table_10385: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT "Home team score" FROM table_10385 WHERE "Away team score" = '16.10 (106)' | null | general |
รายชื่อเพลงทั้งหมดที่มีระยะเวลา 4 นาที หรือเป็นภาษาอังกฤษ ไม่จำเป็นต้องใช้ตารางทั้งหมด | List the names of all songs that have 4 minute duration or are in English.It is not neccessary to use all the tables. | song: song_name [ VARCHAR] f_id [ VARCHAR] | SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE "4:%" UNION SELECT song_name FROM song WHERE languages = "english" | null | general |
ปีที่มี 116 รอบคือปีอะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the year with 116 laps?It is not neccessary to use all the tables. | table_80450: "Year" [ text] "Start" [ text] "Qual" [ text] "Rank" [ text] "Finish" [ text] "Laps" [ real] | SELECT "Year" FROM table_80450 WHERE "Laps" = '116' | null | general |
ระบุจำนวนผู้ป่วยที่มีโรคหลักคือโรคหลอดเลือดหัวใจ\การปลูกถ่ายทางเบี่ยงหลอดเลือดหัวใจ myomectomy/sda และรหัสขั้นตอน icd9 คือ 5187 หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด | provide the number of patients whose primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda and procedure icd9 code is 5187?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.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" AND procedures.icd9_code = "5187" | null | general |
วันที่ใดมีคะแนนน้อยกว่า 80, บ้านของลอสแองเจลิส และผู้มาเยือนพิตส์เบิร์ก?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What Date has Points smaller than 80, Home of Los Angeles, and a Visitor of Pittsburgh?It is not neccessary to use all the tables. | table_5689: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text] "Points" [ real] | SELECT "Date" FROM table_5689 WHERE "Points" < '80' AND "Home" = 'los angeles' AND "Visitor" = 'pittsburgh' | null | general |
ตัวละครของนักแสดง Aaron Pedersen มีอันดับอะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What rank did actor Aaron Pedersen's character have?It is not neccessary to use all the tables. | table_4556: "Actor/actress" [ text] "Character" [ text] "Rank" [ text] "Tenure" [ text] "Episodes" [ text] | SELECT "Rank" FROM table_4556 WHERE "Actor/actress" = 'aaron pedersen' | null | general |
วันที่ออกอากาศดั้งเดิมของหมายเลขในซีซัน 7 ทุกวันคือเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is every original air date for the number in season of 7?It is not neccessary to use all the tables. | table_26748314_1: original_air_date [ VARCHAR] no_in_season [ VARCHAR] | SELECT original_air_date FROM table_26748314_1 WHERE no_in_season = 7 | null | general |
วิทยาลัยของ Reuben Foster คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Reuben Foster's college?It is not neccessary to use all the tables. | table_55871: "Player" [ text] "Position" [ text] "School" [ text] "Hometown" [ text] "College" [ text] | SELECT "College" FROM table_55871 WHERE "Player" = 'reuben foster' | null | general |
จำนวนชัยชนะโดยเฉลี่ยของ Runcorn Highfield ที่เสมอมากกว่า 0 คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average number of wins for Runcorn Highfield with more than 0 draws?It is not neccessary to use all the tables. | table_39499: "Season" [ text] "Team" [ text] "Wins" [ real] "Losses" [ real] "Draws" [ real] | SELECT AVG("Wins") FROM table_39499 WHERE "Team" = 'runcorn highfield' AND "Draws" > '0' | null | general |
ยาอะไรในเดือนที่แล้วผู้ป่วย 11362 ได้รับการสั่งยาสองครั้งขึ้นไป?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the drug that in the last month patient 11362 has been prescribed two or more times?It is not neccessary to use all the tables. | inputevents_cv: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] charttime [ time] itemid [ number] amount [ number] | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 11362) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 >= 2 | null | general |
การต่อสู้กับสตีฟ ชไนเดอร์มีมติอย่างไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the resolution of the fight against steve schneider?It is not neccessary to use all the tables. | table_48596: "Res." [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Event" [ text] "Round" [ real] "Time" [ text] "Location" [ text] | SELECT "Res." FROM table_48596 WHERE "Opponent" = 'steve schneider' | null | general |
ผู้ป่วย 028-22327 ได้รับขั้นตอนใดครั้งสุดท้ายเมื่อ 5 ปีที่แล้ว ไม่จำเป็นต้องใช้ทุกตาราง | what procedure did patient 028-22327 receive the last time since 5 years ago.It is not neccessary to use all the tables. | microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time] | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-22327')) AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-5 year') ORDER BY treatment.treatmenttime DESC LIMIT 1 | null | general |
แผนกใดที่มีจำนวนเจ้าหน้าที่มากที่สุด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the department with the most amount of total deputies ?It is not neccessary to use all the tables. | table_204_246: id [ number] "department" [ text] "senators" [ number] | SELECT "department" FROM table_204_246 ORDER BY "total deputies" DESC LIMIT 1 | null | general |
ในปีใดที่มี 48 ที่นั่งจาก 120 ที่นั่งและมี % โหวตมากกว่า 34.18? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | In what Year were there 48 of 120 Seats and a % votes larger than 34.18?It is not neccessary to use all the tables. | table_name_94: year [ INTEGER] seats [ VARCHAR] _percentage_votes [ VARCHAR] | SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 | null | general |
แสดงให้ฉันเห็นเกี่ยวกับการกระจายของ ACC_Road และ School_ID และจัดกลุ่มตามแอตทริบิวต์ ACC_Home ในแผนภูมิแท่ง และแสดงแกน Y ตามลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show me about the distribution of ACC_Road and School_ID , and group by attribute ACC_Home in a bar chart, and show Y-axis in descending order.It is not neccessary to use all the tables. | university: School_ID [ int] School [ text] Location [ text] Founded [ real] Affiliation [ text] Enrollment [ real] Nickname [ text] Primary_conference [ text] | SELECT ACC_Road, School_ID FROM basketball_match GROUP BY ACC_Home, ACC_Road ORDER BY School_ID DESC | null | general |
ใครเป็นคนเลือกทั้งหมด 72 คน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who had the overall pick of 72?It is not neccessary to use all the tables. | table_50396: "Round" [ real] "Pick" [ real] "Overall" [ real] "Name" [ text] "Position" [ text] "College" [ text] | SELECT "Name" FROM table_50396 WHERE "Overall" = '72' | null | general |
มีเมืองหลวงกี่แห่งที่มีวอยโวเดชิพเบรสต์ ลิตอฟสค์ เป็นวอยโวเดชิพหลังปี 1569?ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many capitals had brest litovsk voivodeship as voivodeship after 1569?It is not neccessary to use all the tables. | table_21962: "Capital" [ text] | SELECT COUNT("Capital") FROM table_21962 WHERE "Voivodeship after 1569" = 'Brest Litovsk Voivodeship' | null | general |
วันที่ 12 มีนาคมมีการแข่งขันกี่เกม?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many games were held on March 12?It is not neccessary to use all the tables. | table_29787: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text] | SELECT COUNT("Game") FROM table_29787 WHERE "Date" = 'March 12' | null | general |
คู่ต่อสู้ในวันที่ 7 พฤษภาคมคือใคร?ไม่จำเป็นต้องใช้ทุกโต๊ะ | Who is the opponent on May 7?It is not neccessary to use all the tables. | table_56815: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Save" [ text] | SELECT "Opponent" FROM table_56815 WHERE "Date" = 'may 7' | null | general |
รหัสนักศึกษาสำหรับนักเรียนอายุ 20 ปีขึ้นไปคืออะไร?ไม่จำเป็นต้องใช้ทุกตาราง | What are the student ids for students over 20 years old?It is not neccessary to use all the tables. | allergy_type: allergy [ text] allergytype [ text] | SELECT stuid FROM student WHERE age > 20 | null | general |
มีผู้ชนะกี่คนที่มีหนึ่งในสามของ 1 และรองชนะเลิศน้อยกว่า 0 ไม่จำเป็นต้องใช้ตารางทั้งหมด | How many Winners have a Third of 1, and Runners-up smaller than 0?It is not neccessary to use all the tables. | table_76487: "Rank" [ real] "Club" [ text] "Winners" [ real] "Runners-up" [ real] "Third" [ real] | SELECT COUNT("Winners") FROM table_76487 WHERE "Third" = '1' AND "Runners-up" < '0' | null | general |
แผนภูมิแท่งแสดงสถานที่สำหรับเวิร์กช็อปแต่ละแห่ง จัดเรียงจำนวนสถานที่ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด | A bar chart shows the venue for each workshop, sort how many venue in desc order.It is not neccessary to use all the tables. | submission: Submission_ID [ int] Scores [ real] Author [ text] College [ text] | SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue ORDER BY COUNT(Venue) DESC | null | general |
หาจำนวนอาจารย์ในภาควิชาบัญชี ไม่จำเป็นต้องใช้ตารางทั้งหมด | Find the number of professors in accounting department.It is not neccessary to use all the tables. | professor: dept_code [ VARCHAR] | SELECT COUNT(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE DEPT_NAME = "Accounting" | null | general |
ถ้าประชากรคือ 2,188 รายได้เฉลี่ยของครัวเรือนคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | If the population is 2188, what was the median household income?It is not neccessary to use all the tables. | table_1840495_2: median_house__hold_income [ VARCHAR] population [ VARCHAR] | SELECT median_house__hold_income FROM table_1840495_2 WHERE population = 2188 | null | general |
แสดงรายการชุดข้อมูลสำหรับการแบ่งส่วนวิดีโอ ไม่จำเป็นต้องใช้ตารางทั้งหมด | list datasets for video segmentationIt is not neccessary to use all the tables. | paperdataset: paperid [ int] datasetid [ int] | SELECT DISTINCT dataset.datasetid FROM dataset, keyphrase, paperdataset, paperkeyphrase WHERE keyphrase.keyphrasename = 'video segmentation' AND paperdataset.datasetid = dataset.datasetid AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paperkeyphrase.paperid = paperdataset.paperid | null | general |
เกมสุดท้ายของฤดูกาลจัดขึ้นที่ไหน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | where was the last game of the season held ?It is not neccessary to use all the tables. | table_204_282: id [ number] "date" [ text] "venue" [ text] "opponent" [ text] "score" [ text] "result" [ text] "competition" [ text] "#" [ number] | SELECT "venue" FROM table_204_282 ORDER BY "date" DESC LIMIT 1 | null | general |
วันศุกร์คลาส MCDB ใดไม่พบกัน ?ไม่จำเป็นต้องใช้ทุกตาราง | Which MCDB classes don 't meet on Friday ?It is not neccessary to use all the tables. | program_requirement: program_id [ int] category [ varchar] min_credit [ int] additional_req [ varchar] | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.friday = 'N' AND course.department = 'MCDB' AND semester.semester = 'WN' AND semester.year = 2016 | null | general |
คลาสใดที่มีความถี่ MHz มากกว่า 91.5 และเมืองที่ได้รับใบอนุญาตของไฮยานนิส เนบราสกา? ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska?It is not neccessary to use all the tables. | table_38568: "Class" [ text] | SELECT "Class" FROM table_38568 WHERE "Frequency MHz" > '91.5' AND "City of license" = 'hyannis, nebraska' | null | general |
สำหรับพนักงานที่ไม่มีงานทำในอดีต แผนภูมิแท่งจะแสดงการกระจายของ Hire_date และผลรวมของ manager_id bin Hire_date ตามเวลา โดยแสดงรายการจากมากไปหาน้อยตามแกน y ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees who did not have any job in the past, a bar chart shows the distribution of hire_date and the sum of manager_id bin hire_date by time, list 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, SUM(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(MANAGER_ID) DESC | null | general |
ทีมเจ้าบ้านเสมอหมายเลข 2 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the Home team of tie no 2?It is not neccessary to use all the tables. | table_name_36: home_team [ VARCHAR] tie_no [ VARCHAR] | SELECT home_team FROM table_name_36 WHERE tie_no = "2" | null | general |
ระบุจำนวนคนไข้ที่มีเชื้อชาติเอเชียและชื่อการทดสอบในห้องปฏิบัติการคือ เจนตามิซิน โดยไม่จำเป็นต้องใช้ตารางทั้งหมด | provide the number of patients whose ethnicity is asian and lab test name is gentamicin?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.ethnicity = "ASIAN" AND lab.label = "Gentamicin" | null | general |
วันที่วางจำหน่ายของฟีเจอร์นี้ซึ่งมีหมายเลขการผลิต 1018, BR 1352 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the release date of the feature with a production number of 1018, BR 1352?It is not neccessary to use all the tables. | table_name_14: release_date [ VARCHAR] production_number [ VARCHAR] | SELECT release_date FROM table_name_14 WHERE production_number = "1018, br 1352" | null | general |
เมื่อสเปอร์สเป็นผู้มาเยือนได้คะแนนเท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the score when the spurs were the visitors?It is not neccessary to use all the tables. | table_54090: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Attendance" [ real] "Record" [ text] | SELECT "Score" FROM table_54090 WHERE "Visitor" = 'spurs' | null | general |
.ไม่จำเป็นต้องใช้ทุกตาราง | .It is not neccessary to use all the tables. | Votes: Id [ number] PostId [ number] VoteTypeId [ number] UserId [ number] CreationDate [ time] BountyAmount [ number] | SELECT p1.OwnerUserId, p2.OwnerUserId FROM Posts AS p1 JOIN Posts AS p2 ON p1.ParentId = p2.ParentId WHERE p1.OwnerUserId < p2.OwnerUserId AND p1.PostTypeId = 2 AND p2.PostTypeId = 2 | null | general |
ในบรรดาผู้ป่วยในช่วงอายุ 40 ถึงปี 2103 อะไรคือการวินิจฉัยที่พบบ่อยที่สุดสี่อันดับแรก?ไม่จำเป็นต้องใช้ตารางทั้งหมด | among patients in the 40s until 2103 what were the top four most frequent diagnoses?It is not neccessary to use all the tables. | d_icd_procedures: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text] | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 40 AND 49) AND STRFTIME('%y', diagnoses_icd.charttime) <= '2103' GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t1.c1 <= 4) | null | general |
รอบสูงสุดเมื่อกริดเป็น 1 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the highest laps when the grid is 1?It is not neccessary to use all the tables. | table_57142: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real] | SELECT MAX("Laps") FROM table_57142 WHERE "Grid" = '1' | null | general |
ผลลัพธ์คืออะไร เมื่อการแพ้คือ 'ไม่ผ่านการรับรอง'?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Result, when Losses is 'Did Not Qualify'?It is not neccessary to use all the tables. | table_name_41: result [ VARCHAR] losses [ VARCHAR] | SELECT result FROM table_name_41 WHERE losses = "did not qualify" | null | general |
การประมาณจำนวนประชากรต่ำสุดในปี 2013 ของจังหวัดที่มีร้อยละ 23.7 คือเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | What is the lowest 2013 population estimate of the province with a 23.7 percentage?It is not neccessary to use all the tables. | table_name_57: population_estimate__2013_ [ INTEGER] percentage [ VARCHAR] | SELECT MIN(population_estimate__2013_) FROM table_name_57 WHERE percentage = 23.7 | null | general |
รองชนะเลิศ 8 สมัย ชนะไปกี่ครั้ง ไม่จำเป็นต้องใช้ทุกโต๊ะ | How many wins did the 8 time runner-up have?It is not neccessary to use all the tables. | table_name_33: wins [ VARCHAR] runners_up [ VARCHAR] | SELECT wins FROM table_name_33 WHERE runners_up = "8" | null | general |
คะแนนเมื่อวันที่ 17/07/2552 เป็นเท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the score when the date was 17/07/2009?It is not neccessary to use all the tables. | table_24267: "Competition" [ text] "Round" [ text] "Opponent" [ text] "Result" [ text] "Score" [ text] "Home/Away" [ text] "Venue" [ text] "Attendance" [ real] "Date" [ text] | SELECT "Score" FROM table_24267 WHERE "Date" = '17/07/2009' | null | general |
ในเกมที่คอลลิงวูดเป็นเจ้าบ้าน สกอร์ของทีมเยือนเป็นเท่าไหร่?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | In the game where Collingwood is the home team what is the score of the away team?It is not neccessary to use all the tables. | table_55560: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT "Away team score" FROM table_55560 WHERE "Home team" = 'collingwood' | null | general |
จำนวนโพสต์ใหม่สำหรับภาษายอดนิยมต่อปี ไม่จำเป็นต้องใช้ตารางทั้งหมด | Number of new posts for the most popular languages per year.It is not neccessary to use all the tables. | ReviewTaskResultTypes: Id [ number] Name [ text] Description [ text] | SELECT Tags.TagName AS Tag, YEAR(Posts.CreationDate) AS Year, COUNT(*) AS Count FROM PostTags JOIN Tags ON PostTags.TagId = Tags.Id AND Tags.TagName IN ('c#', 'java', 'javascript', 'php', 'android', 'jquery', 'python') JOIN Posts ON PostTags.PostId = Posts.Id WHERE YEAR(Posts.CreationDate) < 2014 GROUP BY YEAR(Posts.CreationDate), Tags.TagName | null | general |
ขอเที่ยวบิน AA จากดัลลัสไปซานฟรานซิสโกให้ฉันหน่อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | give me the flights for AA from DALLAS to SAN FRANCISCOIt is not neccessary to use all the tables. | fare_basis: fare_basis_code [ text] booking_class [ text] class_type [ text] premium [ text] economy [ text] discounted [ text] night [ text] season [ text] basis_days [ 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 (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND flight.to_airport = AIRPORT_SERVICE_0.airport_code AND flight.from_airport = AIRPORT_SERVICE_1.airport_code) AND flight.airline_code = 'AA' | null | general |
ชื่อการทดสอบในห้องปฏิบัติการและประเภทการทดสอบในห้องปฏิบัติการของวิชา id 3343 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is lab test name and lab test category of subject id 3343?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 lab.label, lab."CATEGORY" FROM lab WHERE lab.subject_id = "3343" | null | general |
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มีรหัสระหว่าง 100 ถึง 200 แผนภูมิเส้นจะแสดงการเปลี่ยนแปลงของ commission_pct มากกว่า Hire_dateIt ไม่จำเป็นต้องใช้ตารางทั้งหมด | For those employees who do not work in departments with managers that have ids between 100 and 200, a line chart shows the change of commission_pct over hire_dateIt is not neccessary to use all the tables. | regions: REGION_ID [ decimal(50)] REGION_NAME [ varchar(25)] | SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | null | general |
อัลบั้มชื่อ 'ออกเร็วที่สุดคือปีใด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด' | What is the earliest year of release for the album labelled ?It is not neccessary to use all the tables. | table_10590: "Album" [ text] "Title" [ text] "Language" [ text] "Label(s)" [ text] | SELECT MIN("Year of Release") FROM table_10590 WHERE "Label(s)" = '艺能动音' | null | general |
การทดสอบ Android ใหม่ตามปี ไม่จำเป็นต้องใช้ตารางทั้งหมด | New Android Testing by Year.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 COUNT(P.Title), YEAR(P.CreationDate) FROM Posts AS P WHERE (P.Tags LIKE '%android-testing%') OR (P.Tags LIKE '%robotium%') OR (P.Tags LIKE '%androidviewclient%') OR (P.Tags LIKE '%monkeyrunner%') OR (P.Tags LIKE '%robolectric%') OR (P.Tags LIKE '%android-espresso%') OR (P.Tags LIKE '%android%' AND P.Tags LIKE '%uiautomator%') OR (P.Tags LIKE '%android%' AND P.Tags LIKE '%appium%') OR (P.Tags LIKE '%android%' AND P.Tags LIKE '%calabash%') OR (P.Tags LIKE '%android%' AND P.Tags LIKE '%test%') GROUP BY YEAR(P.CreationDate) | null | general |
ตั้งแต่วันที่ 12/2104 ค่าต่ำสุดรายวันของ pt ของผู้ป่วย 31854 คือเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | since 12/2104, what was the daily minimum value of the pt of patient 31854?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 MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31854) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'pt') AND STRFTIME('%y-%m', labevents.charttime) >= '2104-12' GROUP BY STRFTIME('%y-%m-%d', labevents.charttime) | null | general |
มีสิ่งมีชีวิตใดบ้างที่ถูกพบตั้งแต่ 5 ปีที่แล้วในการตรวจน้ำไขสันหลังครั้งสุดท้ายของผู้ป่วย 67468?ไม่จำเป็นต้องใช้ตารางทั้งหมด | is there any organism that was found since 5 years ago in the last csf;spinal fluid test of patient 67468?It is not neccessary to use all the tables. | diagnoses_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time] | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 67468) AND microbiologyevents.spec_type_desc = 'csf;spinal fluid' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime) >= DATETIME(CURRENT_TIME(), '-5 year') ORDER BY microbiologyevents.charttime DESC LIMIT 1 | null | general |
ใครเป็นทีมเดียวที่ทีมนี้เผชิญหน้าในเดือนมกราคมซึ่งเป็นช่วงชามฝ้าย ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | who is the only team this team faced in january which was during the cotton bowl ?It is not neccessary to use all the tables. | table_204_994: id [ number] "date" [ text] "time" [ text] "opponent#" [ text] "rank#" [ text] "site" [ text] "tv" [ text] "result" [ text] "attendance" [ number] | SELECT "opponent#" FROM table_204_994 WHERE "date" = 1 | null | general |
จำนวนปีทั้งหมดที่ชนะ 1 และแพ้น้อยกว่า 1 คือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total number of Year with Wins of 1, and Losses smaller than 1?It is not neccessary to use all the tables. | table_name_93: year [ INTEGER] wins [ VARCHAR] losses [ VARCHAR] | SELECT SUM(year) FROM table_name_93 WHERE wins = 1 AND losses < 1 | null | general |
แผนภูมิแท่งสำหรับส่งคืนหมายเลขวันเกิดของแขกทุกคนที่มีรหัสเพศ 'ชาย' และแสดง Y ตามลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด | A bar chart for returning the number of the date of birth for all the guests with gender code 'Male', and show Y in descending order.It is not neccessary to use all the tables. | Guests: guest_id [ INTEGER] gender_code [ CHAR(1)] guest_first_name [ VARCHAR(80)] guest_last_name [ VARCHAR(80)] date_of_birth [ DATETIME] | SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" ORDER BY COUNT(date_of_birth) DESC | null | general |
อะไรคือรอบสูงสุดสำหรับ Luigi Piotti ที่มีมากกว่า 13 ตารางและเวลา/เครื่องยนต์ที่เลิกใช้แล้ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine?It is not neccessary to use all the tables. | table_53184: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real] | SELECT MAX("Laps") FROM table_53184 WHERE "Grid" > '13' AND "Time/Retired" = 'engine' AND "Driver" = 'luigi piotti' | null | general |
สำหรับสายที่ 2 ของ Ra อะไรคือ Depart de la main gauche?ไม่จำเป็นต้องใช้ตารางทั้งหมด | For the 2nd string of Ra what is the Depart de la main gauche?It is not neccessary to use all the tables. | table_76891: "Mode" [ text] | SELECT "D\u00e9part de la main gauche" FROM table_76891 WHERE "2nd string" = 'ra' | null | general |
ขาที่ 1 มีทีม Rc Cannes 1 คืออะไร ไม่จำเป็นต้องใช้ทุกโต๊ะครับ | What is the 1st leg that has a Rc Cannes Team 1?It is not neccessary to use all the tables. | table_59269: "Agg." [ text] | SELECT "1st leg" FROM table_59269 WHERE "Team 1" = 'rc cannes' | null | general |
ยาที่สั่งจ่ายบ่อยที่สุดสามชนิดสำหรับผู้ป่วยที่ได้รับยาเม็ดแคลเซียม atorvastatin ขนาด 40 มก. พร้อมกันในปี 2103 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what are the three most commonly prescribed drugs for patients who were also prescribed atorvastatin calcium 40 mg po tabs at the same time in 2103?It is not neccessary to use all the tables. | patient: uniquepid [ text] patienthealthsystemstayid [ number] patientunitstayid [ number] gender [ text] age [ text] ethnicity [ text] hospitalid [ number] wardid [ number] admissionheight [ number] admissionweight [ number] dischargeweight [ number] hospitaladmittime [ time] hospitaladmitsource [ text] unitadmittime [ time] unitdischargetime [ time] hospitaldischargetime [ time] hospitaldischargestatus [ text] | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'atorvastatin calcium 40 mg po tabs' AND STRFTIME('%y', medication.drugstarttime) = '2103') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', medication.drugstarttime) = '2103') AS t2 ON t1.uniquepid = t2.uniquepid WHERE DATETIME(t1.drugstarttime) = DATETIME(t2.drugstarttime) GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 3 | null | general |
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้เห็นภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ job_id และผลรวมของ manager_id และจัดกลุ่มตามแอตทริบิวต์ job_id โปรดแสดงรายการจำนวนทั้งหมดของรหัสผู้จัดการโดยเรียงจากน้อยไปหามาก ไม่จำเป็น ใช้ตารางทั้งหมด | For those employees who was hired before 2002-06-21, visualize a bar chart about the distribution of job_id and the sum of manager_id , and group by attribute job_id, list total number of manager id in ascending order please.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 JOB_ID, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY SUM(MANAGER_ID) | null | general |
ไม่คืออะไรเมื่อระยะทางคือ 4,168 กม.?ไม่จำเป็นต้องใช้ทุกโต๊ะ | what is the no when the distance is 4168km?It is not neccessary to use all the tables. | table_26745820_1: no [ VARCHAR] distance [ VARCHAR] | SELECT no FROM table_26745820_1 WHERE distance = "4168km" | null | general |
ใครเลือกผู้เล่นจาก Weber State?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who picked a player from Weber State?It is not neccessary to use all the tables. | table_16575609_1: cfl_team [ VARCHAR] college [ VARCHAR] | SELECT cfl_team FROM table_16575609_1 WHERE college = "Weber State" | null | general |
แอนดรูว์ เปาเปา มีตำแหน่งอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the position for andrew paopao?It is not neccessary to use all the tables. | table_name_54: position [ VARCHAR] player [ VARCHAR] | SELECT position FROM table_name_54 WHERE player = "andrew paopao" | null | general |
การบริโภคสี่รายการบ่อยที่สุดในปี 2100 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what are the four most frequent intakes in 2100?It is not neccessary to use all the tables. | prescriptions: row_id [ number] subject_id [ number] hadm_id [ number] startdate [ time] enddate [ time] drug [ text] dose_val_rx [ text] dose_unit_rx [ text] route [ text] | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT inputevents_cv.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM inputevents_cv WHERE STRFTIME('%y', inputevents_cv.charttime) = '2100' GROUP BY inputevents_cv.itemid) AS t1 WHERE t1.c1 <= 4) | null | general |
ยาห้าอันดับแรกที่พบบ่อยที่สุดที่ผู้ป่วยได้รับการสั่งจ่ายในระหว่างการเข้ารับการรักษาในโรงพยาบาลเดียวกันหลังจากได้รับยาโซเดียมไบคาร์บคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what was the top five most frequent drugs that patients were prescribed during the same hospital encounter after having been prescribed sodium bicarb?It is not neccessary to use all the tables. | icustays: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] first_careunit [ text] last_careunit [ text] first_wardid [ number] last_wardid [ number] intime [ time] outtime [ time] | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate, admissions.hadm_id FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'sodium bicarb') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.startdate < t2.startdate AND t1.hadm_id = t2.hadm_id GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 5 | null | general |
ใครอยู่ในตั๋วห้ามเมื่อ Abraham J. Cuddeback อยู่ในตั๋ว Greenback?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who was on the prohibition ticket when Abraham J. Cuddeback was on the Greenback ticket?It is not neccessary to use all the tables. | table_name_39: prohibition_ticket [ VARCHAR] greenback_ticket [ VARCHAR] | SELECT prohibition_ticket FROM table_name_39 WHERE greenback_ticket = "abraham j. cuddeback" | null | general |
สิ่งที่แสดงให้เห็นสำหรับพนักงานปี 2010 (ทั้งหมด) เมื่อนายจ้างคือมหาวิทยาลัยอัลเบอร์ตา?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What shows for 2010 Employees (Total) when the employer is University of Alberta?It is not neccessary to use all the tables. | table_name_1: employer [ VARCHAR] | SELECT SUM(2010 AS _employees__total_) FROM table_name_1 WHERE employer = "university of alberta" | null | general |
ความคิดเห็นเมื่อผู้ขายและประเภทเป็นสวิตช์ enterasys คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What are the comments when vendor and type is enterasys switches?It is not neccessary to use all the tables. | table_17404: "Models" [ text] "Implementation" [ text] "Comments" [ text] | SELECT "Comments" FROM table_17404 WHERE "Vendor and type" = 'Enterasys Switches' | null | general |
เมื่อแท็ก 'r' ถูกสร้างขึ้นส่วนที่ 2 ไม่จำเป็นต้องใช้ตารางทั้งหมด | When 'r' tags were created part 2.It is not neccessary to use all the tables. | CloseAsOffTopicReasonTypes: Id [ number] IsUniversal [ boolean] InputTitle [ text] MarkdownInputGuidance [ text] MarkdownPostOwnerGuidance [ text] MarkdownPrivilegedUserGuidance [ text] MarkdownConcensusDescription [ text] CreationDate [ time] CreationModeratorId [ number] ApprovalDate [ time] ApprovalModeratorId [ number] DeactivationDate [ time] DeactivationModeratorId [ number] | SELECT TagName, CreationDate, LastEditDate, LastActivityDate, ClosedDate, Tags FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE TagName = 'r' AND CreationDate > '2013-06-04 00:07:43' ORDER BY CreationDate | null | general |
ผลรวมของทูพาร์เมื่อปีที่ชนะคือ '1978 , 1985' เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the sum of To Par, when Year(s) Won is '1978 , 1985'?It is not neccessary to use all the tables. | table_46205: "Player" [ text] "Country" [ text] "Total" [ real] | SELECT SUM("To par") FROM table_46205 WHERE "Year(s) won" = '1978 , 1985' | null | general |
ศิลปินที่ร้องเพลงสั้นที่สุดชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What are the names of the artists who sang the shortest song?It is not neccessary to use all the tables. | genre: g_name [ text] rating [ text] most_popular_in [ text] | SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id = T2.f_id ORDER BY T2.duration LIMIT 1 | null | general |
รายชื่อบุคคลที่ไม่ได้ถูกจ้างโดยบริษัทใดๆ ไม่จำเป็นต้องใช้ตารางทั้งหมด | List the names of people that are not employed by any companyIt is not neccessary to use all the tables. | employment: Name [ VARCHAR] People_ID [ VARCHAR] | SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM employment) | null | general |
แสดงให้ฉันเห็นเกี่ยวกับการกระจายของ Team_Name และ ACC_Percent ในแผนภูมิแท่ง และคุณช่วยจัดอันดับแกน Y จากน้อยไปมากได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด | Show me about the distribution of Team_Name and ACC_Percent in a bar chart, and could you rank Y-axis in ascending order?It is not neccessary to use all the tables. | university: School_ID [ int] School [ text] Location [ text] Founded [ real] Affiliation [ text] Enrollment [ real] Nickname [ text] Primary_conference [ text] | SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY ACC_Percent | null | general |
เจ้าบ้านคือใครในวันที่ 2 ม.ค. มี 23 แต้ม?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who was the home team on January 2 with 23 points?It is not neccessary to use all the tables. | table_name_57: home [ VARCHAR] points [ VARCHAR] date [ VARCHAR] | SELECT home FROM table_name_57 WHERE points = 23 AND date = "january 2" | null | general |
ติกักตัวไหนมียงกุกของหวู่ติ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Which Tikhak has a Yonguk of wu ti ?It is not neccessary to use all the tables. | table_38487: "Gloss" [ text] "Cholim" [ text] "Lungchang" [ text] "Rera" [ text] "Tikhak" [ text] "Yonguk" [ text] "Muklom" [ text] "Hakhun" [ text] "Halang" [ text] | SELECT "Tikhak" FROM table_38487 WHERE "Yonguk" = 'wu¹ti¹' | null | general |
วันเดือนปีเกิดของลูกของ Oliver Buell คือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the date of birth of Oliver Buell's child?It is not neccessary to use all the tables. | table_59104: "Child" [ text] "Mother" [ text] "Father" [ text] | SELECT "Date of birth" FROM table_59104 WHERE "Child" = 'oliver buell' | null | general |
ลีกาที่ 3 จากเกมที่ 1 0-1 ระหว่างปี 2551-52 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09?It is not neccessary to use all the tables. | table_name_36: game_1 [ VARCHAR] date [ VARCHAR] | SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND date = "2008-09" | null | general |
เพศของหัวเรื่อง id 6983 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is gender of subject id 6983?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 demographic.gender FROM demographic WHERE demographic.subject_id = "6983" | null | general |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.