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
ผ่านไปกี่ชั่วโมงแล้วนับตั้งแต่ผู้ป่วย 27172 ได้รับยาฟูโรเซไมด์ตามใบสั่งแพทย์ครั้งแรกระหว่างการเยี่ยมโรงพยาบาลในปัจจุบัน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what number of hours has it been since patient 27172 received his first prescription of furosemide during their current hospital visit?It is not neccessary to use all the tables.
outputevents: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] charttime [ time] itemid [ number] value [ number]
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27172 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'furosemide' ORDER BY prescriptions.startdate LIMIT 1
null
general
อายุเฉลี่ยสำหรับตำแหน่งงานต่างๆ คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is average age for different job title?It is not neccessary to use all the tables.
person: name [ text] age [ number] city [ text] gender [ text] job [ text]
SELECT AVG(age), job FROM person GROUP BY job
null
general
คะแนน FHT โดยรวมของ Denis Kornilov คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the overall FHT points for Denis Kornilov?It is not neccessary to use all the tables.
table_36687: "Rank" [ real] "Name" [ text] "Nationality" [ text] "Points" [ real]
SELECT "Overall FHT points" FROM table_36687 WHERE "Name" = 'denis kornilov'
null
general
ปีการเลือกตั้งระหว่างสมาชิกคนแรกและคนที่สองในรายการแตกต่างกันอย่างไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the difference in election year between the first and second members on the list ?It is not neccessary to use all the tables.
table_204_54: id [ number] "duration" [ text]
SELECT (SELECT "election year" FROM table_204_54 WHERE id = 2) - (SELECT "election year" FROM table_204_54 WHERE id = 1)
null
general
มีกี่แมตช์ที่จบลงด้วยผลเสมอกัน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many matches ended in an aggregate tie record ?It is not neccessary to use all the tables.
table_203_350: id [ number] "agg." [ text]
SELECT COUNT(*) FROM table_203_350 WHERE "agg." = "agg."
null
general
คะแนนเมื่อผู้ไม่ฝักใฝ่ฝ่ายใดเป็นผู้มาเยือน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the score when the mavericks were visitors?It is not neccessary to use all the tables.
table_name_23: score [ VARCHAR] visitor [ VARCHAR]
SELECT score FROM table_name_23 WHERE visitor = "mavericks"
null
general
ตั้งชื่อความยาวลำกล้องสำหรับสายตาด้านหลัง a2 สำหรับการชดเชยจากโรงงานไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the barrel length for rear sight a2 for factory compensatorIt is not neccessary to use all the tables.
table_12834315_4: barrel_length [ VARCHAR] rear_sight [ VARCHAR] muzzle_device [ VARCHAR]
SELECT barrel_length FROM table_12834315_4 WHERE rear_sight = "A2" AND muzzle_device = "Factory compensator"
null
general
รางวัลคืออะไรเมื่อภูมิคุ้มกันไปมาร์ตินและจบอันดับที่ 13 โหวตออกจากสมาชิกคณะลูกขุนที่ 8 วันที่ 46?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?It is not neccessary to use all the tables.
table_25016824_2: reward [ VARCHAR] immunity [ VARCHAR] finish [ VARCHAR]
SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46"
null
general
คะแนนสัมภาษณ์เมื่อค่าเฉลี่ยเบื้องต้นอยู่ที่ 8.529 (6) เท่าไหร่ ไม่จำเป็นต้องใช้ทุกตาราง
what is the interview score when the preliminary average is 8.529 (6)?It is not neccessary to use all the tables.
table_7812: "State" [ text] "Interview" [ text] "Swimsuit" [ text]
SELECT "Interview" FROM table_7812 WHERE "Preliminary Average" = '8.529 (6)'
null
general
เครื่องบินลำเล็กที่สุดที่บินจากพิตต์สเบิร์กไปบัลติมอร์ในวันที่ 8 โมงเช้าคือเครื่องบินลำใด 16ไม่จำเป็นต้องใช้ตารางทั้งหมด
what 's the smallest plane that flies from PITTSBURGH to BALTIMORE on eight 16It is not neccessary to use all the tables.
airline: airline_code [ varchar] airline_name [ text] note [ text]
SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, equipment_sequence, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 16 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND aircraft.capacity = (SELECT MIN(AIRCRAFTalias1.capacity) FROM aircraft AS AIRCRAFTalias1, airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, date_day AS DATE_DAYalias1, days AS DAYSalias1, equipment_sequence AS EQUIPMENT_SEQUENCEalias1, flight AS FLIGHTalias1 WHERE (CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BALTIMORE' AND DATE_DAYalias1.day_number = 16 AND DATE_DAYalias1.month_number = 8 AND DATE_DAYalias1.year = 1991 AND DAYSalias1.day_name = DATE_DAYalias1.day_name AND FLIGHTalias1.flight_days = DAYSalias1.days_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'PITTSBURGH' AND EQUIPMENT_SEQUENCEalias1.aircraft_code = AIRCRAFTalias1.aircraft_code AND FLIGHTalias1.aircraft_code_sequence = EQUIPMENT_SEQUENCEalias1.aircraft_code_sequence AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND equipment_sequence.aircraft_code = aircraft.aircraft_code AND flight.aircraft_code_sequence = equipment_sequence.aircraft_code_sequence AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
รอบสูงสุดที่มีผู้ดราฟต์จากมหาวิทยาลัยแห่งรัฐวอชิงตันคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest round that has a draftee from Washington State University?It is not neccessary to use all the tables.
table_70940: "Round" [ real] "Name" [ text] "Position" [ text] "School" [ text] "Signed" [ text]
SELECT MAX("Round") FROM table_70940 WHERE "School" = 'washington state university'
null
general
วันที่ปกของชื่อเรื่อง Spacehikers (ตอนที่ 2) คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Cover Date of the Story Title Spacehikers (Part 2)?It is not neccessary to use all the tables.
table_name_59: cover_date [ VARCHAR] story_title [ VARCHAR]
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)"
null
general
คะแนนสูงสุดเมื่อครึ่งแรกน้อยกว่า 289 และอันดับน้อยกว่า 61 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest score when the 1st half is smaller than 289 and rank smaller than 61?It is not neccessary to use all the tables.
table_66024: "Rank" [ real] "Archer" [ text] "Score" [ real]
SELECT MAX("Score") FROM table_66024 WHERE "1st Half" < '289' AND "Rank" < '61'
null
general
ประเทศใดต่อไปหลังจากปอร์โตในทีม 2ไม่จำเป็นต้องใช้ตารางทั้งหมด
what nation is next after porto on team 2It is not neccessary to use all the tables.
table_204_510: id [ number] "agg." [ text]
SELECT "team 2" FROM table_204_510 WHERE id = (SELECT id FROM table_204_510 WHERE "team 2" = 'porto') + 1
null
general
ผลรวมของประตูที่ทำได้ในการเล่นลีกปกติของ Mustoe ซึ่งเขายิงได้ 0 ประตูในลีกคัพเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of goals scored in regular league play by Mustoe where he scored 0 goals in the League Cup?It is not neccessary to use all the tables.
table_53428: "Name" [ text] "League" [ real] "Total" [ real]
SELECT SUM("League") FROM table_53428 WHERE "Name" = 'mustoe' AND "League Cup" < '0'
null
general
ให้จำนวนผู้ป่วยโรคหลักมีเลือดออกในทางเดินอาหาร และรหัสขั้นตอน icd9 คือ 14 ไม่จำเป็นต้องใช้ตารางทั้งหมด
give the number of patients whose primary disease is gastrointestinal bleed and procedure icd9 code is 14It 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.diagnosis = "GASTROINTESTINAL BLEED" AND procedures.icd9_code = "14"
null
general
ปีเฉลี่ยสำหรับการเสร็จสิ้นของการสูญเสียปี 2544 และเปอร์เซ็นต์อยู่ที่มากกว่า 0.716 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average Year for the Finish of lost 2001 alcs and the Percentage is over 0.716?It is not neccessary to use all the tables.
table_51640: "Year" [ real] "Franchise" [ text] "League" [ text] "Percentage" [ real] "Finish" [ text]
SELECT AVG("Year") FROM table_51640 WHERE "Finish" = 'lost 2001 alcs' AND "Percentage" > '0.716'
null
general
ผลรวมเหรียญทองของชาติทั้งหมดที่มีมากกว่า 19 เหรียญเงินเป็นเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the sum of the gold medals of the total nation, which has more than 19 silver medals?It is not neccessary to use all the tables.
table_42512: "Rank" [ text] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real]
SELECT SUM("Gold") FROM table_42512 WHERE "Nation" = 'total' AND "Silver" > '19'
null
general
ผลรวมที่ใหญ่ที่สุดสำหรับทีมที่มี 1 เหรียญทองแดง 0 เหรียญทอง และอันดับที่ 7 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the largest total for a team with 1 bronze, 0 gold medals and ranking of 7?It is not neccessary to use all the tables.
table_name_87: total [ INTEGER] gold [ VARCHAR] bronze [ VARCHAR] rank [ VARCHAR]
SELECT MAX(total) FROM table_name_87 WHERE bronze = 1 AND rank = "7" AND gold > 0
null
general
มีรหัสภาษีกี่รหัสที่มีราคาขายปลีก bts ที่ 2.553p/นาที?ไม่จำเป็นต้องใช้ทุกตาราง
How many tariff codes have a bts retail price of 2.553p/min?It is not neccessary to use all the tables.
table_10408617_5: tariff_code [ VARCHAR] bts_retail_price__regulated_ [ VARCHAR]
SELECT COUNT(tariff_code) FROM table_10408617_5 WHERE bts_retail_price__regulated_ = "2.553p/min"
null
general
แสดงราคาของผลิตภัณฑ์แต่ละรายการที่จัดหาโดยซัพพลายเออร์ id 3 ในแผนภูมิแท่ง และแสดงชื่อตามลำดับ asc ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the price of each product supplied by supplier id 3 in a bar chart, and show names in asc order.It is not neccessary to use all the tables.
Department_Store_Chain: dept_store_chain_id [ INTEGER] dept_store_chain_name [ VARCHAR(80)]
SELECT product_name, product_price FROM Product_Suppliers AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 3 ORDER BY product_name
null
general
การแข่งขันที่โรมจะจบลงในปี 1999 เมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the 1999 finish for the tournament in Rome?It is not neccessary to use all the tables.
table_name_24: tournament [ VARCHAR]
SELECT 1999 FROM table_name_24 WHERE tournament = "rome"
null
general
ค่ารักษาพยาบาลโดยเฉลี่ยคือเท่าไร หากมีการเลิกเสพฝิ่นตั้งแต่ปี 2105? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's the average hospital cost if there is opioid dependence-remiss since 2105?It is not neccessary to use all the tables.
admissions: row_id [ number] subject_id [ number] hadm_id [ number] admittime [ time] dischtime [ time] admission_type [ text] admission_location [ text] discharge_location [ text] insurance [ text] language [ text] marital_status [ text] ethnicity [ text] age [ number]
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'opioid dependence-remiss')) AND STRFTIME('%y', cost.chargetime) >= '2105' GROUP BY cost.hadm_id) AS t1
null
general
ความแปลกใหม่ของ Tylocephale คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the novelty of Tylocephale?It is not neccessary to use all the tables.
table_name_14: novelty [ VARCHAR] name [ VARCHAR]
SELECT novelty FROM table_name_14 WHERE name = "tylocephale"
null
general
เขาเล่นในสถานที่ใดก่อนปี 2008 และจบอันดับที่ 14 (q)?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What venue did he play in before 2008 and finished 14th (q)?It is not neccessary to use all the tables.
table_70921: "Year" [ real] "Competition" [ text] "Venue" [ text] "Position" [ text] "Notes" [ text]
SELECT "Venue" FROM table_70921 WHERE "Year" < '2008' AND "Position" = '14th (q)'
null
general
Label คืออะไร เมื่อ Date เป็น 1987 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Label, when Date is 1987?It is not neccessary to use all the tables.
table_47951: "Date" [ text] "Region" [ text] "Label" [ text] "Catalogue" [ text] "Format" [ text]
SELECT "Label" FROM table_47951 WHERE "Date" = '1987'
null
general
ทีมไหนมี Steinar Kaldal กองหลัง/กองหน้า?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What team has Steinar Kaldal, a guard / forward?It is not neccessary to use all the tables.
table_name_57: team [ VARCHAR] position [ VARCHAR] player [ VARCHAR]
SELECT team FROM table_name_57 WHERE position = "guard / forward" AND player = "steinar kaldal"
null
general
อัตราการปล่อยก๊าซเรือนกระจกในมิดแอตแลนติกตอนใต้สำหรับรถยนต์ที่ได้รับอัตรา 300 กรัม/ไมล์ (186 กรัม/กม.) ในมิดเวสต์เป็นเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?It is not neccessary to use all the tables.
table_16105186_2: mid_atlantic_south__washington [ VARCHAR] _dc_ [ VARCHAR] midwest__des_moines_ [ VARCHAR]
SELECT mid_atlantic_south__washington, _dc_ FROM table_16105186_2 WHERE midwest__des_moines_ = "300 g/mi (186 g/km)"
null
general
คุณมีรายชื่อครูสำหรับหลักสูตรปฏิสัมพันธ์ระหว่างมนุษย์กับคอมพิวเตอร์หรือไม่ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Do you have a list of teachers for the human computer interaction courses ?It is not neccessary to use all the tables.
course_tags_count: course_id [ int] clear_grading [ int] pop_quiz [ int] group_projects [ int] inspirational [ int] long_lectures [ int] extra_credit [ int] few_tests [ int] good_feedback [ int] tough_tests [ int] heavy_papers [ int] cares_for_students [ int] heavy_assignments [ int] respected [ int] participation [ int] heavy_reading [ int] tough_grader [ int] hilarious [ int] would_take_again [ int] good_lecture [ int] no_skip [ int]
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN area ON course_offering.course_id = area.course_id WHERE area.area LIKE '%human computer interaction%'
null
general
อะไรคือผลลัพธ์ของการเป็นหุ้นส่วนของ Frederica Piedade?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the result for a partnering of Frederica Piedade?It is not neccessary to use all the tables.
table_22656187_9: result [ VARCHAR] partnering [ VARCHAR]
SELECT result FROM table_22656187_9 WHERE partnering = "Frederica Piedade"
null
general
ฉันต้องการผลลัพธ์สำหรับผู้ชนะ bc 3 ไม่จำเป็นต้องใช้ตารางทั้งหมด
I want the result for winner of bc 3It is not neccessary to use all the tables.
table_name_83: result [ VARCHAR] winner [ VARCHAR]
SELECT result FROM table_name_83 WHERE winner = "bc 3"
null
general
จำนวนเหรียญเงินโดยเฉลี่ยสำหรับประเทศที่มีเหรียญทองแดงมากกว่า 1 เหรียญคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average number of silvers for nations with over 1 bronze medal?It is not neccessary to use all the tables.
table_name_62: silver [ INTEGER] bronze [ INTEGER]
SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1
null
general
ประเทศที่มี 16 เหรียญเงินและน้อยกว่า 32 เหรียญทองแดงได้รับทั้งหมดกี่เหรียญ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many Total medals did the country with 16 Silver and less than 32 Bronze receive?It is not neccessary to use all the tables.
table_46365: "Rank" [ text] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real]
SELECT MIN("Total") FROM table_46365 WHERE "Silver" = '16' AND "Bronze" < '32'
null
general
สร้างแผนภูมิแท่งแสดงจำนวนเมืองทั่วเมืองไม่จำเป็นต้องใช้ตารางทั้งหมด
Create a bar chart showing the number of city across cityIt 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 CITY, COUNT(CITY) FROM locations GROUP BY CITY
null
general
ผู้ทำประตูของ Djurg rden คืออะไรที่มีคะแนน 2-1? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What are the Djurg rden scorers that have a Score of 2-1?It is not neccessary to use all the tables.
table_name_87: djurgården_scorers [ VARCHAR] score [ VARCHAR]
SELECT djurgården_scorers FROM table_name_87 WHERE score = "2-1"
null
general
รายชื่อมีกี่คน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many people are on the list ?It is not neccessary to use all the tables.
table_204_952: id [ number] "rank" [ number] "player" [ text] "county" [ text] "tally" [ text] "total" [ number] "opposition" [ text]
SELECT COUNT(DISTINCT "player") FROM table_204_952
null
general
จำนวนแอปทั้งหมดของสกอตแลนด์โดยเฉลี่ยคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the average number of scotland 's total apps ?It is not neccessary to use all the tables.
table_204_159: id [ number] "name" [ text] "nation" [ text] "position" [ text]
SELECT AVG("total apps") FROM table_204_159 WHERE "nation" = 'scotland'
null
general
ลงเล่นไปกี่นัดกับ fc igea virtus และ 1 ประตู?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
How many appearances with fc igea virtus and 1 goal?It is not neccessary to use all the tables.
table_11006: "Country" [ text] "Season" [ text] "Club" [ text] "League" [ text] "Appearances" [ real] "Goals" [ real]
SELECT AVG("Appearances") FROM table_11006 WHERE "Club" = 'fc igea virtus' AND "Goals" = '1'
null
general
การต่อสู้ที่กินเวลานานถึง 233 ครั้งอยู่ที่ไหน? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Where was the fight located that lasted a time of 233?It is not neccessary to use all the tables.
table_name_7: location [ VARCHAR] time [ VARCHAR]
SELECT location FROM table_name_7 WHERE time = "2:33"
null
general
ใครคือผู้สร้างชัยชนะในวงจรปาริโอลี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the winning constructor at the circuit of parioli?It is not neccessary to use all the tables.
table_79949: "Name" [ text] "Circuit" [ text] "Date" [ text] "Report" [ text]
SELECT "Winning constructor" FROM table_79949 WHERE "Circuit" = 'parioli'
null
general
ฟิทซ์รอยเล่นเป็นทีมเยือนมีผู้ชมเข้าร่วมเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the attendance when Fitzroy played as the away team?It is not neccessary to use all the tables.
table_54512: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT AVG("Crowd") FROM table_54512 WHERE "Away team" = 'fitzroy'
null
general
คลาสใดที่ตอบสนองข้อกำหนด MDE โดยใช้ความพยายามน้อยที่สุด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What class fulfills the MDE requirement with the least effort ?It is not neccessary to use all the tables.
ta: campus_job_id [ int] student_id [ int] location [ varchar]
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 WHERE PROGRAM_COURSEalias1.category LIKE '%MDE%')
null
general
ความถี่ 1485khz ทั้งหมดอยู่ที่ไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Where are all the 1485khz frequency located?It is not neccessary to use all the tables.
table_28794440_1: location [ VARCHAR] frequency [ VARCHAR]
SELECT location FROM table_28794440_1 WHERE frequency = "1485kHz"
null
general
มาริโอ วิลเลียมส์เลือกอะไรก่อนปี 2549?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What pick was mario williams before 2006?It is not neccessary to use all the tables.
table_75300: "Year" [ real] "Pick" [ real] "Position" [ text] "College" [ text]
SELECT SUM("Pick") FROM table_75300 WHERE "Player name" = 'mario williams' AND "Year" < '2006'
null
general
บอกฉันว่ารุ่นต่ำสุดสำหรับผู้ชนะคลังแสงและอันดับสามของเซลติกไม่จำเป็นต้องใช้ตารางทั้งหมด
Tell me the lowest edition for winner of arsenal and third of celticIt is not neccessary to use all the tables.
table_10515: "Edition" [ real] "Year" [ real] "Winner" [ text] "Runner-up" [ text] "Third" [ text] "Fourth" [ text]
SELECT MIN("Edition") FROM table_10515 WHERE "Winner" = 'arsenal' AND "Third" = 'celtic'
null
general
ตั้งชื่อเกมที่น้อยที่สุดสำหรับ l 109 116 (ot)ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the least game for l 109 116 (ot)It is not neccessary to use all the tables.
table_27700375_11: game [ INTEGER] score [ VARCHAR]
SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109–116 (OT)"
null
general
มีครู FTE กี่คนเมื่อปันส่วนนักเรียนครูคือ 19 ปี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many FTE teachers are there when the studentteacher ration is 19?It is not neccessary to use all the tables.
table_1414743_1: fte_teachers [ VARCHAR] pupil_teacher_ratio [ VARCHAR]
SELECT fte_teachers FROM table_1414743_1 WHERE pupil_teacher_ratio = "19"
null
general
ค่าแรกของอัตราการเต้นของหัวใจที่ผู้ป่วย 28443 มีในเดือน/29 นี้คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the first value of heart rate patient 28443 had on this month/29.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 chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', chartevents.charttime) = '29' ORDER BY chartevents.charttime LIMIT 1
null
general
เครือข่ายใดที่ออกอากาศ Star King ก่อนปี 2011 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the network that aired Star King prior to 2011?It is not neccessary to use all the tables.
table_name_70: network [ VARCHAR] year [ VARCHAR] title [ VARCHAR]
SELECT network FROM table_name_70 WHERE year < 2011 AND title = "star king"
null
general
ผลเกมสกอร์ 3-2 เป็นยังไงบ้าง ไม่จำเป็นต้องใช้ทุกโต๊ะครับ
What was the result of the game with a score of 3-2?It is not neccessary to use all the tables.
table_40531: "Date" [ text] "Venue" [ text] "Score" [ text] "Result" [ text] "Competition" [ text]
SELECT "Result" FROM table_40531 WHERE "Score" = '3-2'
null
general
อะไรได้แต้มโบนัส 6 แต้มและเทียบกับ 410 แต้ม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was drawn for 6 bonus points and is against 410 points?It is not neccessary to use all the tables.
table_51026: "Club" [ text] "Played" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text]
SELECT "Drawn" FROM table_51026 WHERE "Bonus Points" = '6' AND "Points against" = '410'
null
general
ชาร์ล็อตต์อยู่ที่ไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the location for charlotte?It is not neccessary to use all the tables.
table_29836: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "Location Attendance" FROM table_29836 WHERE "Team" = 'Charlotte'
null
general
ให้ระบุจำนวนผู้ป่วยที่เสียชีวิตด้วยยาชื่อ pneumococcal vac polyvalent ไม่จำเป็นต้องใช้ทุกตาราง
Give the number of patients that died with a drug named pneumococcal vac polyvalent.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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "PNEUMOcoccal Vac Polyvalent"
null
general
Qual ใดที่อยู่ในอันดับ 27?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the Qual listed with a Rank of 27?It is not neccessary to use all the tables.
table_69561: "Year" [ text] "Start" [ text] "Qual" [ text] "Rank" [ text] "Finish" [ text] "Laps" [ real]
SELECT "Qual" FROM table_69561 WHERE "Rank" = '27'
null
general
หน้าต่างการถ่ายโอนของผู้เล่นที่ย้ายไป Panionios คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the transfer window of the player moving to Panionios?It is not neccessary to use all the tables.
table_name_97: transfer_window [ VARCHAR] moving_to [ VARCHAR]
SELECT transfer_window FROM table_name_97 WHERE moving_to = "panionios"
null
general
ตำแหน่งผู้เล่นประเภทใดที่ไม่ซ้ำกันในการทดลองมีอะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the unique types of player positions in the tryout?It is not neccessary to use all the tables.
tryout: pid [ number] cname [ text] ppos [ text] decision [ text]
SELECT COUNT(DISTINCT ppos) FROM tryout
null
general
เกมมีสถิติ 7-3 กี่โมง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What time was the game with a record of 7-3?It is not neccessary to use all the tables.
table_name_96: game_time [ VARCHAR] record [ VARCHAR]
SELECT game_time FROM table_name_96 WHERE record = "7-3"
null
general
หาจำนวนนักเรียนทั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the number of students in total.It is not neccessary to use all the tables.
student: stuid [ number] lname [ text] fname [ text] age [ number] sex [ text] major [ number] advisor [ number] city_code [ text]
SELECT COUNT(*) FROM student
null
general
หากตัวเลขที่มีการรีบาวด์สูงสามารถพบได้สำหรับเกมในวันที่ 13 มีนาคม มีค่าที่แตกต่างกันกี่ค่า ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many different values if the number is high rebounds can be found for the game on March 13?It is not neccessary to use all the tables.
table_840: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT COUNT("High rebounds") FROM table_840 WHERE "Date" = 'March 13'
null
general
ตั้งชื่อปาร์ตี้ให้ แจ็ค โทมัส บริงค์ลีย์ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Name the party for jack thomas brinkleyIt is not neccessary to use all the tables.
table_72379: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT "Party" FROM table_72379 WHERE "Incumbent" = 'Jack Thomas Brinkley'
null
general
ปีแรกสุดที่มีคะแนนน้อยกว่า 45 คะแนนสำหรับทีม Yamaha ในอันดับที่ 21 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the earliest year with less than 45 points for Yamaha team in 21st rank?It is not neccessary to use all the tables.
table_name_49: year [ INTEGER] rank [ VARCHAR] points [ VARCHAR] team [ VARCHAR]
SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st"
null
general
ทายผลคะแนนวันที่ 19 ธันวาคม ไม่จำเป็นต้องใช้ทุกตาราง
Name the score for december 19It is not neccessary to use all the tables.
table_23453931_5: score [ VARCHAR] date [ VARCHAR]
SELECT score FROM table_23453931_5 WHERE date = "December 19"
null
general
อันดับ 1 และมากกว่า 16 มีทองกี่ทอง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many gold are a rank 1 and larger than 16?It is not neccessary to use all the tables.
table_name_56: gold [ VARCHAR] rank [ VARCHAR] total [ VARCHAR]
SELECT COUNT(gold) FROM table_name_56 WHERE rank = "1" AND total > 16
null
general
หมายเลขเลือกของกองหลังคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the pick number of the defensive back?It is not neccessary to use all the tables.
table_12165135_1: overall_pick__number [ VARCHAR] position [ VARCHAR]
SELECT COUNT(overall_pick__number) FROM table_12165135_1 WHERE position = "Defensive Back"
null
general
คะแนน Winning 5 คือวันไหน (70-65-69-75=279)?ไม่จำเป็นต้องใช้ทุกตาราง
On which date was the Winning score 5 (70-65-69-75=279)?It is not neccessary to use all the tables.
table_34069: "Date" [ text] "Tournament" [ text] "Runner(s)-up" [ text]
SELECT "Date" FROM table_34069 WHERE "Winning score" = '–5 (70-65-69-75=279)'
null
general
คะแนนใดเข้าเส้นชัยที่ 141.071?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What finish qualified at 141.071?It is not neccessary to use all the tables.
table_80181: "Year" [ text] "Start" [ text] "Qual" [ text] "Rank" [ text] "Finish" [ text] "Laps" [ text]
SELECT "Finish" FROM table_80181 WHERE "Qual" = '141.071'
null
general
ค้นหาความจุเฉลี่ยของห้องในแต่ละอาคารด้วยแผนภูมิแท่ง และจัดอันดับตามแท่งจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the average capacity among rooms in each building with a bar chart, and rank by the bars in ascending.It is not neccessary to use all the tables.
student: ID [ varchar(5)] name [ varchar(20)] dept_name [ varchar(20)] tot_cred [ numeric(30)]
SELECT building, AVG(capacity) FROM classroom GROUP BY building ORDER BY building
null
general
ขอแผนภูมิแท่งเพื่อเปรียบเทียบจำนวนจังหวัดของรัฐที่ตั้งอยู่ในเมืองต่างๆ เรียงจากต่ำไปสูงตามแถบ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me a bar chart to compare the number of state provinces located in different cities, show from low to high by the bar.It is not neccessary to use all the tables.
job_history: EMPLOYEE_ID [ decimal(60)] START_DATE [ date] END_DATE [ date] JOB_ID [ varchar(10)] DEPARTMENT_ID [ decimal(40)]
SELECT STATE_PROVINCE, COUNT(STATE_PROVINCE) FROM locations GROUP BY STATE_PROVINCE ORDER BY STATE_PROVINCE
null
general
จำนวนคะแนนสูงสุดสำหรับสถานะที่น้อยกว่า 3 และขาดทุนน้อยกว่า 1 คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest number of points for a position less than 3 and less than 1 loss?It is not neccessary to use all the tables.
table_39868: "Position" [ real] "Team" [ text] "Points" [ real] "Played" [ real] "Drawn" [ real] "Lost" [ real] "Against" [ real] "Difference" [ text]
SELECT MAX("Points") FROM table_39868 WHERE "Position" < '3' AND "Lost" < '1'
null
general
อัตราการรอดชีวิตหนึ่งปีของผู้ป่วยที่ได้รับการวินิจฉัยว่าเป็นโรคอ้วนคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the one year survival rate of a patient diagnosed with morbid obesity?It is not neccessary to use all the tables.
admissions: row_id [ number] subject_id [ number] hadm_id [ number] admittime [ time] dischtime [ time] admission_type [ text] admission_location [ text] discharge_location [ text] insurance [ text] language [ text] marital_status [ text] ethnicity [ text] age [ number]
SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'morbid obesity') GROUP BY admissions.subject_id HAVING MIN(diagnoses_icd.charttime) = diagnoses_icd.charttime) AS t1 WHERE STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', t1.charttime) > 1 * 365) AS t2 JOIN patients ON t2.subject_id = patients.subject_id
null
general
มีผู้ป่วยกี่รายที่มีรหัสขั้นตอน icd9 คือ 5361?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose procedure icd9 code is 5361?It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "5361"
null
general
คะแนนผู้เข้าร่วมสูงสุด 6-4 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the 6-4 score's maximum attendance?It is not neccessary to use all the tables.
table_29596: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Decision" [ text] "Location" [ text] "Attendance" [ real] "Record" [ text] "Points" [ real]
SELECT MAX("Attendance") FROM table_29596 WHERE "Score" = '6-4'
null
general
คุณช่วยแสดงเที่ยวบินทั้งหมดจากชาร์ล็อตต์ไปมิลวอกีให้ฉันดูหน่อยได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
could you please show me all flights from CHARLOTTE to MILWAUKEEIt 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, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CHARLOTTE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
null
general
ค้นหาจำนวนการแข่งขันในการแข่งขันต่างๆ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the number of matches in different competitions.It is not neccessary to use all the tables.
city: city_id [ number] city [ text] hanzi [ text] hanyu_pinyin [ text] regional_population [ number] gdp [ number]
SELECT COUNT(*), competition FROM match GROUP BY competition
null
general
2 ml furosemide 10 mg/ml ij soln ราคาเท่าไหร่?ไม่จำเป็นต้องใช้ทุกตาราง
2 ml furosemide 10 mg/ml ij soln what is the price?It is not neccessary to use all the tables.
patient: uniquepid [ text] patienthealthsystemstayid [ number] patientunitstayid [ number] gender [ text] age [ text] ethnicity [ text] hospitalid [ number] wardid [ number] admissionheight [ number] admissionweight [ number] dischargeweight [ number] hospitaladmittime [ time] hospitaladmitsource [ text] unitadmittime [ time] unitdischargetime [ time] hospitaldischargetime [ time] hospitaldischargestatus [ text]
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = '2 ml : furosemide 10 mg/ml ij soln')
null
general
ตำแหน่งผู้เล่นจากฟลอริดาคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the position of the player from florida?It is not neccessary to use all the tables.
table_name_63: position [ VARCHAR] college [ VARCHAR]
SELECT position FROM table_name_63 WHERE college = "florida"
null
general
บอกฉันว่าเหตุการณ์เอาต์พุตที่พบบ่อยที่สุดสามอันดับแรกที่เกิดขึ้นจนถึง 1 ปีที่แล้วนั้นไม่จำเป็นต้องใช้ตารางทั้งหมดหรือไม่
tell me the top three most common output events that were until 1 year ago?It is not neccessary to use all the tables.
medication: medicationid [ number] patientunitstayid [ number] drugname [ text] dosage [ text] routeadmin [ text] drugstarttime [ time] drugstoptime [ time]
SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime) <= DATETIME(CURRENT_TIME(), '-1 year') GROUP BY intakeoutput.celllabel) AS t1 WHERE t1.c1 <= 3
null
general
German Grand Prix อยู่ที่ไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Where is the German Grand Prix?It is not neccessary to use all the tables.
table_210: "Rnd" [ real] "Race" [ text] "Date" [ text] "Location" [ text] "Constructor" [ text] "Report" [ text]
SELECT "Location" FROM table_210 WHERE "Race" = 'German Grand Prix'
null
general
โปรดแสดงเที่ยวบินชั้นเฟิร์สคลาสจากอินเดียนาโพลิสไปยังเมมฟิสเที่ยวเดียวก่อน 1,000 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
please show me FIRST class flights from INDIANAPOLIS to MEMPHIS one way leaving before 1000It is not neccessary to use all the tables.
dual_carrier: main_airline [ varchar] low_flight_number [ int] high_flight_number [ int] dual_airline [ varchar] service_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, fare, fare_basis, flight, flight_fare WHERE (((fare.round_trip_required = 'NO') AND fare_basis.class_type = 'FIRST' AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.departure_time < 1000 AND flight.flight_id = flight_fare.flight_id) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MEMPHIS' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'INDIANAPOLIS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
นับอันดับสุดท้ายที่มีปีใหญ่กว่าปี 2008 และอุปกรณ์ของคานสมดุล และอันดับรอบคัดเลือกที่มากกว่า 4 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4?It is not neccessary to use all the tables.
table_name_68: rank_final [ VARCHAR] rank_qualifying [ VARCHAR] year [ VARCHAR] apparatus [ VARCHAR]
SELECT COUNT(rank_final) FROM table_name_68 WHERE year > 2008 AND apparatus = "balance beam" AND rank_qualifying > 4
null
general
มีผู้ป่วยกี่คนที่นับถือศาสนาโปรเตสแตนต์เควกเกอร์ และชื่อการทดสอบในห้องปฏิบัติการคือโปร อิเล็กโทรโฟเรซิส, ปัสสาวะ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose religion is protestant quaker and lab test name is prot. electrophoresis, urine?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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "PROTESTANT QUAKER" AND lab.label = "Prot. Electrophoresis, Urine"
null
general
ค้นหา Team_Name และ Team_ID และแสดงภาพด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find Team_Name and Team_ID , and visualize them by a bar chart.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 Team_Name, Team_ID FROM basketball_match
null
general
ปีใดที่ระหว่างประเทศต่ำกว่า 17,517 และภายในประเทศน้อยกว่า 545?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year was the international lower than 17,517 and domestic was less than 545?It is not neccessary to use all the tables.
table_61059: "Year" [ real] "Domestic" [ real] "International" [ real] "Total" [ real] "Change" [ text]
SELECT AVG("Year") FROM table_61059 WHERE "International" < '17,517' AND "Domestic" < '545'
null
general
หมายเลข RND ของทีม GTO Winning Team Mike Keyser คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is GTO Winning Team Mike Keyser's RND number?It is not neccessary to use all the tables.
table_13657749_2: rnd [ VARCHAR] gto_winning_team [ VARCHAR]
SELECT rnd FROM table_13657749_2 WHERE gto_winning_team = "Mike Keyser"
null
general
การแข่งขันที่เล่นใน Budva กับอิตาลีคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the competition played in budva against italy?It is not neccessary to use all the tables.
table_70843: "Year" [ real] "Competition" [ text] "Town" [ text] "Opponent" [ text]
SELECT "Competition" FROM table_70843 WHERE "Town" = 'budva' AND "Opponent" = 'italy'
null
general
นับจำนวนคนไข้ที่ปีที่เข้ารับการรักษาน้อยกว่า 2,187 และขั้นตอนการรักษาแบบยาวคือ (aorto)coronary bypass of one Coronary Artery หรือไม่ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients whose admission year is less than 2187 and procedure long title is (aorto)coronary bypass of one coronary artery?It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2187" AND procedures.long_title = "(Aorto)coronary bypass of one coronary artery"
null
general
ล่าสุดโปฮัง สตีลเลอร์สเป็นทีมเยือนรอบไหน?ไม่จำเป็นต้องใช้ทุกตาราง
What is the latest round for Pohang Steelers as the away team?It is not neccessary to use all the tables.
table_65059: "Round" [ real] "Date" [ text] "Score" [ text] "Attendance" [ real] "Stadium" [ text]
SELECT MAX("Round") FROM table_65059 WHERE "Away Team" = 'pohang steelers'
null
general
สำหรับทุกกิจกรรมที่มีดัชนี f10 ผลรวมของการจัดอันดับโดยรวมเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
For all events with index f10, what is the sum of the overall rankings?It is not neccessary to use all the tables.
table_name_66: overall_ranking [ INTEGER] index [ VARCHAR]
SELECT SUM(overall_ranking) FROM table_name_66 WHERE index = "f10"
null
general
ผลการแข่งขันที่มีแฟนบอล 67,715 คนเข้าร่วมคืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the result of the game with 67,715 fans attending?It is not neccessary to use all the tables.
table_name_54: result [ VARCHAR] attendance [ VARCHAR]
SELECT result FROM table_name_54 WHERE attendance = "67,715"
null
general
ราคาสินค้าต่ำสุด แบ่งตามประเภทสินค้าคือเท่าไร? แสดงแผนภูมิแท่ง เรียงลำดับแกน Y จากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest price of product, grouped by product type? Show a bar chart, sort Y-axis from high to low order.It is not neccessary to use all the tables.
Product_Suppliers: product_id [ INTEGER] supplier_id [ INTEGER] date_supplied_from [ DATETIME] date_supplied_to [ DATETIME] total_amount_purchased [ VARCHAR(80)] total_value_purchased [ DECIMAL(194)]
SELECT product_type_code, MIN(product_price) FROM Products GROUP BY product_type_code ORDER BY MIN(product_price) DESC
null
general
ใครคือผู้ชนะการแข่งขัน binibining pilipinas-International โดย Gionna Cabrera ได้รับรางวัล Miss Universe Philippines?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?It is not neccessary to use all the tables.
table_1825751_4: binibining_pilipinas_international [ VARCHAR] miss_universe_philippines [ VARCHAR]
SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera"
null
general
มีภาพยนตร์เรื่องอื่นใดในภาษามาลายาลัมนอกเหนือจากคูธาราหรือไม่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what other film is in malayalam besides koothara ?It is not neccessary to use all the tables.
table_204_57: id [ number] "year" [ number] "film" [ text] "role" [ text] "language" [ text] "notes" [ text]
SELECT "film" FROM table_204_57 WHERE "language" = 'malayalam' AND "film" <> 'koothara'
null
general
มีมาสคอตประจำบ้านกี่ตัวที่เกี่ยวข้องกับสีบ้านสีเหลือง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many house mascots are associated with yellow house colours?It is not neccessary to use all the tables.
table_23005:
SELECT COUNT("House mascot") FROM table_23005 WHERE "House colour" = 'Yellow'
null
general
ชื่อและนามสกุลของนักเรียนที่มีที่อยู่ในรัฐวิสคอนซินคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the first names and last names of students with address in Wisconsin state?It is not neccessary to use all the tables.
student_addresses: student_id [ number] address_id [ number] date_address_from [ time] date_address_to [ time] monthly_rental [ number] other_details [ text]
SELECT T2.first_name, T2.last_name FROM addresses AS T1 JOIN students AS T2 ON T1.address_id = T2.address_id WHERE T1.state_province_county = "Wisconsin"
null
general
ใครคือกัปตันทีมเหย้าที่สนามคริกเก็ตซิดนีย์?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Who was the home captain at Sydney Cricket Ground?It is not neccessary to use all the tables.
table_name_34: home_captain [ VARCHAR] venue [ VARCHAR]
SELECT home_captain FROM table_name_34 WHERE venue = "sydney cricket ground"
null
general
มีผู้ป่วย 011-20295 ได้รับการวินิจฉัยว่ามีอาการชัก - เริ่มมีอาการใหม่ในหนึ่งปีก่อน ไม่จำเป็นต้องใช้ตารางทั้งหมด
has patient 011-20295 been diagnosed with seizures - new onset in a year before.It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-20295')) AND diagnosis.diagnosisname = 'seizures - new onset' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
null
general
ตอน 'อาจารย์โสกกะ' มีผู้ชมกี่ล้านคน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many viewers in millions for episode 'sokka's master'?It is not neccessary to use all the tables.
table_72651: "Title" [ text]
SELECT "Viewers (millions)" FROM table_72651 WHERE "Title" = 'Sokka''s Master'
null
general
แพ็คเกจใดที่นำเสนอเนื้อหาภาพยนตร์และเป็น n 333?ไม่จำเป็นต้องใช้ทุกตารางเลย
What package offers cinema content and is n. 333?It is not neccessary to use all the tables.
table_20396: "N\u00b0" [ text] "Country" [ text] "Language" [ text] "Content" [ text] "DAR" [ text] "HDTV" [ text] "PPV" [ text] "Package/Option" [ text]
SELECT "Package/Option" FROM table_20396 WHERE "Content" = 'cinema' AND "N\u00b0" = '333'
null
general
สามารถเรียนคลาส 500 ระดับในช่วงฤดูใบไม้ร่วงหรือฤดูหนาวได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Can 500 -level classes be taken in the Fall or Winter term ?It is not neccessary to use all the tables.
course_tags_count: course_id [ int] clear_grading [ int] pop_quiz [ int] group_projects [ int] inspirational [ int] long_lectures [ int] extra_credit [ int] few_tests [ int] good_feedback [ int] tough_tests [ int] heavy_papers [ int] cares_for_students [ int] heavy_assignments [ int] respected [ int] participation [ int] heavy_reading [ int] tough_grader [ int] hilarious [ int] would_take_again [ int] good_lecture [ int] no_skip [ int]
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017)) AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 500 AND 500 + 100 AND semester.semester_id = course_offering.semester
null
general
นับจำนวนผู้สมัคร ไม่จำเป็นต้องใช้ตารางทั้งหมด
Count the number of candidates.It is not neccessary to use all the tables.
candidate: candidate_id [ number] people_id [ number] poll_source [ text] date [ text] support_rate [ number] consider_rate [ number] oppose_rate [ number] unsure_rate [ number]
SELECT COUNT(*) FROM candidate
null
general