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
สิ่งที่ตรงกันข้ามมีสีเขียว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What reverse has a color of green?It is not neccessary to use all the tables.
table_39612: "Value" [ text] "Color" [ text] "Obverse" [ text] "Reverse" [ text]
SELECT "Reverse" FROM table_39612 WHERE "Color" = 'green'
null
general
ค่าช่องว่างประจุลบสูงสุดของผู้ป่วย 021-35326 จนถึงวันที่ 04/2104 เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's patient 021-35326's maximum value of anion gap until 04/2104?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 MAX(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 = '021-35326')) AND lab.labname = 'anion gap' AND STRFTIME('%y-%m', lab.labresulttime) <= '2104-04'
null
general
รอบน้อยที่สุดของ Perkins Engineering คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are Perkins Engineering's fewest laps?It is not neccessary to use all the tables.
table_name_17: laps [ INTEGER] team [ VARCHAR]
SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering"
null
general
ครั้งสุดท้ายที่ผู้ป่วย 027-178044 วัดอัตราการเต้นของหัวใจมากกว่า 86.0 จนถึง 01/18/2105 ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the last time patient 027-178044 heartrate was measured greater than 86.0 until 01/18/2105.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 vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-178044')) AND vitalperiodic.heartrate > 86.0 AND NOT vitalperiodic.heartrate IS NULL AND STRFTIME('%y-%m-%d', vitalperiodic.observationtime) <= '2105-01-18' ORDER BY vitalperiodic.observationtime DESC LIMIT 1
null
general
ตารางของนักแข่ง Tomas Scheckter จากทีม Vision Racing คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the grid of driver tomas scheckter from vision racing team?It is not neccessary to use all the tables.
table_name_22: grid [ VARCHAR] team [ VARCHAR] driver [ VARCHAR]
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"
null
general
มีชั้นเรียนช่วงเช้าสำหรับ HISTORY 348 หรือไม่ ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Is a morning class available for HISTORY 348 ?It is not neccessary to use all the tables.
course: course_id [ int] name [ varchar] department [ varchar] number [ varchar] credits [ varchar] advisory_requirement [ varchar] enforced_requirement [ varchar] description [ varchar] num_semesters [ int] num_enrolled [ int] has_discussion [ varchar] has_lab [ varchar] has_projects [ varchar] has_exams [ varchar] num_reviews [ int] clarity_score [ int] easiness_score [ int] helpfulness_score [ int]
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'HISTORY' AND course.number = 348 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016
null
general
อะไรคือ qual 1 ที่มี 109.567 ที่ดีที่สุด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the qual 1 with a 109.567 best?It is not neccessary to use all the tables.
table_44321: "Name" [ text] "Team" [ text] "Best" [ text]
SELECT "Qual 1" FROM table_44321 WHERE "Best" = '1:09.567'
null
general
สนามฟุตบอลใน NL โพรวิเดนซ์ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the soccer stadium in NL providence?It is not neccessary to use all the tables.
table_3751: "University" [ text] "City" [ text] "Province" [ text] "Founded" [ real]
SELECT "Soccer Stadium" FROM table_3751 WHERE "Province" = 'NL'
null
general
ตอนที่ 23 มีจำนวนการผลิตเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมดครับ
What is the production number for episode 23?It is not neccessary to use all the tables.
table_26287: "Title" [ text] "Originalairdate" [ text] "Filmed" [ text]
SELECT MIN("Prod #") FROM table_26287 WHERE "Episode #" = '23'
null
general
ประเภทใดที่มีภาษาฮินดีเป็นภาษาและ Star Gold เป็นเครือข่าย?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Genre has Hindi as the Language and Star Gold as the Network?It is not neccessary to use all the tables.
table_4727: "Network" [ text] "Language" [ text] "Genre" [ text] "Service" [ text]
SELECT "Genre" FROM table_4727 WHERE "Language" = 'hindi' AND "Network" = 'star gold'
null
general
จำนวนผู้เข้าร่วมงานโดยเฉลี่ยของ Collingwood คือเท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the average crowd attendance for Collingwood?It is not neccessary to use all the tables.
table_78498: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT AVG("Crowd") FROM table_78498 WHERE "Home team" = 'collingwood'
null
general
ค้นหาจำนวนขั้นตอนที่แตกต่างกันในการประมวลผลการเรียกร้องค่าสินไหมทดแทน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the number of distinct stages in claim processing.It is not neccessary to use all the tables.
claims_processing_stages: claim_stage_id [ number] next_claim_stage_id [ number] claim_status_name [ text] claim_status_description [ text]
SELECT COUNT(*) FROM claims_processing_stages
null
general
สำหรับผู้กำกับแต่ละคนที่กำกับภาพยนตร์มากกว่าหนึ่งเรื่อง สำหรับชื่อภาพยนตร์แต่ละเรื่อง ให้รวมวันที่เข้าฉายไว้ในช่วงปี และนับจำนวนทั้งหมดในแต่ละกลุ่มโดยใช้แผนภูมิเส้น เรียงลำดับปีจากมากไปน้อย ไม่จำเป็นต้องใช้ โต๊ะทั้งหมด
For each director who directed more than one movie, for each movie title, bin their dates of release into Year interval and count the total number in each bucket using a line chart, sort year from high to low order.It is not neccessary to use all the tables.
Reviewer: rID [ int] name [ text]
SELECT year, COUNT(year) FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title GROUP BY title ORDER BY year DESC
null
general
ค้นหาค่าโดยสารเที่ยวเดียวที่ถูกที่สุดจากบอสตันไปยังซานฟรานซิสโกไม่จำเป็นต้องใช้ตารางทั้งหมด
find the cheapest one way fare from BOSTON to SAN FRANCISCOIt 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 fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'BOSTON' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'SAN FRANCISCO' AND FAREalias1.round_trip_required = 'NO' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND fare.round_trip_required = 'NO' AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
null
general
ฉันต้องการเที่ยวบินจากเดนเวอร์ไปฟิลาเดลเฟีย ไม่จำเป็นต้องใช้ตารางทั้งหมด
i need a flight from DENVER to PHILADELPHIAIt is not neccessary to use all the tables.
restriction: restriction_code [ text] advance_purchase [ int] stopovers [ text] saturday_stay_required [ text] minimum_stay [ int] maximum_stay [ int] application [ text] no_discounts [ 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
null
general
รายการอะไรในทีวีที่ 700 ช่องเดียวกับที่ Survivor China ออกอากาศที่ 800?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is on tv at 700 on the same channel that has Survivor China on at 800?It is not neccessary to use all the tables.
table_67879: "7:00" [ text] "7:30" [ text] "8:00" [ text] "8:30" [ text] "9:00" [ text] "9:30" [ text] "10:00" [ text]
SELECT "7:00" FROM table_67879 WHERE "8:00" = 'survivor: china'
null
general
เมื่อวันที่ 13 ตุลาคม พ.ศ. 2552 มีการจำหน่ายดีวีดีในสหรัฐอเมริกากี่ตอน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many episodes were released on DVD in the US on October 13, 2009?It is not neccessary to use all the tables.
table_14855908_3: episodes [ VARCHAR] region_1__us_ [ VARCHAR]
SELECT episodes FROM table_14855908_3 WHERE region_1__us_ = "October 13, 2009"
null
general
).ไม่จำเป็นที่จะต้องใช้ทุกตาราง
).It is not neccessary to use all the tables.
Users: Id [ number] Reputation [ number] CreationDate [ time] DisplayName [ text] LastAccessDate [ time] WebsiteUrl [ text] Location [ text] AboutMe [ text] Views [ number] UpVotes [ number] DownVotes [ number] ProfileImageUrl [ text] EmailHash [ text] AccountId [ number]
SELECT DISTINCT Users.Id AS "user_link", Users.Reputation FROM Users JOIN Posts ON Users.Id = Posts.OwnerUserId AND Posts.Tags LIKE '%python%' WHERE LOWER(Location) LIKE '%cluj%' ORDER BY Users.Reputation DESC
null
general
Charles Rangel ผู้ดำรงตำแหน่งมีกี่เขต?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many districts have the incumbent, Charles Rangel?It is not neccessary to use all the tables.
table_1805191_33: district [ VARCHAR] incumbent [ VARCHAR]
SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel"
null
general
วันที่คืออะไร เมื่อ Runner(s)-Up คือ Oliver Wilson? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Date, when Runner(s)-Up is Oliver Wilson?It is not neccessary to use all the tables.
table_name_71: date [ VARCHAR] runner_s__up [ VARCHAR]
SELECT date FROM table_name_71 WHERE runner_s__up = "oliver wilson"
null
general
จำนวนตำแหน่ง Top Division Titles ที่ก่อตั้งก่อนปี 1975 และตำแหน่งอยู่ที่ Chaguaramas เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the total number of Top Division Titles where the year founded was prior to 1975 and the location was in Chaguaramas?It is not neccessary to use all the tables.
table_name_90: top_division_titles [ INTEGER] founded [ VARCHAR] location [ VARCHAR]
SELECT SUM(top_division_titles) FROM table_name_90 WHERE founded < 1975 AND location = "chaguaramas"
null
general
มีผู้เล่นชื่อ victor h nescu เล่นกี่คน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many players named victor h nescu played?It is not neccessary to use all the tables.
table_24431264_16: points [ VARCHAR] player [ VARCHAR]
SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = "Victor Hănescu"
null
general
open 1st viii ทั้งหมดคืออะไร โดยที่ u15 6th iv เป็น bgs ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are all the open 1st viii with u15 6th iv being bgsIt is not neccessary to use all the tables.
table_11318462_5: open_1st_viii [ VARCHAR] u15_6th_iv [ VARCHAR]
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS"
null
general
Reverse กีตาร์ของ agust npo barrios ก่อนปี 1998 ราคาเท่าไหร่? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How much was a Reverse of guitar of agust n p o barrios before 1998?It is not neccessary to use all the tables.
table_39613: "Value" [ text] "Color" [ text] "Obverse" [ text] "Reverse" [ text]
SELECT "Value" FROM table_39613 WHERE "First issued" < '1998' AND "Reverse" = 'guitar of agustín pío barrios'
null
general
การแข่งขันระดับยุโรปรายการใดที่มีระดับ 2 และอันดับ 3?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What European competitions have a tier of 2 and a position of 3?It is not neccessary to use all the tables.
table_name_48: european_competitions [ VARCHAR] tier [ VARCHAR] pos [ VARCHAR]
SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3
null
general
ผลรวมของการลงเล่นในลีกคัพสำหรับกองหลังที่ลงเล่นในยูฟ่าคัพน้อยกว่า 10 นัดเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup?It is not neccessary to use all the tables.
table_name_29: league_cup [ INTEGER] position [ VARCHAR] UEfa_cup [ VARCHAR]
SELECT SUM(league_cup) FROM table_name_29 WHERE position = "defender" AND UEfa_cup < 10
null
general
การทดสอบในห้องปฏิบัติการห้าครั้งบ่อยที่สุดที่ผู้ป่วยได้รับในการไปโรงพยาบาลครั้งเดียวกันหลังจากได้รับสารอาหารย่อยจากผู้ปกครองคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what were the five most frequent lab tests that patients had within the same hospital visit after receiving a parent infus nutrit sub?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 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, 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 = 'parent infus nutrit sub')) AS t1 JOIN (SELECT admissions.subject_id, labevents.itemid, labevents.charttime, admissions.hadm_id FROM labevents JOIN admissions ON labevents.hadm_id = admissions.hadm_id) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id GROUP BY t2.itemid) AS t3 WHERE t3.c1 <= 5)
null
general
ให้ฉันบริโภคบ่อยที่สุดห้าอันดับแรกจนถึงปี 2100 หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide me with the top five most common intake until 2100?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 d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT inputevents_cv.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM inputevents_cv WHERE STRFTIME('%y', inputevents_cv.charttime) <= '2100' GROUP BY inputevents_cv.itemid) AS t1 WHERE t1.c1 <= 5)
null
general
เมื่อ nd 2 fe 14 b (ถูกผูกมัด) เป็นแม่เหล็ก มีกี่การวัด tc ( c)?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc ( c)?It is not neccessary to use all the tables.
table_2282444_1: t_c__ [ VARCHAR] magnet [ VARCHAR]
SELECT COUNT(t_c__) AS °c_ FROM table_2282444_1 WHERE magnet = "Nd 2 Fe 14 B (bonded)"
null
general
ผู้เล่นในตำแหน่ง ปอนด์ และคะแนนรวม 128 ชื่ออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the player in position lb and an overall of 128?It is not neccessary to use all the tables.
table_name_65: player [ VARCHAR] position [ VARCHAR] overall [ VARCHAR]
SELECT player FROM table_name_65 WHERE position = "lb" AND overall = 128
null
general
จำนวนชั่วโมงที่ผ่านไปนับตั้งแต่ครั้งแรกที่ผู้ป่วย 007-15837 เข้ารับการผ่าตัด (มล.)-gastrostomy/enterostomy gastrostomy 20 fr ปริมาณ luq ในการเข้ารับการรักษาในห้องไอซียูในปัจจุบันหรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
what is the number of hours elapsed since the first time patient 007-15837 had a intake (ml)-gastrostomy/enterostomy gastrostomy 20 fr. luq intake on the current icu visit?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-15837') AND patient.unitdischargetime IS NULL) AND intakeoutput.celllabel = 'intake (ml)-gastrostomy/enterostomy gastrostomy 20 fr. luq' AND intakeoutput.cellpath LIKE '%intake%' ORDER BY intakeoutput.intakeoutputtime LIMIT 1
null
general
จำนวนเงินที่น้อยที่สุดในสัปดาห์ที่คอลัมน์สูงสุดคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What smallest amount in the weeks at peak column?It is not neccessary to use all the tables.
table_26399982_2: weeks_at_peak [ INTEGER]
SELECT MIN(weeks_at_peak) FROM table_26399982_2
null
general
เรตติ้งรอบปฐมทัศน์สำหรับชื่อเรื่องภาษาจีนเรื่อง และจุดสูงสุดที่น้อยกว่า 41 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the premiere rating for a Chinese title of , and a Peak smaller than 41?It is not neccessary to use all the tables.
table_53290: "Rank" [ real] "Average" [ real] "Peak" [ real] "Premiere" [ real] "Finale" [ real]
SELECT SUM("Premiere") FROM table_53290 WHERE "Chinese title" = '野蠻奶奶大戰戈師奶' AND "Peak" < '41'
null
general
ที่ถูกย้ายมาจากไซต์อื่นและอาจตอบได้เอง คำถามที่ถูกย้ายและไม่มีเจ้าของ และมีคำตอบจากผู้ใช้ที่ลงทะเบียนชื่อเดียวกัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
s that were migrated from another site and may be self-answered. Questions that were migrated and have no owner, and that have an answer from a registered user with the same name.It is not neccessary to use all the tables.
PostLinks: Id [ number] CreationDate [ time] PostId [ number] RelatedPostId [ number] LinkTypeId [ number]
SELECT q.Id AS "post_link", q.CreationDate AS "date", q.OwnerDisplayName AS "user_name", a.OwnerUserId AS "user_link", ph.Comment AS "comment" FROM Posts AS q INNER JOIN PostHistory AS ph ON ph.PostId = q.Id INNER JOIN Posts AS a ON a.ParentId = q.Id AND a.OwnerDisplayName = q.OwnerDisplayName WHERE ph.PostHistoryTypeId = 17 AND q.PostTypeId = 1 AND q.OwnerUserId IS NULL AND NOT a.OwnerUserId IS NULL ORDER BY q.Id DESC LIMIT 1000
null
general
สายการบินเสนอคลาสต่างๆ อะไรบ้างไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the different classes that an airline offersIt 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 booking_class FROM class_of_service
null
general
opengl มีชื่อรหัส ironlake (clarkdale) กี่ตัว? ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many opengl have the ironlake ( clarkdale ) code name?It is not neccessary to use all the tables.
table_25839957_5: opengl [ VARCHAR] code_name [ VARCHAR]
SELECT COUNT(opengl) FROM table_25839957_5 WHERE code_name = "Ironlake ( Clarkdale )"
null
general
เอสเซนดอนลงเล่นเป็นทีมเยือนวันไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On what date does Essendon play as the away team?It is not neccessary to use all the tables.
table_name_19: date [ VARCHAR] away_team [ VARCHAR]
SELECT date FROM table_name_19 WHERE away_team = "essendon"
null
general
ยาที่พบบ่อยที่สุดสามอันดับแรกที่ตามมาในระหว่างการไปโรงพยาบาลครั้งเดียวกันสำหรับผู้ป่วยที่ได้รับยาโซเดียมฟอสเฟต 3 มิลลิโมล/มล. ฉีด 15 มล. ตั้งแต่ปี 2102 คืออะไร ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what were the top three most common medications that followed during the same hospital visit for patients who were prescribed sodium phosphate 3 mmol/ml 15 ml inj since 2102?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 t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'sodium phosphate 3 mmol/ml 15 ml inj' AND STRFTIME('%y', medication.drugstarttime) >= '2102') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', medication.drugstarttime) >= '2102') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.drugstarttime < t2.drugstarttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 3
null
general
มีตำแหน่งแท็คเกิ้ลฝ่ายรุกกี่รอบ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many rounds were there an offensive tackle position?It is not neccessary to use all the tables.
table_name_66: round [ VARCHAR] position [ VARCHAR]
SELECT COUNT(round) FROM table_name_66 WHERE position = "offensive tackle"
null
general
จำนวนประชากรในเมืองสูงสุดสำหรับมณฑลกวางสีคือเท่าไร?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the highest urban population for Guangxi province?It is not neccessary to use all the tables.
table_name_83: urban_population__2010_ [ INTEGER] province [ VARCHAR]
SELECT MAX(urban_population__2010_) FROM table_name_83 WHERE province = "guangxi"
null
general
โรงเรียนใดมีตัวรับแบบกว้างในรอบที่ 4?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which school(s) had a wide receiver drafted in round 4?It is not neccessary to use all the tables.
table_32664: "Round" [ real] "Overall" [ real] "Player" [ text] "Position" [ text]
SELECT "School/Club Team" FROM table_32664 WHERE "Round" > '4' AND "Position" = 'wide receiver'
null
general
กราฟแท่งเพื่อแสดง meter_100 จากมิเตอร์ที่แตกต่างกัน 400ไม่จำเป็นต้องใช้ตารางทั้งหมด
Bar graph to show meter_100 from different meter 400It is not neccessary to use all the tables.
record: ID [ int] Result [ text] Swimmer_ID [ int] Event_ID [ int]
SELECT meter_400, meter_100 FROM swimmer
null
general
วิดีโอเกมประเภทใด Call of Destiny ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the type of video game Call of Destiny.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 gtype FROM video_games WHERE gname = "Call of Destiny"
null
general
สำหรับพนักงานที่มีเงินเดือนอยู่ในช่วง 8,000 ถึง 12,000 และค่าคอมมิชชันไม่เป็นค่าว่างหรือหมายเลขแผนกไม่เท่ากับ 40 ให้เห็นภาพแผนภูมิกระจายเกี่ยวกับความสัมพันธ์ระหว่าง Employee_id และ 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 employee_id and department_id .It is not neccessary to use all the tables.
employees: EMPLOYEE_ID [ decimal(60)] FIRST_NAME [ varchar(20)] LAST_NAME [ varchar(25)] EMAIL [ varchar(25)] PHONE_NUMBER [ varchar(20)] HIRE_DATE [ date] JOB_ID [ varchar(10)] SALARY [ decimal(82)] COMMISSION_PCT [ decimal(22)] MANAGER_ID [ decimal(60)] DEPARTMENT_ID [ decimal(40)]
SELECT EMPLOYEE_ID, DEPARTMENT_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
null
general
มีผู้ป่วยกี่รายที่วินิจฉัยชื่อสั้นว่า chordaetendinae rupture?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose diagnoses short title is chordae tendinae rupture?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 WHERE diagnoses.short_title = "Chordae tendinae rupture"
null
general
แสดงรายละเอียดบัญชีอื่นๆ สำหรับบัญชีชื่อ 338 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show other account details for account with name 338.It is not neccessary to use all the tables.
Accounts: other_account_details [ VARCHAR] account_name [ VARCHAR]
SELECT other_account_details FROM Accounts WHERE account_name = "338"
null
general
ตั้งชื่อคะแนนสำหรับวันที่ 25 กันยายน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the score for september 25It is not neccessary to use all the tables.
table_name_93: score [ VARCHAR] date [ VARCHAR]
SELECT score FROM table_name_93 WHERE date = "september 25"
null
general
การแข่งขันกับ Jonatas Novaes จบลงในรอบไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which round did the bout against Jonatas Novaes end in?It is not neccessary to use all the tables.
table_name_36: round [ VARCHAR] opponent [ VARCHAR]
SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes"
null
general
อายุเฉลี่ยของผู้ป่วยที่มีเชื้อชาติเป็นฮิสแปนิก/ลาติน - เปอร์โตริโก และวันที่ต้องพักรักษาตัวในโรงพยาบาลคือ 15 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is average age of patients whose ethnicity is hispanic/latino - puerto rican and days of hospital stay is 15?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 AVG(demographic.age) FROM demographic WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND demographic.days_stay = "15"
null
general
ตั๋วเครื่องบินที่ถูกที่สุดจาก เดนเวอร์ ไป พิตต์สเบิร์ก ราคาเท่าไหร่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
how much is the cheapest flight from DENVER to PITTSBURGHIt is not neccessary to use all the tables.
equipment_sequence: aircraft_code_sequence [ varchar] aircraft_code [ varchar]
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'DENVER' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'PITTSBURGH' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
null
general
วันที่จัดชิดแรกในปี 1614 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the First Aligned date in 1614?It is not neccessary to use all the tables.
table_40567: "Scholar" [ text] "Date" [ text]
SELECT "First aligned day" FROM table_40567 WHERE "Date" = '1614'
null
general
ผู้เล่นคนไหนมาจากฝรั่งเศส?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What player is from France?It is not neccessary to use all the tables.
table_name_63: player [ VARCHAR] country [ VARCHAR]
SELECT player FROM table_name_63 WHERE country = "france"
null
general
งานปาร์ตี้ของ Hon Paul Keating คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is Hon Paul Keating's Party?It is not neccessary to use all the tables.
table_name_70: party [ VARCHAR] member [ VARCHAR]
SELECT party FROM table_name_70 WHERE member = "hon paul keating"
null
general
แสดงชื่อและรหัสสถานที่ท่องเที่ยวที่ไปมาบ่อยที่สุด โดยจะเรียงตามแกน y จากสูงไปต่ำ ไม่จำเป็นต้องใช้ทุกตาราง
Show the names and ids of tourist attractions that are visited at most once, I want to order by the y-axis from high to low.It is not neccessary to use all the tables.
Street_Markets: Market_ID [ INTEGER] Market_Details [ VARCHAR(255)]
SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN Visits AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID ORDER BY T1.Tourist_Attraction_ID DESC
null
general
ก่อนปี 1957 ผู้เข้าร่วมที่ Varsity Stadium มากที่สุดคือเท่าใด ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Before 1957, what was the largest in Attendance at Varsity Stadium?It is not neccessary to use all the tables.
table_name_82: attendance [ INTEGER] season [ VARCHAR] venue [ VARCHAR]
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"
null
general
ใครเป็นผู้อำนวยการสร้างภาพยนตร์ที่กำกับโดยปี 1997?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the producer for the film directed by 1997?It is not neccessary to use all the tables.
table_40917: "Title" [ text] "Director" [ text] "Producer" [ text]
SELECT "Producer" FROM table_40917 WHERE "Director" = '1997'
null
general
ทีมไหนมีแต้มสูงเท่ากับ เรย์มอนด์ เฟลตัน (26)?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Which team has the high points of Raymond Felton (26)?It is not neccessary to use all the tables.
table_57669: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "Team" FROM table_57669 WHERE "High points" = 'raymond felton (26)'
null
general
เกมนี้เจอกับ ดิวิช ชาราน ได้สกอร์เท่าไหร่?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What was the score of the game against Divij Sharan?It is not neccessary to use all the tables.
table_name_56: score [ VARCHAR] opponent_in_the_final [ VARCHAR]
SELECT score FROM table_name_56 WHERE opponent_in_the_final = "divij sharan"
null
general
บอกภูมิภาคของจอร์เจียหน่อยสิไม่จำเป็นต้องใช้ตารางทั้งหมด
Tell me the region for georgiaIt is not neccessary to use all the tables.
table_31662: "Region" [ text] "Host" [ text] "Venue" [ text] "City" [ text] "State" [ text]
SELECT "Region" FROM table_31662 WHERE "State" = 'georgia'
null
general
จำนวนผู้ป่วยโรคเลือดออกในช่องท้องส่วนบนที่เสียชีวิตในหรือก่อนปี 2154 มีกี่ราย? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
how many upper gi bleed primary disease patients died on or before 2154?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 WHERE demographic.diagnosis = "UPPER GI BLEED" AND demographic.dod_year <= "2154.0"
null
general
มีกี่คะแนนเทียบกับเมื่อพยายาม 41? ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many points against when 41 is the tries for?It is not neccessary to use all the tables.
table_46096: "Club" [ text] "Played" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text]
SELECT "Points against" FROM table_46096 WHERE "Tries for" = '41'
null
general
มีผลการตรวจทางจุลชีววิทยาเสมหะของผู้ป่วย 55281 ในวันที่ 12/2105 บ้างไหม? ไม่จำเป็นต้องใช้ตารางทั้งหมด
is there any results of the sputum microbiology test of patient 55281 in 12/2105?It is not neccessary to use all the tables.
labevents: row_id [ number] subject_id [ number] hadm_id [ number] itemid [ number] charttime [ time] valuenum [ number] valueuom [ text]
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 55281) AND microbiologyevents.spec_type_desc = 'sputum' AND STRFTIME('%y-%m', microbiologyevents.charttime) = '2105-12'
null
general
ตั้งชื่อตัวช่วยสูงสำหรับ l 98 103 (ot)ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the high assists for l 98 103 (ot)It is not neccessary to use all the tables.
table_72889: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "High assists" FROM table_72889 WHERE "Score" = 'L 98–103 (OT)'
null
general
มีผู้ป่วยกี่รายที่วินิจฉัยรหัส icd9 เป็น 57450?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose diagnoses icd9 code is 57450?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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "57450"
null
general
คลาส PreMajor โดยเฉลี่ยมีความยากแค่ไหน ?ไม่จำเป็นต้องใช้ทุกตาราง
How difficult on average are the PreMajor classes ?It is not neccessary to use all the tables.
program_course: program_id [ int] course_id [ int] workload [ int] category [ varchar]
SELECT AVG(workload) FROM program_course WHERE category LIKE '%PreMajor%'
null
general
ตั้งชื่อนัดสุดท้ายของอาร์เจนตินา - estadio jos mar a minellaไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the last match for argentina - estadio jos mar a minellaIt is not neccessary to use all the tables.
table_2952: "Competition" [ text]
SELECT "Last match" FROM table_2952 WHERE "Final Place" = 'Argentina - Estadio José María Minella'
null
general
ผู้ป่วยจำนวนเท่าใดที่ได้รับการวินิจฉัยว่ามีอาการข้างเคียงของ ef-hemplga และประเภทการทดสอบในห้องปฏิบัติการคือ โลหิตวิทยา? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what number of patients have been diagnosed with late ef-hemplga side nos and lab test category is hematology?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.short_title = "Late ef-hemplga side NOS" AND lab."CATEGORY" = "Hematology"
null
general
ให้เขียนชื่อนักเรียนที่ไม่มีอาการแพ้อาหารประเภทใด ๆ แล้วนับในแผนภูมิแท่ง โดยต้องการให้แสดงแกน X ตามลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ทุกตาราง
List the first name of the students who do not have any food type allergy and count them in a bar chart, I want to show X-axis in descending order.It is not neccessary to use all the tables.
Student: StuID [ INTEGER] LName [ VARCHAR(12)] Fname [ VARCHAR(12)] Age [ INTEGER] Sex [ VARCHAR(1)] Major [ INTEGER] Advisor [ INTEGER] city_code [ VARCHAR(3)]
SELECT Fname, COUNT(Fname) FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.AllergyType = "food") GROUP BY Fname ORDER BY Fname DESC
null
general
ตั้งชื่อที่ดินให้ adaไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the land for adaIt is not neccessary to use all the tables.
table_1902: "Township" [ text] "County" [ text] "Latitude" [ text] "Longitude" [ text]
SELECT COUNT("Land ( sqmi )") FROM table_1902 WHERE "Township" = 'Ada'
null
general
อังกฤษจบแบบไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the finish for England?It is not neccessary to use all the tables.
table_60144: "Player" [ text] "Country" [ text] "Total" [ real] "Finish" [ text]
SELECT "Finish" FROM table_60144 WHERE "Country" = 'england'
null
general
Utah Blaze ฝ่ายตรงข้ามวันไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On what day was Utah Blaze the opponent?It is not neccessary to use all the tables.
table_68053: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text]
SELECT "Date" FROM table_68053 WHERE "Opponent" = 'utah blaze'
null
general
ต้องหนักอย่างน้อย 110 ปอนด์ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
must weigh a minimum of 110 poundsIt is not neccessary to use all the tables.
table_train_228: "id" [ int] "ejection_fraction_ef" [ int] "hiv_infection" [ bool] "heart_disease" [ bool] "body_weight" [ float] "body_mass_index_bmi" [ float] "allergy_to_beef" [ bool] "NOUSE" [ float]
SELECT * FROM table_train_228 WHERE body_weight >= 110
null
general
มีการแข่งขันรอบเพลย์ออฟวันที่ใดซึ่งใกล้จะได้ชัยชนะในระหว่างการแข่งขัน Shirley Englehorn Invitational?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What date was there a playoff on the margin of victory during the Shirley Englehorn Invitational?It is not neccessary to use all the tables.
table_name_36: date [ VARCHAR] margin_of_victory [ VARCHAR] tournament [ VARCHAR]
SELECT date FROM table_name_36 WHERE margin_of_victory = "playoff" AND tournament = "shirley englehorn invitational"
null
general
เมืองใดก่อตั้งขึ้นในปี พ.ศ. 2400?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What city was founded in 1857?It is not neccessary to use all the tables.
table_36963: "School" [ text] "City" [ text] "State" [ text] "Enrollment" [ real] "Founded" [ real]
SELECT "City" FROM table_36963 WHERE "Founded" = '1857'
null
general
ค่าต่ำสุดสำหรับแอปในฤดูกาล 2009 ในดิวิชั่นที่น้อยกว่า 1 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest value for apps in 2009 season in a division less than 1?It is not neccessary to use all the tables.
table_name_86: apps [ INTEGER] season [ VARCHAR] division [ VARCHAR]
SELECT MIN(apps) FROM table_name_86 WHERE season = "2009" AND division < 1
null
general
แสดงแผนภูมิแท่งสำหรับราคาเฉลี่ยของผลิตภัณฑ์แต่ละหมวดหมู่เป็นเท่าใด คุณสามารถแสดงจากสูงไปต่ำตามแกน y ได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me a bar chart for what is the average price of the products for each category?, could you show from high to low by the y axis?It is not neccessary to use all the tables.
Customers: customer_id [ INTEGER] customer_type_code [ VARCHAR(20)] address_line_1 [ VARCHAR(80)] address_line_2 [ VARCHAR(80)] town_city [ VARCHAR(80)] state [ VARCHAR(80)] email_address [ VARCHAR(255)] phone_number [ VARCHAR(80)]
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code ORDER BY AVG(product_price) DESC
null
general
แสดงภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ All_Neutral และ Team_ID โดยเรียงลำดับจากน้อยไปหามากตามแกน y ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize a bar chart about the distribution of All_Neutral and Team_ID , rank in ascending by the y-axis.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_Neutral, Team_ID FROM basketball_match ORDER BY Team_ID
null
general
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้วาดแผนภูมิกระจายเกี่ยวกับความสัมพันธ์ระหว่าง commission_pct และ department_id ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees who was hired before 2002-06-21, draw a scatter chart about the correlation between commission_pct and department_id .It is not neccessary to use all the tables.
employees: EMPLOYEE_ID [ decimal(60)] FIRST_NAME [ varchar(20)] LAST_NAME [ varchar(25)] EMAIL [ varchar(25)] PHONE_NUMBER [ varchar(20)] HIRE_DATE [ date] JOB_ID [ varchar(10)] SALARY [ decimal(82)] COMMISSION_PCT [ decimal(22)] MANAGER_ID [ decimal(60)] DEPARTMENT_ID [ decimal(40)]
SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21'
null
general
Christo Sevov เคยสอน MCDB 436 หรือไม่ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Has Christo Sevov ever taught MCDB 436 ?It is not neccessary to use all the tables.
program: program_id [ int] name [ varchar] college [ varchar] introduction [ varchar]
SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'MCDB' AND course.number = 436 AND instructor.name LIKE '%Christo Sevov%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id
null
general
เทือกเขา Kuskokwim อยู่ในอันดับที่ใดในแผนภูมิ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Where does the Kuskokwim Mountains rank on the chart?It is not neccessary to use all the tables.
table_name_5: rank [ INTEGER] mountain_range [ VARCHAR]
SELECT MAX(rank) FROM table_name_5 WHERE mountain_range = "kuskokwim mountains"
null
general
นับจำนวนคนไข้ที่มีประกันเอกชนและวินิจฉัยชื่อยาวเป็นไข้โดยมีเงื่อนไขจำแนกไว้ที่อื่นหรือไม่ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients whose insurance is private and diagnoses long title is fever presenting with conditions classified elsewhere?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.insurance = "Private" AND diagnoses.long_title = "Fever presenting with conditions classified elsewhere"
null
general
ตั้งชื่อ iso สำหรับ chungcheongnam ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the iso for chungcheongnamIt is not neccessary to use all the tables.
table_160510_5: iso [ VARCHAR] rr_romaja [ VARCHAR]
SELECT iso FROM table_160510_5 WHERE rr_romaja = "Chungcheongnam"
null
general
หมายเลขเงินที่ใหญ่ที่สุดเมื่ออันดับน้อยกว่า 1 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the largest silver number when the rank is smaller than 1?It is not neccessary to use all the tables.
table_name_92: silver [ INTEGER] rank [ INTEGER]
SELECT MAX(silver) FROM table_name_92 WHERE rank < 1
null
general
การแข่งขันกีฬาโอลิมปิกปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year were the Olympic Games?It is not neccessary to use all the tables.
table_name_10: year [ INTEGER] competition [ VARCHAR]
SELECT SUM(year) FROM table_name_10 WHERE competition = "olympic games"
null
general
หลักสูตรระดับฤดูใบไม้ร่วงและฤดูหนาวจำนวน 200 หลักสูตรที่เปิดสอนมีจำนวนเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the number of 200 -level courses being offered in the Fall and Winter terms ?It is not neccessary to use all the tables.
course_prerequisite: pre_course_id [ int] course_id [ int]
SELECT COUNT(DISTINCT course.course_id, semester.semester) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'department0' AND course.number BETWEEN 200 AND 200 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_id = course_offering.semester AND semester.year = 2016
null
general
บอกชื่ออาจารย์ที่สอน 560 คน นอกเหนือจาก ศ.โจเซฟ โดแมน .ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Name the professors who teach 560 other than Prof. Joseph Doman .It is not neccessary to use all the tables.
offering_instructor: offering_instructor_id [ int] offering_id [ int] instructor_id [ int]
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 560 AND NOT instructor.name LIKE '%Joseph Doman%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id
null
general
สำหรับพนักงานที่มีเงินเดือนอยู่ในช่วง 8000 และ 12000 และค่าคอมมิชชันไม่เป็นค่าว่างหรือหมายเลขแผนกไม่เท่ากับ 40 ให้ส่งคืนแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Hire_date และผลรวมของ department_id bin Hire_date ตามวันทำงาน เรียงลำดับตามผลรวม เรียงจากต่ำไปสูง ไม่จำเป็นต้องใช้ทุกตาราง
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, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by weekday, order by the total number from low to high.It is not neccessary to use all the tables.
regions: REGION_ID [ decimal(50)] REGION_NAME [ varchar(25)]
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(DEPARTMENT_ID)
null
general
เทศกาลเสนอชื่อใดจัดขึ้นในประเทศเยอรมนี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Nominating Festival took place in Germany?It is not neccessary to use all the tables.
table_70370: "Category" [ text] "Film" [ text] "Director(s)" [ text] "Country" [ text]
SELECT "Nominating Festival" FROM table_70370 WHERE "Country" = 'germany'
null
general
ทีมใดได้อันดับที่ห้าในระหว่างฤดูกาลที่วิกตอเรียได้อันดับสอง แทสเมเนียได้อันดับหนึ่ง และเซาท์ออสเตรเลียได้อันดับที่หก?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What team placed fifth during the season where Victoria placed second, Tasmania placed first, and South Australia placed sixth?It is not neccessary to use all the tables.
table_39865: "SEASON" [ text] "FIRST" [ text] "SECOND" [ text] "THIRD" [ text] "FOURTH" [ text] "FIFTH" [ text] "SIXTH" [ text]
SELECT "FIFTH" FROM table_39865 WHERE "SECOND" = 'victoria' AND "FIRST" = 'tasmania' AND "SIXTH" = 'south australia'
null
general
แผนภูมิแท่งแสดงจำนวนประเภทการแข่งขันที่แตกต่างกัน แสดงตามแกน y จากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart showing the number of different competition types, display by the y axis in descending.It is not neccessary to use all the tables.
player: Player_ID [ int] name [ text] Position [ text] Club_ID [ int] Apps [ real] Tries [ real] Goals [ text] Points [ real]
SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type ORDER BY COUNT(Competition_type) DESC
null
general
รหัสผู้เข้าร่วม ประเภทรหัส และรายละเอียดคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are all the the participant ids, type code and details?It is not neccessary to use all the tables.
Participants: Participant_ID [ VARCHAR] Participant_Type_Code [ VARCHAR] Participant_Details [ VARCHAR]
SELECT Participant_ID, Participant_Type_Code, Participant_Details FROM Participants
null
general
สิ่งพิมพ์ต่อไปคืออะไรหลังจากการตีพิมพ์ของ radio nacional de venezuela ในเดือนมิถุนายน 2010 ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the next publication after the june 2010 publication of radio nacional de venezuela ?It is not neccessary to use all the tables.
table_204_639: id [ number] "source" [ text] "psuv" [ number] "opposition" [ number] "undecided" [ number]
SELECT "source" FROM table_204_639 WHERE id = (SELECT id FROM table_204_639 WHERE "publication date" = 'june 2010' AND "source" = 'radio nacional de venezuela') + 1
null
general
ใครคือคนขับรถของเครื่องยนต์ Ford EDB 3.0 v8?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the driver of the Ford EDB 3.0 v8 engine?It is not neccessary to use all the tables.
table_name_82: driver [ VARCHAR] engine [ VARCHAR]
SELECT driver FROM table_name_82 WHERE engine = "ford edb 3.0 v8"
null
general
คู่ไหนมีคะแนน 7 6 7 , 6 1 ไม่จำเป็นต้องใช้ทุกตาราง
Which Partnering has a Score of 7 6 7 , 6 1?It is not neccessary to use all the tables.
table_name_11: partnering [ VARCHAR] score [ VARCHAR]
SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1"
null
general
คำถามเกี่ยวกับ 'คุณได้ลองแสดงความคิดเห็นอะไรบ้าง' ระหว่างวันที่สองวัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Questions with 'what have you tried comments' between two dates.It is not neccessary to use all the tables.
PostTypes: Id [ number] Name [ text]
SELECT COUNT(*) AS QuestionCount, SUM(A.TriedComments) AS TriedCount FROM (SELECT SUM(CASE WHEN C.Text LIKE '%have you tried%' OR c.Text LIKE '%you have tried%' THEN 1 ELSE 0 END) AS TriedComments, P.Id FROM Posts AS P LEFT JOIN Comments AS C ON C.PostId = P.Id WHERE P.CreationDate BETWEEN @pStartDate AND @pEndDate AND P.PostTypeId = 1 GROUP BY P.Id) AS A
null
general
ครั้งสุดท้ายที่ผู้ป่วย 14749 จนถึง 04/2104 มีการทดสอบในห้องปฏิบัติการส่วนเกินโดยพื้นฐานคือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the last time patient 14749 until 04/2104 had a base excess laboratory test?It is not neccessary to use all the tables.
d_items: row_id [ number] itemid [ number] label [ text] linksto [ text]
SELECT labevents.charttime FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'base excess') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14749) AND STRFTIME('%y-%m', labevents.charttime) <= '2104-04' ORDER BY labevents.charttime DESC LIMIT 1
null
general
บอกจำนวนเรื่องทั้งหมดที่มีอันดับ 16 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the total number of stories that had a 16 rankIt is not neccessary to use all the tables.
table_name_29: stories [ VARCHAR] rank [ VARCHAR]
SELECT COUNT(stories) FROM table_name_29 WHERE rank = "16"
null
general
ฝ่ายตรงข้ามคนใดได้บายเป็นคะแนนกล่อง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which of the opponents has bye as their box score?It is not neccessary to use all the tables.
table_name_32: opponent [ VARCHAR] box_scores [ VARCHAR]
SELECT opponent FROM table_name_32 WHERE box_scores = "bye"
null
general
Outgoing Manager คืออะไร เมื่อวันที่ว่างคือ '25 กันยายน 2551'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Outgoing Manager, when Date of Vacancy is '25 September 2008'?It is not neccessary to use all the tables.
table_name_77: outgoing_manager [ VARCHAR] date_of_vacancy [ VARCHAR]
SELECT outgoing_manager FROM table_name_77 WHERE date_of_vacancy = "25 september 2008"
null
general
ปีใดที่มีการแข่งขันทั้งหมด 2 รายการและการแข่งขัน LA เป็น 0?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year had a total of 2 and LA matches of 0?It is not neccessary to use all the tables.
table_61288: "Location" [ text] "Year" [ text] "Total" [ text]
SELECT "Year" FROM table_61288 WHERE "Total" = '2' AND "LA matches" = '0'
null
general