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
ตั้งแต่ 30/08/2100 ปัสสาวะครั้งสุดท้ายคือเมื่อใด เวลาเอาต์พุตเป็นโมฆะสำหรับผู้ป่วย 005-4471?ไม่จำเป็นต้องใช้ตารางทั้งหมด
since 08/30/2100 when was the last urine, void output time for patient 005-4471?It is not neccessary to use all the tables.
intakeoutput: intakeoutputid [ number] patientunitstayid [ number] cellpath [ text] celllabel [ text] cellvaluenumeric [ number] intakeoutputtime [ time]
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-4471')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'urine, void:' AND STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime) >= '2100-08-30' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
null
general
ค้นหารายชื่อสายการบิน 10 อันดับแรกที่ให้บริการเส้นทางบินมากที่สุด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the names of the top 10 airlines that operate the most number of routes.It is not neccessary to use all the tables.
airlines: name [ VARCHAR] alid [ VARCHAR]
SELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 10
null
general
บันทึกในวันที่ 10 กรกฎาคมเป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's the record on july 10?It is not neccessary to use all the tables.
table_80405: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Record" [ text]
SELECT "Record" FROM table_80405 WHERE "Date" = 'july 10'
null
general
การเสมอต่ำสุดที่มีการสูญเสียน้อยกว่า 0 เทียบกับมากกว่า 1353 ชนะ 2 และบัลลารัตเป็นบัลลารัตชั้นคืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest draws that have losses less than 0, an against greater than 1353, 2 as the wins, and ballarat as ballarat fl?It is not neccessary to use all the tables.
table_42495: "Wins" [ real] "Byes" [ real] "Losses" [ real] "Draws" [ real] "Against" [ real]
SELECT MIN("Draws") FROM table_42495 WHERE "Losses" > '0' AND "Against" > '1353' AND "Wins" = '2' AND "Ballarat FL" = 'ballarat'
null
general
โปรดระบุเที่ยวบิน AA วันพุธจากมิลวอกีไปยังซานโฮเซ ไม่จำเป็นต้องใช้ตารางทั้งหมด
please list the WEDNESDAY AA flights from MILWAUKEE to SAN JOSEIt is not neccessary to use all the tables.
city: city_code [ varchar] city_name [ varchar] state_code [ varchar] country_name [ varchar] time_zone_code [ varchar]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN JOSE' AND days.day_name = 'WEDNESDAY' AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MILWAUKEE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'AA'
null
general
เว็บไซต์เกมใดที่จัดการแข่งขันในวันที่ 10 เมษายน พ.ศ. 2547? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which game site hosted a match on April 10, 2004?It is not neccessary to use all the tables.
table_44555: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text]
SELECT "Game site" FROM table_44555 WHERE "Date" = 'april 10, 2004'
null
general
ใครคือรองชนะเลิศที่มีคะแนนชนะ 16 (66-68-70-68=272)?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who were the Runner(s)-up with the winning score of 16 (66-68-70-68=272)?It is not neccessary to use all the tables.
table_42633: "Date" [ text] "Tournament" [ text] "Runner(s)-up" [ text]
SELECT "Runner(s)-up" FROM table_42633 WHERE "Winning score" = '−16 (66-68-70-68=272)'
null
general
แผนกใดที่แสดงเพียงครั้งเดียว ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
which division is listed only once ?It is not neccessary to use all the tables.
table_204_589: id [ number] "season" [ text] "tier" [ number] "division" [ text] "pos." [ text] "notes" [ text]
SELECT "division" FROM table_204_589 GROUP BY "division" HAVING COUNT(*) = 1
null
general
แสดงเชื้อชาติและจำนวนนักข่าวแต่ละสัญชาติ แสดงภาพตามแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the different nationalities and the number of journalists of each nationality. Visualize by bar chart.It is not neccessary to use all the tables.
journalist: journalist_ID [ int] Name [ text] Nationality [ text] Age [ text] Years_working [ int]
SELECT Nationality, COUNT(*) FROM journalist GROUP BY Nationality
null
general
กี่รอบสำหรับตารางที่เกิน 18 และเลิกใช้เนื่องจากไฟฟ้าขัดข้อง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many laps for a grid of over 18 and retired due to electrical failure?It is not neccessary to use all the tables.
table_name_31: laps [ INTEGER] grid [ VARCHAR] time_retired [ VARCHAR]
SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
null
general
ทีม NHL ใดที่มีปีกซ้ายอยู่ในตำแหน่ง? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which NHL team has left wing listed as the position?It is not neccessary to use all the tables.
table_68049: "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT "NHL team" FROM table_68049 WHERE "Position" = 'left wing'
null
general
เกมวันที่ 20 ธ.ค. ผู้นำคะแนนได้กี่แต้ม?ไม่จำเป็นต้องใช้ทุกโต๊ะ
For games on December 20, how many points did the scoring leaders get?It is not neccessary to use all the tables.
table_10812293_4: high_points [ VARCHAR] date [ VARCHAR]
SELECT high_points FROM table_10812293_4 WHERE date = "December 20"
null
general
ใครเป็นผู้ชนะประเภทคู่ผสมในปี 1998?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who won the mixed doubles in 1998?It is not neccessary to use all the tables.
table_1162: "Year" [ real]
SELECT "Mixed doubles" FROM table_1162 WHERE "Year" = '1998'
null
general
ทีมใดตั้งอยู่ในรัฐมิสซูรีและก่อตั้งเมื่อปี พ.ศ. 2506 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which team is located in missouri and was established in 1963?It is not neccessary to use all the tables.
table_49131: "Team" [ text] "City" [ text] "State/Province" [ text] "League" [ text] "Est." [ text]
SELECT "Team" FROM table_49131 WHERE "State/Province" = 'missouri' AND "Est." = '1963'
null
general
ทีมไหนวิ่งรถหมายเลข 24 เมื่อวันที่ 30 ส.ค.?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What team ran car #24 on August 30?It is not neccessary to use all the tables.
table_78911: "Season" [ real] "Date" [ text] "Sponsor" [ text] "Make" [ text] "Team" [ text]
SELECT "Team" FROM table_78911 WHERE "Car #" = '24' AND "Date" = 'august 30'
null
general
ตั้งชื่อจำนวนรวมของ rr2 pts สำหรับการชนะเป็น 11 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the total number of rr2 pts for won being 11It is not neccessary to use all the tables.
table_21471897_2: rr3_pts [ VARCHAR] won [ VARCHAR]
SELECT COUNT(rr3_pts) FROM table_21471897_2 WHERE won = 11
null
general
วันที่ 9 กุมภาพันธ์มีคะแนนอะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What scores happened to be on February 9?It is not neccessary to use all the tables.
table_73552: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Attendance" [ real] "Record" [ text] "Points" [ real]
SELECT "Score" FROM table_73552 WHERE "Date" = 'February 9'
null
general
บริษัทของผู้ประกอบการมีอะไรบ้าง เรียงลำดับจากมากไปหาน้อยตามจำนวนเงินที่ขอ?ไม่จำเป็นต้องใช้ทุกตาราง
What are the companies of entrepreneurs, ordered descending by amount of money requested?It is not neccessary to use all the tables.
people: people_id [ number] name [ text] height [ number] weight [ number] date_of_birth [ text]
SELECT company FROM entrepreneur ORDER BY money_requested DESC
null
general
การกระจัดและการกำหนดค่าด้วยความเร็วสูงสุด km/h (mph) คืออะไร และรถรุ่น Panamera 4s คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s?It is not neccessary to use all the tables.
table_name_36: displacement_ [ VARCHAR] _configuration [ VARCHAR] max_speed [ VARCHAR] car_model [ VARCHAR]
SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"
null
general
ในวันที่เจ้าบ้านทำคะแนนได้ 7.10 (52) มีคนอยู่ในฝูงชนกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many people were in the crowd on the day the home team scored 7.10 (52)?It is not neccessary to use all the tables.
table_52965: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Crowd" FROM table_52965 WHERE "Home team score" = '7.10 (52)'
null
general
คำถาม Kubernetes ในหนึ่งปี ไม่จำเป็นต้องใช้ตารางทั้งหมด
Kubernetes Questions in a Year.It is not neccessary to use all the tables.
PostFeedback: Id [ number] PostId [ number] IsAnonymous [ boolean] VoteTypeId [ number] CreationDate [ time]
SELECT COUNT(*) FROM Posts AS pP WHERE pP.PostTypeId = 1 AND pP.Tags LIKE '%kubernetes%' AND pP.Score >= 0 AND pP.CreationDate >= '2012-01-01' AND pP.CreationDate <= '2014-12-30'
null
general
อะไรคือ To par เมื่อประเทศคือ 'สเปน'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is To par, when Country is 'Spain'?It is not neccessary to use all the tables.
table_name_47: to_par [ VARCHAR] country [ VARCHAR]
SELECT to_par FROM table_name_47 WHERE country = "spain"
null
general
ใครคือเจ้าบ้านเมื่อวันที่ 13 เมษายน พ.ศ. 2551 เมื่ออิตาบูนาเป็นทีมเยือน?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Who was the home team on April 13, 2008 when Itabuna was the away team?It is not neccessary to use all the tables.
table_name_80: home_team [ VARCHAR] date [ VARCHAR] away_team [ VARCHAR]
SELECT home_team FROM table_name_80 WHERE date = "april 13, 2008" AND away_team = "itabuna"
null
general
ความกว้างของฟุตในจุดพบปะสำหรับโครงถักที่มีแหล่งกำเนิด nbi (2009) คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the width feet in meeters for the truss with a source of nbi (2009)?It is not neccessary to use all the tables.
table_name_63: width_feet__m_ [ VARCHAR] source__year_ [ VARCHAR]
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)"
null
general
รายการโรมันสำหรับอัลโลโฟนของ [[[|k]]] คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Roman entry for the allophone of [[[|k]]]?It is not neccessary to use all the tables.
table_14073: "Roman" [ text]
SELECT "Roman" FROM table_14073 WHERE "Sound (allophone)" = '[[[|k]]]'
null
general
ตั้งชื่อแอสซิสต์สูงสำหรับ 29 เกม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the high assists for 29 gameIt is not neccessary to use all the tables.
table_17355408_5: high_assists [ VARCHAR] game [ VARCHAR]
SELECT high_assists FROM table_17355408_5 WHERE game = 29
null
general
ใครเป็นคนเขียนเพลงที่วิ่งเพื่อ 222?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who wrote the song that runs for 222?It is not neccessary to use all the tables.
table_52755: "Title" [ text] "Author(s)" [ text] "Recorded" [ text] "Location(s)" [ text] "Time" [ text]
SELECT "Author(s)" FROM table_52755 WHERE "Time" = '2:22'
null
general
มีพนักงานกี่คนที่ชื่อ Ludie?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many employees have a first name of Ludie?It is not neccessary to use all the tables.
addresses: address_id [ number] line_1_number_building [ text] city [ text] zip_postcode [ text] state_province_county [ text] country [ text]
SELECT COUNT(*) FROM staff WHERE first_name = "Ludie"
null
general
The Last Samurai ได้รับการเสนอชื่อเข้าชิงในปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year was The Last Samurai nominated?It is not neccessary to use all the tables.
table_10409: "Year" [ text] "Name" [ text] "Film" [ text] "Role" [ text] "Status" [ text]
SELECT "Year" FROM table_10409 WHERE "Status" = 'nominated' AND "Film" = 'the last samurai'
null
general
ระบุจำนวนผู้ป่วยที่วินิจฉัยรหัส icd9 คือ 7454 และหมวดทดสอบในห้องปฏิบัติการเป็นเคมีหรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose diagnoses icd9 code is 7454 and lab test category is chemistry?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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "7454" AND lab."CATEGORY" = "Chemistry"
null
general
ผลลัพธ์ของทีมโรดของบอสตันในเกมที่ 4 คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the result for Boston's road team in game 4?It is not neccessary to use all the tables.
table_name_73: result [ VARCHAR] road_team [ VARCHAR] game [ VARCHAR]
SELECT result FROM table_name_73 WHERE road_team = "boston" AND game = "game 4"
null
general
ตำแหน่งใดที่มีรอบ 3 และฝ่ายตรงข้ามของ Matt Horwich?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which location had a round of 3, and an Opponent of matt horwich?It is not neccessary to use all the tables.
table_name_9: location [ VARCHAR] round [ VARCHAR] opponent [ VARCHAR]
SELECT location FROM table_name_9 WHERE round < 3 AND opponent = "matt horwich"
null
general
บันทึกของพวกเขาคือวันที่ 13-15 วันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What day is their record 13-15?It is not neccessary to use all the tables.
table_37347: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Attendance" [ real] "Record" [ text]
SELECT "Date" FROM table_37347 WHERE "Record" = '13-15'
null
general
บันทึกเมื่อเกมอยู่ที่ Rose Garden คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the record when the game was at the Rose Garden?It is not neccessary to use all the tables.
table_47037: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Record" [ text]
SELECT "Record" FROM table_47037 WHERE "Location" = 'rose garden'
null
general
ตั้งชื่อจำนวนรวมของ 10 อันดับแรกด้วยโดยที่ตำแหน่งอยู่ที่ 51 ไม่จำเป็นต้องใช้ตารางทั้งหมด
name the total number of top 10 also where the position is 51stIt is not neccessary to use all the tables.
table_1671401_3: top_10 [ VARCHAR] position [ VARCHAR]
SELECT COUNT(top_10) FROM table_1671401_3 WHERE position = "51st"
null
general
นับจำนวนคนไข้ที่ใช้ภาษาอังกฤษ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose language is engl?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL"
null
general
เวอร์ชัน 3.5 มีระยะเวลานานเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the length time of the 3.5 release?It is not neccessary to use all the tables.
table_16279520_1: length [ VARCHAR] release [ VARCHAR]
SELECT length FROM table_16279520_1 WHERE release = "3.5"
null
general
ส่วนแบ่งรวมของตอนซึ่งมีวันออกอากาศวันที่ 19 พฤศจิกายน พ.ศ. 2550 เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total share for an episode with an air date of November 19, 2007?It is not neccessary to use all the tables.
table_54059: "Episode" [ text] "Rating" [ real] "Share" [ real]
SELECT SUM("Share") FROM table_54059 WHERE "Air Date" = 'november 19, 2007'
null
general
ทัวร์นาเมนต์ใดในวันที่ 29 มกราคม 2012?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What tournament was on Jan 29, 2012?It is not neccessary to use all the tables.
table_name_8: tournament [ VARCHAR] date [ VARCHAR]
SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"
null
general
ใครเป็นคนเขียนตอนที่ 45?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who wrote episode number 45?It is not neccessary to use all the tables.
table_2602958_4: writer_s_ [ VARCHAR] no [ VARCHAR]
SELECT writer_s_ FROM table_2602958_4 WHERE no = 45
null
general
ออกอากาศวันไหนที่มีผู้ชม 9.65 ล้านคน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the broadcast date of the episode with 9.65 million viewers?It is not neccessary to use all the tables.
table_name_39: broadcast_date [ VARCHAR] viewership__millions_ [ VARCHAR]
SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65
null
general
ระยะเวลาระหว่างการดำเนินการครั้งแรกกับสายการบินสุดท้ายที่เริ่มดำเนินการ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how long between the operations first commenced and the last airline to commence operations ?It is not neccessary to use all the tables.
table_204_163: id [ number] "airline" [ text] "icao" [ text] "iata" [ text] "callsign" [ text] "commenced\noperations" [ number]
SELECT (SELECT "commenced\noperations" FROM table_204_163 ORDER BY "commenced\noperations" DESC LIMIT 1) - (SELECT "commenced\noperations" FROM table_204_163 ORDER BY "commenced\noperations" LIMIT 1)
null
general
การแข่งขัน European Indoor Championships เกิดขึ้นที่ใด? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What place did T rlea come in at the European Indoor Championships?It is not neccessary to use all the tables.
table_name_56: position [ VARCHAR] competition [ VARCHAR]
SELECT position FROM table_name_56 WHERE competition = "european indoor championships"
null
general
อะไรที่จะพาร์ตั้งอยู่ในสหรัฐอเมริกาและมีผู้เล่นชื่อ hal sutton?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What to par is located in the united states and has a player by the name of hal sutton?It is not neccessary to use all the tables.
table_name_44: to_par [ VARCHAR] country [ VARCHAR] player [ VARCHAR]
SELECT to_par FROM table_name_44 WHERE country = "united states" AND player = "hal sutton"
null
general
บ้านเบนูทำมาจากอะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the benue house made of?It is not neccessary to use all the tables.
table_16803: "Composition" [ text] "Founded" [ real] "Colours" [ text]
SELECT "Composition" FROM table_16803 WHERE "House Name" = 'Benue'
null
general
อะไรคือการเสมอกันเมื่อสคันธอร์ปยูไนเต็ดเป็นทีมเยือน?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the tie no when scunthorpe united was the away team?It is not neccessary to use all the tables.
table_name_6: tie_no [ VARCHAR] away_team [ VARCHAR]
SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united"
null
general
เครื่องบินที่เล็กที่สุดที่สามารถบินจากพิตส์เบิร์กถึงบัลติมอร์คือเครื่องบินลำใดที่เล็กที่สุดไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the smallest aircraft available to fly on from PITTSBURGH to BALTIMOREIt is not neccessary to use all the tables.
aircraft: aircraft_code [ varchar] aircraft_description [ varchar] manufacturer [ varchar] basic_type [ varchar] engines [ int] propulsion [ varchar] wide_body [ varchar] wing_span [ int] length [ int] weight [ int] capacity [ int] pay_load [ int] cruising_speed [ int] range_miles [ int] pressurized [ varchar]
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, equipment_sequence, flight WHERE 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, equipment_sequence AS EQUIPMENT_SEQUENCEalias1, flight AS FLIGHTalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'PITTSBURGH' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BALTIMORE' 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 FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' 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 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
null
general
ค่าสุดท้ายของการทดสอบในห้องปฏิบัติการขนมปังของผู้ป่วย 022-44805 ตั้งแต่วันที่ 12/2101 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the last value of patient 022-44805's bun laboratory test since 12/2101?It is not neccessary to use all the tables.
cost: costid [ number] uniquepid [ text] patienthealthsystemstayid [ number] eventtype [ text] eventid [ number] chargetime [ time] cost [ number]
SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-44805')) AND lab.labname = 'bun' AND STRFTIME('%y-%m', lab.labresulttime) >= '2101-12' ORDER BY lab.labresulttime DESC LIMIT 1
null
general
คำนวณอายุเฉลี่ยของผู้ป่วยที่มีภาวะหลอดเลือดเอออร์ตาไม่เพียงพอ ทำการผ่าตัดเปลี่ยนลิ้นหัวใจเอออร์ติก sternotomy อีกครั้ง ซึ่งต้องพักรักษาตัวในโรงพยาบาลเป็นเวลา 10 วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Calculate the average age of patients with aortic insufficiency re-do sternotomy aortic valve replacement who stayed in hospital for 10 days.It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " AND demographic.days_stay = "10"
null
general
ทีมเหย้าที่พันท์ โร้ด โอวัลคือใคร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who is the home team at the Punt Road Oval?It is not neccessary to use all the tables.
table_name_99: home_team [ VARCHAR] venue [ VARCHAR]
SELECT home_team AS score FROM table_name_99 WHERE venue = "punt road oval"
null
general
บอกชื่อตัวอย่างทดสอบที่ผู้ป่วย 73362 ได้รับครั้งแรกเมื่อ 124 เดือนที่แล้วหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the name of the specimen test that patient 73362 had first received since 124 months ago?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 microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73362) AND DATETIME(microbiologyevents.charttime) >= DATETIME(CURRENT_TIME(), '-124 month') ORDER BY microbiologyevents.charttime LIMIT 1
null
general
ตั้งชื่อประชากรน้อยที่สุด 1.1.2008 โดยมีประชากรต่อตารางกิโลเมตร 1.957 และประชากร 1.1.2006 น้อยกว่า 12.67 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the least population 1.1.2008 with population per square km of 1.957 and population 1.1.2006 less than 12.67It is not neccessary to use all the tables.
table_14462:
SELECT MIN("Population 1.1.2008") FROM table_14462 WHERE "Population per square km" = '1.957' AND "Population 1.1.2006" < '12.67'
null
general
เวลาที่ถูกต้องของใบเรือ aus70 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the corrected time of sail number aus70?It is not neccessary to use all the tables.
table_22432: "Position" [ real] "Yacht" [ text] "State/Country" [ text] "Skipper" [ text]
SELECT "Corrected Time d:hh:mm:ss" FROM table_22432 WHERE "Sail Number" = 'AUS70'
null
general
ระบุจำนวนผู้ป่วยปีเกิดน้อยกว่า 2,200 ราย และชื่อยาเป็นอะลูมิเนียมไฮดรอกไซด์แขวนลอย ไม่จำเป็นต้องใช้ทุกตาราง
provide the number of patients whose year of birth is less than 2200 and drug name is aluminum hydroxide suspension?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.dob_year < "2200" AND prescriptions.drug = "Aluminum Hydroxide Suspension"
null
general
ขาดทุนในวันที่ 16 กันยายนเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the loss for September 16?It is not neccessary to use all the tables.
table_79725: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Record" [ text]
SELECT "Loss" FROM table_79725 WHERE "Date" = 'september 16'
null
general
เจ้าบ้านทีมไหนจะออกในวันที่ 12 มิถุนายน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Home Team is on june 12?It is not neccessary to use all the tables.
table_58700: "Game" [ text] "Date" [ text] "Result" [ text]
SELECT "Home Team" FROM table_58700 WHERE "Date" = 'june 12'
null
general
สุดท้ายอะไรคืออันดับที่ 4?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What final was ranked 4?It is not neccessary to use all the tables.
table_name_96: final [ VARCHAR] rank [ VARCHAR]
SELECT final FROM table_name_96 WHERE rank = "4"
null
general
บันทึกเมื่อนักเก็ตเป็นเจ้าบ้านคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the record when the Nuggets are the home team?It is not neccessary to use all the tables.
table_name_33: record [ VARCHAR] home [ VARCHAR]
SELECT record FROM table_name_33 WHERE home = "nuggets"
null
general
อะไรคือผลลัพธ์ของการเลือกตั้งที่ลินด์ลีย์ เบ็คเวิร์ธ ดำรงตำแหน่ง?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the result of the election in which Lindley Beckworth was the incumbent?It is not neccessary to use all the tables.
table_1341897_45: result [ VARCHAR] incumbent [ VARCHAR]
SELECT result FROM table_1341897_45 WHERE incumbent = "Lindley Beckworth"
null
general
จำนวนวันที่ผู้ใช้เฉพาะรายใช้ในการแสดงความคิดเห็น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Days a specific user spend on SO leaving comments.It is not neccessary to use all the tables.
ReviewTaskResults: Id [ number] ReviewTaskId [ number] ReviewTaskResultTypeId [ number] CreationDate [ time] RejectionReasonId [ number] Comment [ text]
SELECT (SUM(LENGTH(Text)) / 100 / 60 / 24) FROM Comments WHERE UserId = 285587
null
general
ใครเข้ารับตำแหน่งต่อจากอับดุลลอฮ์ จาฟาร์ ?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
who took office after abdullah jaafar ?It is not neccessary to use all the tables.
table_204_668: id [ number] "#" [ number] "party" [ text]
SELECT "menteri besar" FROM table_204_668 WHERE "took office" > (SELECT "took office" FROM table_204_668 WHERE "menteri besar" = 'abdullah jaafar') ORDER BY "took office" LIMIT 1
null
general
วันที่คืออะไร เมื่อฝ่ายตรงข้ามอยู่ที่ Saskatchewan Roughriders? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Date, when Opponent is At Saskatchewan Roughriders?It is not neccessary to use all the tables.
table_name_13: date [ VARCHAR] opponent [ VARCHAR]
SELECT date FROM table_name_13 WHERE opponent = "at saskatchewan roughriders"
null
general
ขอการเปรียบเทียบ Team_ID บน All_Road ด้วยแผนภูมิแท่ง และรายการตามแกน Y จากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me the comparison about Team_ID over the All_Road by a bar chart, and list by the Y-axis from high to low.It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT All_Road, Team_ID FROM basketball_match ORDER BY Team_ID DESC
null
general
น้ำหนักเฉลี่ยของ Beatus ที่บุกโจมตีเมื่อวันที่ 18 ตุลาคม พ.ศ. 2483 เป็นเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the average tonnage for Beatus, raided on 18 October 1940?It is not neccessary to use all the tables.
table_8360: "Date" [ text] "Nationality" [ text] "Tonnage" [ real] "Fate" [ text]
SELECT AVG("Tonnage") FROM table_8360 WHERE "Date" = '18 october 1940' AND "Name of ship" = 'beatus'
null
general
ในปี 1998/99 ลีกคืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
in the year 1998/99 what was the leagueIt is not neccessary to use all the tables.
table_1908049_1: league [ VARCHAR] year [ VARCHAR]
SELECT league FROM table_1908049_1 WHERE year = "1998/99"
null
general
ระบุรายชื่อที่นั่งที่เข้าเรียนที่มหาวิทยาลัยวิลฟริด ลอริเอร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the plats that attended Wilfrid Laurier University.It is not neccessary to use all the tables.
table_18042409_1: player [ VARCHAR] alma_mater [ VARCHAR]
SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurier University"
null
general
เกมที่ผลสกอร์สุดท้าย 0-5 ผู้เข้าร่วมอยู่ในระดับใด ไม่จำเป็นต้องใช้ทุกโต๊ะ
For the game showing a final record of 0-5, what was the attendance level?It is not neccessary to use all the tables.
table_49721: "Date" [ text] "Opponent" [ text] "Result" [ text] "Score" [ text] "Record" [ text] "Location" [ text] "Attendance" [ real]
SELECT "Attendance" FROM table_49721 WHERE "Record" = '0-5'
null
general
สำหรับพนักงานที่มีเงินเดือนอยู่ในช่วง 8,000 ถึง 12,000 และค่าคอมมิชชั่นไม่เป็นค่าว่างหรือหมายเลขแผนกไม่เท่ากับ 40 ให้เห็นภาพแผนภูมิกระจายเกี่ยวกับความสัมพันธ์ระหว่าง commission_pct และ department_id ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a scatter chart about the correlation between commission_pct and department_id .It is not neccessary to use all the tables.
countries: COUNTRY_ID [ varchar(2)] COUNTRY_NAME [ varchar(40)] REGION_ID [ decimal(100)]
SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
null
general
หลักสูตร BIOMEDE 481 จะเปิดสอนในภาคการศึกษาหน้าหรือไม่ ?ไม่จำเป็นต้องใช้ทุกตาราง
Will the course BIOMEDE 481 be offered next semester ?It is not neccessary to use all the tables.
course_prerequisite: pre_course_id [ int] course_id [ int]
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'BIOMEDE' AND course.number = 481 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
null
general
เปอร์เซ็นต์ของการโหวตให้โคกลีย์เมื่อเคนเนดีชนะ 1.6%ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the percentage of votes for coakley when kennedy won 1.6%It is not neccessary to use all the tables.
table_24115349_4: coakley__percentage [ VARCHAR] kennedy__percentage [ VARCHAR]
SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.6%"
null
general
น้ำหนักสูงสุดของผู้ป่วย 012-35670 จนถึง 2 ปีที่แล้วคือเท่าใดต่อวัน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the daily maximum of the weight of patient 012-35670 until 2 years ago?It is not neccessary to use all the tables.
lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time]
SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-35670') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY STRFTIME('%y-%m-%d', patient.unitadmittime)
null
general
ฤดูกาลไหนที่จบอันดับ 2?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What season was there a 2nd place finish?It is not neccessary to use all the tables.
table_58428: "Season" [ real] "Level" [ text] "Division" [ text] "Administration" [ text] "Position" [ text]
SELECT "Season" FROM table_58428 WHERE "Position" = '2nd'
null
general
การวินิจฉัยชื่อย่อของหัวเรื่อง id 9258 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is diagnoses short title of subject id 9258?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 diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "9258"
null
general
ซึ่งกำกับตอนที่มีผู้ชม 14.59 ล้านคน ไม่จำเป็นต้องใช้ตารางทั้งหมด
who directed the episode that have 14.59 million viewersIt is not neccessary to use all the tables.
table_19417244_2: directed_by [ VARCHAR] us_viewers__millions_ [ VARCHAR]
SELECT directed_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.59"
null
general
เพลงไหนคือเพลง Rip it Up สูงที่สุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest track for the song Rip it Up?It is not neccessary to use all the tables.
table_name_87: track [ INTEGER] song_title [ VARCHAR]
SELECT MAX(track) FROM table_name_87 WHERE song_title = "rip it up"
null
general
ตั้งชื่อผู้สมัครในปี พ.ศ. 2507 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the candidates in 1964It is not neccessary to use all the tables.
table_1341586_43: candidates [ VARCHAR] first_elected [ VARCHAR]
SELECT candidates FROM table_1341586_43 WHERE first_elected = 1964
null
general
อะไรคือจำนวนการแพ้ที่เป็นกลางสูงสุดของ Florida State Seminoles ซึ่งแพ้น้อยกว่า 5 นัด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest number of neutral losses of the Florida State Seminoles, which has less than 5 away losses?It is not neccessary to use all the tables.
table_47131: "Institution" [ text] "Wins" [ real] "Loss" [ real]
SELECT MAX("Neutral Losses") FROM table_47131 WHERE "Institution" = 'florida state seminoles' AND "Away Losses" < '5'
null
general
ผู้ป่วยรายใดมีรายการทดสอบในห้องปฏิบัติการ id 50915?ไม่จำเป็นต้องใช้ตารางทั้งหมด
which patients have lab test item id 50915?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 lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50915"
null
general
ผู้เล่นสองคนใดที่มีการรีบาวด์สูงสุดในเกมวันที่ 14 ตุลาคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What two players had the highest rebounds for the October 14 game?It is not neccessary to use all the tables.
table_27733258_2: high_rebounds [ VARCHAR] date [ VARCHAR]
SELECT high_rebounds FROM table_27733258_2 WHERE date = "October 14"
null
general
จำนวนการรับประทานทางปากทั้งหมดที่ผู้ป่วย 029-27704 ได้รับในวันที่ 27/05/2105 เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the total amount of po oral intake that patient 029-27704 had on 05/27/2105?It is not neccessary to use all the tables.
allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ 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 = '029-27704')) AND intakeoutput.celllabel = 'po oral' AND intakeoutput.cellpath LIKE '%intake%' AND STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime) = '2105-05-27'
null
general
ขอดูเอกสารของ Stephen Boyd หน่อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
show me papers by stephen boyd .It is not neccessary to use all the tables.
author: authorid [ int] authorname [ varchar]
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'stephen boyd' AND writes.authorid = author.authorid
null
general
สำหรับแต่ละเกรด ให้ส่งคืนหมายเลขเกรด จำนวนห้องเรียนที่ใช้สำหรับเกรด และจำนวนนักเรียนทั้งหมดที่ลงทะเบียนในเกรด ไม่จำเป็นต้องใช้ตารางทั้งหมด
For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.It is not neccessary to use all the tables.
list: lastname [ text] firstname [ text] grade [ number] classroom [ number]
SELECT grade, COUNT(DISTINCT classroom), COUNT(*) FROM list GROUP BY grade
null
general
ชื่อภาษาจีนสำหรับชื่อภาษาอังกฤษ Andy Lau คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Chinese name for the English name Andy Lau?It is not neccessary to use all the tables.
table_name_58: chinese_name [ VARCHAR] english_name [ VARCHAR]
SELECT chinese_name FROM table_name_58 WHERE english_name = "andy lau"
null
general
เวลาที่กำหนดครั้งสุดท้ายของผู้ป่วย 016-19759 สำหรับ ondansetron 2 มก./1 มล. 2 มล. การฉีด sdv ในระหว่างการไปโรงพยาบาลครั้งแรกคือเท่าใด ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what was patient 016-19759's last prescribed time for ondansetron 2 mg/1 ml 2ml sdv inj during their first hospital visit?It is not neccessary to use all the tables.
lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ time]
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-19759' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) AND medication.drugname = 'ondansetron 2 mg/1 ml 2ml sdv inj' ORDER BY medication.drugstarttime DESC LIMIT 1
null
general
บอกฉันเกี่ยวกับจำนวนผู้ลงคะแนนเสียงสำหรับการเลือกตั้งทั่วไปปี 1985 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Tell me the voting turnout for 1985 general electionsIt is not neccessary to use all the tables.
table_4385:
SELECT "Voting turnout" FROM table_4385 WHERE "General elections" = '1985'
null
general
สนามใดมีคะแนนทีมเหย้า 17.16 (118) ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Venue has a Home team score of 17.16 (118)?It is not neccessary to use all the tables.
table_56137: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Venue" FROM table_56137 WHERE "Home team score" = '17.16 (118)'
null
general
อายุเฉลี่ยของนักเรียนชายและหญิงคือเท่าใด เขียนเป็นแผนภูมิแท่ง และแสดงรายการ Y ตามลำดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the average ages for male and female students Plot them as bar chart, and list Y in asc order.It is not neccessary to use all the tables.
Allergy_Type: Allergy [ VARCHAR(20)] AllergyType [ VARCHAR(20)]
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY AVG(Age)
null
general
ตั้งชื่อ oberliga hessen สำหรับ sv sandhausen และ fsv salmrohrไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the oberliga hessen for sv sandhausen and fsv salmrohrIt is not neccessary to use all the tables.
table_966: "Season" [ text]
SELECT "Oberliga Hessen" FROM table_966 WHERE "Oberliga Baden-W\u00fcrttemberg" = 'SV Sandhausen' AND "Oberliga S\u00fcdwest" = 'FSV Salmrohr'
null
general
ผู้เล่นในทีมโรงเรียน/สโมสร Fresno State มีสัญชาติอะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What are the nationality of the players on the Fresno State school/club team?It is not neccessary to use all the tables.
table_10015132_9: nationality [ VARCHAR] school_club_team [ VARCHAR]
SELECT nationality FROM table_10015132_9 WHERE school_club_team = "Fresno State"
null
general
เมื่อวันที่ 21/08/ปีนี้ ครั้งแรกที่ผู้ป่วย 19144 มีความดันโลหิตของหลอดเลือดแดงขั้นต่ำ [ค่าล่าง] เป็นครั้งแรกเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
on 08/21/this year, when was the first time that patient 19144 had the minimum arterial bp [diastolic]?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 chartevents.charttime 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 = 19144)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m-%d', chartevents.charttime) = '08-21' ORDER BY chartevents.valuenum, chartevents.charttime LIMIT 1
null
general
ตัวเลือกชั้นเรียนหัวข้อพิเศษสำหรับฤดูหนาวหน้ามีอะไรบ้าง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the special topics classes options for next Winter ?It is not neccessary to use all the tables.
student: student_id [ int] lastname [ varchar] firstname [ varchar] program_id [ int] declare_major [ varchar] total_credit [ int] total_gpa [ float] entered_as [ varchar] admit_term [ int] predicted_graduation_semester [ int] degree [ varchar] minor [ varchar] internship [ varchar]
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE (course.number = 398 OR course.number = 498 OR course.number = 598) AND course.department = 'EECS' AND semester.semester = 'Winter' AND semester.year = 2017
null
general
แผนภูมิแท่งเกี่ยวกับอุตสาหกรรมหลักและมูลค่าตลาดรวมสำหรับแต่ละอุตสาหกรรมคืออะไร โปรดเรียงลำดับจากน้อยไปมากตามชื่อ ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart about what are the main indstries and total market value for each industry?, rank in ascending by the names please.It is not neccessary to use all the tables.
station_company: Station_ID [ int] Company_ID [ int] Rank_of_the_Year [ int]
SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry ORDER BY Main_Industry
null
general
กรีน-คอมมิวนิสต์ได้รับ 5.7% วันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date did the Green-Communists receive 5.7%?It is not neccessary to use all the tables.
table_1881642_1: date_released [ VARCHAR] green_communist [ VARCHAR]
SELECT date_released FROM table_1881642_1 WHERE green_communist = "5.7%"
null
general
เมื่อฟลีทวูดเป็นเมือง/เมือง มีประชากรกี่กลุ่ม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When fleetwood is the city/town how many sets of population are there?It is not neccessary to use all the tables.
table_25793: "Rank" [ real] "City/Town" [ text] "County" [ text] "Region/Province" [ text] "Population" [ real] "Country" [ text]
SELECT COUNT("Population") FROM table_25793 WHERE "City/Town" = 'Fleetwood'
null
general
เพลงที่อยู่ใน 10 อันดับแรกใช้เวลานานแค่ไหน? ไม่จำเป็นต้องใช้ตารางทั้งหมด
How long has the longest song spent in the top 10?It is not neccessary to use all the tables.
table_27813010_2: weeks_in_top_10 [ INTEGER]
SELECT MAX(weeks_in_top_10) FROM table_27813010_2
null
general
ประเทศใดมีเหรียญเงินมากเท่ากับเม็กซิโกและตุรกีรวมกัน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมดเลย
which nation had as many silver medals as mexico and turkey combined ?It is not neccessary to use all the tables.
table_204_311: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number]
SELECT "nation" FROM table_204_311 WHERE "silver" = (SELECT SUM("silver") FROM table_204_311 WHERE "nation" IN ('mexico', 'turkey'))
null
general
วันที่เปิดตัวคือวันที่ผู้ให้บริการเป็นสีส้มและสูงสุดคือ 5.76 mbit/s ไม่จำเป็นต้องใช้ตารางทั้งหมด
whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/sIt is not neccessary to use all the tables.
table_22905: "Carrier" [ text] "Standard" [ text] "Frequency" [ text] "(down)" [ text] "(up)" [ text]
SELECT "Launch date (dd.mm.yyyy)" FROM table_22905 WHERE "(up)" = '5.76 Mbit/s' AND "Carrier" = 'Orange'
null
general
รัฐใดมีสถานที่จัดงานโดมสึกิซามุ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which state has the venue Tsukisamu dome?It is not neccessary to use all the tables.
table_name_30: state [ VARCHAR] venue [ VARCHAR]
SELECT state FROM table_name_30 WHERE venue = "tsukisamu dome"
null
general
คนไข้ที่ไม่ระบุสถานะการตายเกิดก่อนปี พ.ศ. 2564 มีกี่ราย ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many of the patients with an unspecified death status were born before the year 2121?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.expire_flag = "0" AND demographic.dob_year < "2121"
null
general
ถ้าสูง 181 ซม. ควรอยู่ในตำแหน่งใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
If the height is 181cm, what was the position?It is not neccessary to use all the tables.
table_24926: "Name" [ text] "Position" [ text] "Height" [ text] "Weight" [ text]
SELECT "Position" FROM table_24926 WHERE "Height" = '181cm'
null
general