Datasets:
AIAT
/

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
ชื่อเสียง 100 อันดับแรกในอิหร่าน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 100 Reputation in Iran.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 ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Iran%' ORDER BY Reputation DESC LIMIT 1000
null
general
จำนวนผู้ชมทั้งหมดสำหรับการจัดอันดับ BBC One รายสัปดาห์มากกว่า 7 ก่อนตอนที่ 4 เป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?It is not neccessary to use all the tables.
table_69075: "Airdate" [ text] "Share" [ text]
SELECT "Total Viewers" FROM table_69075 WHERE "BBC One Weekly Ranking" > '7' AND "Episode No." < '4'
null
general
คำนวณอายุสูงสุดของผู้ป่วยโสดที่เป็นโรคเนื้อตายเน่าตายหลัก ไม่จำเป็นต้องใช้ตารางทั้งหมด
calculate the maximum age of unmarried patients who have gangrene primary disease.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 MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.diagnosis = "GANGRENE"
null
general
มีผู้ป่วยกี่รายที่ได้รับ cont inv mec ven <96 ชั่วโมงหลังจากขั้นตอนการใส่ท่อช่วยหายใจในปีที่แล้วระหว่างการเยี่ยมโรงพยาบาลครั้งเดียวกัน? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
how many patients received a cont inv mec ven <96 hrs after the procedure of the insert endotracheal tube last year during the same hospital visit?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 COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id 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 = 'insert endotracheal tube') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv mec ven <96 hrs') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id
null
general
ใครลงสมัครรับตำแหน่งที่เขตจอร์เจีย 4 ในการเลือกตั้งครั้งนี้?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who ran for office at the Georgia 4 district in this election?It is not neccessary to use all the tables.
table_1342315_10: candidates [ VARCHAR] district [ VARCHAR]
SELECT candidates FROM table_1342315_10 WHERE district = "Georgia 4"
null
general
แสดงชื่อและที่นั่งสำหรับเส้นทางทั้งหมดที่เปิดหลังปี 2000 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show names and seatings for all tracks opened after 2000.It is not neccessary to use all the tables.
race: Race_ID [ int] Name [ text] Class [ text] Date [ text] Track_ID [ text]
SELECT Name, Seating FROM track WHERE Year_Opened > 2000
null
general
ในรอบใดที่แท็คเกิ้ลฝ่ายรับถูกร่างโดยตัวเลือกโดยรวมน้อยกว่า 149?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
In what round was a defensive tackle drafted with an overall pick smaller than 149?It is not neccessary to use all the tables.
table_name_25: round [ VARCHAR] position [ VARCHAR] overall [ VARCHAR]
SELECT COUNT(round) FROM table_name_25 WHERE position = "defensive tackle" AND overall < 149
null
general
สตรีคปัจจุบันเป็นอย่างไรบ้างเมื่อพบกัน 5 ครั้งหลังสุดเป็นโอสุ 4-1?ไม่จำเป็นต้องใช้ทุกตาราง
what is the current streak when the last 5 meetings is osu, 4-1?It is not neccessary to use all the tables.
table_name_27: current_streak [ VARCHAR] last_5_meetings [ VARCHAR]
SELECT current_streak FROM table_name_27 WHERE last_5_meetings = "osu, 4-1"
null
general
ในแต่ละวันมีการจองอพาร์ทเมนท์จำนวนกี่ห้อง? แสดงแผนภูมิเส้นโดยจัดกลุ่มตามวันที่สิ้นสุดการจอง และฉันต้องการจัดเรียงตามแกน x ใน asc ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many apartment bookings in each day? Show me a line chart grouping by booking end date, and I want to sort by the x axis in asc.It is not neccessary to use all the tables.
Apartment_Buildings: building_id [ INTEGER] building_short_name [ CHAR(15)] building_full_name [ VARCHAR(80)] building_description [ VARCHAR(255)] building_address [ VARCHAR(255)] building_manager [ VARCHAR(50)] building_phone [ VARCHAR(80)]
SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings GROUP BY booking_end_date ORDER BY booking_end_date
null
general
Lost ตัวไหนมีคลับของคลับ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Which Lost has a Club of club?It is not neccessary to use all the tables.
table_name_33: lost [ VARCHAR]
SELECT lost FROM table_name_33 WHERE "club" = "club"
null
general
นับจำนวนผู้ป่วยโรคหลักคือ SDH และรหัสขั้นตอน icd9 คือ 309 ราย ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose primary disease is sdh and procedure icd9 code is 309.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 = "SDH" AND procedures.icd9_code = "309"
null
general
อายุเฉลี่ยของคนไข้ที่เข้ารับการรักษาแบบฉุกเฉินและโรคหลักคือมวลสมอง,เลือดออกในกะโหลกศีรษะคือเท่าใด,ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is average age of patients whose admission type is emergency and primary disease is brain mass;intracranial hemorrhage?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 AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE"
null
general
ยาสี่ชนิดที่ต้องสั่งจ่ายบ่อยที่สุดเมื่อปีที่แล้วคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the four most commonly prescribed medications the previous year?It is not neccessary to use all the tables.
d_icd_diagnoses: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text]
SELECT t1.drug FROM (SELECT prescriptions.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM prescriptions WHERE DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 <= 4
null
general
พาร์อะไรมี 7 เป็นจุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What to par has 7 as the place?It is not neccessary to use all the tables.
table_name_20: to_par [ VARCHAR] place [ VARCHAR]
SELECT to_par FROM table_name_20 WHERE place = "7"
null
general
แท็กยอดนิยมที่เกี่ยวข้องกับ JavaScript ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top tags related to JavaScript.It is not neccessary to use all the tables.
ReviewRejectionReasons: Id [ number] Name [ text] Description [ text] PostTypeId [ number]
SELECT p.Tags FROM Posts AS p, PostTags AS pt, Tags AS t WHERE pt.PostId = p.Id AND pt.TagId = t.Id AND t.TagName = 'scan' GROUP BY p.Tags
null
general
ผลลัพธ์ใดมีเกมที่น้อยกว่า 37 และสตรีคที่แพ้ 1 และมีสถิติ 4-9? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9?It is not neccessary to use all the tables.
table_44616: "Game" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Opponents" [ real] "Record" [ text] "Streak" [ text]
SELECT "Result" FROM table_44616 WHERE "Game" < '37' AND "Streak" = 'lost 1' AND "Record" = '4-9'
null
general
อัตราการกรองไตโดยประมาณ ( egfr ) < 60 มล. / นาที ไม่จำเป็นต้องใช้ทุกตาราง
estimated glomerular filtration rate ( egfr ) < 60 ml / minIt is not neccessary to use all the tables.
table_train_279: "id" [ int] "systolic_blood_pressure_sbp" [ int] "hemoglobin_a1c_hba1c" [ float] "estimated_glomerular_filtration_rate_egfr" [ int] "fasting_plasma_glucose" [ int] "diastolic_blood_pressure_dbp" [ int] "body_mass_index_bmi" [ float] "NOUSE" [ float]
SELECT * FROM table_train_279 WHERE estimated_glomerular_filtration_rate_egfr < 60
null
general
เนื้อหาของบริการโทรทัศน์ la7 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the content of la7 television service?It is not neccessary to use all the tables.
table_15887683_1: content [ VARCHAR] television_service [ VARCHAR]
SELECT content FROM table_15887683_1 WHERE television_service = "LA7"
null
general
ฉันต้องการเที่ยวบินจากซานฟรานซิสโกไปบอสตัน ซึ่งจะออกหลัง 22.00 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
i need a flight from SAN FRANCISCO to BOSTON that leaves after 2200It is not neccessary to use all the tables.
ground_service: city_code [ text] airport_code [ text] transport_type [ text] ground_fare [ int]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time > 2200 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
จำนวนผู้ป่วยที่เข้ารับการรักษาตามขั้นตอน icd9 รหัส 3950 และเสียชีวิตในหรือก่อนปี 2133 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the number of patients who had procedure icd9 code 3950 and died in or before 2133?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2133.0" AND procedures.icd9_code = "3950"
null
general
สัปดาห์ที่ 11 คืออะไรเมื่อสัปดาห์ที่ 10 มีเนบราสกา (7-1)? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was Week 11 when Week 10 had Nebraska (7-1)?It is not neccessary to use all the tables.
table_name_99: week_11_nov_6 [ VARCHAR] week_10_oct_30 [ VARCHAR]
SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)"
null
general
ประเทศใดมี r3 ที่ 72 โดย Larry Mize?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What country had a r3 at 72, by Larry Mize?It is not neccessary to use all the tables.
table_18812411_3: country [ VARCHAR] r3 [ VARCHAR] player [ VARCHAR]
SELECT country FROM table_18812411_3 WHERE r3 = 72 AND player = "Larry Mize"
null
general
ผลรวมของเกมคือเท่าไร เมื่อวันที่คือ 'พุธ' 14 พ.ย.?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the sum of Game, when Date is 'Wed. Nov. 14'?It is not neccessary to use all the tables.
table_name_26: game [ INTEGER] date [ VARCHAR]
SELECT SUM(game) FROM table_name_26 WHERE date = "wed. nov. 14"
null
general
แชสซีใดมีมากกว่า 0 คะแนน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What chassis has more than 0 points?It is not neccessary to use all the tables.
table_name_40: chassis [ VARCHAR] points [ INTEGER]
SELECT chassis FROM table_name_40 WHERE points > 0
null
general
ระบบที่เรียกว่า ELKJS คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the system called that is named ELKJS?It is not neccessary to use all the tables.
table_77524: "Name" [ text] "System" [ text] "Platform" [ text] "License" [ text]
SELECT "System" FROM table_77524 WHERE "Name" = 'elkjs'
null
general
หากตอนเป็น 6x03 จำนวนการออกอากาศครั้งแรกทั้งหมดเป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
If the episode is 6x03, what is the first broadcast total number?It is not neccessary to use all the tables.
table_2910: "Episode" [ text] "Scores" [ text]
SELECT COUNT("First broadcast") FROM table_2910 WHERE "Episode" = '6x03'
null
general
สำหรับแต่ละเรื่อง ให้แสดงจำนวนภาพยนตร์ในแผนภูมิวงกลม ไม่จำเป็นต้องใช้ตารางทั้งหมด
For each title, show the number of films in a pie chart.It is not neccessary to use all the tables.
film_market_estimation: Estimation_ID [ int] Low_Estimate [ real] High_Estimate [ real] Film_ID [ int] Type [ text] Market_ID [ int] Year [ int]
SELECT Title, COUNT(Title) FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID GROUP BY Title
null
general
การทดสอบในห้องปฏิบัติการที่ได้รับคำสั่งมากที่สุดห้ารายการสำหรับผู้ป่วยที่เคยได้รับการผ่าตัดตัดแขนขาต่ำกว่าเข่าภายใน 2 เดือนนับตั้งแต่ปี 2102 คืออะไร ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what are the five most commonly ordered lab tests for patients that had previously received below knee amputat nec within 2 months since 2102?It is not neccessary to use all the tables.
d_labitems: row_id [ number] itemid [ number] label [ text]
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, 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 = 'below knee amputat nec') AND STRFTIME('%y', procedures_icd.charttime) >= '2102') AS t1 JOIN (SELECT admissions.subject_id, labevents.itemid, labevents.charttime FROM labevents JOIN admissions ON labevents.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', labevents.charttime) >= '2102') 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.itemid) AS t3 WHERE t3.c1 <= 5)
null
general
Australian Open ปี 2008 คืออะไรเมื่อปี 2011 เป็น 1R?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the 2008 of the Australian Open when the 2011 was 1R?It is not neccessary to use all the tables.
table_65895: "Tournament" [ text] "2008" [ text] "2009" [ text] "2010" [ text] "2011" [ text] "2012" [ text]
SELECT "2008" FROM table_65895 WHERE "2011" = '1r' AND "Tournament" = 'australian open'
null
general
สัปดาห์ที่ 3 คือใครถ้าสัปดาห์ที่ 2 เป็นนิยายของนิกกี้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is week 3 if week 2 is Nikki Fiction?It is not neccessary to use all the tables.
table_name_64: week_3 [ VARCHAR] week_2 [ VARCHAR]
SELECT week_3 FROM table_name_64 WHERE week_2 = "nikki fiction"
null
general
การแข่งขันสูงสุดที่มีเงินรางวัล 5,000 คืออะไร?ไม่จำเป็นต้องใช้ทุกตาราง
What is are the highest matches with 5,000 in prize money?It is not neccessary to use all the tables.
table_name_77: matches [ INTEGER] prize_money [ VARCHAR]
SELECT MAX(matches) FROM table_name_77 WHERE prize_money = "£5,000"
null
general
ตำแหน่งเจ้าหน้าที่ที่มีตรา/หมายเลข 11755 ที่เสียชีวิตในการยิงปืนคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire?It is not neccessary to use all the tables.
table_45355: "Rank" [ text] "Tenure" [ text]
SELECT "Rank" FROM table_45355 WHERE "Cause of death" = 'gunfire' AND "Badge/Serial Number" = '11755'
null
general
การวางอันดับ 3 ตรงกับอะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
Placing of 3 had what match w-l?It is not neccessary to use all the tables.
table_name_20: matches_w_l [ VARCHAR] placing [ VARCHAR]
SELECT matches_w_l FROM table_name_20 WHERE placing = 3
null
general
โหวตทั้งหมดโดยแท็กสำหรับผู้ใช้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
All Votes by Tag for a User.It is not neccessary to use all the tables.
SuggestedEditVotes: Id [ number] SuggestedEditId [ number] UserId [ number] VoteTypeId [ number] CreationDate [ time] TargetUserId [ number] TargetRepChange [ number]
WITH tagBadge AS (SELECT Name, COUNT(Id) AS badge_count FROM Badges GROUP BY Name), metrics AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(Tags.Id) DESC) AS rank, TagName, COUNT(Tags.Id) AS UpVotes, badge_count FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Votes ON Votes.PostId = Posts.Id AND VoteTypeId = 2 LEFT JOIN tagBadge ON Tags.TagName = tagBadge.Name WHERE Posts.CommunityOwnedDate IS NULL AND Posts.OwnerUserId = 193 GROUP BY TagName, badge_count) SELECT rank, TagName, upvotes, badge_count, CAST(badge_count AS FLOAT(10, 2)) / CAST(upvotes AS FLOAT(10, 2)) AS badgesperupvote FROM metrics
null
general
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตแต่ละผลิตภัณฑ์ ให้ส่งคืนแผนภูมิแท่งเกี่ยวกับการแจกแจงของผู้ก่อตั้งและผลรวมของรหัส และจัดกลุ่มตามผู้ก่อตั้งแอตทริบิวต์ แสดงด้วย X จากสูงไปต่ำ โปรดไม่จำเป็นต้องใช้ทั้งหมด ตาราง
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the sum of code , and group by attribute founder, show by the X from high to low please.It is not neccessary to use all the tables.
Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL]
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC
null
general
ระบุจำนวนผู้ป่วยที่วินิจฉัยชื่อสั้นว่า รัฐวิตกกังวล และเส้นทางยาเป็นทางปากหรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
provide the number of patients whose diagnoses short title is anxiety state nos and drug route is oral?It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Anxiety state NOS" AND prescriptions.route = "ORAL"
null
general
ตั้งชื่อตัวเลขสำหรับวันที่ 27 ก.พ. 2539 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the numbers for date of feb 27, 1996It is not neccessary to use all the tables.
table_20455: "Winner" [ text] "Margin" [ text]
SELECT "S No" FROM table_20455 WHERE "Match Date" = 'Feb 27, 1996'
null
general
ใครคือผู้เข้ารอบสุดท้ายของทัวร์นาเมนต์ที่เบอร์ลิน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the finalist for the tournament in berlin?It is not neccessary to use all the tables.
table_9129: "Tournament" [ text] "Surface" [ text] "Week" [ text] "Winner" [ text] "Finalist" [ text] "Semifinalists" [ text]
SELECT "Finalist" FROM table_9129 WHERE "Tournament" = 'berlin'
null
general
จำนวนการสร้างทั้งหมดในช่วงหลายปีหลังปี 2002 ที่มีธีมฉลองครบรอบ 85 ปีของ Vimy Ridge คือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?It is not neccessary to use all the tables.
table_78082: "Year" [ real] "Theme" [ text] "Artist" [ text] "Mintage" [ real]
SELECT COUNT("Mintage") FROM table_78082 WHERE "Theme" = '85th anniversary of vimy ridge' AND "Year" > '2002'
null
general
ลีกคืออะไรเมื่อ fa cup คือ qr4 และ fa trophy คือ qf?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
what is the league when the fa cup is qr4 and the fa trophy is qf?It is not neccessary to use all the tables.
table_name_46: league [ VARCHAR] fa_cup [ VARCHAR] fa_trophy [ VARCHAR]
SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "qf"
null
general
วันที่ผู้ออกจากงานเนื่องจากหมดสัญญาผู้ดูแลคือวันที่เท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the date of vacancy for the person that left because of end of caretaker contract?It is not neccessary to use all the tables.
table_2554: "Team" [ text]
SELECT "Date of vacancy" FROM table_2554 WHERE "Manner of departure" = 'End of caretaker contract'
null
general
ค่าพาร์สำหรับ Gene Littler คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the to par for Gene Littler?It is not neccessary to use all the tables.
table_name_42: to_par [ VARCHAR] player [ VARCHAR]
SELECT to_par FROM table_name_42 WHERE player = "gene littler"
null
general
เขตใดมีผู้ดำรงตำแหน่งพรรคเดโมแครตที่ได้รับการเลือกตั้งครั้งแรกก่อนปี 1996?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which district has a Democratic incumbent that was first elected before 1996?It is not neccessary to use all the tables.
table_name_62: district [ VARCHAR] party [ VARCHAR] first_elected [ VARCHAR]
SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996
null
general
สำหรับผู้ป่วยที่ได้รับยา inotropic - milrinone ในหนึ่งปีก่อน ขั้นตอนการรักษาที่พบบ่อยที่สุดสามอันดับแรกที่ปฏิบัติตามในการไปโรงพยาบาลครั้งเดียวกันคืออะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
for the patients who received inotropic agent - milrinone in a year before, what are the top three most common procedures which have been followed within the same hospital visit?It is not neccessary to use all the tables.
allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ time]
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'inotropic agent - milrinone' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmentname, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.treatmenttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.treatmentname) AS t3 WHERE t3.c1 <= 3
null
general
คะแนนอะไรมี 33 คะแนน ไม่จำเป็นต้องใช้ตารางทั้งหมด
What score has 33 as the points?It is not neccessary to use all the tables.
table_60764: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Attendance" [ real] "Record" [ text] "Arena" [ text] "Points" [ real]
SELECT "Score" FROM table_60764 WHERE "Points" = '33'
null
general
เมื่อ Mount Kobowre เป็นจุดสูงสุด ระดับความสูงสูงสุดเป็นเมตรคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When mount kobowre is the peak what is the highest elevation in meters?It is not neccessary to use all the tables.
table_18946749_1: elevation__m_ [ INTEGER] peak [ VARCHAR]
SELECT MAX(elevation__m_) FROM table_18946749_1 WHERE peak = "Mount Kobowre"
null
general
บล็อกต่ำสุดที่มี 328 เป็นขัดขวางและมีความสูงน้อยกว่า 186 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest block that has 328 as the spike, and a height less than 186?It is not neccessary to use all the tables.
table_40186: "Name" [ text] "Height" [ real] "Weight" [ real] "Spike" [ real] "Block" [ real]
SELECT MIN("Block") FROM table_40186 WHERE "Spike" = '328' AND "Height" < '186'
null
general
อะไรคือผลลัพธ์ของธีม Top 12 Men?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the result of the Top 12 Men theme?It is not neccessary to use all the tables.
table_29676: "Theme" [ text] "Result" [ text]
SELECT "Result" FROM table_29676 WHERE "Theme" = 'Top 12 Men'
null
general
คะแนนสุดท้ายเมื่อพวกเขาเล่นแฟรงก์เฟิร์ตกาแล็กซี่คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the final score when they played Frankfurt Galaxy?It is not neccessary to use all the tables.
table_24882796_2: final_score [ VARCHAR] opponent [ VARCHAR]
SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"
null
general
แสดงกลุ่มบุคคลต่างๆ พร้อมด้วยจำนวนคนในแต่ละฝ่าย เขียนเป็นแผนภูมิแท่ง และแสดงตามจำนวนทั้งหมดตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show different parties of people along with the number of people in each party Plot them as bar chart, and show by the the total number in desc.It is not neccessary to use all the tables.
debate: Debate_ID [ int] Date [ text] Venue [ text] Num_of_Audience [ int]
SELECT Party, COUNT(*) FROM people GROUP BY Party ORDER BY COUNT(*) DESC
null
general
ประเทศใดมีคะแนน 69-66=135?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Country has a Score of 69-66=135?It is not neccessary to use all the tables.
table_name_76: country [ VARCHAR] score [ VARCHAR]
SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135
null
general
ระบุจำนวนคนไข้ที่มีรหัสสินค้า 51218 ไม่จำเป็นต้องใช้ตารางทั้งหมด
give the number of patients whose item id is 51218.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 lab.itemid = "51218"
null
general
แจ้งจำนวนผู้ป่วยด้วยหัตถการ icd9 รหัส 9465 ที่เสียชีวิตก่อนหรือ พ.ศ. 2164 ไม่จำเป็นที่จะต้องใช้ทุกตาราง
Provide me the number of patients with procedure icd9 code 9465 who died in or before 2164.It is not neccessary to use all the tables.
procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2164.0" AND procedures.icd9_code = "9465"
null
general
ค้นหาบุคคลจากบริษัทของคุณ กรอกชื่อบริษัทเพื่อค้นหาบุคคลที่ทำงานที่บริษัทนั้น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find people from your company. Enter a company name to search for people working at that companyIt is not neccessary to use all the tables.
TagSynonyms: Id [ number] SourceTagName [ text] TargetTagName [ text] CreationDate [ time] OwnerUserId [ number] AutoRenameCount [ number] LastAutoRename [ time] Score [ number] ApprovedByUserId [ number] ApprovalDate [ time]
SELECT * FROM Users WHERE Id = '##UserId##'
null
general
ทีม Hydra จากบรองซ์ รัฐนิวยอร์ก ระดมทุนได้เท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How much did the Hydra team from Bronx, New York raise?It is not neccessary to use all the tables.
table_name_35: raised [ VARCHAR] original_team [ VARCHAR] hometown [ VARCHAR]
SELECT raised FROM table_name_35 WHERE original_team = "hydra" AND hometown = "bronx, new york"
null
general
ตารางที่เล็กที่สุดสำหรับ Prince bira คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the smallest grid for Prince bira?It is not neccessary to use all the tables.
table_78520: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT MIN("Grid") FROM table_78520 WHERE "Driver" = 'prince bira'
null
general
RAvg คืออะไรเมื่อ ratt เป็น 3? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the RAvg when the ratt is 3?It is not neccessary to use all the tables.
table_40273: "Year" [ text] "Team" [ text] "Comp" [ text] "Long" [ text] "Rate" [ text] "RAtt" [ text] "RYds" [ text] "RAvg" [ text] "Lost" [ text]
SELECT "RAvg" FROM table_40273 WHERE "RAtt" = '3'
null
general
รหัสอาหาร S/ ย่อมาจากอะไรไม่จำเป็นต้องใช้ทุกโต๊ะ
what does the meal code S/ stand forIt is not neccessary to use all the tables.
airport: airport_code [ varchar] airport_name [ text] airport_location [ text] state_code [ varchar] country_name [ varchar] time_zone_code [ varchar] minimum_connect_time [ int]
SELECT DISTINCT compartment, meal_code, meal_description, meal_number FROM food_service WHERE meal_code = 'S/'
null
general
ทัวร์นาเมนต์ปี 2001 กับ 2005 4r คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the 2001 tournament with a 2005 4r?It is not neccessary to use all the tables.
table_43251: "Tournament" [ text] "2000" [ text] "2001" [ text] "2002" [ text] "2003" [ text] "2004" [ text] "2005" [ text] "2006" [ text] "2007" [ text] "2008" [ text] "2009" [ text] "2010" [ text] "2011" [ text] "2012" [ text]
SELECT "2001" FROM table_43251 WHERE "2005" = '4r'
null
general
กลับแผนภูมิแท่งแสดงจำนวนร้านค้าในแต่ละสถานที่ และฉันต้องการแสดงจากมากไปน้อยตามแกน y ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart showing how many shops in each location, and I want to display in descending by the y-axis.It is not neccessary to use all the tables.
shop: Shop_ID [ int] Shop_Name [ text] Location [ text] Open_Date [ text] Open_Year [ int]
SELECT Location, COUNT(Location) FROM shop GROUP BY Location ORDER BY COUNT(Location) DESC
null
general
BBC One ยอดเข้าชมรวมมากกว่า 11616996.338225884 เป็นวันที่เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date was BBC One total viewing greater then 11616996.338225884?It is not neccessary to use all the tables.
table_16042: "Year" [ real]
SELECT "Broadcast date" FROM table_16042 WHERE "BBC One total viewing" > '11616996.338225884'
null
general
รายชื่อหลักสูตรที่ตรงตามข้อกำหนดอื่นๆ ที่อยู่ใน Intercultural Drama ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the courses that satisfy the Other requirement that are on Intercultural Drama .It is not neccessary to use all the tables.
area: course_id [ int] area [ varchar]
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Intercultural Drama%' OR course.description LIKE '%Intercultural Drama%' OR course.name LIKE '%Intercultural Drama%') AND program_course.category LIKE '%Other%'
null
general
หลังจากโอลิมปิก 2008 เธอวิ่งไปกี่การแข่งขัน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many races did she run after the 2008 olympics ?It is not neccessary to use all the tables.
table_204_364: id [ number] "year" [ number] "competition" [ text] "venue" [ text] "position" [ text] "event" [ text] "notes" [ text]
SELECT COUNT("competition") FROM table_204_364 WHERE "year" > 2008
null
general
มีกี่ประเทศไม่ได้รับเหรียญทองแดง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many nations earned no bronze medals ?It is not neccessary to use all the tables.
table_203_724: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number]
SELECT COUNT("nation") FROM table_203_724 WHERE "bronze" = 0
null
general
จำนวนปัสสาวะที่ออกมาเหนือหัวหน่าวที่ผู้ป่วย 028-34632 ได้รับในการเข้ารับการตรวจไอซียูครั้งแรกเป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the total of the suprapubic urine output that patient 028-34632 had on the first icu visit?It is not neccessary to use all the tables.
lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time]
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-34632') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1) AND intakeoutput.celllabel = 'suprapubic urine' AND intakeoutput.cellpath LIKE '%output%'
null
general
ระบุจำนวนผู้ป่วยที่ประเภทรับเข้าเป็นวิชาเลือกและชื่อยาเป็นโคซินโทรปิน โดยไม่จำเป็นต้องใช้ทุกตาราง
provide the number of patients whose admission type is elective and drug name is cosyntropin?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND prescriptions.drug = "Cosyntropin"
null
general
เมื่อ 0-1 เป็นซีรีส์ที่มีจำนวนแอสซิสต์สูงสุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When 0-1 is the series who has the highest amount of assists?It is not neccessary to use all the tables.
table_73461: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Series" [ text]
SELECT "High assists" FROM table_73461 WHERE "Series" = '0-1'
null
general
ระบุจำนวนผู้ป่วยหญิงที่ได้รับการทดสอบอัตราการตกตะกอนในห้องปฏิบัติการ ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of female patients who had sedimentation rate lab test done.It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "Sedimentation Rate"
null
general
ในบรรดาคนไข้ที่เคยเปิดลิ้นหัวใจเอออร์ติกและเปลี่ยนลิ้นหัวใจเอออร์ติคด้วยการปลูกถ่ายเนื้อเยื่อแบบเปิดและแบบอื่นๆ มีกี่คนที่ยังไม่ได้แต่งงาน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
among patients who had open and other replacement of aortic valve with tissue graft, how many of them were unmarried?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft"
null
general
อะไรคือสถิติในเกมที่มีผู้เข้าร่วม 21,191 คน? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the Record at the game that had an attendance of 21,191?It is not neccessary to use all the tables.
table_54398: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Attendance" [ text] "Record" [ text]
SELECT "Record" FROM table_54398 WHERE "Attendance" = '21,191'
null
general
มีเที่ยวบินใดๆ หลังเวลา 21.00 น. จากซานฟรานซิสโกไปวอชิงตันหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
are there any flights after 2100 from SAN FRANCISCO to WASHINGTONIt is not neccessary to use all the tables.
flight: aircraft_code_sequence [ text] airline_code [ varchar] airline_flight [ text] arrival_time [ int] connections [ int] departure_time [ int] dual_carrier [ text] flight_days [ text] flight_id [ int] flight_number [ int] from_airport [ varchar] meal_code [ text] stops [ int] time_elapsed [ int] to_airport [ varchar]
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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND flight.departure_time > 2100 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
สถิติของเกมวันที่ 15 พฤศจิกายน พบกับทีมเยือน ชิคาโก้ แบล็กฮอกส์ ด้วยสกอร์ 1 3 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมดเลย
What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1 3?It is not neccessary to use all the tables.
table_8133: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text]
SELECT "Record" FROM table_8133 WHERE "Score" = '1–3' AND "Visitor" = 'chicago black hawks' AND "Date" = 'november 15'
null
general
วันเกิดของผู้ประกอบการที่มีนักลงทุน 'Simon Woodroffe' หรือ 'Peter Jones' คือวันที่ใด และนับด้วยแผนภูมิเส้นและแสดงตามแกน x จากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the dates of birth of entrepreneurs with investor 'Simon Woodroffe' or 'Peter Jones', and count them by a line chart, and show by the x-axis from high to low.It is not neccessary to use all the tables.
entrepreneur: Entrepreneur_ID [ int] People_ID [ int] Company [ text] Money_Requested [ real] Investor [ text]
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" ORDER BY Date_of_Birth DESC
null
general
ตั้งชื่อรอบน้อยที่สุดสำหรับอุบัติเหตุและคาดมากกว่า 13 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the least Laps for accident and gird more than 13It is not neccessary to use all the tables.
table_name_41: laps [ INTEGER] time_retired [ VARCHAR] grid [ VARCHAR]
SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "accident" AND grid > 13
null
general
ถูกถามโดยผู้ใช้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
s asked by a user.It is not neccessary to use all the tables.
PostHistoryTypes: Id [ number] Name [ text]
SELECT COUNT(Posts.Id) AS NoOfQueAsked, Users.Id FROM Posts, Users WHERE Users.Id = OwnerUserId AND Posts.PostTypeId = 1 GROUP BY Users.Id ORDER BY COUNT(Posts.Id) DESC
null
general
อะไรคือสิ่งที่ในปี 2550 มีการแข่งขันกีฬาโอลิมปิกปี 2547?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is in 2007 has 2004 olympic games?It is not neccessary to use all the tables.
table_6270: "Tournament" [ text] "1999" [ text] "2000" [ text] "2001" [ text] "2002" [ text] "2003" [ text] "2004" [ text] "2005" [ text] "2006" [ text] "2007" [ text] "2008" [ text] "2009" [ text]
SELECT "2007" FROM table_6270 WHERE "2004" = 'olympic games'
null
general
การเข้าพักครั้งแรกของผู้ป่วย 73423 อยู่ในห้องผู้ป่วยหนักนานแค่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how long patient 73423's first stay was in the intensive care unit?It is not neccessary to use all the tables.
microbiologyevents: row_id [ number] subject_id [ number] hadm_id [ number] charttime [ time] spec_type_desc [ text] org_name [ text]
SELECT STRFTIME('%j', icustays.outtime) - STRFTIME('%j', icustays.intime) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73423) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1
null
general
เพลงที่มีความยาวเกิน 4 นาที มีจำนวนเพลงเท่าใด ไม่จำเป็นต้องใช้ทุกตาราง
what is the number of songs with a length over 4 minutes ?It is not neccessary to use all the tables.
table_204_101: id [ number] "#" [ number] "title" [ text] "producer(s)" [ text] "sample(s)" [ text] "length" [ text]
SELECT COUNT("title") FROM table_204_101 WHERE "length" >= 4
null
general
ตัวเลือกต่ำสุด # คืออะไร เมื่อวิทยาลัยคือ 'Jackson State'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest Pick #, when College is 'Jackson State'?It is not neccessary to use all the tables.
table_name_98: pick__number [ INTEGER] college [ VARCHAR]
SELECT MIN(pick__number) FROM table_name_98 WHERE college = "jackson state"
null
general
จีลองเล่นเป็นทีมเหย้าเมื่อกีลองเล่นเป็นทีมเหย้าคะแนนของฝ่ายตรงข้ามเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the opponents score when Geelong played as home team?It is not neccessary to use all the tables.
table_53647: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Away team score" FROM table_53647 WHERE "Home team" = 'geelong'
null
general
ตั้งชื่อทีมว่าวันที่ 17 พฤศจิกายน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the team where the date is november 17It is not neccessary to use all the tables.
table_17355716_5: team [ VARCHAR] date [ VARCHAR]
SELECT team FROM table_17355716_5 WHERE date = "November 17"
null
general
แสดงภาพแผนภูมิวงกลมว่ามีกี่ชั้นเรียนในแต่ละแผนก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize a pie chart with how many classes are held in each department?It is not neccessary to use all the tables.
CLASS: CLASS_CODE [ varchar(5)] CRS_CODE [ varchar(10)] CLASS_SECTION [ varchar(2)] CLASS_TIME [ varchar(20)] CLASS_ROOM [ varchar(8)] PROF_NUM [ int]
SELECT DEPT_CODE, COUNT(*) FROM CLASS AS T1 JOIN COURSE AS T2 ON T1.CRS_CODE = T2.CRS_CODE GROUP BY DEPT_CODE
null
general
Pete Conrad อยู่ในภารกิจ Apollo 12 แต่ยังเข้าร่วม Lunar EVA วันที่ใดบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates?It is not neccessary to use all the tables.
table_name_27: lunar_eva_dates [ VARCHAR] mission [ VARCHAR] name [ VARCHAR]
SELECT lunar_eva_dates FROM table_name_27 WHERE mission = "apollo 12" AND name = "pete conrad"
null
general
จำนวนการเข้าถึงโดยเฉลี่ยของเอกสารที่มีโครงสร้างร่วมน้อยที่สุดคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average access count of documents that have the least common structure?It is not neccessary to use all the tables.
document_structures: document_structure_code [ text] parent_document_structure_code [ text] document_structure_description [ text]
SELECT AVG(access_count) FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) LIMIT 1
null
general
เครื่องมือตรวจจับการไม่รู้หนังสือที่ใช้งานได้ โพสต์ทางประวัติศาสตร์ที่มีการโหวตมากที่สุด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Functional illiteracy detector, most upvoted historical posts.It is not neccessary to use all the tables.
PostTags: PostId [ number] TagId [ number]
SELECT Id AS "post_link", * FROM Posts WHERE PostTypeId IN (2, 3) AND (Body LIKE '% i % i %' OR (NOT Body LIKE '%.%' AND NOT Body LIKE '%?%' AND NOT Body LIKE '%!%') OR Body LIKE '% u %') ORDER BY Score DESC, LastActivityDate DESC LIMIT 100
null
general
นับจำนวนผู้ป่วยที่รักษาในโรงพยาบาลเกิน 17 วัน และวินิจฉัยรหัส icd9 เป็น v1006 หรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients whose days of hospital stay is greater than 17 and diagnoses icd9 code is v1006?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 demographic.days_stay > "17" AND diagnoses.icd9_code = "V1006"
null
general
เวลาต่อรอบที่เร็วที่สุดในการแข่งขัน British Grand Prix โดยมี Mercedes เป็นตัวสร้างคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the fastest lap time at the British Grand Prix with Mercedes as the constructor?It is not neccessary to use all the tables.
table_name_2: fastest_lap [ VARCHAR] constructor [ VARCHAR] race [ VARCHAR]
SELECT fastest_lap FROM table_name_2 WHERE constructor = "mercedes" AND race = "british grand prix"
null
general
มีจำนวนวิคเก็ตเท่าไรเมื่อค่าเฉลี่ยอยู่ที่ 22.66? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What number of wickets were there when the average was 22.66?It is not neccessary to use all the tables.
table_20894: "Player" [ text] "Team" [ text] "Matches" [ real] "Wickets" [ real] "Average" [ text]
SELECT MAX("Wickets") FROM table_20894 WHERE "Average" = '22.66'
null
general
แท็ก StackOverflow ที่ได้รับความนิยมมากที่สุดในเดือนกันยายน 2018 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Most popular StackOverflow tags in Sept 2018.It is not neccessary to use all the tables.
SuggestedEditVotes: Id [ number] SuggestedEditId [ number] UserId [ number] VoteTypeId [ number] CreationDate [ time] TargetUserId [ number] TargetRepChange [ number]
SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts.CreationDate < '2018-10-01' AND Posts.CreationDate > '2018-09-01' GROUP BY TagName ORDER BY 1 DESC
null
general
ทีมจีลองลงเล่นเป็นทีมเหย้าวันที่เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date did the Geelong team play on as a home team?It is not neccessary to use all the tables.
table_name_12: date [ VARCHAR] home_team [ VARCHAR]
SELECT date FROM table_name_12 WHERE home_team = "geelong"
null
general
วันที่คืออะไร เมื่อ Meet เป็น 'การแข่งขันชิงแชมป์โลก' เมื่อสัญชาติเป็น 'สหรัฐอเมริกา' และเมื่อเวลาเป็น '146.68' ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Date, when Meet is 'World Championships', when Nationality is 'United States', and when Time is '146.68'?It is not neccessary to use all the tables.
table_60954: "Event" [ text] "Time" [ text] "Nationality" [ text] "Date" [ text] "Meet" [ text] "Location" [ text]
SELECT "Date" FROM table_60954 WHERE "Meet" = 'world championships' AND "Nationality" = 'united states' AND "Time" = '1:46.68'
null
general
ตัวเลขสูงสุดเมื่อมีความยาวมากกว่า 50 หลาและน้อยกว่า 762 หลาคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest number when there were more than 50 long and less than 762 yards?It is not neccessary to use all the tables.
table_34800: "Player" [ text] "Number" [ real] "Yards" [ real] "Average" [ real] "Long" [ real] "Touchdowns" [ real]
SELECT MAX("Number") FROM table_34800 WHERE "Long" > '50' AND "Yards" < '762'
null
general
คนไข้ที่มีประกันเอกชนและเกิดก่อน พ.ศ. 2430 มีกี่ราย ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients are with private insurance and born before 1887?It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.dob_year < "1887"
null
general
มีกี่ตำแหน่งที่มีการต่อต้านน้อยกว่า 27 และมีจำนวนการเล่นน้อยกว่า 8? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
How many positions have an against of less than 27, and a played number of less than 8?It is not neccessary to use all the tables.
table_name_59: position [ VARCHAR] against [ VARCHAR] played [ VARCHAR]
SELECT COUNT(position) FROM table_name_59 WHERE against < 27 AND played < 8
null
general
ประเทศใดมีอัตราชัยชนะ 6 จังหวะ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What countries have a margin of victory at 6 strokes?It is not neccessary to use all the tables.
table_72663: "Year" [ real] "Dates" [ text] "Champion" [ text] "Country" [ text] "Score" [ text]
SELECT "Country" FROM table_72663 WHERE "Margin of victory" = '6 strokes'
null
general
ผู้ใช้ตัวแทนต่ำมีการใช้งานเป็นเวลา > 5 ปี ไม่จำเป็นต้องใช้ตารางทั้งหมด
Low rep users active for > 5 years.It is not neccessary to use all the tables.
ReviewTaskStates: Id [ number] Name [ text] Description [ text]
SELECT * FROM Users WHERE CreationDate < DATEADD(yy, -5, GETDATE()) AND Reputation < @reputation
null
general
รุ่นซูเปอร์แบนตัมเวตวันที่ 9 พฤศจิกายนมีชื่อว่าอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the titles for the November 9 Super Bantamweight division?It is not neccessary to use all the tables.
table_28150: "Date" [ text] "Location" [ text] "Fight" [ text] "Division" [ text] "Titles" [ text] "Rematch" [ text] "TV" [ text] "Promoter" [ text] "Notes" [ text]
SELECT "Titles" FROM table_28150 WHERE "Date" = 'November 9' AND "Division" = 'Super Bantamweight'
null
general
เขตของ carl vinson คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the district for carl vinson?It is not neccessary to use all the tables.
table_1341930_11: district [ VARCHAR] incumbent [ VARCHAR]
SELECT district FROM table_1341930_11 WHERE incumbent = "Carl Vinson"
null
general
ค้นหาชื่อบริษัทที่มีรายได้มากกว่ารายได้เฉลี่ยของบริษัททั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the name of companies whose revenue is greater than the average revenue of all companies.It is not neccessary to use all the tables.
manufacturers: name [ VARCHAR] revenue [ INTEGER]
SELECT name FROM manufacturers WHERE revenue > (SELECT AVG(revenue) FROM manufacturers)
null
general
ถ้าการจัดประเภทภูเขาคือ Mathias Frank และการจัดประเภททั่วไปคือ Fabian Cancellara การจัดประเภทคะแนนคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?It is not neccessary to use all the tables.
table_3800: "Stage" [ real] "Winner" [ text]
SELECT "Points classification" FROM table_3800 WHERE "General classification" = 'Fabian Cancellara' AND "Mountains Classification" = 'Mathias Frank'
null
general