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
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตแต่ละผลิตภัณฑ์ ให้แสดงให้ฉันทราบเกี่ยวกับการกระจายของชื่อและค่าเฉลี่ยของผู้ผลิต และจัดกลุ่มตามชื่อคุณลักษณะในแผนภูมิแท่ง และฉันต้องการสั่งซื้อตามลำดับตามแกน y โปรดไม่ใช่ จำเป็นต้องใช้ทุกตาราง
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of manufacturer , and group by attribute name in a bar chart, and I want to order in desc by the y axis please.It is not neccessary to use all the tables.
Manufacturers: Code [ INTEGER] Name [ VARCHAR(255)] Headquarter [ VARCHAR(255)] Founder [ VARCHAR(255)] Revenue [ REAL]
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Manufacturer DESC
null
general
วันที่ระบุเป็นวันที่เฉลี่ยที่เรือดำน้ำถูกทำลาย (KuK) ที่ 2 โดยมีระวางน้ำหนัก 1,514,050 ตัน?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is listed as the average Date that has U-boats destroyed (KuK) of 2 with Tonnage of 1,514,050?It is not neccessary to use all the tables.
table_name_13: date [ INTEGER] u_boats_destroyed__kuk_ [ VARCHAR] tonnage [ VARCHAR]
SELECT AVG(date) FROM table_name_13 WHERE u_boats_destroyed__kuk_ = "2" AND tonnage = "1,514,050"
null
general
ในปีที่แล้ว การทดสอบตัวอย่างที่ได้รับคำสั่งมากที่สุดห้ารายการคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
in the last year what are the five most commonly ordered specimen tests?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 5
null
general
ตำแหน่งของผู้เล่น ปีเตอร์ อูสเตอร์ฮุยส์ ที่มีเงิน 7,500 ดอลลาร์คือตำแหน่งใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the place of player peter oosterhuis, who has $7,500?It is not neccessary to use all the tables.
table_name_7: place [ VARCHAR] money___$__ [ VARCHAR] player [ VARCHAR]
SELECT place FROM table_name_7 WHERE money___$__ = "7,500" AND player = "peter oosterhuis"
null
general
เมื่อผู้ป่วย 032-24135 ได้รับการวินิจฉัยครั้งแรกว่ามีกระเป๋าหน้าท้องอิศวร - ไม่คงอยู่ในระหว่างปีนี้? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
when patient 032-24135 was first diagnosed with ventricular tachycardia - non-sustained during this year?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-24135')) AND diagnosis.diagnosisname = 'ventricular tachycardia - non-sustained' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY diagnosis.diagnosistime LIMIT 1
null
general
ลอเรนโซ บันดินี มีรอบเร็วที่สุดและตำแหน่งโพลโพสิชันในสนามใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On which circuit does lorenzo bandini have the fastest lap as well as the pole position?It is not neccessary to use all the tables.
table_57912: "Race" [ text] "Circuit" [ text] "Date" [ text] "Constructor" [ text] "Tyre" [ text] "Report" [ text]
SELECT "Circuit" FROM table_57912 WHERE "Fastest lap" = 'lorenzo bandini' AND "Pole position" = 'lorenzo bandini'
null
general
ฝ่ายตรงข้ามคนไหนที่มีคนเข้าร่วมมากที่สุด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
against which opponent were there the most people in attendance ?It is not neccessary to use all the tables.
table_203_478: id [ number] "week" [ number] "date" [ text] "opponent" [ text] "result" [ text] "attendance" [ number]
SELECT "opponent" FROM table_203_478 ORDER BY "attendance" DESC LIMIT 1
null
general
ระบุรายชื่อองุ่นและชื่อเรียกไวน์ทั้งหมด ไม่จำเป็นต้องใช้ทุกโต๊ะ
List the grapes and appelations of all wines.It is not neccessary to use all the tables.
appellations: no [ number] appelation [ text] county [ text] state [ text] area [ text] isava [ text]
SELECT grape, appelation FROM wine
null
general
ในปีใดที่ Civallero ประสบความสำเร็จเพียงครั้งเดียว ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
in which years did civallero only have one achievement ?It is not neccessary to use all the tables.
table_203_734: id [ number] "year" [ number] "competition" [ text] "venue" [ text] "position" [ text] "event" [ text] "notes" [ text]
SELECT "year" FROM table_203_734 GROUP BY "year" HAVING COUNT(*) = 1
null
general
ระบุจำนวนผู้ป่วยที่เข้ารับการรักษาในเรือลำเดียวและมีผู้ป่วยในออกจากโรงพยาบาลแล้ว ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients who underwent procedure on single vessel and had inpatient hospital discharge.It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND procedures.short_title = "Procedure-one vessel"
null
general
ทุกค่าสำหรับอายุต่ำกว่า 11 ปีจะเป็นเท่าใด เมื่อมูลค่าต่ำกว่า 17 ปีคือ Salma Nassar?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is every value for Under-11 when value of under-17 is Salma Nassar?It is not neccessary to use all the tables.
table_28618: "Year" [ real] "Under-11" [ text] "Under-13" [ text] "Under-15" [ text] "Under-17" [ text] "Under-19" [ text]
SELECT "Under-11" FROM table_28618 WHERE "Under-17" = 'Salma Nassar'
null
general
ผู้เข้าร่วมที่ Kardinia Park เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the attendance at Kardinia Park?It is not neccessary to use all the tables.
table_name_63: crowd [ INTEGER] venue [ VARCHAR]
SELECT AVG(crowd) FROM table_name_63 WHERE venue = "kardinia park"
null
general
ซึ่งเป็นทีมเยือนที่เซาธ์ เมลเบิร์น มีผู้ชมมากกว่า 10,000 คน ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the away team at South Melbourne with a crowd size larger than 10,000.It is not neccessary to use all the tables.
table_53983: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Home team" FROM table_53983 WHERE "Crowd" > '10,000' AND "Away team" = 'south melbourne'
null
general
เกมใดที่เล่นน้อยที่สุดสำหรับทีมที่ทำประตูได้ 73 ประตูและทำประตูได้มากกว่า 69 ประตู? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the fewest games played for teams with 73 goals for and more than 69 goals against?It is not neccessary to use all the tables.
table_name_17: played [ INTEGER] goals_for [ VARCHAR] goals_against [ VARCHAR]
SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69
null
general
ในบรรดาผู้ป่วยอายุ 60 ปีขึ้นไปในปีนี้ อะไรคือขั้นตอนห้าอันดับแรกที่พบบ่อยที่สุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
among the patients aged 60 or above in this year, what were the top five most frequent procedures?It is not neccessary to use all the tables.
patient: uniquepid [ text] patienthealthsystemstayid [ number] patientunitstayid [ number] gender [ text] age [ text] ethnicity [ text] hospitalid [ number] wardid [ number] admissionheight [ number] admissionweight [ number] dischargeweight [ number] hospitaladmittime [ time] hospitaladmitsource [ text] unitadmittime [ time] unitdischargetime [ time] hospitaldischargetime [ time] hospitaldischargestatus [ text]
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 5
null
general
คำตอบของฉันสำหรับแท็กที่กำหนด ไม่จำเป็นต้องใช้ตารางทั้งหมด
My answers for a given tag.It is not neccessary to use all the tables.
ReviewRejectionReasons: Id [ number] Name [ text] Description [ text] PostTypeId [ number]
SELECT * FROM (SELECT Posts.Id FROM Tags JOIN PostTags ON PostTags.TagId = Tags.Id JOIN Posts ON Posts.Id = PostTags.PostId WHERE TagName = '##tagName##' AND Posts.PostTypeId = 1) AS questions JOIN Posts ON Posts.ParentId = questions.Id WHERE Posts.PostTypeId = 2 AND Posts.OwnerUserId = '##UserId##' AND Posts.CreationDate > '2019/9/01'
null
general
นับจำนวนครั้งระหว่างการเข้ารับการรักษาในโรงพยาบาลครั้งสุดท้ายที่ผู้ป่วย 15107 ได้รับหัตถการแบบฉีด/ใส่เนซิริไทด์ ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
count the number of times during the last hospital encounter that patient 15107 had received inject/infus nesiritide procedures.It is not neccessary to use all the tables.
microbiologyevents: row_id [ number] subject_id [ number] hadm_id [ number] charttime [ time] spec_type_desc [ text] org_name [ text]
SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'inject/infus nesiritide') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15107 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)
null
general
โรงพยาบาลใดในลอสแอนเจลิสเคาน์ตีที่ให้บริการเตียงในโรงพยาบาลเพื่อการพักฟื้นโดยเฉพาะได้รับการจัดอันดับอย่างน้อยให้อยู่ใน 10 โรงพยาบาลชั้นนำ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what hospital in los angeles county providing hospital beds specifically for rehabilitation is ranked at least among the top 10 hospitals ?It is not neccessary to use all the tables.
table_203_216: id [ number] "rank" [ number] "hospital" [ text] "city" [ text] "county" [ text]
SELECT "hospital" FROM table_203_216 WHERE "county" = 'los angeles' AND "type of hospital" = 'rehabilitaion' AND "rank" <= 10
null
general
ค่าโดยสารจากบอสตันไป DALLAS FORT WORTH เที่ยวเดียวในวันที่ 11 7 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the fare going from BOSTON to DALLAS FORT WORTH one way on 11 7It is not neccessary to use all the tables.
code_description: code [ varchar] description [ text]
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'FORT WORTH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND flight.to_airport = AIRPORT_SERVICE_2.airport_code) AND DATE_DAY_1.day_number = 7 AND DATE_DAY_1.month_number = 11 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND flight.flight_days = DAYS_1.days_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND DATE_DAY_0.day_number = 7 AND DATE_DAY_0.month_number = 11 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND fare_basis.basis_days = DAYS_0.days_code AND fare.fare_basis_code = fare_basis.fare_basis_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 fare.round_trip_required = 'NO'
null
general
แต้มต่อทีมที่เล่น 22 และแพ้ 6 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the points against for the team that played 22 and lost 6?It is not neccessary to use all the tables.
table_name_81: points_against [ VARCHAR] played [ VARCHAR] lost [ VARCHAR]
SELECT points_against FROM table_name_81 WHERE played = "22" AND lost = "6"
null
general
ตั้งชื่อหมายเลขการเลือกสูงสุดสำหรับ PI GP มากกว่า 55ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the highest pick number for PI GP more than 55It is not neccessary to use all the tables.
table_55419: "Player" [ text]
SELECT MAX("Pick #") FROM table_55419 WHERE "Pl GP" > '55'
null
general
ติร์รานาวันที่เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the date for tirrana?It is not neccessary to use all the tables.
table_8468: "Name" [ text] "Type" [ text] "Nationality" [ text] "Date" [ text] "Displacement" [ text]
SELECT "Date" FROM table_8468 WHERE "Name" = 'tirrana'
null
general
รอบต่ำสุดสำหรับผู้เล่น Claude Periard คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest round for the player Claude Periard?It is not neccessary to use all the tables.
table_9202: "Round" [ real] "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT MIN("Round") FROM table_9202 WHERE "Player" = 'claude periard'
null
general
เตียงแต่ละประเภทมีจำนวนห้องเท่าใด แสดงแผนภูมิแท่งเรียงตามจำนวนรวมจากต่ำไปสูง ไม่จำเป็นต้องใช้ทุกโต๊ะ
What are the number of rooms for each bed type Show bar chart, order by the total number from low to high.It is not neccessary to use all the tables.
Rooms: RoomId [ TEXT] roomName [ TEXT] beds [ INTEGER] bedType [ TEXT] maxOccupancy [ INTEGER] basePrice [ INTEGER] decor [ TEXT]
SELECT bedType, COUNT(*) FROM Rooms GROUP BY bedType ORDER BY COUNT(*)
null
general
ชื่อเต็มและอายุของนักเรียนหญิงทุกคนที่มีเพศสัมพันธ์เป็น F คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the full names and ages for all female students whose sex is F?It is not neccessary to use all the tables.
allergy_type: allergy [ text] allergytype [ text]
SELECT fname, lname, age FROM student WHERE sex = 'F'
null
general
ในแต่ละปีที่บินมากกว่า 64379058.0 กิโลเมตร ใช้เวลาบินกี่ชั่วโมง ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?It is not neccessary to use all the tables.
table_52: "Year" [ real] "Departures" [ real] "Passengers" [ real] "Employees" [ real] "Profit/loss" [ text]
SELECT "Flying hours" FROM table_52 WHERE "Aircraft kilometers" > '64379058.0'
null
general
เมืองหลวงคืออะไร (นามแฝง) โดยที่ดักลาสเป็นเมืองหลวง (นามแฝง)? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the capital (endonym) where Douglas is the Capital (exonym)?It is not neccessary to use all the tables.
table_1008653_9: capital___endonym__ [ VARCHAR] capital___exonym__ [ VARCHAR]
SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas"
null
general
มีผู้ป่วยเสียชีวิตกี่รายในเดือนเดียวกันหลังจากได้รับการวินิจฉัยจนถึงปี 2102 ด้วยยาเกินขนาดทั่วไป?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients died within the same month after being diagnosed until 2102 with drug overdose- general?It is not neccessary to use all the tables.
diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text]
SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'drug overdose- general') AS t1 GROUP BY t1.uniquepid HAVING MIN(t1.diagnosistime) = t1.diagnosistime AND STRFTIME('%y', t1.diagnosistime) <= '2102') AS t2 JOIN (SELECT patient.uniquepid, patient.patienthealthsystemstayid, patient.hospitaldischargetime FROM patient WHERE patient.hospitaldischargestatus = 'expired') AS t3 ON t2.uniquepid = t3.uniquepid WHERE DATETIME(t2.diagnosistime, 'start of month') = DATETIME(t3.hospitaldischargetime, 'start of month')
null
general
เป็นภาษาเยอรมันที่สูงกว่าหรือต่ำกว่ารัสเซียในจำนวนคนที่พูดภาษานั้น ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
is german above or below russia in the number of people who speak that language ?It is not neccessary to use all the tables.
table_203_88: id [ number] "language" [ text] "number" [ number] "males" [ number] "females" [ number]
SELECT (SELECT "number" FROM table_203_88 WHERE "language" = 'german') > (SELECT "number" FROM table_203_88 WHERE "language" = 'russian')
null
general
มีผู้ป่วยเชื้อสายเอเชียจำนวนกี่รายและมีชื่อการทดสอบในห้องปฏิบัติการว่า เจนตามิซิน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many patients are with asian ethnicity and with lab test name gentamicin?It is not neccessary to use all the tables.
procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "ASIAN" AND lab.label = "Gentamicin"
null
general
ประเทศใดเป็นชาติเดียวที่คว้าเหรียญรางวัลได้ไม่ถึง 10 เหรียญ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the only nation to win less than 10 medals total ?It is not neccessary to use all the tables.
table_203_497: id [ number] "rank" [ number] "nation" [ text] "gold" [ number] "silver" [ number] "bronze" [ number] "total" [ number]
SELECT "nation" FROM table_203_497 WHERE "total" < 10
null
general
ทีมไหนอยู่ก่อนหน้าซีเอสเอ มอสโก ในทีม 1 ไม่จำเป็นต้องใช้ตารางทั้งหมด
which team is previous to cska moscow on team 1It is not neccessary to use all the tables.
table_204_510: id [ number] "agg." [ text]
SELECT "team 1" FROM table_204_510 WHERE id = (SELECT id FROM table_204_510 WHERE "team 1" = 'cska moscow') - 1
null
general
Place คืออะไร เมื่อผู้เล่นคือ 'Steve Pate'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Place, when Player is 'Steve Pate'?It is not neccessary to use all the tables.
table_61132: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Place" FROM table_61132 WHERE "Player" = 'steve pate'
null
general
หมายเลขเกมเฉลี่ยเมื่อบันทึกเป็น 4-1 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average game number when the record is 4-1?It is not neccessary to use all the tables.
table_48453: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT AVG("Game") FROM table_48453 WHERE "Record" = '4-1'
null
general
จำนวนครั้งที่ผู้ป่วย 54281 ได้รับยา emtriva ในการมาโรงพยาบาลครั้งแรก ไม่จำเป็นต้องใช้ตารางทั้งหมด
number of times patient 54281 was prescribed emtriva in their first hospital visit.It is not neccessary to use all the tables.
microbiologyevents: row_id [ number] subject_id [ number] hadm_id [ number] charttime [ time] spec_type_desc [ text] org_name [ text]
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 54281 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND prescriptions.drug = 'emtriva'
null
general
ทีมเยือนทีมไหนมีสนาม mcg?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which Away team has a Venue of mcg?It is not neccessary to use all the tables.
table_name_82: away_team [ VARCHAR] venue [ VARCHAR]
SELECT away_team FROM table_name_82 WHERE venue = "mcg"
null
general
จำนวนผู้เข้าแข่งขันที่สูง 5'7' และอายุ 26 ปีพอดีคือเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the number of contestants who are 5'7' and exactly 26 years of age?It is not neccessary to use all the tables.
table_27692: "Country" [ text] "Contestant" [ text] "Age" [ real] "Hometown" [ text]
SELECT COUNT("Contestant") FROM table_27692 WHERE "Height (ft)" = '5''7' AND "Age" = '26'
null
general
พล็อตกระจายตามช่วงราคาเฉลี่ยของโรงแรมสำหรับรหัสระดับดาวแต่ละอันคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
plot scatter on what is the average price range of hotels for each each star rating code?It is not neccessary to use all the tables.
Shops: Shop_ID [ INTEGER] Shop_Details [ VARCHAR(255)]
SELECT star_rating_code, AVG(price_range) FROM Hotels GROUP BY star_rating_code
null
general
พาร์ต่ำสุดสำหรับ Bobby Cruickshank คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest par for Bobby Cruickshank?It is not neccessary to use all the tables.
table_13160: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT MIN("To par") FROM table_13160 WHERE "Player" = 'bobby cruickshank'
null
general
คู่ต่อสู้ในสัปดาห์ที่ 13 คือใคร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the opponent in week 13?It is not neccessary to use all the tables.
table_79230: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Score" [ text] "Record" [ text]
SELECT "Opponent" FROM table_79230 WHERE "Week" = '13'
null
general
ผู้นำคนใดก่อนปี 1932 กำกับโดย Archie Mayo?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What leading man earlier than 1932 was directed by archie mayo?It is not neccessary to use all the tables.
table_name_1: leading_man [ VARCHAR] year [ VARCHAR] director [ VARCHAR]
SELECT leading_man FROM table_name_1 WHERE year < 1932 AND director = "archie mayo"
null
general
วันที่ของสัปดาห์ที่ 17 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was week 17's date?It is not neccessary to use all the tables.
table_47964: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text]
SELECT "Date" FROM table_47964 WHERE "Week" = '17'
null
general
ปี 2013 รายการใดที่มีการแข่งขันแกรนด์สแลมในปี 2006?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which 2013 has a 2006 of grand slam tournaments?It is not neccessary to use all the tables.
table_33983: "Tournament" [ text] "2006" [ text] "2007" [ text] "2008-12" [ text] "2013" [ text]
SELECT "2013" FROM table_33983 WHERE "2006" = 'grand slam tournaments'
null
general
เมื่อเดนนิส รอสส์ (ขวา) ลงสมัครรับเลือกตั้งเป็นฝ่ายค้าน พรรคอะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
When dennis ross (r) unopposed is the candidate what is the party?It is not neccessary to use all the tables.
table_3186: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT "Party" FROM table_3186 WHERE "Candidates" = 'Dennis Ross (R) unopposed'
null
general
Kevin Brady เป็นฝ่ายไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What party was Kevin Brady?It is not neccessary to use all the tables.
table_1341395_44: party [ VARCHAR] incumbent [ VARCHAR]
SELECT party FROM table_1341395_44 WHERE incumbent = "Kevin Brady"
null
general
มีผู้ป่วยกี่คนที่วินิจฉัยโรค icd9 รหัส 28803?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients have diagnoses icd9 code 28803?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 WHERE diagnoses.icd9_code = "28803"
null
general
เมืองใดที่มีดิวิชั่นสูงสุดน้อยกว่า 40 และ Gaziantepspor Club ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which City or town has top division smaller than 40 and Gaziantepspor Club ?It is not neccessary to use all the tables.
table_name_70: city_or_town [ VARCHAR] number_of_seasons_in_top_division [ VARCHAR] club [ VARCHAR]
SELECT city_or_town FROM table_name_70 WHERE number_of_seasons_in_top_division < 40 AND club = "gaziantepspor"
null
general
นับจำนวนคนไข้ที่มีเชื้อชาติเป็นคนผิวดำ/เคปเวิร์ดและรหัสรายการเป็น 51249 หรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose ethnicity is black/cape verdean and item id is 51249?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 demographic.ethnicity = "BLACK/CAPE VERDEAN" AND lab.itemid = "51249"
null
general
รอบ 9 ทีมจะใช้ชื่ออะไร?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Round of 9 involved what name?It is not neccessary to use all the tables.
table_69683: "Round" [ real] "Overall" [ real] "Name" [ text] "Position" [ text] "College" [ text]
SELECT "Name" FROM table_69683 WHERE "Round" = '9'
null
general
ตั้งชื่อ us เฉพาะสำหรับ miley cyrusไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the us exclusive for miley cyrusIt is not neccessary to use all the tables.
table_24600706_1: us_exclusive [ VARCHAR] artist_band [ VARCHAR]
SELECT us_exclusive FROM table_24600706_1 WHERE artist_band = "Miley Cyrus"
null
general
ทองคำใดมีทองแดงมากกว่า 6?ไม่จำเป็นต้องใช้ทุกโต๊ะ
Which Gold has a Bronze larger than 6?It is not neccessary to use all the tables.
table_36676: "Rank" [ real] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real]
SELECT MIN("Gold") FROM table_36676 WHERE "Bronze" > '6'
null
general
ผลรวมของ Tony Jacklin เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Tony Jacklin's total?It is not neccessary to use all the tables.
table_name_33: total [ VARCHAR] player [ VARCHAR]
SELECT total FROM table_name_33 WHERE player = "tony jacklin"
null
general
เมื่อปัตตาเลี่ยนเป็นทีมมีกี่เกม?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When the clippers are the team how many games are there?It is not neccessary to use all the tables.
table_25870: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT COUNT("Game") FROM table_25870 WHERE "Team" = 'Clippers'
null
general
Who is Winners ซึ่งมีฉบับปี 1992, 2003 เป็น Not Winning ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is Winners that has editions of 1992, 2003 as Not WinningIt is not neccessary to use all the tables.
table_name_77: winners [ VARCHAR] not_winning_editions [ VARCHAR]
SELECT winners FROM table_name_77 WHERE not_winning_editions = "1992, 2003"
null
general
คู่ต่อสู้ในสัปดาห์ที่ 4 คือใคร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the opponent in week 4?It is not neccessary to use all the tables.
table_19637: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ real]
SELECT "Opponent" FROM table_19637 WHERE "Week" = '4'
null
general
ความสัมพันธ์ในครอบครัวของกษัตริย์กับบัลลังก์ 303 คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What are the family relations of the king with the throne name 303?It is not neccessary to use all the tables.
table_36347: "Title" [ text] "Born-Died" [ text]
SELECT "Family Relations" FROM table_36347 WHERE "Throne Name" = '303'
null
general
แมตช์ที่ผลสกอร์ 3-3 เกิดขึ้นที่จุดใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the location of the match that had a result of 3-3?It is not neccessary to use all the tables.
table_47982: "Match" [ text] "Date" [ text] "Location" [ text] "Lineup" [ text] "Result" [ text] "Competition" [ text]
SELECT "Location" FROM table_47982 WHERE "Result" = '3-3'
null
general
รอบใดที่มีผู้เล่นของ damon jones?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which Round has a Player of damon jones?It is not neccessary to use all the tables.
table_51067: "Round" [ real] "Pick" [ real] "Player" [ text] "Position" [ text] "College" [ text]
SELECT SUM("Round") FROM table_51067 WHERE "Player" = 'damon jones'
null
general
เหรียญทองทั้งหมดคืออะไรเมื่อเหรียญเงินน้อยกว่า 1.0 ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are all the gold medals when the silver medals is smaller than 1.0?It is not neccessary to use all the tables.
table_17964: "Ensemble" [ text]
SELECT "Gold Medals" FROM table_17964 WHERE "Silver Medals" < '1.0'
null
general
รายการเที่ยวบินเที่ยวเดียวที่ถูกที่สุดจาก MIAMI FLORIDA ไปยัง CHARLOTTE NORTH CAROLINAไม่จำเป็นต้องใช้ตารางทั้งหมด
list the cheapest one way flight from MIAMI FLORIDA to CHARLOTTE NORTH CAROLINAIt 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, fare, flight, flight_fare, state AS STATE_0, state AS STATE_1 WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MIAMI' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CHARLOTTE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND STATE_0.state_code = CITY_0.state_code AND STATE_0.state_name = 'FLORIDA' AND STATE_1.state_code = CITY_1.state_code AND STATE_1.state_name = 'NORTH CAROLINA') 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, state AS STATEalias2, state AS STATEalias3 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'MIAMI' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'CHARLOTTE' 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 STATEalias2.state_code = CITYalias2.state_code AND STATEalias2.state_name = 'FLORIDA' AND STATEalias3.state_code = CITYalias3.state_code AND STATEalias3.state_name = 'NORTH CAROLINA') AND fare.round_trip_required = 'NO' AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id
null
general
F28ความจุเท่าไหร่ครับไม่จำเป็นต้องใช้ทุกตารางครับ
what 's the capacity of an F28It is not neccessary to use all the tables.
compartment_class: compartment [ varchar] class_type [ varchar]
SELECT DISTINCT aircraft_code FROM aircraft WHERE basic_type = 'F28'
null
general
Derrick Green เข้าร่วมโรงเรียนกี่แห่ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many schools did Derrick Green attend?It is not neccessary to use all the tables.
table_11677691_11: school [ VARCHAR] player [ VARCHAR]
SELECT COUNT(school) FROM table_11677691_11 WHERE player = "Derrick Green"
null
general
ในนิวซีแลนด์ ค่าที่ไม่ทราบวันที่และเป็นธุรกิจพลังงานมีค่าเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
In New Zealand, what's the value that has an unknown date and is an energy business?It is not neccessary to use all the tables.
table_71611: "Date" [ text] "Company" [ text] "Business" [ text] "Country" [ text]
SELECT "Value ( USD )" FROM table_71611 WHERE "Date" = 'unknown' AND "Business" = 'energy' AND "Country" = 'new zealand'
null
general
คะแนนคืออะไร เมื่อทีมคือ 'วอชิงตัน'? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Score, when Team is 'Washington'?It is not neccessary to use all the tables.
table_name_81: score [ VARCHAR] team [ VARCHAR]
SELECT score FROM table_name_81 WHERE team = "washington"
null
general
มีกี่เกมที่มีผลลัพธ์เป็น 4 0 และมีผู้เข้าร่วมมากกว่า 12,256 คน ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many games have a Result of 4 0, and an Attendance larger than 12,256?It is not neccessary to use all the tables.
table_62815: "Game" [ real] "Date" [ text] "Opponent" [ text] "Venue" [ text] "Result" [ text] "Attendance" [ real]
SELECT COUNT("Game") FROM table_62815 WHERE "Result" = '4–0' AND "Attendance" > '12,256'
null
general
สถานะการจองแต่ละสถานะมีการจองจำนวนเท่าใด แสดงรายการรหัสสถานะการจองและจำนวนการจองที่เกี่ยวข้องด้วยแผนภูมิแท่ง ลำดับ X จากลำดับสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many bookings does each booking status have? List the booking status code and the number of corresponding bookings with a bar chart, order X from high to low order.It is not neccessary to use all the tables.
Apartment_Bookings: apt_booking_id [ INTEGER] apt_id [ INTEGER] guest_id [ INTEGER] booking_status_code [ CHAR(15)] booking_start_date [ DATETIME] booking_end_date [ DATETIME]
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY booking_status_code DESC
null
general
นับจำนวนผู้ป่วยในเส้นทางการให้ยาที่มีการวินิจฉัยรหัส icd9 99799 ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients on ng route of drug administration who have diagnoses icd9 code 99799.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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "99799" AND prescriptions.route = "NG"
null
general
อายุต่ำกว่า 83 ปี มีผู้ป่วยที่ได้รับยารหัส cipr200pm กี่ราย ไม่จำเป็นต้องใช้ทุกตาราง
how many patients aged below 83 years had the drug code cipr200pm?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "83" AND prescriptions.formulary_drug_cd = "CIPR200PM"
null
general
จำนวนผู้ป่วยชาวอเมริกันเชื้อสายแอฟริกัน/เฮติที่มีชื่อยา ครีมคอลลาเจนเนส ไม่จำเป็นต้องใช้ทุกตาราง
how many black/haitian american patients had the drug name collagenase ointmentIt 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND prescriptions.drug = "Collagenase Ointment"
null
general
เกมในสัปดาห์ที่ 7 คือวันที่เท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the date for the game in week 7?It is not neccessary to use all the tables.
table_52230: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text]
SELECT "Date" FROM table_52230 WHERE "Week" = '7'
null
general
เปรียบเทียบการกระจายเพศของผู้เล่นโดยใช้แผนภูมิแท่งแสดงตามจำนวนรวมจากสูงไปต่ำโปรดไม่จำเป็นต้องใช้ตารางทั้งหมด
Compare the distribution of the players' gender using a bar chart, show by the total number from high to low please.It is not neccessary to use all the tables.
club: Club_ID [ int] Club_name [ text] Region [ text] Start_year [ int]
SELECT Gender, COUNT(Gender) FROM player GROUP BY Gender ORDER BY COUNT(Gender) DESC
null
general
แสดงรายการผลลัพธ์ทั้งหมดสำหรับมะห์มูด อามาดิเนจัด เมื่อผู้สมัคร มีร์-ฮอสเซน มูซาวี ได้รับคะแนนเสียง 218,481 เสียง ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes.It is not neccessary to use all the tables.
table_26001: "Province" [ text]
SELECT "Mahmoud Ahmadinejad" FROM table_26001 WHERE "Mir-Hossein Mousavi" = '218481'
null
general
ซิด โอนีลเล่นฟุตบอลในสถานที่ใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What locations did sid o'neill play football?It is not neccessary to use all the tables.
table_16527640_2: location [ VARCHAR] player [ VARCHAR]
SELECT location FROM table_16527640_2 WHERE player = "Sid O'Neill"
null
general
เสมอแค่ไหนที่มีประตูมากกว่า 74 และแพ้น้อยกว่า 20 และเล่นได้มากกว่า 38 ไม่จำเป็นต้องใช้ตารางทั้งหมด
How much Drawn has Goals Against larger than 74, and a Lost smaller than 20, and a Played larger than 38?It is not neccessary to use all the tables.
table_name_43: drawn [ VARCHAR] played [ VARCHAR] goals_against [ VARCHAR] lost [ VARCHAR]
SELECT COUNT(drawn) FROM table_name_43 WHERE goals_against > 74 AND lost < 20 AND played > 38
null
general
จำนวนโพสต์โดยผู้ใช้จากฝรั่งเศสหรืออินเดียต่ออายุและสถานที่ตั้ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Number of posts by user from France or India per age and location.It is not neccessary to use all the tables.
SuggestedEdits: Id [ number] PostId [ number] CreationDate [ time] ApprovalDate [ time] RejectionDate [ time] OwnerUserId [ number] Comment [ text] Text [ text] Title [ text] Tags [ text] RevisionGUID [ other]
SELECT a2."age" AS "Age", a2.Location AS "Location", COUNT(*) AS "count_posts" FROM "Posts " AS a1 LEFT OUTER JOIN Users AS a2 ON (a2.Id = a1."LastEditorUserId ") WHERE (a2.Location IN ('France', 'India')) GROUP BY a2."age", a2.Location ORDER BY 'Age' DESC, 'Location' DESC
null
general
คะแนนของเกมที่นำไปสู่สถิติ 79-77 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the score of the game that led to a 79-77 record?It is not neccessary to use all the tables.
table_name_64: score [ VARCHAR] record [ VARCHAR]
SELECT score FROM table_name_64 WHERE record = "79-77"
null
general
ฤดูกาลที่ 2 และโค้ชโลว์แมนมีกี่ครั้ง? ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many times is the seasons 2 and the coach guy lowman?It is not neccessary to use all the tables.
table_9759: "Coach" [ text] "Years" [ text] "Seasons" [ real] "Record" [ text]
SELECT COUNT("Winning %") FROM table_9759 WHERE "Seasons" = '2' AND "Coach" = 'guy lowman'
null
general
น้ำตาของแอนตาร์กติกแสดงระหว่างปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
between what years was tears of the antarctic shown ?It is not neccessary to use all the tables.
table_204_379: id [ number] "year" [ text] "title" [ text] "hangul" [ text] "network" [ text]
SELECT "year" FROM table_204_379 WHERE "title" = 'tears of the antarctic'
null
general
แสดงความถี่ของปีเหล่านั้น (bin year เป็น year range) ที่ทีม Boston Red Stockings ชนะในช่วงหลังฤดูกาลด้วยกราฟแท่ง ผมขอเรียงตามแกน x เรียงตามลำดับนะครับ ไม่จำเป็นต้องใช้ตารางทั้งหมด .
Show me the frequency of those years (bin year into year interval) that the team Boston Red Stockings won in the postseasons with a bar chart, I want to order by the x axis in desc please.It is not neccessary to use all the tables.
salary: year [ INTEGER] team_id [ TEXT] league_id [ TEXT] player_id [ TEXT] salary [ INTEGER]
SELECT year, COUNT(year) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' ORDER BY year DESC
null
general
มีอะไรเปลี่ยนแปลงไปจากไตรมาสเดียวกันของปีที่แล้วในช่วงเวลาที่รถไฟ 89.6% มาถึงภายใน 5 นาทีของเวลาที่กำหนด (มากกว่า 3 เดือน)? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?It is not neccessary to use all the tables.
table_1636: "Period" [ text]
SELECT "Change over same quarter the previous year" FROM table_1636 WHERE "% trains arriving within 5 mins of scheduled time (over three months)" = '89.6%'
null
general
ในปี 1978 ทีม NFL คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
In 1978 what is the NFL team?It is not neccessary to use all the tables.
table_name_30: nfl_team [ VARCHAR] draft_year [ VARCHAR]
SELECT nfl_team FROM table_name_30 WHERE draft_year = 1978
null
general
ผู้จัดการคนต่อไปของ ทีทีเอ็ม สมุทรสาคร หลังจาก ประจักษ์เวียงสง ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
next manager of ttm samut sakhon after prajuk viengsongIt is not neccessary to use all the tables.
table_204_805: id [ number] "name" [ text] "club" [ text] "replacement" [ text]
SELECT "name" FROM table_204_805 WHERE "club" = 'ttm samut sakhon' AND "date of departure" > (SELECT "date of departure" FROM table_204_805 WHERE "name" = 'prajuk viengsong') ORDER BY "date of departure" LIMIT 1
null
general
จำนวนเกมทั้งหมดเป็นเท่าใด เมื่อแพ้มากกว่า 6 เมื่อคลับคือ 'Club Sportif Sfaxien' และเมื่อชนะน้อยกว่า 3? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the total number of Games, when Losses is greater than 6, when Club is 'Club Sportif Sfaxien', and when Wins is less than 3?It is not neccessary to use all the tables.
table_12918: "Club" [ text] "Games" [ real] "Wins" [ real] "Losses" [ real] "Draws" [ real]
SELECT COUNT("Games") FROM table_12918 WHERE "Losses" > '6' AND "Club" = 'club sportif sfaxien' AND "Wins" < '3'
null
general
แผนภูมิแท่งแกน x รหัสประเภทการ์ดแกน y เป็นจำนวนทั้งหมดและแสดงตามแกน y จากสูงไปต่ำโปรดไม่จำเป็นต้องใช้ตารางทั้งหมด
Bar chart x axis card type code y axis the total number, and display by the y-axis from high to low please.It is not neccessary to use all the tables.
Customers_Cards: card_id [ INTEGER] customer_id [ INTEGER] card_type_code [ VARCHAR(15)] card_number [ VARCHAR(80)] date_valid_from [ DATETIME] date_valid_to [ DATETIME] other_card_details [ VARCHAR(255)]
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code ORDER BY COUNT(*) DESC
null
general
มีผู้ป่วยกี่รายที่เป็นประเภทการรับเข้าแบบเร่งด่วนและรหัสรายการคือ 50806 ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose admission type is urgent and item id is 50806?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.itemid = "50806"
null
general
ในภาคการศึกษาถัดไป จำนวนชั้นเรียน MKT ที่เปิดสอนคือ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
In next semester , the number of MKT classes offered is ?It is not neccessary to use all the tables.
instructor: instructor_id [ int] name [ varchar] uniqname [ varchar]
SELECT COUNT(DISTINCT course_offering.course_id) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'MKT' AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
null
general
ตำแหน่งที่จำหน่ายและโรคหลักของชื่อผู้เข้ารับการทดลอง charley pescatore คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is discharge location and primary disease of subject name charley pescatore?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 demographic.discharge_location, demographic.diagnosis FROM demographic WHERE demographic.name = "Charley Pescatore"
null
general
เปอร์เซ็นต์ของผู้ลงคะแนนเมื่อเปอร์เซ็นต์ของผู้ลงคะแนนไม่คือ 36.51 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the turnout percentage when the percentage of people that voted no was 36.51?It is not neccessary to use all the tables.
table_29392: "Province" [ text] "Yes" [ real] "No" [ real]
SELECT "Turnout (%)" FROM table_29392 WHERE "No (%)" = '36.51'
null
general
จำนวนผู้เข้าร่วมต่ำสุดในวันที่ 8 ตุลาคม พ.ศ. 2529 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the lowest Attendance on 8 October 1986?It is not neccessary to use all the tables.
table_7385: "Date" [ text] "Opponent" [ text] "Venue" [ text] "Result" [ text] "Attendance" [ real]
SELECT MIN("Attendance") FROM table_7385 WHERE "Date" = '8 october 1986'
null
general
ความถี่ของเครื่องที่มี Multi 1 เท่ากับ 7.5 คือเท่าไร ?ไม่จำเป็นต้องใช้ทุกตารางครับ
What's the frequency of the device that has a Multi 1 of 7.5 ?It is not neccessary to use all the tables.
table_name_28: frequency [ VARCHAR] multi_1 [ VARCHAR]
SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×"
null
general
ซึ่งมีเวลาน้อยที่สุด ?ไม่จำเป็นต้องใช้ทุกตาราง
which had the least amount of time ?It is not neccessary to use all the tables.
table_203_734: id [ number] "year" [ number] "competition" [ text] "venue" [ text] "position" [ text] "event" [ text] "notes" [ text]
SELECT "competition" FROM table_203_734 ORDER BY "notes" LIMIT 1
null
general
เลนของบริเตนใหญ่ที่มีความร้อนน้อยกว่า 3 คืออะไร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What's Great Britain's lane with a heat less than 3?It is not neccessary to use all the tables.
table_name_40: lane [ INTEGER] nationality [ VARCHAR] heat [ VARCHAR]
SELECT AVG(lane) FROM table_name_40 WHERE nationality = "great britain" AND heat < 3
null
general
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มีรหัสระหว่าง 100 ถึง 200 ให้เห็นภาพแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Last_name และ Employee_id โดยแสดงเป็น asc ตามแกน y โปรดใช้ตารางทั้งหมดไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด .
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of last_name and employee_id , show in asc by the y-axis please.It is not neccessary to use all the tables.
job_history: EMPLOYEE_ID [ decimal(60)] START_DATE [ date] END_DATE [ date] JOB_ID [ varchar(10)] DEPARTMENT_ID [ decimal(40)]
SELECT LAST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMPLOYEE_ID
null
general
จำนวนเสาสูงสุดคือเท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the maximum amount of the poles?It is not neccessary to use all the tables.
table_2190919_3: poles [ INTEGER]
SELECT MAX(poles) FROM table_2190919_3
null
general
สถานที่ที่เรียกว่าอิสสาควาห์มีความเกี่ยวข้องอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the affiliation of a location called Issaquah?It is not neccessary to use all the tables.
table_name_51: affiliation [ VARCHAR] location [ VARCHAR]
SELECT affiliation FROM table_name_51 WHERE location = "issaquah"
null
general
พรีซีซั่นใดที่มี A-League 0 1 และรอบชิงชนะเลิศที่มากกว่า 0 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Pre-Season has a A-League of 0 1, and a Finals larger than 0?It is not neccessary to use all the tables.
table_8657: "Name" [ text] "Pre-Season" [ real] "A-League" [ text] "Finals" [ real] "Total" [ text]
SELECT MIN("Pre-Season") FROM table_8657 WHERE "A-League" = '0 1' AND "Finals" > '0'
null
general
ฉันต้องการทราบปากกาที่มี Conv เท่ากับ 6 ไม่จำเป็นต้องใช้ตารางทั้งหมด
I want to know the pens with conv of 6It is not neccessary to use all the tables.
table_name_10: pens [ VARCHAR] conv [ VARCHAR]
SELECT pens FROM table_name_10 WHERE conv = "6"
null
general
แสดง Store_Name ทั้งหมดของกลุ่มเวิร์คช็อปละคร ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show all the Store_Name of drama workshop groups.It is not neccessary to use all the tables.
stores: store_id [ text] address_id [ number] marketing_region_code [ text] store_name [ text] store_phone [ text] store_email_address [ text] other_details [ text]
SELECT store_name FROM drama_workshop_groups
null
general
ระบุอายุสูงสุดของผู้ป่วยที่ได้รับการดูแลในโรงพยาบาลระยะยาวแต่ไม่มีสถานะการรอดชีวิต ไม่ระบุ/ไม่ระบุ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Specify the maximum age of patients who received long-term hospital care but whose survival status is unkown/unspecifiedIt 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 MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.discharge_location = "LONG TERM CARE HOSPITAL"
null
general
ตำแหน่งใดในลีกที่เป็นซูเปอร์ลีกมาเลเซีย และเป็นปี 2554? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the position when the League is the malaysian super league, and a Year of 2011?It is not neccessary to use all the tables.
table_name_85: position [ VARCHAR] league [ VARCHAR] year [ VARCHAR]
SELECT position FROM table_name_85 WHERE league = "malaysian super league" AND year = "2011"
null
general