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
ค่าเฉลี่ยในปี 2010 ของทีมที่มีรหัส (IATA/ICAO) หรือ cra/lrcv คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv?It is not neccessary to use all the tables.
table_67116: "Rank" [ real] "Airport" [ text] "City" [ text] "2008" [ real] "2009" [ real] "2010" [ real]
SELECT "2010" FROM table_67116 WHERE "Code (IATA/ICAO)" = 'cra/lrcv'
null
general
สัปดาห์สูงสุดของเกมในวันที่ 9 พฤศจิกายน 1997 คือสัปดาห์ใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the highest week of the game on November 9, 1997?It is not neccessary to use all the tables.
table_name_1: week [ INTEGER] date [ VARCHAR]
SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997"
null
general
ในแต่ละปีมีการจองอพาร์ทเมนท์จำนวนกี่ห้อง? แสดงแผนภูมิแท่งวันที่สิ้นสุดการจองตามปี โดยเรียงลำดับจากน้อยไปมากตาม Y ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many apartment bookings in each year? Show me a bar chart binning booking end date by year, rank in ascending by the Y.It is not neccessary to use all the tables.
Guests: guest_id [ INTEGER] gender_code [ CHAR(1)] guest_first_name [ VARCHAR(80)] guest_last_name [ VARCHAR(80)] date_of_birth [ DATETIME]
SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings ORDER BY COUNT(booking_end_date)
null
general
Race 2 คืออะไร เมื่อ Race 1 มี 30? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is Race 2, when Race 1 is 30?It is not neccessary to use all the tables.
table_name_6: race_2 [ VARCHAR] race_1 [ VARCHAR]
SELECT race_2 FROM table_name_6 WHERE race_1 = "30"
null
general
บอกจำนวนคะแนนโหวตที่ szabo ได้ในปี 1965 หน่อยสิ ไม่จำเป็นต้องใช้ทุกตารางเลย
tell me the number of votes that szabo got in 1965 .It is not neccessary to use all the tables.
table_204_859: id [ number] "year" [ number]
SELECT "seniors (trood award & rodda medal)" FROM table_204_859 WHERE "year" = 1965
null
general
NCAA Division ii Franklin Pierce University อยู่ที่ไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Where is NCAA division ii Franklin Pierce University located at?It is not neccessary to use all the tables.
table_67250: "Institution" [ text] "Location" [ text] "Nickname" [ text] "Classification" [ text]
SELECT "Location" FROM table_67250 WHERE "Classification" = 'ncaa division ii' AND "Institution" = 'franklin pierce university'
null
general
พวกเขามีคะแนนมากที่สุดคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the largest number of points they had?It is not neccessary to use all the tables.
table_2868: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Attendance" [ real] "Record" [ text] "Points" [ real]
SELECT MAX("Points") FROM table_2868
null
general
คุณช่วยแสดงข้อกำหนดสำหรับปริญญา CS-LSA ให้ฉันดูได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Can you show me the requirements for a CS-LSA degree ?It is not neccessary to use all the tables.
course_prerequisite: pre_course_id [ int] course_id [ int]
SELECT DISTINCT program_requirement.additional_req, program_requirement.category, program_requirement.min_credit, program.name FROM program, program_requirement WHERE program.name LIKE '%CS-LSA%' AND program.program_id = program_requirement.program_id
null
general
ตัวเลือกที่ต่ำที่สุดสำหรับ Buffalo Bills คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest pick for the Buffalo Bills?It is not neccessary to use all the tables.
table_66592: "Pick" [ real] "Team" [ text] "Player" [ text] "Position" [ text] "College" [ text]
SELECT MIN("Pick") FROM table_66592 WHERE "Team" = 'buffalo bills'
null
general
คลาสใดที่ตรงไปตรงมาที่สุดที่ฉันสามารถทำได้เพื่อตอบสนอง Core คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the most straightforward class I can take to satisfy the Core ?It is not neccessary to use all the tables.
offering_instructor: offering_instructor_id [ int] offering_id [ int] instructor_id [ int]
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 WHERE PROGRAM_COURSEalias1.category LIKE '%Core%')
null
general
เกมใดมีสถิติ 27-11-10?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Game has a Record of 27-11-10?It is not neccessary to use all the tables.
table_38452: "Game" [ real] "March" [ real] "Opponent" [ text] "Score" [ text] "Record" [ text]
SELECT AVG("Game") FROM table_38452 WHERE "Record" = '27-11-10'
null
general
ตั้งชื่ออัตรานาฬิกาสูงสุด mhzไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the maximum clock rate mhzIt is not neccessary to use all the tables.
table_19201: "Designation" [ text] "Channels" [ text]
SELECT MAX("Clock rate (MHz)") FROM table_19201
null
general
คำนวณอายุขั้นต่ำของผู้ป่วยเชื้อชาติผิวดำ/เคปเวิร์ด ที่ต้องพักรักษาตัวในโรงพยาบาล 8 วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
calculate the minimum age of black/cape verdean ethnic background patients who had 8 days of stay in hospital.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 MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.days_stay = "8"
null
general
ความเร็วสูงสุดของเครื่องยนต์เบนซินที่ ps (kw; bhp)@5250-6250 คือเท่าไร?ไม่จำเป็นต้องใช้ทุกตาราง
What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?It is not neccessary to use all the tables.
table_24181: "Model" [ text] "Years" [ text] "Type/code" [ text] "Transmission" [ text] "Torque" [ text]
SELECT "top speed" FROM table_24181 WHERE "max. power" = 'PS (kW; bhp)@5250-6250'
null
general
สถานที่ใดมีรายได้รวม 1,325,153 ดอลลาร์ในปี 2011?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What venue had gross revenues of $1,325,153 in 2011?It is not neccessary to use all the tables.
table_69201: "Venue" [ text] "City" [ text]
SELECT "Venue" FROM table_69201 WHERE "Gross Revenue (2011)" = '$1,325,153'
null
general
ความหมายของข้อจำกัด ap80 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the meaning of restriction ap80It is not neccessary to use all the tables.
equipment_sequence: aircraft_code_sequence [ varchar] aircraft_code [ varchar]
SELECT DISTINCT advance_purchase, application, maximum_stay, minimum_stay, no_discounts, restriction_code, saturday_stay_required, stopovers FROM restriction WHERE restriction_code = 'AP/80'
null
general
ปี 2011 ใดเป็นค่าต่ำสุดที่มี 1948 เล็กกว่า 15872624 และ 1966 เป็น 263103 และ 1992 ใหญ่กว่า 266308 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308?It is not neccessary to use all the tables.
table_39346: "County" [ text] "1948" [ real] "1956" [ real] "1966" [ real] "1977" [ real] "1992" [ real] "2002" [ real] "2011" [ real]
SELECT MIN("2011") FROM table_39346 WHERE "1948" < '15872624' AND "1966" = '263103' AND "1992" > '266308'
null
general
ใครคือผู้เล่นที่ได้รับค่าตอบแทนสูงสุดนับตั้งแต่ปี 2010?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the highest paid player since 2010?It is not neccessary to use all the tables.
player_award: player_id [ text] award_id [ text] year [ number] league_id [ text] tie [ text] notes [ text]
SELECT player_id FROM salary WHERE year >= 2010 ORDER BY salary DESC LIMIT 1
null
general
เมืองใดมีประชากร 834 คน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
which township has his population as 834 ?It is not neccessary to use all the tables.
table_203_459: id [ number] "township" [ text] "fips" [ number] "population\ncenter" [ text] "population" [ number]
SELECT "township" FROM table_203_459 WHERE "population" = 834
null
general
ทุกค่าสำหรับโครแอตเป็นเท่าใดเมื่อค่าสำหรับชาวโรมาเนียคือ 16.65%? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is every value for Croats when value for Romanians is 16.65%?It is not neccessary to use all the tables.
table_2930: "Year" [ real] "Population" [ real] "Serbs" [ text] "Germans" [ text] "Romanians" [ text] "Hungarians" [ text] "Croats" [ text] "Roma" [ text] "Slovaks" [ text] "Rest" [ text]
SELECT "Croats" FROM table_2930 WHERE "Romanians" = '16.65%'
null
general
ผลรวมของค่าเฉลี่ยที่มีความยาว 32 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of averages with a long value of 32?It is not neccessary to use all the tables.
table_name_70: avg [ INTEGER] long [ VARCHAR]
SELECT SUM(avg) FROM table_name_70 WHERE long = 32
null
general
บอกจำนวนคะแนนรวมกับแชสซีของ tf103 หน่อย ไม่จำเป็นต้องใช้ทุกตาราง
Tell me the total number of points with chassis of tf103It is not neccessary to use all the tables.
table_11482: "Year" [ real] "Chassis" [ text] "Engine" [ text] "Tyres" [ text] "Points" [ real]
SELECT COUNT("Points") FROM table_11482 WHERE "Chassis" = 'tf103'
null
general
แรงขับเชื้อเพลิงเป็น cng กี่ครั้ง ไม่จำเป็นต้องใช้ทุกตาราง
how many times is the fuel propulsion is cng?It is not neccessary to use all the tables.
table_15845: "Manufacturer" [ text] "Model" [ text]
SELECT COUNT("Fleet Series (Quantity)") FROM table_15845 WHERE "Fuel Propulsion" = 'CNG'
null
general
ทีมไหนเมื่อเศรษฐกิจอยู่ที่ 5.73?ไม่จำเป็นต้องใช้ทุกตาราง
What is the team when the economy is 5.73?It is not neccessary to use all the tables.
table_29386: "Player" [ text] "Team" [ text] "Matches" [ real] "Overs" [ text] "Wickets" [ real] "Average" [ text] "Economy" [ text] "BBI" [ text] "4wi" [ real] "5wi" [ real]
SELECT "Team" FROM table_29386 WHERE "Economy" = '5.73'
null
general
อะไรคือห้าขั้นตอนที่พบบ่อยที่สุดในปี 2101?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what were the five procedures that were the most frequent in 2101?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 d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE STRFTIME('%y', procedures_icd.charttime) = '2101' GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 <= 5)
null
general
ซึ่งเป็นเทศกาล/งานแรกของเออร์เบดิจาที่เขาได้รับการเสนอชื่อเข้าชิงแต่ไม่ได้รับรางวัล ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมดเลย
which was erbedija 's first festival/event where he was nominated but did n't win an award ?It is not neccessary to use all the tables.
table_203_191: id [ number] "year" [ number] "group" [ text] "award" [ text] "result" [ text] "notes" [ text]
SELECT "group" FROM table_203_191 WHERE "result" = 'nominated' ORDER BY "year" LIMIT 1
null
general
ถ้าเงินเดือนอยู่ในช่วง 4,000-9,000 คนอินเดียเป็น % เท่าไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
If the salary range is 4,000-9,000, what is the Indians %?It is not neccessary to use all the tables.
table_74078: "Indians" [ text] "Pakistanis" [ text] "Nepalese" [ text]
SELECT "Indians" FROM table_74078 WHERE "Salary range" = '4,000-9,000'
null
general
ตั้งชื่อบันทึกสถานที่เข้าเยี่ยมชมพระราชวังออเบิร์นฮิลส์ 15,210 ไม่จำเป็นต้องใช้ทุกโต๊ะ
Name the record for attendance location of palace of auburn hills 15,210It is not neccessary to use all the tables.
table_21310: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location/Attendance" [ text] "Record" [ text]
SELECT "Record" FROM table_21310 WHERE "Location/Attendance" = 'Palace of Auburn Hills 15,210'
null
general
ตารางใดสูงที่สุดและมีเวลา/เกษียณที่ +0.3?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which grid is the highest and has a time/retired of +0.3?It is not neccessary to use all the tables.
table_54221: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT MAX("Grid") FROM table_54221 WHERE "Time/Retired" = '+0.3'
null
general
เมื่อไรเดอร์คือ Aleix Espargaro จำนวนกริดทั้งหมดเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total number of Grid, when Rider is Aleix Espargaro?It is not neccessary to use all the tables.
table_name_2: grid [ VARCHAR] rider [ VARCHAR]
SELECT COUNT(grid) FROM table_name_2 WHERE rider = "aleix espargaro"
null
general
เพลงไหนมีสัปดาห์ที่ยาวนานที่สุดในชาร์ต 15 อันดับแรกของเอเชียทั่วโลก ?ไม่จำเป็นต้องใช้ตารางทั้งหมดเลย
which song has the longest weeks on global asia 's top 15 chart ?It is not neccessary to use all the tables.
table_202_54: id [ number] "song" [ text] "chinese" [ text]
SELECT "song" FROM table_202_54 ORDER BY "global asia\ntop 15" DESC LIMIT 1
null
general
BTU/Gal ของน้ำมันเชื้อเพลิงที่มี kWh/Gal เท่ากับ 24.04 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the BTU/Gal of the fuel whose kWh/Gal is 24.04?It is not neccessary to use all the tables.
table_2224692_1: btu_gal [ VARCHAR] kwh_gal [ VARCHAR]
SELECT btu_gal FROM table_2224692_1 WHERE kwh_gal = "24.04"
null
general
สถิติไหนมีคะแนน 0 2 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Record has a Score of 0 2?It is not neccessary to use all the tables.
table_name_38: record [ VARCHAR] score [ VARCHAR]
SELECT record FROM table_name_38 WHERE score = "0–2"
null
general
นับจำนวนผู้ป่วยที่ได้รับวิตามินเคภายใน 2 เดือน หลังจากได้รับการวินิจฉัย จนถึง 3 ปีที่แล้ว มีกระดูกหัก-ปลายแขนซ้าย ไม่จำเป็นต้องใช้ทุกตาราง
count the number of patients who received vitamin k within 2 months after being diagnosed until 3 years ago with bone fracture(s) - left lower extremity.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 COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'bone fracture(s) - left lower extremity' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-3 year')) AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'vitamin k' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year')) AS t2 WHERE t1.diagnosistime < t2.treatmenttime AND DATETIME(t2.treatmenttime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month')
null
general
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 แผนภูมิกระจายจะแสดงความสัมพันธ์ระหว่างเงินเดือนและ manager_id ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees who was hired before 2002-06-21, a scatter chart shows the correlation between salary and manager_id .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 SALARY, MANAGER_ID FROM employees WHERE HIRE_DATE < '2002-06-21'
null
general
ค่าที่วัดได้ครั้งแรกของ sao2 ของผู้ป่วย 013-11660 ในวันที่ 27/12/ปีนี้คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the first measured value of sao2 of patient 013-11660 on 12/27/this year?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.sao2 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-11660')) AND NOT vitalperiodic.sao2 IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m-%d', vitalperiodic.observationtime) = '12-27' ORDER BY vitalperiodic.observationtime LIMIT 1
null
general
ใครมีชื่อเดิมว่า nordpr ven?ไม่จำเป็นต้องใช้ทุกตาราง
Who has a former name of nordpr ven?It is not neccessary to use all the tables.
table_80042: "Rank" [ real] "Population" [ real] "Name" [ text] "Municipality" [ text]
SELECT "Name" FROM table_80042 WHERE "Former Name" = 'nordprøven'
null
general
Chroma Format ใดที่มีทั้ง Picture Coding ประเภท i, p, b และ Name ของโปรไฟล์หลัก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile?It is not neccessary to use all the tables.
table_34258: "Abbr." [ text] "Name" [ text]
SELECT "Chroma Format" FROM table_34258 WHERE "Picture Coding Types" = 'i, p, b' AND "Name" = 'main profile'
null
general
หลังจากปี 2008 ดิวิชั่น 4 ใช้เวลานานเท่าใดจึงจะผ่านเข้ารอบตัดเชือกอีกครั้ง ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how long after 2008 did it take for division 4 to qualify for the playoffs once again ?It is not neccessary to use all the tables.
table_204_463: id [ number] "year" [ number] "division" [ number] "league" [ text] "playoffs" [ text]
SELECT "year" - 2008 FROM table_204_463 WHERE "playoffs" <> 'did not qualify' AND "year" > 2008
null
general
ธีมของสัปดาห์ 11 อันดับแรกคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the theme for the Top 11 week?It is not neccessary to use all the tables.
table_name_59: theme [ VARCHAR] week [ VARCHAR]
SELECT theme FROM table_name_59 WHERE week = "top 11"
null
general
จั่วตัวไหนสูงสุดที่มีแต้มต่อมากกว่า 15 และแต้มน้อยกว่า 15 และแพ้น้อยกว่า 9 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9?It is not neccessary to use all the tables.
table_38556: "Position" [ real] "Team" [ text] "Points" [ real] "Played" [ real] "Drawn" [ real] "Lost" [ real] "Against" [ real] "Difference" [ text]
SELECT MAX("Drawn") FROM table_38556 WHERE "Against" > '15' AND "Points" < '15' AND "Lost" < '9'
null
general
เซาธ์ เมลเบิร์น เล่นเป็นทีมเยือนเมื่อใด?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
When did South Melbourne play as the away team?It is not neccessary to use all the tables.
table_33590: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Date" FROM table_33590 WHERE "Away team" = 'south melbourne'
null
general
ใครเล่นหญิงเดี่ยวในปี 1933?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who played women's singles in 1933?It is not neccessary to use all the tables.
table_5346: "Year" [ text]
SELECT "Women's singles" FROM table_5346 WHERE "Year" = '1933'
null
general
วันที่ออกอากาศครั้งแรกวันที่ 3 เมษายน 2555 มีกี่เรื่อง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many titles are there for the original air date April 3, 2012?It is not neccessary to use all the tables.
table_26150013_1: title [ VARCHAR] original_air_date [ VARCHAR]
SELECT COUNT(title) FROM table_26150013_1 WHERE original_air_date = "April 3, 2012"
null
general
วันออกอากาศเดิมสำหรับตอนที่มีรหัสการผลิต ipea345a คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the original air date(s) for episodes with production code ipea345a?It is not neccessary to use all the tables.
table_2501754_2: original_airdate [ VARCHAR] prod_code [ VARCHAR]
SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA345A"
null
general
ลักษณะของบทบาทในปี 2552 มีอะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is every nature of role with year as 2009?It is not neccessary to use all the tables.
table_2872: "Year" [ real] "Co-Artists" [ text] "Location" [ text]
SELECT "Nature of Role" FROM table_2872 WHERE "Year" = '2009'
null
general
ใครเป็นคนเขียน 'ตอนที่ 4'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who wrote 'episode 4'?It is not neccessary to use all the tables.
table_22286: "Title" [ text] "Director" [ text] "Writer" [ text]
SELECT "Writer" FROM table_22286 WHERE "Title" = 'Episode 4'
null
general
แสดงชื่อผลงานโดยเรียงลำดับตามปีที่ได้รับการเสนอชื่อเข้าชิง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the names of artworks in ascending order of the year they are nominated in.It is not neccessary to use all the tables.
artwork: Name [ VARCHAR] Artwork_ID [ VARCHAR]
SELECT T2.Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID ORDER BY T3.Year
null
general
ระบุจำนวนผู้ป่วยที่รักษาตัวในโรงพยาบาลมากกว่า 8 วัน และชื่อยา trazodone ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose days of hospital stay is greater than 8 and drug name is trazodone?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "8" AND prescriptions.drug = "traZODONE"
null
general
วันที่ของเกมที่มีสถิติ 12 7 6 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Date of the game with a Record of 12 7 6?It is not neccessary to use all the tables.
table_46086: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text]
SELECT "Date" FROM table_46086 WHERE "Record" = '12–7–6'
null
general
ผลลัพธ์คืออะไร เมื่อฝ่ายตรงข้ามคือ Cincinnati Bengals? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Result, when Opponent is Cincinnati Bengals?It is not neccessary to use all the tables.
table_50144: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text]
SELECT "Result" FROM table_50144 WHERE "Opponent" = 'cincinnati bengals'
null
general
มีกี่ไม้กอล์ฟที่ไม่มีผลเสมอ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many clubs had no drawn results ?It is not neccessary to use all the tables.
table_203_322: id [ number] "club" [ text] "played" [ number] "won" [ number] "drawn" [ number] "lost" [ number] "points" [ number]
SELECT COUNT("club") FROM table_203_322 WHERE "drawn" IS NULL
null
general
ขนาดหน้าจอและค่าพิกเซลเป็นเท่าใดเมื่อมีขนาด 115.5 83.7 102.5?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the screen size and pixel value when the dimensions are 115.5 83.7 102.5?It is not neccessary to use all the tables.
table_32079: "Model" [ text] "Weight" [ text]
SELECT "Screen size,pixels" FROM table_32079 WHERE "Dimensions W\u00d7H\u00d7D (mm)" = '115.5×83.7×102.5'
null
general
อายุสูงสุดของผู้ป่วยที่มีสถานภาพสมรสเป็นหม้ายและมีประกันสุขภาพคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is maximum age of patients whose marital status is widowed and insurance is medicare?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 MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.insurance = "Medicare"
null
general
มีผู้ป่วยกี่รายที่ได้รับยาเข้าตาทั้งสองข้างและเข้ารับการรักษาแบบเร่งด่วน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients were administered drug via both eyes and have been admitted on an urgent basis?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.route = "BOTH EYES"
null
general
คู่ต่อสู้คนใดในรอบชิงชนะเลิศมีคู่หูของ daniella domininikovic?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Opponents in the final have a Partner of daniella dominikovic?It is not neccessary to use all the tables.
table_39296: "Outcome" [ text] "Date" [ text] "Tournament" [ text] "Surface" [ text] "Partner" [ text] "Score" [ text]
SELECT "Opponents in the final" FROM table_39296 WHERE "Partner" = 'daniella dominikovic'
null
general
หมายเลขโทรศัพท์และที่อยู่อีเมลของลูกค้าทั้งหมดที่มียอดคงค้างมากกว่า 2,000 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?It is not neccessary to use all the tables.
addresses: address_id [ number] line_1_number_building [ text] city [ text] zip_postcode [ text] state_province_county [ text] country [ text]
SELECT phone_number, email_address FROM customers WHERE amount_outstanding > 2000
null
general
การแข่งขันกับ Jonatas Novaes จบลงในรอบไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which round did the bout against Jonatas Novaes end in?It is not neccessary to use all the tables.
table_68411: "Res." [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Round" [ real] "Time" [ text] "Location" [ text]
SELECT "Round" FROM table_68411 WHERE "Opponent" = 'jonatas novaes'
null
general
ผลลัพธ์ใดมีหนึ่งปีมากกว่าปี 2003 และรางวัลนักแสดงสมทบหญิงยอดเยี่ยม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Result has a Year larger than 2003, and an Award of best supporting actress?It is not neccessary to use all the tables.
table_35217: "Year" [ real] "Group" [ text] "Award" [ text] "Film" [ text] "Result" [ text]
SELECT "Result" FROM table_35217 WHERE "Year" > '2003' AND "Award" = 'best supporting actress'
null
general
ระบุจำนวนผู้ป่วยที่มีโรคหลักคือ cerebral aneurysm/sda และค่าของเหลวทดสอบในห้องปฏิบัติการคือปัสสาวะหรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the number of patients whose primary disease is cerebral aneurysm/sda and lab test fluid is urine?It is not neccessary to use all the tables.
diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "CEREBRAL ANEURYSM/SDA" AND lab.fluid = "Urine"
null
general
ลองนึกภาพแผนภูมิแท่งเกี่ยวกับการกระจายของ Team_Name และ Team_ID คุณช่วยจัดอันดับจากน้อยไปหามากด้วยแถบได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Visualize a bar chart about the distribution of Team_Name and Team_ID , could you rank in ascending by the bar please?It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT Team_Name, Team_ID FROM basketball_match ORDER BY Team_Name
null
general
การทดสอบในห้องปฏิบัติการที่ได้รับคำสั่งบ่อยที่สุดห้ารายการจนถึง 4 ปีที่แล้วสำหรับผู้ป่วยอายุ 40 ปีคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the five most frequently ordered lab test until 4 years ago for patients whose age is 40s?It is not neccessary to use all the tables.
intakeoutput: intakeoutputid [ number] patientunitstayid [ number] cellpath [ text] celllabel [ text] cellvaluenumeric [ number] intakeoutputtime [ time]
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 40 AND 49) AND DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 5
null
general
วันที่ออกอากาศของตอนที่มีผู้ชม 456.58 พันคนคือวันที่เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the air date of the episod that had 456.58 thousand viewers?It is not neccessary to use all the tables.
table_23114705_7: original_air_date [ VARCHAR] nz_viewers__thousand_ [ VARCHAR]
SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = "456.58"
null
general
ใครอยู่ในตั๋วห้ามเมื่อโทมัส อาร์มสตรองวิ่งด้วยตั๋วกรีนแบ็ค?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was on the Prohibition ticket when Thomas Armstrong ran on the Greenback ticket?It is not neccessary to use all the tables.
table_name_73: prohibition_ticket [ VARCHAR] greenback_ticket [ VARCHAR]
SELECT prohibition_ticket FROM table_name_73 WHERE greenback_ticket = "thomas armstrong"
null
general
ชื่อของหัตถการที่ผู้ป่วย 015-96048 ได้รับครั้งล่าสุดจนถึงปี 2104 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the name of procedure that patient 015-96048 were last received until 2104?It is not neccessary to use all the tables.
allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ time]
SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-96048')) AND STRFTIME('%y', treatment.treatmenttime) <= '2104' ORDER BY treatment.treatmenttime DESC LIMIT 1
null
general
ข้อสอบจำนวนเท่าใดหลังจากปี 2548 ที่มีเปอร์เซ็นต์ผ่าน 78.35% โดยมีนักเรียนน้อยกว่า 297 คน ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?It is not neccessary to use all the tables.
table_62497: "Year" [ real]
SELECT COUNT("Number of Examinees") FROM table_62497 WHERE "Year" > '2005' AND "Pass Percentage" = '78.35%' AND "Number of Passed Students" < '297'
null
general
แมตช์ที่ albert monta s เป็นคู่หูได้คะแนนเท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the score for the match where albert monta s was the partner?It is not neccessary to use all the tables.
table_name_60: score [ VARCHAR] partner [ VARCHAR]
SELECT score FROM table_name_60 WHERE partner = "albert montañés"
null
general
แผนที่/แค็ตตาล็อกที่เก่าแก่ที่สุดชื่ออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the name of the oldest map/catalog ?It is not neccessary to use all the tables.
table_204_281: id [ number] "creator" [ text] "contets" [ text] "links" [ text]
SELECT "map or catalog" FROM table_204_281 ORDER BY id LIMIT 1
null
general
วันที่เร็วที่สุดสำหรับอัลบั้มที่มีหมายเลขแค็ตตาล็อก 3645 จัดรูปแบบเป็นซีดีและอยู่ภายใต้ป้ายกำกับ luaka bop คือเมื่อใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the earliest date for the album that had a catalog number of 3645, was formatted as a cd and was under the luaka bop label?It is not neccessary to use all the tables.
table_55711: "Region" [ text] "Date" [ real] "Label" [ text] "Format" [ text] "Catalog" [ text]
SELECT MIN("Date") FROM table_55711 WHERE "Catalog" = '3645' AND "Format" = 'cd' AND "Label" = 'luaka bop'
null
general
มีกี่คนที่เข้าร่วมการแข่งขันที่สนาม alberto picco?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
How many people attended games at alberto picco stadium?It is not neccessary to use all the tables.
table_name_97: capacity [ VARCHAR] stadium [ VARCHAR]
SELECT COUNT(capacity) FROM table_name_97 WHERE stadium = "alberto picco"
null
general
รอบไหนมีสกอร์ 5-0 ไม่จำเป็นต้องใช้ทุกโต๊ะครับ
Which round has the record of 5-0?It is not neccessary to use all the tables.
table_35866: "Res." [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Event" [ text] "Round" [ text]
SELECT "Round" FROM table_35866 WHERE "Record" = '5-0'
null
general
Angular vs Ember vs React เมื่อเดือนที่แล้ว ไม่จำเป็นต้องใช้ตารางทั้งหมด
Angular vs Ember vs React last Month.It is not neccessary to use all the tables.
SuggestedEditVotes: Id [ number] SuggestedEditId [ number] UserId [ number] VoteTypeId [ number] CreationDate [ time] TargetUserId [ number] TargetRepChange [ number]
SELECT rate.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS Rank, rate.Rate AS NumQuestions FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts.CreationDate > DATEADD(Month, -1, GETDATE()) AND TagName IN ('angularjs', 'ember.js', 'reactjs') GROUP BY TagName) AS rate ORDER BY rate.rate DESC
null
general
พบสิ่งมีชีวิตใดบ้างในการทดสอบทางจุลชีววิทยาแบบคัดกรอง staph aureus ครั้งแรกของผู้ป่วย 53863 จนถึงวันที่ 3/2101 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
did any organisms were found in patient 53863's first staph aureus screen microbiology test until 03/2101?It is not neccessary to use all the tables.
d_labitems: row_id [ number] itemid [ number] label [ text]
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 53863) AND microbiologyevents.spec_type_desc = 'staph aureus screen' AND NOT microbiologyevents.org_name IS NULL AND STRFTIME('%y-%m', microbiologyevents.charttime) <= '2101-03' ORDER BY microbiologyevents.charttime LIMIT 1
null
general
เดิมทีออกอากาศตอนแรกกี่วันที่ตั้งอยู่ในเมืองฟิลาเดลเฟีย รัฐเพนซิลเวเนีย?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many dates originally aired episodes located in Philadelphia, pennsylvania?It is not neccessary to use all the tables.
table_24798489_2: original_airdate [ VARCHAR] location [ VARCHAR]
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania"
null
general
ผู้ป่วย 2425 ได้รับการทดสอบในห้องปฏิบัติการเป็นครั้งแรกเมื่อใด จนถึงเมื่อ 35 เดือนที่แล้ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the first time patient 2425 had a lab test, until 35 months ago?It is not neccessary to use all the tables.
diagnoses_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time]
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2425) AND DATETIME(labevents.charttime) <= DATETIME(CURRENT_TIME(), '-35 month') ORDER BY labevents.charttime LIMIT 1
null
general
ระหว่างบอสตันและเดนเวอร์ ฉันต้องการเที่ยวบินที่ใช้เวลาแวะจอดน้อยที่สุดเพื่อไปบอสตัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
between BOSTON and DENVER i'd like a flight that takes the least amount of stops to get to BOSTONIt 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 = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.stops = (SELECT MIN(FLIGHTalias1.stops) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, flight AS FLIGHTalias1 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 = 'BOSTON' AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code)
null
general
สโมสรใดแพ้ 7 นัดพอดี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which club lost exactly 7 matches?It is not neccessary to use all the tables.
table_27293285_6: club [ VARCHAR] lost [ VARCHAR]
SELECT club FROM table_27293285_6 WHERE lost = "7"
null
general
ยอดช่วยเหลือสูงสุดในวันที่ 11 พฤษภาคมเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the high assist total on May 11?It is not neccessary to use all the tables.
table_11963536_11: high_assists [ VARCHAR] date [ VARCHAR]
SELECT high_assists FROM table_11963536_11 WHERE date = "May 11"
null
general
อะไรคืออันดับสูงสุด 5 อันดับแรกเมื่อมีการตัดอันดับ 1?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the least Top-5 when 1 is the cuts made?It is not neccessary to use all the tables.
table_name_36: top_5 [ INTEGER] cuts_made [ VARCHAR]
SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 1
null
general
ขอทราบจำนวนคนไข้ที่เข้ารับการรักษาน้อยกว่า 2,129 ปี และวินิจฉัยรหัส icd9 ได้ 5,718 ครับ ไม่จำเป็นต้องใช้ทุกตารางครับ
give me the number of patients whose admission year is less than 2129 and diagnoses icd9 code is 5718?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 demographic.admityear < "2129" AND diagnoses.icd9_code = "5718"
null
general
คู่ต่อสู้ที่เสีย Leal (1 4) คือใคร? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the opponent with a Loss of Leal (1 4)?It is not neccessary to use all the tables.
table_name_35: opponent [ VARCHAR] loss [ VARCHAR]
SELECT opponent FROM table_name_35 WHERE loss = "leal (1–4)"
null
general
จำนวนผู้ป่วยที่ได้รับการวินิจฉัยชื่อสั้นว่า Candidal vulvovaginitis คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients whose diagnoses short title is candidal vulvovaginitis?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.short_title = "Candidal vulvovaginitis"
null
general
หลักสูตรโรมถึงฟลอเรนซ์คือวันที่เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the date of the Rome to Florence course?It is not neccessary to use all the tables.
table_70810: "Date" [ text] "Course" [ text] "Distance" [ text] "Winner" [ text]
SELECT "Date" FROM table_70810 WHERE "Course" = 'rome to florence'
null
general
ขอร้านอาหารอาหรับดีๆ วิวภูเขาหน่อยได้ไหม ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
give me a good arabic restaurant in mountain view ?It is not neccessary to use all the tables.
restaurant: id [ int] name [ varchar] food_type [ varchar] city_name [ varchar] rating [ "decimal]
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
null
general
ผลรวมของค่าที่สุ่มออกมาสำหรับทีมที่แพ้ 2 ครั้งคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the sum of the drawn values for teams with 2 losses?It is not neccessary to use all the tables.
table_name_45: drawn [ INTEGER] lost [ VARCHAR]
SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2
null
general
เลือก * จาก Post order by Score;.ไม่จำเป็นต้องใช้ตารางทั้งหมด
select * from Posts order by Score;.It is not neccessary to use all the tables.
PostNoticeTypes: Id [ number] ClassId [ number] Name [ text] Body [ text] IsHidden [ boolean] Predefined [ boolean] PostNoticeDurationId [ number]
SELECT value AS tag, COUNT(*) AS nrPosts, AVG(Score) AS avgScore FROM (SELECT Tags, Score, value FROM Posts JOIN LATERAL STRING_SPLIT(REPLACE(REPLACE(REPLACE(Tags, '><', ','), '<', ''), '>', ''), ',')) AS t1 GROUP BY value HAVING COUNT(*) > 4 ORDER BY AVG(Score) DESC
null
general
เสียไปกี่ครั้งเมื่อเป้าหมายคือ 43 และหมายเลขตำแหน่งสูงกว่า 15? ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many lost when goals for is 43 and the position number is higher than 15?It is not neccessary to use all the tables.
table_48814: "Position" [ real] "Team" [ text] "Played" [ real] "Drawn" [ real] "Lost" [ real]
SELECT AVG("Lost") FROM table_48814 WHERE "Goals For" = '43' AND "Position" > '15'
null
general
แสดงชื่อสาขาทั้งหมดพร้อมจำนวนสมาชิกในแต่ละสาขาที่ลงทะเบียนหลังปี 2558 ด้วยแผนภูมิแท่ง และแสดงชื่อจากมากไปน้อยได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show all branch names with the number of members in each branch registered after 2015 with a bar chart, and could you show Name from high to low order?It is not neccessary to use all the tables.
member: Member_ID [ int] Card_Number [ text] Name [ text] Hometown [ text] Level [ int]
SELECT Name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.Branch_ID = T2.Branch_ID WHERE T1.Register_Year > 2015 GROUP BY T2.Branch_ID ORDER BY Name DESC
null
general
วงออเคสตราใดมีปีการบันทึกเสียงในปี พ.ศ. 2494?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which orchestra has a recording year of 1951?It is not neccessary to use all the tables.
table_73365: "Piano" [ text] "Conductor" [ text] "Orchestra" [ text] "Format" [ text]
SELECT "Orchestra" FROM table_73365 WHERE "Year of Recording" = '1951'
null
general
มีฮาร์มอนฮาร์มอนอยู่กี่บันทึก ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many records has harmon harmon held ?It is not neccessary to use all the tables.
table_204_550: id [ number] "event" [ text] "record" [ text] "athlete" [ text] "date" [ text] "meet" [ text] "place" [ text]
SELECT COUNT("record") FROM table_204_550 WHERE "athlete" = 'harmon harmon'
null
general
Sfax มีจำนวนการสั่งซื้อทั้งหมดหรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
Sfax has a total ordered number of?It is not neccessary to use all the tables.
table_5170: "Name" [ text] "Ordered" [ real] "Builder" [ text] "Commissioned" [ text] "Fate" [ text]
SELECT COUNT("Ordered") FROM table_5170 WHERE "Name" = 'sfax'
null
general
ใครเล่นต่อเล่นก่อนเรย์ สก็อตต์ ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
who did play by play before ray scott ?It is not neccessary to use all the tables.
table_203_773: id [ number] "season" [ number] "network" [ text] "play-by-play" [ text]
SELECT "play-by-play" FROM table_203_773 WHERE id = (SELECT id FROM table_203_773 WHERE "play-by-play" = 'ray scott') - 1
null
general
ค้นหาแพทย์ที่ได้รับการฝึกอบรมในขั้นตอนที่แพงที่สุดหรือไม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the physician who was trained in the most expensive procedure?It is not neccessary to use all the tables.
trained_in: physician [ VARCHAR] treatment [ VARCHAR]
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC LIMIT 1
null
general
แผนภูมิแท่งแสดงจำนวนชื่อช่างที่ได้รับมอบหมายให้ซ่อมเครื่องจักรที่มีค่าคะแนนมากกว่า 70 เป็นเท่าใด และขอเรียงลำดับชื่อจากต่ำไปสูงได้กี่ชื่อ ไม่จำเป็นต้องใช้ตารางทั้งหมด .
A bar chart for what are the number of the names of the technicians that are assigned to repair machines with more point values than 70?, and could you sort how many name from low to high order?It is not neccessary to use all the tables.
technician: technician_id [ real] Name [ text] Team [ text] Starting_Year [ real] Age [ int]
SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id WHERE T2.value_points > 70 GROUP BY Name ORDER BY COUNT(Name)
null
general
รายชื่อผู้สมัครในเขตแมริแลนด์ 1 ที่พรรครีพับลิกันชนะ ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
List the candidates in district Maryland 1 where the republican party won.It is not neccessary to use all the tables.
table_18147: "District" [ text] "Incumbent" [ text] "Party" [ text] "Results" [ text] "Candidates" [ text]
SELECT "Candidates" FROM table_18147 WHERE "Party" = 'Republican' AND "District" = 'Maryland 1'
null
general
อะไรคือการตัดต่ำสุดที่มีคะแนนเฉลี่ยน้อยกว่า 72.48? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the lowest Cuts made with less than 72.48 scoring average?It is not neccessary to use all the tables.
table_7480: "Year" [ real] "Wins" [ real] "2nds" [ real] "Rank" [ text]
SELECT MIN("Cuts made") FROM table_7480 WHERE "Scoring average" < '72.48'
null
general
ชื่อโครงการ taq taq ph 2 เริ่มขึ้นในปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year was the startup for the Project Named of taq taq ph 2?It is not neccessary to use all the tables.
table_name_51: year_startup [ VARCHAR] project_name [ VARCHAR]
SELECT year_startup FROM table_name_51 WHERE project_name = "taq taq ph 2"
null
general
fabiana beltrame อยู่ที่ประเทศอะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the country for fabiana beltrame?It is not neccessary to use all the tables.
table_name_56: country [ VARCHAR] athlete [ VARCHAR]
SELECT country FROM table_name_56 WHERE athlete = "fabiana beltrame"
null
general
ค่าระวางรวมในหน่วยเมตริกตันเมื่อจำนวนผู้โดยสารต่อเครื่องทั้งหมดคือ 147791 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the total freights in metric tonnes when the total transit passengers is 147791?It is not neccessary to use all the tables.
table_19006: "Rank" [ real] "Airport" [ text]
SELECT "Freight ( Metric Tonnes )" FROM table_19006 WHERE "Transit Passengers" = '147791'
null
general
ถ้า Plain stop คือ Non-stop คืออะไร?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
If the Plain stop is , what is the Non- stop?It is not neccessary to use all the tables.
table_name_92: non__stop [ VARCHAR] plain_stop [ VARCHAR]
SELECT non__stop FROM table_name_92 WHERE plain_stop = "ㄷ"
null
general