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
ผลลัพธ์ของผู้กำกับ Fernando Meirelles คืออะไรไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the result for director Fernando MeirellesIt is not neccessary to use all the tables.
table_15277629_1: result [ VARCHAR] director [ VARCHAR]
SELECT result FROM table_15277629_1 WHERE director = "Fernando Meirelles"
null
general
ส่งกลับแผนภูมิแท่งว่าชื่อและระยะทางของเครื่องบินทั้งหมดคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart on what are the names and distances for all airplanes?It is not neccessary to use all the tables.
employee: eid [ number(90)] name [ varchar2(30)] salary [ number(102)]
SELECT name, distance FROM aircraft
null
general
ผลรวมของทองแดงเมื่ออันดับเป็น 7 และผลรวมมากกว่า 22 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of Bronze when the rank is 7, and the total is more than 22?It is not neccessary to use all the tables.
table_name_19: bronze [ INTEGER] rank [ VARCHAR] total [ VARCHAR]
SELECT SUM(bronze) FROM table_name_19 WHERE rank = 7 AND total > 22
null
general
คะแนนรวมการยิงสูงสุดโดยมีค่าทองแดงน้อยกว่า 0 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest Shooting Total with a Bronze less than 0?It is not neccessary to use all the tables.
table_name_40: total [ INTEGER] sport [ VARCHAR] bronze [ VARCHAR]
SELECT MAX(total) FROM table_name_40 WHERE sport = "shooting" AND bronze < 0
null
general
Lee Phillips เป็นผู้กำกับเมื่อใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When was Lee Phillips the director?It is not neccessary to use all the tables.
table_34132: "Year" [ text] "Title" [ text] "Director" [ text] "Distributor(s)" [ text]
SELECT "Year" FROM table_34132 WHERE "Director" = 'lee phillips'
null
general
ผลเป็นอย่างไรเมื่อ Jam Hsiao ได้รับการเสนอชื่อเข้าชิงในปี 2555?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the result when Jam Hsiao was nominated in 2012?It is not neccessary to use all the tables.
table_name_36: result [ VARCHAR] nomination [ VARCHAR] year [ VARCHAR]
SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012
null
general
กระเป๋าเงินในปี 2546 ซึ่งมีระยะ 1-1/16 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the purse in 2003, which had a 1-1/16 distance?It is not neccessary to use all the tables.
table_name_94: purse [ VARCHAR] distance [ VARCHAR] year [ VARCHAR]
SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003
null
general
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มีรหัสระหว่าง 100 ถึง 200 โปรดแสดงการกระจายหมายเลขโทรศัพท์และเงินเดือนในแผนภูมิแท่งให้ฉันดู ฉันต้องการแสดงรายการตามแกน Y จากมากไปน้อยโปรดไม่จำเป็น เพื่อใช้ตารางทั้งหมด
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of phone_number and salary in a bar chart, I want to list by the Y-axis in descending please.It is not neccessary to use all the tables.
locations: LOCATION_ID [ decimal(40)] STREET_ADDRESS [ varchar(40)] POSTAL_CODE [ varchar(12)] CITY [ varchar(30)] STATE_PROVINCE [ varchar(25)] COUNTRY_ID [ varchar(2)]
SELECT PHONE_NUMBER, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY DESC
null
general
เคอิจิ อูบุกาตะ เป็นคนกลาง และมิตสึโกะ โมริ เป็นเจ้าภาพทีมสีแดงวันไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host?It is not neccessary to use all the tables.
table_1315616_1: date [ VARCHAR] mediator [ VARCHAR] red_team_host [ VARCHAR]
SELECT date FROM table_1315616_1 WHERE mediator = "Keiichi Ubukata" AND red_team_host = "Mitsuko Mori"
null
general
คนไข้ที่เป็นเพศ f มีกี่คน และตำแหน่งจำหน่ายออกจากโรงพยาบาลระยะยาวคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients whose gender is f and discharge location is long term care hospital?It is not neccessary to use all the tables.
procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.discharge_location = "LONG TERM CARE HOSPITAL"
null
general
ผู้ชนะคืออะไร เมื่อทีมคือ 'RJMacArthur Onslow' และเมื่อ Circuit คือ 'Oran Park Raceway'? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is Winner, when Team is 'R.J.MacArthur Onslow', and when Circuit is 'Oran Park Raceway'?It is not neccessary to use all the tables.
table_58887: "Circuit" [ text] "Date" [ text] "Winner" [ text] "Team" [ text]
SELECT "Winner" FROM table_58887 WHERE "Team" = 'r.j.macarthur onslow' AND "Circuit" = 'oran park raceway'
null
general
คนแรกที่ได้รับเลือกให้ดำรงตำแหน่งคือ โจ สตาร์นส์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's the first elected with incumbent being joe starnesIt is not neccessary to use all the tables.
table_18619: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT "First elected" FROM table_18619 WHERE "Incumbent" = 'Joe Starnes'
null
general
Centurions เล่นกับ Hamburg Sea Devils ที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Where did the Centurions play the Hamburg Sea Devils?It is not neccessary to use all the tables.
table_29961: "Week" [ real] "Date" [ text] "Kickoff" [ text] "Opponent" [ text] "Attendance" [ real]
SELECT "Game site" FROM table_29961 WHERE "Opponent" = 'Hamburg Sea Devils'
null
general
เมื่อ 3152824 เป็นเวลาที่ผ่านไป dhhmmss เรือยอชท์ประเภทใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When 3152824 is the elapsed time dhhmmss what is the type of yacht?It is not neccessary to use all the tables.
table_1896: "Position" [ real] "Yacht" [ text] "State/Country" [ text] "Skipper" [ text]
SELECT "Yacht Type" FROM table_1896 WHERE "Elapsed Time d:hh:mm:ss" = '3:15:28:24'
null
general
เที่ยวบิน UA 270 จากเดนเวอร์ไปฟิลาเดลเฟีย รับประทานอาหารหรือไม่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
does flight UA 270 from DENVER to PHILADELPHIA have a mealIt is not neccessary to use all the tables.
city: city_code [ varchar] city_name [ varchar] state_code [ varchar] country_name [ varchar] time_zone_code [ varchar]
SELECT DISTINCT food_service.compartment, food_service.meal_code, food_service.meal_number FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY...
null
general
มีผู้ป่วยกี่รายที่ได้รับการวินิจฉัยว่าเป็นโรคสะเก็ดเงินชนิดอื่น?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients are diagnosed with other psoriasis?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Other psoriasis"
null
general
จำนวนผู้ป่วยที่ปีเสียชีวิตน้อยกว่าหรือเท่ากับ 2165 และรหัสรายการคือ 51098 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients whose year of death is less than or equal to 2165 and item id is 51098?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.dod_year <= "2165.0" AND lab.itemid = "51098"
null
general
รอบใดมีเมือง/ที่ตั้งของโตรอนโต ออนแทรีโอ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which round had a city/location of Toronto, Ontario?It is not neccessary to use all the tables.
table_43541: "Round" [ real] "Circuit" [ text] "City/Location" [ text] "Date" [ text]
SELECT "Round" FROM table_43541 WHERE "City/Location" = 'toronto, ontario'
null
general
ฉันต้องการทองแดงเฉลี่ยรวม 19 และเงิน 8 ด้วยอันดับ 31 ไม่จำเป็นต้องใช้ตารางทั้งหมด
I want the average bronze for total of 19 and silver of 8 with rank of 31It is not neccessary to use all the tables.
table_name_12: bronze [ INTEGER] rank [ VARCHAR] total [ VARCHAR] silver [ VARCHAR]
SELECT AVG(bronze) FROM table_name_12 WHERE total = 19 AND silver = 8 AND rank = "31"
null
general
หมายเลขเกมต่ำสุดในวันที่ 20 กรกฎาคม พ.ศ. 2551 คือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest game number on 20 July 2008?It is not neccessary to use all the tables.
table_name_33: game [ INTEGER] date [ VARCHAR]
SELECT MIN(game) FROM table_name_33 WHERE date = "20 july 2008"
null
general
ที่ปรึกษาการลงทะเบียนโพสต์ - Setembro 2016 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Consulta Registros de Posts - Setembro 2016.It is not neccessary to use all the tables.
CloseReasonTypes: Id [ number] Name [ text] Description [ text]
SELECT Id, PostTypeId, Score, Title, Body, Tags, ViewCount, AnswerCount, CommentCount, FavoriteCount, CreationDate, DeletionDate, ClosedDate FROM Posts WHERE CreationDate BETWEEN '2016-09-30' AND '2016-10-20' AND Tags LIKE '%java%' AND (Tags LIKE '%maven%' OR Tags LIKE '%ant%' OR Tags LIKE '%jenkins%') AND ViewCount > ...
null
general
เกี่ยวกับ Porting และ Android ไม่จำเป็นต้องใช้ตารางทั้งหมด
s regarding Porting and Android.It is not neccessary to use all the tables.
ReviewTaskTypes: Id [ number] Name [ text] Description [ text]
SELECT p.Title, p.Body, COUNT(v.PostId), v.PostId AS "post_link", p.Tags FROM Posts AS P JOIN Votes AS V ON p.Id = v.PostId WHERE PostTypeId = 1 AND VoteTypeId = 2 AND p.Tags LIKE '%android%' AND p.Tags LIKE '%port%' AND p.Tags LIKE '%porting%' GROUP BY p.Title, p.Body, v.PostId, p.Tags ORDER BY COUNT(v.PostId) LIMIT 2...
null
general
ภูมิภาคใดที่มีการเติบโต 3.6%?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Region that has a growth of 3.6%?It is not neccessary to use all the tables.
table_name_24: region [ VARCHAR] _percentage_growth [ VARCHAR]
SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6"
null
general
จำนวนเหรียญรางวัลรวมน้อยที่สุดสำหรับอันดับ 11 และมากกว่า 0 เหรียญเงินคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the smallest total number of medals for rank 11 and more than 0 silver medals?It is not neccessary to use all the tables.
table_42386: "Rank" [ text] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real]
SELECT MIN("Total") FROM table_42386 WHERE "Rank" = '11' AND "Silver" > '0'
null
general
Ted Kroll ได้คะแนนเท่าไรที่ T2?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What score did Ted Kroll get to come in at T2?It is not neccessary to use all the tables.
table_48607: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Score" FROM table_48607 WHERE "Place" = 't2' AND "Player" = 'ted kroll'
null
general
กี่ 5wi โดยมีค่าเฉลี่ย 33.13?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many 5wi with an average of 33.13?It is not neccessary to use all the tables.
table_28846752_5: average [ VARCHAR]
SELECT COUNT(5 AS wi) FROM table_28846752_5 WHERE average = "33.13"
null
general
ยอดรวมบัญชีออมทรัพย์ที่ไม่ใช่ของคนชื่อบราวน์คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total balance of savings accounts not belonging to someone with the name Brown?It is not neccessary to use all the tables.
checking: custid [ number] balance [ number]
SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown'
null
general
ทีมอันดับที่ 4 ของทีม Wyoming Angus, Johnstown, Co คือปีไหน ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year was the 4th Place Team of the Wyoming Angus, Johnstown, Co?It is not neccessary to use all the tables.
table_64334: "Year" [ real]
SELECT COUNT("Year") FROM table_64334 WHERE "4th Place Team" = 'wyoming angus, johnstown, co'
null
general
ในแต่ละวันมีการสร้างเอกสารกี่ฉบับ? จัดเก็บวันที่ของเอกสารตามช่วงปี และจัดกลุ่มตามคำอธิบายประเภทเอกสารด้วยแผนภูมิเส้นกลุ่ม และรายการตามลำดับตามแกน x ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many documents are created in each day? Bin the document date by year interval and group by document type description with a group line chart, and list in desc by the x axis.It is not neccessary to use all the tables.
Documents: Document_ID [ INTEGER] Document_Type_Code [ CHAR(15)] Project_ID [ INTEGER] Document_Date [ DATETIME] Document_Name [ VARCHAR(255)] Document_Description [ VARCHAR(255)] Other_Details [ 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_Description ORDER BY Document_Date DESC
null
general
เที่ยวบินใดที่ออกจากซานฟรานซิสโกในคืนวันจันทร์และมาถึงแอตแลนต้าในตอนเย็นไม่จำเป็นต้องใช้ตารางทั้งหมด
what flights leave SAN FRANCISCO on monday night and arrive at ATLANTA later in the eveningIt is not neccessary to use all the tables.
month: month_number [ int] month_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 ((((flight.arrival_time <= 2400 AND flight.arrival_time >= 1800) AND date_day.day_number = 21 AND date_day.month_number = 2 AND date_day.year = 1...
null
general
ผู้ชมชาวอเมริกันจำนวน 15.89 ล้านคนรับชมตอนใดในซีรีส์นี้?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What number episode in the series was watched by 15.89 million U.S. viewers?It is not neccessary to use all the tables.
table_22078906_2: no_in_series [ VARCHAR] us_viewers__millions_ [ VARCHAR]
SELECT no_in_series FROM table_22078906_2 WHERE us_viewers__millions_ = "15.89"
null
general
โรงเรียนไหนอยู่ในริเวอร์ไซด์ รัฐแคลิฟอร์เนีย?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which school is in Riverside, CA?It is not neccessary to use all the tables.
table_name_76: school [ VARCHAR] hometown [ VARCHAR]
SELECT school FROM table_name_76 WHERE hometown = "riverside, ca"
null
general
จำนวนประชากรต่ำสุดในพื้นที่ที่มีความหนาแน่น 36.7 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest population for the area that has a density of 36.7?It is not neccessary to use all the tables.
table_name_89: population__2011_ [ INTEGER] density__inhabitants_km_2__ [ VARCHAR]
SELECT MIN(population__2011_) FROM table_name_89 WHERE density__inhabitants_km_2__ = 36.7
null
general
คำถามที่มีผู้ตอบมากที่สุด ไม่จำเป็นต้องใช้ทุกตาราง
Questions with the most answers.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] ApprovalModer...
SELECT Id AS "post_link", AnswerCount AS "number_of_answers", Score, Tags FROM Posts WHERE PostTypeId = 1 ORDER BY AnswerCount DESC LIMIT 100
null
general
สำหรับพนักงานที่ไม่เคยมีงานทำในอดีต ให้แสดงการแจกแจงของ Hire_date และค่าเฉลี่ยของ department_id bin Hire_date ตามเวลาในแผนภูมิแท่ง และแสดงจากมากไปน้อยตามค่าเฉลี่ยของ Department id ซึ่งไม่จำเป็น เพื่อใช้ตารางทั้งหมด
For those employees who did not have any job in the past, show me about the distribution of hire_date and the average of department_id bin hire_date by time in a bar chart, and display in descending by the the average of department id.It is not neccessary to use all the tables.
locations: LOCATION_ID [ decimal(40)] STREET_ADDRESS [ varchar(40)] POSTAL_CODE [ varchar(12)] CITY [ varchar(30)] STATE_PROVINCE [ varchar(25)] COUNTRY_ID [ varchar(2)]
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(DEPARTMENT_ID) DESC
null
general
บ้านเกิดของนักยิมนาสติกคือเมืองใดและจำนวนนักยิมนาสติกที่สอดคล้องกัน และจัดอันดับแกน y จากน้อยไปมาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the hometowns of gymnasts and the corresponding number of gymnasts, and rank y-axis in ascending order.It is not neccessary to use all the tables.
people: People_ID [ int] Name [ text] Age [ real] Height [ real] Hometown [ text]
SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*)
null
general
Mary Louise Lorefice มีอาชีพอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What occupation does Mary Louise Lorefice have?It is not neccessary to use all the tables.
table_name_35: occupation [ VARCHAR] candidate [ VARCHAR]
SELECT occupation FROM table_name_35 WHERE candidate = "mary louise lorefice"
null
general
เพลงแรกในอัลบั้มนี้คือเพลงอะไร ?ไม่จำเป็นต้องใช้ตารางทั้งหมดครับ
what is the first song on this album ?It is not neccessary to use all the tables.
table_204_573: id [ number] "#" [ number] "title" [ text] "performer(s)" [ text] "film" [ text] "length" [ text]
SELECT "title" FROM table_204_573 WHERE "#" = 1
null
general
จำนวนนักแข่งที่เข้าเส้นชัยต่ำกว่า 600.00 คนเป็นจำนวนเท่าใด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the total number of racers who finished under 600.00 ?It is not neccessary to use all the tables.
table_204_262: id [ number] "rank" [ number] "athlete" [ text] "time" [ text] "notes" [ text] "q" [ text]
SELECT COUNT("athlete") FROM table_204_262 WHERE "time" < 6
null
general
วันที่เท่าไหร่ที่ผู้เข้าชมชิคาโกแบล็กฮอว์กส์และบันทึก 1-1?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date was the visitor chicago black hawks, and a Record of 1-1?It is not neccessary to use all the tables.
table_34202: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text]
SELECT "Date" FROM table_34202 WHERE "Visitor" = 'chicago black hawks' AND "Record" = '1-1'
null
general
นักกอล์ฟจบสกอร์ได้ 285 คะแนนแล้วเป็นอย่างไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the finish for the golfer with a total of 285?It is not neccessary to use all the tables.
table_50675: "Player" [ text] "Country" [ text] "Total" [ real] "Finish" [ text]
SELECT "Finish" FROM table_50675 WHERE "Total" = '285'
null
general
ผ่านไปกี่ชั่วโมงแล้วนับตั้งแต่ผู้ป่วย 027-142451 ได้รับยาแบบแช่ต่อเนื่องครั้งแรกในการมาเยี่ยมห้องผู้ป่วยหนักในปัจจุบัน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many hours have elapsed since patient 027-142451 first received an intake of continuous infusion meds on the current intensive care unit visit?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] ...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', 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 ...
null
general
ศิลปินคนไหนมีคอนเสิร์ตมากที่สุด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
which artist has the most concerts ?It is not neccessary to use all the tables.
table_204_697: id [ number] "song" [ text] "artist(s)" [ text] "concert" [ number] "film" [ number]
SELECT "artist(s)" FROM table_204_697 ORDER BY "concert" DESC LIMIT 1
null
general
เทศมณฑลใดที่มีระดับ AA IHSAA ใน ferdinand คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the county with an AA IHSAA class in ferdinand?It is not neccessary to use all the tables.
table_name_90: county [ VARCHAR] ihsaa_class [ VARCHAR] location [ VARCHAR]
SELECT county FROM table_name_90 WHERE ihsaa_class = "aa" AND location = "ferdinand"
null
general
อายุขั้นต่ำของผู้ป่วยที่มีเพศเป็น f และประเภทการรับเข้าเป็นทารกแรกเกิดคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is minimum age of patients whose gender is f and admission type is newborn?It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ t...
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.admission_type = "NEWBORN"
null
general
ส่งกลับแผนภูมิกระจายเกี่ยวกับความสัมพันธ์ระหว่าง CID และ DNO ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a scatter chart about the correlation between CID and DNO .It is not neccessary to use all the tables.
Enrolled_in: StuID [ INTEGER] CID [ VARCHAR(7)] Grade [ VARCHAR(2)]
SELECT CID, DNO FROM Course ORDER BY Credits
null
general
ค้นหาอายุเฉลี่ยของนักเรียนทุกคนที่อาศัยอยู่ในแต่ละเมือง แสดงแผนภูมิแท่ง แสดงเรียงตามแกน Y ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the average age of all students living in the each city Show bar chart, show in desc by the Y-axis.It is not neccessary to use all the tables.
Dorm: dormid [ INTEGER] dorm_name [ VARCHAR(20)] student_capacity [ INTEGER] gender [ VARCHAR(1)]
SELECT city_code, AVG(Age) FROM Student GROUP BY city_code ORDER BY AVG(Age) DESC
null
general
แสดงภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ All_Home และผลรวมของ Team_ID และจัดกลุ่มตามแอตทริบิวต์ All_Home ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize a bar chart about the distribution of All_Home and the sum of Team_ID , and group by attribute All_Home.It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home
null
general
ผลลัพธ์ใดมีคะแนนสุดท้าย 6 3, 6 2 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which outcomes have a final score of 6 3, 6 2?It is not neccessary to use all the tables.
table_25409: "Outcome" [ text] "Year" [ real] "Championship" [ text] "Surface" [ text]
SELECT "Outcome" FROM table_25409 WHERE "Score in the final" = '6–3, 6–2'
null
general
ปีเฉลี่ยที่ scatman ชนะคือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average year for scatman winning?It is not neccessary to use all the tables.
table_58096: "Year" [ real] "Winner" [ text] "Jockey" [ text] "Trainer" [ text] "Owner" [ text] "Time" [ text]
SELECT AVG("Year") FROM table_58096 WHERE "Winner" = 'scatman'
null
general
อะไรคือค่าเฉลี่ยของ Off Reb ที่มีการขโมยน้อยกว่า 8 และ FTM-FTA ที่ 16-17?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17?It is not neccessary to use all the tables.
table_33301: "Rank" [ real] "Score" [ real] "Date" [ text] "Player" [ text] "Opponent" [ text] "Minutes" [ real] "FGM-FGA" [ text] "3PM-3PA" [ text] "FTM-FTA" [ text] "Assists" [ real] "Steals" [ real] "Blocks" [ real] "Turnovers" [ real] "Fouls" [ real] "Points" [ real]
SELECT AVG("Off Reb") FROM table_33301 WHERE "FTM-FTA" = '16-17' AND "Steals" < '8'
null
general
SK Ho อยู่ที่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What place is S.K. Ho in?It is not neccessary to use all the tables.
table_62492: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Place" FROM table_62492 WHERE "Player" = 's.k. ho'
null
general
เปอร์เซ็นต์สำหรับผู้ใช้ที่มีข้อมูลและผู้ใช้ที่ไม่ได้รับข้อมูล ไม่จำเป็นต้องใช้ตารางทั้งหมด
percentage for informed vs uninfomed users.It is not neccessary to use all the tables.
ReviewRejectionReasons: Id [ number] Name [ text] Description [ text] PostTypeId [ number]
SELECT 100.0 * SUM(CASE WHEN b.Id IS NULL AND NOT p.ClosedDate IS NULL THEN 1 ELSE 0 END) / SUM(CASE WHEN b.Id IS NULL THEN 1 ELSE 0 END) AS pClosedUninf, SUM(CASE WHEN NOT b.Id IS NULL AND NOT p.ClosedDate IS NULL THEN 1 ELSE 0 END) * 100.0 / SUM(CASE WHEN NOT b.Id IS NULL THEN 1 ELSE 0 END) AS pClosedInf FROM Posts A...
null
general
ใครเป็นผู้กำกับการออกอากาศทางทีวี s03e19?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who directed the TV broadcast s03e19?It is not neccessary to use all the tables.
table_15861776_1: directed_by [ VARCHAR] tv_broadcast [ VARCHAR]
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19"
null
general
ทัวร์นาเมนต์นี้เล่นที่ไหนในวันที่ 8 ตุลาคม 2549?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Where was the tournament played on Oct. 8, 2006?It is not neccessary to use all the tables.
table_name_56: tournament [ VARCHAR] date [ VARCHAR]
SELECT tournament FROM table_name_56 WHERE date = "oct. 8, 2006"
null
general
เวลาใดที่ผ่านไปมีทั้งการเปิดตัวในวันที่ 15 ตุลาคม พ.ศ. 2540 และแนวทางที่ใกล้ที่สุดในวันที่ 24 มิถุนายน พ.ศ. 2542 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999?It is not neccessary to use all the tables.
table_name_52: time_elapsed [ VARCHAR] launched [ VARCHAR] closest_approach [ VARCHAR]
SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999"
null
general
ปีใดที่สูงที่สุดของอาคารที่มีความสูง 145 (44) ฟุต (ม.)? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the Years as tallest of the Building with a Height ft (m) of 145 (44)?It is not neccessary to use all the tables.
table_61373: "Name" [ text] "Floors" [ real]
SELECT "Years as tallest" FROM table_61373 WHERE "Height ft (m)" = '145 (44)'
null
general
ทีมใดบันทึกการเข้าร่วมฟุตบอลลีกญี่ปุ่นโดยเฉลี่ยสูงกว่าในปี 2544 jatco fc หรือ ykk fc ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
which team recorded a higher average attendance in the japanese football league in 2001 , jatco fc or ykk fc ?It is not neccessary to use all the tables.
table_203_561: id [ number] "pos" [ number] "team" [ text] "total" [ number] "high" [ number] "low" [ number] "average" [ number] "change" [ text]
SELECT "team" FROM table_203_561 WHERE "team" IN ('jatco fc', 'ykk fc') ORDER BY "average" DESC LIMIT 1
null
general
ตั้งชื่อวิทยาลัยเป็น dl ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the college for dlIt is not neccessary to use all the tables.
table_28059992_2: college [ VARCHAR] position [ VARCHAR]
SELECT college FROM table_28059992_2 WHERE position = "DL"
null
general
เคยทำ ns ivf ให้กับผู้ป่วย 004-64091 ในการเข้ารับการรักษาในไอซียูในปัจจุบันหรือไม่? ไม่จำเป็นต้องใช้ตารางทั้งหมด
has ns ivf ever been administered to patient 004-64091 on the current icu visit?It is not neccessary to use all the tables.
lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time]
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-64091') AND patient.unitdischargetime IS NULL) AND intakeoutput.ce...
null
general
อะไรคือสถิติที่กำหนดไว้ในระหว่างเกมที่เล่นที่ Hubert H. Humphrey Metrodome?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the record set during the game played at Hubert H. Humphrey Metrodome?It is not neccessary to use all the tables.
table_13258851_2: record [ VARCHAR] game_site [ VARCHAR]
SELECT record FROM table_13258851_2 WHERE game_site = "Hubert H. Humphrey Metrodome"
null
general
อ่าวฟ้าร้องมีอำนาจอะไรเป็นเมืองแห่งใบอนุญาต?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What power has thunder bay as the city of license?It is not neccessary to use all the tables.
table_66476: "Identifier" [ text] "Frequency" [ text] "Power" [ text] "Class" [ text] "RECNet" [ text]
SELECT "Power" FROM table_66476 WHERE "City of license" = 'thunder bay'
null
general
Tie ใดที่มาจากเมืองเบอร์มิงแฮม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Tie is from birmingham city?It is not neccessary to use all the tables.
table_name_97: tie_no [ VARCHAR] home_team [ VARCHAR]
SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city"
null
general
ชุมชนที่นำเสนอเพียงแห่งเดียวในภูมิภาคเอเชียใต้คืออะไร ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the only proposed community in the south asia region ?It is not neccessary to use all the tables.
table_204_321: id [ number] "community" [ text] "currency" [ text] "region" [ text] "notes" [ text]
SELECT "community" FROM table_204_321 WHERE "region" = 'south asia'
null
general
การทดสอบสามรายการที่ทำบ่อยที่สุดนับตั้งแต่ 6 ปีที่แล้วสำหรับผู้ป่วยอายุ 20 ปีคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the three most frequently taken test since 6 years ago for patients with age 20s?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 d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 20 AND 29) AND DATETIME(labevents.chartti...
null
general
การตัดสินใจเมื่อบัฟฟาโลเป็นผู้มาเยี่ยมคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the decision when Buffalo was the visitor?It is not neccessary to use all the tables.
table_name_20: decision [ VARCHAR] visitor [ VARCHAR]
SELECT decision FROM table_name_20 WHERE visitor = "buffalo"
null
general
ภูมิภาคใดมีปีในวันที่ 10 มีนาคม 1998 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which region had a year March 10, 1998?It is not neccessary to use all the tables.
table_60783: "Region" [ text] "Year" [ text] "Label" [ text] "Format" [ text] "Catalog" [ text]
SELECT "Region" FROM table_60783 WHERE "Year" = 'march 10, 1998'
null
general
ประเทศใดมีเงินน้อยกว่า 16 เหรียญทองแดง มากกว่า 6 เหรียญ และทอง 2 เหรียญ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?It is not neccessary to use all the tables.
table_name_77: nation [ VARCHAR] gold [ VARCHAR] silver [ VARCHAR] bronze [ VARCHAR]
SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 AND gold = 2
null
general
ผู้ป่วย 022-3289 ผลิตสายสวนปัสสาวะออกทางท่อปัสสาวะกี่ครั้งในการเข้ารับการรักษาในโรงพยาบาลครั้งแรก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many time did patient 022-3289 produce a urinary catheter output urethral output in their first hospital encounter?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-3289' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.h...
null
general
ผู้ใช้ 1,000 อันดับแรกจากอินเดีย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 1000 users from India.It is not neccessary to use all the tables.
ReviewTasks: Id [ number] ReviewTaskTypeId [ number] CreationDate [ time] DeletionDate [ time] ReviewTaskStateId [ number] PostId [ number] SuggestedEditId [ number] CompletedByReviewTaskId [ number]
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%india%' OR UPPER(Location) LIKE '%INDIA%' OR Location LIKE '%india%' AND Reputation >= 10000 ORDER BY Reputation DESC LIMIT 1000
null
general
แผนภูมิแท่งเกี่ยวกับจำนวนทีมที่คัดออกแต่ละทีมไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
A bar chart about how many eliminations did each team have?It is not neccessary to use all the tables.
Elimination: Elimination_ID [ text] Wrestler_ID [ text] Team [ text] Eliminated_By [ text] Elimination_Move [ text] Time [ text]
SELECT Team, COUNT(*) FROM Elimination GROUP BY Team
null
general
เที่ยวบินใดจากไมอามีไปอินเดียนาโพลิสไม่จำเป็นต้องใช้ตารางทั้งหมด
what flights from MIAMI to INDIANAPOLISIt is not neccessary to use all the tables.
time_interval: period [ text] begin_time [ int] end_time [ int]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MIAMI' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'INDIANAP...
null
general
มีโรงเรียนมัธยมกี่แห่งที่มีการลาลีกเพื่อเข้าร่วมการประชุม Big Nine ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many high schools had a league leave to big nine conference ?It is not neccessary to use all the tables.
table_203_591: id [ number] "join\nyear" [ text] "from" [ text] "left" [ text]
SELECT COUNT("high school") FROM table_203_591 WHERE "league left to" = 'big nine conference'
null
general
สำหรับสินค้าที่มีราคาระหว่าง 60 ถึง 120 ให้แสดงแผนภูมิวงกลมเพื่อแสดงสัดส่วนของชื่อและผู้ผลิต ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those products with a price between 60 and 120, give me a pie chart to reflect the proportion of name and manufacturer.It is not neccessary to use all the tables.
Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL]
SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120
null
general
เกมที่เล่นกับใครในวันที่ 12 กรกฎาคมคือใคร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the game on July 12 played against?It is not neccessary to use all the tables.
table_23324: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Record" [ text]
SELECT "Opponent" FROM table_23324 WHERE "Date" = 'July 12'
null
general
ยาสี่ชนิดที่ต้องสั่งจ่ายบ่อยที่สุดสำหรับผู้ป่วยที่ได้รับคลอธาลิโดนในเวลาเดียวกันจนถึงปี 2104 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the four most frequently prescribed medications for patients who were also prescribed with chlorthalidone at the same time until 2104?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 t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'chlorthalidone' AND STRFTIME('%y', prescriptions.startdate) <= '2...
null
general
ตั้งชื่อผลลัพธ์สำหรับปี 1980 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the result for 1980sIt is not neccessary to use all the tables.
table_23045: "Theme" [ text] "Result" [ text]
SELECT "Result" FROM table_23045 WHERE "Theme" = '1980s'
null
general
เหตุใดผู้จัดการที่จากไปเมื่อวันที่ 1 สิงหาคม 2551 จึงลาออก?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Why did the manager who departed on August 1, 2008 leave?It is not neccessary to use all the tables.
table_62879: "Team" [ text]
SELECT "Reason of departure" FROM table_62879 WHERE "Date Outgoing" = 'august 1, 2008'
null
general
แชสซีใดที่ผู้เข้าแข่งขัน Automobiles Gonfaronnaises Sportives ได้คะแนน 0 คะแนน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?It is not neccessary to use all the tables.
table_70396: "Year" [ real] "Entrant" [ text] "Chassis" [ text] "Engine" [ text] "Points" [ real]
SELECT "Chassis" FROM table_70396 WHERE "Points" = '0' AND "Entrant" = 'automobiles gonfaronnaises sportives'
null
general
วันที่เสร็จสิ้นของการทดสอบทั้งหมดที่มีผลเป็น 'ล้มเหลว' และนับด้วยแผนภูมิแท่ง และแสดง Y จากลำดับสูงไปต่ำ ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What are the completion dates of all the tests that have result 'Fail', and count them by a bar chart, and display Y from high to low order.It is not neccessary to use all the tables.
Student_Course_Enrolment: registration_id [ INTEGER] student_id [ INTEGER] course_id [ INTEGER] date_of_enrolment [ DATETIME] date_of_completion [ DATETIME]
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" ORDER BY COUNT(date_of_completion) DESC
null
general
มีการจ่าย warfarin, albuterol mdi หรือ glucagon ให้กับผู้ป่วยหมายเลข 24971 ในการเข้ารับการรักษาในโรงพยาบาลครั้งสุดท้ายหรือไม่ ไม่จำเป็นต้องใช้ทุกโต๊ะ
did warfarin, albuterol mdi, or glucagon be prescribed for patient 24971 on the last hospital encounter?It is not neccessary to use all the tables.
labevents: row_id [ number] subject_id [ number] hadm_id [ number] itemid [ number] charttime [ time] valuenum [ number] valueuom [ text]
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24971 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug IN ('warfarin', 'albuterol mdi', 'glucagon')
null
general
เกมใดที่แพ้มากที่สุดเมื่อเปอร์เซ็นต์คือ 50.00% และเกมที่เล่นน้อยกว่า 2 คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the most lost games when the percentage is 50.00% and games played is less than 2?It is not neccessary to use all the tables.
table_name_95: lost [ INTEGER] percentage [ VARCHAR] played [ VARCHAR]
SELECT MAX(lost) FROM table_name_95 WHERE percentage = "50.00%" AND played < 2
null
general
การเดินทางครั้งสุดท้ายของคุณจากวอชิงตันไปบอสตันคือวันที่ 8 27 ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is your last trip from WASHINGTON to BOSTON on 8 27It is not neccessary to use all the tables.
code_description: code [ varchar] 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND date_day.day_number = 27 AND date_day.month_number = 8 AND d...
null
general
ที่ตั้งของสะพานที่สร้างขึ้นในปี พ.ศ. 2412 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Location of the Bridge Built in 1869?It is not neccessary to use all the tables.
table_name_58: location [ VARCHAR] built [ VARCHAR]
SELECT location FROM table_name_58 WHERE built = "1869"
null
general
มีผู้ป่วยกี่รายที่เป็นประเภทเข้ารับการรักษาแบบเร่งด่วนและชื่อการทดสอบในห้องปฏิบัติการคืออะไมเลส, ของเหลวในร่างกาย?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose admission type is urgent and lab test name is amylase, body fluid?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.admission_type = "URGENT" AND lab.label = "Amylase, Body Fluid"
null
general
Doucet คืออะไรเมื่อ Lawrance อายุ 36 ปี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Doucet when Lawrance is 36?It is not neccessary to use all the tables.
table_16796: "Ward" [ text] "Bello" [ text] "Ben-Tahir" [ text] "Doucet" [ text] "Furtenbacher" [ text] "Gauthier" [ text] "Haydon" [ text] "Larter" [ text] "Lawrance" [ text] "Libweshya" [ text] "Liscumb" [ text]
SELECT "Doucet" FROM table_16796 WHERE "Lawrance" = '36'
null
general
ดึงกระทู้ที่ตอบแล้วตามชื่อแท็กและคะแนน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Retrieve Answered Posts Based on Tag Name and Score.It is not neccessary to use all the tables.
SuggestedEdits: Id [ number] PostId [ number] CreationDate [ time] ApprovalDate [ time] RejectionDate [ time] OwnerUserId [ number] Comment [ text] Text [ text] Title [ text] Tags [ text] RevisionGUID [ other]
SELECT p.Body, p.Title, p.Id, p.CreationDate, p.DeletionDate, p.Tags, p.AnswerCount, p.AcceptedAnswerId FROM Tags AS t JOIN PostTags AS pt ON pt.TagId = t.Id JOIN Posts AS p ON p.Id = pt.PostId WHERE (t.TagName = '##TagNameOne:string##' OR t.TagName = '##TagNameTwo:string##' OR t.TagName = '##TagNameThree:string##') AN...
null
general
ซึ่งเป็นหมายเลขของตอน 'โกงให้' 'r ku d o' ( ) ซึ่งออกอากาศเมื่อวันที่ 14 กรกฎาคม พ.ศ. 2546 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which is the number of the episode 'rook gave' 'r ku d o' ( ) which aired on July 14, 2003It is not neccessary to use all the tables.
table_17481974_1: episode__number [ INTEGER] original_airdate [ VARCHAR]
SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003"
null
general
ชั้นเรียนระดับอาวุโสทุกชั้นเรียนจำเป็นต้องสอบหรือไม่ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Do all senior level classes require exams ?It is not neccessary to use all the tables.
semester: semester_id [ int] semester [ varchar] year [ int]
SELECT COUNT(*) = 0 FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.has_exams = 'N' AND program_course.category LIKE '%ULCS%'
null
general
มีการระบุข้อมูลจำนวนเท่าใดสำหรับไฟฟ้าทั้งหมดในหน่วย GW-h หากไฟฟ้าหมุนเวียนที่ไม่มีพลังน้ำ (GW-h) คือ 3601 ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?It is not neccessary to use all the tables.
table_27476: "Rank" [ real] "State" [ text]
SELECT COUNT("Total electricity (GW\u00b7h)") FROM table_27476 WHERE "Renewable electricity w/o Hydro (GW\u00b7h)" = '3601'
null
general
มณฑลในเมืองหลวงใดมีประชากร 730,129 คน ณ ปี 2552?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What capital's county had a population of 730129 as of 2009?It is not neccessary to use all the tables.
table_20668: "Code" [ real] "County" [ text] "Capital" [ text]
SELECT "Capital" FROM table_20668 WHERE "Population Census 2009" = '730129'
null
general
ผู้ป่วยชายนอนโรงพยาบาลนาน 23 วันมีกี่คน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many male patients have stayed in the hospital for 23 days?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.days_stay = "23"
null
general
ขอการเปรียบเทียบเกี่ยวกับผลรวมของ School_ID บน ACC_Road และจัดกลุ่มตามแอตทริบิวต์ ACC_Road โดยแสดงแบบเรียงตามแกน x ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me the comparison about the sum of School_ID over the ACC_Road , and group by attribute ACC_Road, display in desc by the x axis.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, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road DESC
null
general
ทอม เลห์แมนมีสถานที่ใดบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHAT PLACE DOES TOM LEHMAN HAVE?It is not neccessary to use all the tables.
table_name_65: place [ VARCHAR] player [ VARCHAR]
SELECT place FROM table_name_65 WHERE player = "tom lehman"
null
general
จนถึง 01/2105 เมื่อผู้ป่วย 002-10724 ได้รับการทดสอบในห้องปฏิบัติการครั้งสุดท้ายหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
until 01/2105 when patient 002-10724 last received a lab test?It is not neccessary to use all the tables.
intakeoutput: intakeoutputid [ number] patientunitstayid [ number] cellpath [ text] celllabel [ text] cellvaluenumeric [ number] intakeoutputtime [ time]
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-10724')) AND STRFTIME('%y-%m', lab.labresulttime) <= '2105-01' ORDER BY lab.lab...
null
general
สำหรับพนักงานทุกคนที่มีตัวอักษร D หรือ S ในชื่อของพวกเขา โปรดให้ฉันเปรียบเทียบค่าเฉลี่ยของ manager_id กับ job_id และจัดกลุ่มตามแอตทริบิวต์ job_id ด้วยแผนภูมิแท่ง และโปรดเรียงลำดับจากต่ำไปสูงตามแกน y ไม่จำเป็นต้องใช้ทุกตาราง
For all employees who have the letters D or S in their first name, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id by a bar chart, and sort from low to high by the y axis please.It is not neccessary to use all the tables.
regions: REGION_ID [ decimal(50)] REGION_NAME [ varchar(25)]
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(MANAGER_ID)
null
general
รายการผลรวมที่เสียไปสำหรับทีม tauras taurag ไม่จำเป็นต้องใช้ตารางทั้งหมด
List total loses forh the tauras taurag team.It is not neccessary to use all the tables.
table_18018214_2: loses [ VARCHAR] club [ VARCHAR]
SELECT COUNT(loses) FROM table_18018214_2 WHERE club = "Tauras Tauragė"
null
general
ชื่อใดอยู่ที่ละติจูด 10.0s?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which name is at latitude 10.0s?It is not neccessary to use all the tables.
table_16799784_11: name [ VARCHAR] latitude [ VARCHAR]
SELECT name FROM table_16799784_11 WHERE latitude = "10.0S"
null
general
ชื่อของผู้สร้างชาวญี่ปุ่นทั้งหมดที่ได้รับมากกว่า 5 คะแนนคืออะไร และนับตามแผนภูมิแท่งไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names of all the Japanese constructors that have earned more than 5 points, and count them by a bar chartIt is not neccessary to use all the tables.
seasons: year [ INTEGER] url [ TEXT]
SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name
null
general
ปิดเนื่องจากเหตุผลนอกประเด็น dist ไม่จำเป็นต้องใช้ตารางทั้งหมด
Close as offtopic reason dist.It is not neccessary to use all the tables.
CloseReasonTypes: Id [ number] Name [ text] Description [ text]
SELECT MAX(CreationDate) FROM Votes AS v WHERE VoteTypeId = 6 AND NOT UserId IS NULL
null
general