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
ผลรวมคะแนนของอนุกรมที่มีขั้วน้อยกว่า 0 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the points sum of the series with less than 0 poles?It is not neccessary to use all the tables.
table_40229: "Season" [ text] "Series" [ text] "Team" [ text] "Races" [ real] "Wins" [ real] "Poles" [ real] "Podiums" [ real] "Points" [ real] "Position" [ text]
SELECT SUM("Points") FROM table_40229 WHERE "Poles" < '0'
null
general
บุคคลใดอยู่ในอันดับที่ 10 ไม่จำเป็นต้องใช้ตารางทั้งหมด
what person was in rank 10It is not neccessary to use all the tables.
table_5438: "Rank" [ real] "Rider" [ text] "Team" [ text] "Speed" [ text] "Time" [ text]
SELECT "Rider" FROM table_5438 WHERE "Rank" = '10'
null
general
เจเรนต์ วิลเลียมส์ มีทีมอะไรมาแทน?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what is the team geraint williams is the replacement?It is not neccessary to use all the tables.
table_name_20: team [ VARCHAR] replaced_by [ VARCHAR]
SELECT team FROM table_name_20 WHERE replaced_by = "geraint williams"
null
general
ขอทราบจำนวนผู้ป่วยที่ปีที่เสียชีวิตน้อยกว่าหรือเท่ากับ 2131 และผลตรวจในห้องปฏิบัติการเป็นเม็ดเลือดขาวหรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
give me the number of patients whose year of death is less than or equal to 2131 and lab test name is white blood cells?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.dod_year <= "2131.0" AND lab.label = "White Blood Cells"
null
general
วัฒนธรรมการเกษตร b มากกว่า 12.6 ยานพาหนะต่ำสุดต่อ 1,000 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Agri culture b larger than 12.6, what is the lowest vehicles per 1000?It is not neccessary to use all the tables.
table_name_14: vehicles__per_1000__d [ INTEGER] agri_culture_b [ INTEGER]
SELECT MIN(vehicles__per_1000__d) FROM table_name_14 WHERE agri_culture_b > 12.6
null
general
ผู้เล่นคนไหนที่มีแต้มรวมมากกว่า 285 และพาร์ถึง +14? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which player has a total bigger than 285 and a to par of +14?It is not neccessary to use all the tables.
table_69573: "Player" [ text] "Country" [ text] "Total" [ real] "Finish" [ text]
SELECT "Player" FROM table_69573 WHERE "Total" > '285' AND "To par" = '+14'
null
general
ผู้ป่วยหมายเลข 013-11660 เข้ารับการรักษาในโรงพยาบาลครั้งนี้ใช้เวลาทำหัตถการครั้งแรกเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was first procedure time of patient 013-11660 during this hospital encounter?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 treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-11660' AND patient.hospitaldischargetime IS NULL)) ORDER BY treatment.treatmenttime LIMIT 1
null
general
ฉันอยากไประหว่างบอสตันและวอชิงตันแต่เช้าไม่จำเป็นต้องใช้โต๊ะทั้งหมด
i want to go between BOSTON and WASHINGTON early in the morningIt is not neccessary to use all the tables.
dual_carrier: main_airline [ varchar] low_flight_number [ int] high_flight_number [ int] dual_airline [ varchar] service_name [ text]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight 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 = 'WASHINGTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.departure_time BETWEEN 0 AND 800
null
general
โรงเรียนที่มีผู้ลงทะเบียน 650 คนออกในปีใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
In what year did the school with enrollment of 650 leave?It is not neccessary to use all the tables.
table_23224: "Institution" [ text] "Location" [ text] "Nickname" [ text] "Founded" [ real] "Type" [ text] "Enrollment" [ real] "Joined" [ real] "Left" [ real]
SELECT "Left" FROM table_23224 WHERE "Enrollment" = '650'
null
general
Lead ใดที่มี Katarina Radonic เป็น Skip?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Lead has Katarina Radonic as Skip?It is not neccessary to use all the tables.
table_name_10: lead [ VARCHAR] skip [ VARCHAR]
SELECT lead FROM table_name_10 WHERE skip = "katarina radonic"
null
general
เมืองคืออะไร เมื่อ IATA คือ 'amm'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is City, when IATA is 'amm'?It is not neccessary to use all the tables.
table_8826: "City" [ text] "Country" [ text] "IATA" [ text] "ICAO" [ text] "Airport" [ text]
SELECT "City" FROM table_8826 WHERE "IATA" = 'amm'
null
general
กลุ่มใดมีสมาชิกมากที่สุด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
which group had the most members ?It is not neccessary to use all the tables.
table_203_266: id [ number] "group" [ text] "members" [ number] "caucusing" [ number] "total" [ number]
SELECT "group" FROM table_203_266 ORDER BY "members" DESC LIMIT 1
null
general
การ์ดเฉลี่ยใดที่เกมมีฤดูกาล 1997/1998 และเกมที่ใหญ่กว่า 38 ใบ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38?It is not neccessary to use all the tables.
table_44062: "Season" [ text] "Games" [ real]
SELECT MAX("Average Cards a game") FROM table_44062 WHERE "Season" = '1997/1998' AND "Games" > '38'
null
general
แผนภูมิแท่งสำหรับคำอธิบายผลลัพธ์ของโครงการทั้งหมดมีกี่รายการ เรียงจากต่ำไปสูงตาม X ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart for what are the number of the descriptions of all the project outcomes?, list from low to high by the X.It is not neccessary to use all the tables.
Documents: document_id [ INTEGER] document_type_code [ VARCHAR(10)] grant_id [ INTEGER] sent_date [ DATETIME] response_received_date [ DATETIME] other_details [ VARCHAR(255)]
SELECT outcome_description, COUNT(outcome_description) FROM Research_Outcomes AS T1 JOIN Project_Outcomes AS T2 ON T1.outcome_code = T2.outcome_code GROUP BY outcome_description ORDER BY outcome_description
null
general
สำหรับพนักงานที่ไม่ได้ทำงานในแผนกที่มีผู้จัดการที่มี ID ระหว่าง 100 ถึง 200 แผนภูมิแท่งจะแสดงการกระจายของ Hire_date และจำนวน Hire_date bin Hire_date ตามเวลา ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of hire_date and the amount of hire_date bin hire_date by time.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 HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
null
general
ค่ารวมต่ำสุดเมื่อปีที่ชนะคือ '1948 , 1950 , 1951 , 1953'? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest Total, when Year(s) Won is '1948 , 1950 , 1951 , 1953'?It is not neccessary to use all the tables.
table_46879: "Player" [ text] "Country" [ text] "Total" [ real] "Finish" [ text]
SELECT MIN("Total") FROM table_46879 WHERE "Year(s) won" = '1948 , 1950 , 1951 , 1953'
null
general
มีผู้ป่วยกี่รายที่ได้รับการสั่งยา lipitor ในการเยี่ยมโรงพยาบาลครั้งเดียวกัน หลังจากที่พวกเขาได้รับยาแก้ปวด - ยาแก้ปวดยาเสพติด จนถึงปี 2102?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many patients were prescribed lipitor in the same hospital visit after they had undergone a analgesics - narcotic analgesic, until 2102?It is not neccessary to use all the tables.
diagnosis: diagnosisid [ number] patientunitstayid [ number] diagnosisname [ text] diagnosistime [ time] icd9code [ text]
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'analgesics - narcotic analgesic' AND STRFTIME('%y', treatment.treatmenttime) <= '2102') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'lipitor' AND STRFTIME('%y', medication.drugstarttime) <= '2102') AS t2 WHERE t1.treatmenttime < t2.drugstarttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid
null
general
ตำแหน่งใดมีระดับความสูง 3798?ไม่จำเป็นต้องใช้ทุกตาราง
Which location has an elevation of 3798?It is not neccessary to use all the tables.
table_2731431_1: location [ VARCHAR] elevation__m_ [ VARCHAR]
SELECT location FROM table_2731431_1 WHERE elevation__m_ = 3798
null
general
ส่งกลับแผนภูมิแท่งเกี่ยวกับการแจกแจงของ Date_of_Birth และ Height และเรียงลำดับแกน Y จากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart about the distribution of Date_of_Birth and Height , and order Y-axis from high to low order.It is not neccessary to use all the tables.
candidate: Candidate_ID [ int] People_ID [ int] Poll_Source [ text] Date [ text] Support_rate [ real] Consider_rate [ real] Oppose_rate [ real] Unsure_rate [ real]
SELECT Date_of_Birth, Height FROM people ORDER BY Height DESC
null
general
ตั้งชื่อหมายเลขที่มีภาษาอื่น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the number which has language of otherIt is not neccessary to use all the tables.
table_70374: "Language" [ text] "Number" [ text] "males" [ text] "females" [ text]
SELECT "Number" FROM table_70374 WHERE "Language" = 'other'
null
general
จำนวนผู้ใช้ใหม่ในแต่ละเดือน [AskDifferent] ไม่จำเป็นต้องใช้ตารางทั้งหมด
Number of new Users each month [AskDifferent].It is not neccessary to use all the tables.
CloseAsOffTopicReasonTypes: Id [ number] IsUniversal [ boolean] InputTitle [ text] MarkdownInputGuidance [ text] MarkdownPostOwnerGuidance [ text] MarkdownPrivilegedUserGuidance [ text] MarkdownConcensusDescription [ text] CreationDate [ time] CreationModeratorId [ number] ApprovalDate [ time] ApprovalModeratorId [ number] DeactivationDate [ time] DeactivationModeratorId [ number]
SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS CD, COUNT(*) FROM Users GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) ORDER BY CD
null
general
ยอดเขาวิลเฮล์มมีระดับความสูง (ม.) เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the elevation (m) of the Mount Wilhelm peak?It is not neccessary to use all the tables.
table_22690: "Rank" [ real] "Peak" [ text] "Country" [ text] "Island" [ text]
SELECT MAX("Elevation (m)") FROM table_22690 WHERE "Peak" = 'Mount Wilhelm'
null
general
ผู้เข้าร่วมคนใดที่มีฝ่ายตรงข้ามกับกรีนเบย์แพ็คเกอร์ และหนึ่งสัปดาห์มากกว่า 10 คน ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Which Attendance has an Opponent of green bay packers, and a Week larger than 10?It is not neccessary to use all the tables.
table_name_95: attendance [ INTEGER] opponent [ VARCHAR] week [ VARCHAR]
SELECT MIN(attendance) FROM table_name_95 WHERE opponent = "green bay packers" AND week > 10
null
general
ตำแหน่งของผู้เล่นที่ได้ 6 (4 ใน 34.49 วินาที) ในเหตุการณ์ 6 atlas stone คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?It is not neccessary to use all the tables.
table_26746: "Position" [ text] "Name" [ text] "Nationality" [ text]
SELECT "Position" FROM table_26746 WHERE "Event 6 Atlas Stones" = '6 (4 in 34.49s)'
null
general
มีกี่คนที่อยู่ในฝูงชนโดยทีมเยือนเป็นคอลลิงวูด?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
How many people were in the crowd with the away team being collingwood?It is not neccessary to use all the tables.
table_78421: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT COUNT("Crowd") FROM table_78421 WHERE "Away team" = 'collingwood'
null
general
มีคะแนนการเชื่อมต่อมากกว่า san juan jabloteh ในปี 2548 กี่คะแนน ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many more points did w connection score than san juan jabloteh in 2005 ?It is not neccessary to use all the tables.
table_204_894: id [ number] "season" [ number] "winner" [ text] "score" [ text] "runners-up" [ text] "venue" [ text]
SELECT ABS("score" - "score") FROM table_204_894 WHERE "season" = 2005
null
general
เจ้าของชื่อเสียงสูงสุด 100 อันดับแรกจากอาเมดาบัด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top 100 Highest reputation holder from Ahmedabad.It is not neccessary to use all the tables.
ReviewTaskStates: Id [ number] Name [ text] Description [ text]
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", DisplayName, Id, Reputation FROM Users WHERE LOWER(Location) LIKE '%gujarat%' ORDER BY Reputation DESC LIMIT 1000
null
general
การทดสอบทางจุลชีววิทยาครั้งสุดท้ายเกิดขึ้นกับผู้ป่วย 26313 ในวันที่ 03/ปีที่แล้วเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
when did the last microbiology test take place for patient 26313 in 03/last year?It is not neccessary to use all the tables.
procedures_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time]
SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26313) AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', microbiologyevents.charttime) = '03' ORDER BY microbiologyevents.charttime DESC LIMIT 1
null
general
ทีมไหนเป็นคู่ต่อสู้ในวันที่ 21 ตุลาคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which team was the opponent on october 21?It is not neccessary to use all the tables.
table_29883: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "Team" FROM table_29883 WHERE "Date" = 'October 21'
null
general
ส่งกลับแผนภูมิแท่งเกี่ยวกับการแจกแจงของ meter_300 และ ID คุณสามารถแสดงแบบจากมากไปหาน้อยตามแกน X ได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart about the distribution of meter_300 and ID , could you display in descending by the X-axis?It is not neccessary to use all the tables.
record: ID [ int] Result [ text] Swimmer_ID [ int] Event_ID [ int]
SELECT meter_300, ID FROM swimmer ORDER BY meter_300 DESC
null
general
ชื่อต้นฉบับใดมีปี 1983 และประเทศอิตาลี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Original title has a Year of 1983, and a Country of italy?It is not neccessary to use all the tables.
table_37830: "Year" [ real] "Country" [ text] "Length" [ text]
SELECT "Original title" FROM table_37830 WHERE "Year" = '1983' AND "Country" = 'italy'
null
general
ทีมใดประจำอยู่ที่วงรีทางแยก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What team is based at junction oval?It is not neccessary to use all the tables.
table_52085: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Home team" FROM table_52085 WHERE "Venue" = 'junction oval'
null
general
ปีที่จัดแสดงสนามที่มีที่นั่งอย่างน้อย 5,000 ที่นั่งเปิด และสนามที่มีที่นั่งไม่เกิน 4,000 ที่นั่ง ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.It is not neccessary to use all the tables.
track: year_opened [ VARCHAR] seating [ INTEGER]
SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000
null
general
มุสลิมที่ต่ำที่สุด (% ของประชากรทั้งหมด) คือเท่าใดในหนึ่งปีหลังจากปี 2011? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest Muslim (% of Total population) of a year after 2011?It is not neccessary to use all the tables.
table_name_37: muslim___percentage_of_total_population_ [ INTEGER] census_year [ INTEGER]
SELECT MIN(muslim___percentage_of_total_population_) FROM table_name_37 WHERE census_year > 2011
null
general
จำนวนผลลัพธ์ทั้งหมดที่ผู้ป่วย 25312 ได้รับในการเยี่ยมหอผู้ป่วยหนักครั้งแรกเป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the amount of total output that patient 25312 had received on the first intensive care unit visit?It is not neccessary to use all the tables.
d_icd_diagnoses: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text]
SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25312) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1)
null
general
จำนวนผู้เข้าร่วมที่มีบันทึกเป็นเท่าใด 94 36ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHAT IS THE NUMBER OF Attendance WITH A RECORD 94 36It is not neccessary to use all the tables.
table_57722: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Save" [ text] "Attendance" [ real] "Record" [ text]
SELECT AVG("Attendance") FROM table_57722 WHERE "Save" = '–' AND "Record" = '94–36'
null
general
โดยไม่มีคำตอบ ไม่จำเป็นต้องใช้ทุกตาราง
s with no answers.It is not neccessary to use all the tables.
PostsWithDeleted: Id [ number] PostTypeId [ number] AcceptedAnswerId [ number] ParentId [ number] CreationDate [ time] DeletionDate [ time] Score [ number] ViewCount [ number] Body [ text] OwnerUserId [ number] OwnerDisplayName [ text] LastEditorUserId [ number] LastEditorDisplayName [ text] LastEditDate [ time] LastActivityDate [ time] Title [ text] Tags [ text] AnswerCount [ number] CommentCount [ number] FavoriteCount [ number] ClosedDate [ time] CommunityOwnedDate [ time] ContentLicense [ text]
SELECT p.Id, p.Title, p.Score FROM Posts AS p JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = 'econometrics' AND p.AnswerCount = 0 AND p.PostTypeId = 1 ORDER BY -p.Score
null
general
เวลา/เกษียณของทีมที่มีตาราง 14 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the time/retired of the team with a grid of 14?It is not neccessary to use all the tables.
table_37672: "Driver" [ text] "Team" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real] "Points" [ real]
SELECT "Time/Retired" FROM table_37672 WHERE "Grid" = '14'
null
general
ค่าใช้จ่ายขั้นต่ำรวมของโรงพยาบาลที่รวมยาที่เรียกว่า d5lr ในปีที่แล้วคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the total minimum cost of a hospital that includes a drug called d5lr during the last year?It is not neccessary to use all the tables.
patients: row_id [ number] subject_id [ number] gender [ text] dob [ time] dod [ time]
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'd5lr') AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY cost.hadm_id) AS t1
null
general
ปี 2010 ใดที่มีปี 2009 เป็น 0/4 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which 2010 has a 2009 of 0 / 4?It is not neccessary to use all the tables.
table_36100: "Tournament" [ text] "1998" [ text] "1999" [ text] "2001" [ text] "2002" [ text] "2003" [ text] "2004" [ text] "2005" [ text] "2006" [ text] "2007" [ text] "2008" [ text] "2009" [ text] "2010" [ text] "2011" [ text] "2012" [ text]
SELECT "2010" FROM table_36100 WHERE "2009" = '0 / 4'
null
general
มีการเลือกตั้งพรรคเดโมแครตจากบรูคลินอย่างน้อย 5 คน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
have at least 5 democrats from brooklyn been elected ?It is not neccessary to use all the tables.
table_204_400: id [ number] "district" [ number] "senator" [ text] "party" [ text] "caucus" [ text]
SELECT (SELECT COUNT(*) FROM table_204_400 WHERE "party" = 'democratic' AND "counties represented" = 'brooklyn') >= 5
null
general
David Blei ตีพิมพ์บทความในรูปแบบ nips กี่ฉบับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many papers has david blei published in nips ?It is not neccessary to use all the tables.
paperdataset: paperid [ int] datasetid [ int]
SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'david blei' AND venue.venueid = paper.venueid AND venue.venuename = 'nips' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
null
general
ตัวเลือกต่ำสุดสำหรับ mike flater?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Lowest pick for mike flater?It is not neccessary to use all the tables.
table_name_21: pick [ INTEGER] name [ VARCHAR]
SELECT MIN(pick) FROM table_name_21 WHERE name = "mike flater"
null
general
ยาสี่ชนิดที่พบบ่อยที่สุดที่กำหนดให้ผู้ป่วยโรคหัวใจและหลอดเลือด - ผู้ป่วยชายอายุ 30 ปีขยายตัวในเดือนเดียวกันหลังจากที่พวกเขาได้รับการวินิจฉัยว่าเป็นโรคหัวใจและหลอดเลือด - ขยายตั้งแต่ปี 2102 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the four most common drugs prescribed to the cardiomyopathy - dilated male patients of the 30s in the same month after they were diagnosed with cardiomyopathy - dilated since 2102?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 t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'cardiomyopathy - dilated' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2102') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.gender = 'male' AND patient.age BETWEEN 30 AND 39 AND STRFTIME('%y', medication.drugstarttime) >= '2102') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t1.diagnosistime, 'start of month') = DATETIME(t2.drugstarttime, 'start of month') GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 4
null
general
ภาพยนตร์เรื่อง Rango ออกฉายในปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year did the movie Rango come out?It is not neccessary to use all the tables.
table_14716: "Year" [ real] "Category" [ text] "Film" [ text] "Winner/Nominee(s)" [ text] "Result" [ text]
SELECT AVG("Year") FROM table_14716 WHERE "Film" = 'rango'
null
general
ตอนที่ 06-02-406 ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is title of episode 06-02-406?It is not neccessary to use all the tables.
table_22604: "Title" [ text]
SELECT "Title" FROM table_22604 WHERE "Production code" = '06-02-406'
null
general
ประเทศใดมีผู้เข้าเส้นชัย 10 อันดับแรกมากที่สุดในการแข่งขันคลาสสิกชาย 15 กิโลเมตร ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what country had the most top 10 finishers in the men 's 15 kilometre classical ?It is not neccessary to use all the tables.
table_204_81: id [ number] "rank" [ number] "bib" [ number] "name" [ text] "country" [ text] "time" [ text] "deficit" [ text]
SELECT "country" FROM table_204_81 WHERE id <= 10 GROUP BY "country" ORDER BY COUNT(*) DESC LIMIT 1
null
general
มีกี่เล่มที่ออกในวันที่ 21 ตุลาคม พ.ศ. 2535?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many titles were released on 21 October 1992?It is not neccessary to use all the tables.
table_22435: "Rank" [ real] "Title" [ text] "Franchise" [ text] "Developer(s)" [ text] "Platform" [ text]
SELECT COUNT("Rank") FROM table_22435 WHERE "Release Date" = '21 October 1992'
null
general
อัตราต่อรองเริ่มต้นของอัตราต่อรองเปิด 2-1 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What were the starting odds for the opening odds of 2-1?It is not neccessary to use all the tables.
table_25095: "Post" [ real] "Trainer" [ text] "Jockey" [ text]
SELECT "Starting Odds" FROM table_25095 WHERE "Opening Odds" = '2-1'
null
general
ชื่อของบุคคลจากเนเธอร์แลนด์ในเลนต่ำกว่า 5 ที่มีอันดับดีกว่า 5 และเวลาน้อยกว่า 55.62 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62?It is not neccessary to use all the tables.
table_71937: "Rank" [ real] "Lane" [ real] "Name" [ text] "Nationality" [ text] "Time" [ real]
SELECT "Name" FROM table_71937 WHERE "Rank" < '5' AND "Time" < '55.62' AND "Lane" < '5' AND "Nationality" = 'netherlands'
null
general
Sean Langman เป็นกัปตันรัฐ/ประเทศใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What State/Country is Sean Langman the skipper?It is not neccessary to use all the tables.
table_25594888_1: state_country [ VARCHAR] skipper [ VARCHAR]
SELECT state_country FROM table_25594888_1 WHERE skipper = "Sean Langman"
null
general
วาดแผนภูมิกระจายเกี่ยวกับความสัมพันธ์ระหว่าง author_id และ author_tutor_ATB ไม่จำเป็นต้องใช้ตารางทั้งหมด
Draw a scatter chart about the correlation between author_id and author_tutor_ATB .It is not neccessary to use all the tables.
Subjects: subject_id [ INTEGER] subject_name [ VARCHAR(120)]
SELECT author_id, author_tutor_ATB FROM Course_Authors_and_Tutors ORDER BY personal_name
null
general
รูปแบบใดที่มี 080 360-2 เป็นแค็ตตาล็อก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What format has 080 360-2 as the catalog?It is not neccessary to use all the tables.
table_name_84: format [ VARCHAR] catalog [ VARCHAR]
SELECT format FROM table_name_84 WHERE catalog = "080 360-2"
null
general
แสดงเที่ยวบินทั้งหมดจากอินเดียนาโพลิสให้ฉันดู ไม่จำเป็นต้องใช้ตารางทั้งหมด
show me all flights from INDIANAPOLISIt 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, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'INDIANAPOLIS' AND flight.from_airport = airport_service.airport_code
null
general
ชื่อสถานที่ท่องเที่ยวแต่ละแห่งมีสถานที่ท่องเที่ยวกี่แห่ง? แสดงภาพด้วยแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many tourist attractions for each attraction name? Visualize by a bar chart.It is not neccessary to use all the tables.
Visitors: Tourist_ID [ INTEGER] Tourist_Details [ VARCHAR(255)]
SELECT Name, COUNT(*) FROM Tourist_Attractions AS T1 JOIN Visits AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID
null
general
ใครเป็นผู้พัฒนา Resident Evil 4?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the developer of Resident Evil 4?It is not neccessary to use all the tables.
table_name_4: developer_s_ [ VARCHAR] game [ VARCHAR]
SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 4"
null
general
จำนวนผู้ป่วยที่มีประวัติส่วนตัวเกี่ยวกับการวินิจฉัยเคมีบำบัด antineoplastic ที่เข้ารับการรักษาในโรงพยาบาลในกรณีฉุกเฉินคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the number of patients with a personal history of antineoplastic chemotherapy diagnoses who have been admitted to the hospital on an emergency basis?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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Personal history of antineoplastic chemotherapy"
null
general
MADRID MASTERS ปี 2007 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHAT IS THE 2007 AT MADRID MASTERS?It is not neccessary to use all the tables.
table_61652: "Tournament" [ text] "2005" [ text] "2006" [ text] "2007" [ text] "2008" [ text] "2009" [ text] "2010" [ text] "2011" [ text] "2012" [ text]
SELECT "2007" FROM table_61652 WHERE "Tournament" = 'madrid masters'
null
general
ใครเป็นแชมป์รายการกรังด์ปรีซ์ปี 1984 โดยที่ Marty Davis เป็นรองแชมป์?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up?It is not neccessary to use all the tables.
table_29295463_9: champion [ VARCHAR] runner_up [ VARCHAR]
SELECT champion FROM table_29295463_9 WHERE runner_up = "Marty Davis"
null
general
e code น้อยกว่า 1950 หรือไม่ ไม่จำเป็นต้องใช้ทุกตาราง
is the e code less than 1950 ?It is not neccessary to use all the tables.
table_203_248: id [ number] "code" [ text] "year" [ number]
SELECT (SELECT "year" FROM table_203_248 WHERE "code" = 'e') < 1950
null
general
ผู้เข้าแข่งขันจาก Aruba สูงเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How tall is the contestant from Aruba?It is not neccessary to use all the tables.
table_23814: "Country" [ text] "Contestant" [ text] "Age" [ real] "Hometown" [ text]
SELECT "Height (ft)" FROM table_23814 WHERE "Country" = 'Aruba'
null
general
ประชากรไอซิส 4,082 คน และประชากรภูมิภาคน้อยกว่า 55,990 คนในปีใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
In what Year is the Isis Population 4,082 and the Regional Population less than 55,990?It is not neccessary to use all the tables.
table_15266: "Year" [ real]
SELECT COUNT("Year") FROM table_15266 WHERE "Population (Isis)" = '4,082' AND "Population (Region total)" < '55,990'
null
general
วันที่ 4 มีนาคม มีผู้เข้าร่วมกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many people were in attendance on March 4?It is not neccessary to use all the tables.
table_11881: "Date" [ text] "Opponent" [ text] "Score" [ text] "Site/Stadium" [ text] "Loss" [ text] "Attendance" [ text] "Record" [ text]
SELECT "Attendance" FROM table_11881 WHERE "Date" = 'march 4'
null
general
ผลิตภัณฑ์ชื่อ 'ลอเรล' มีคุณสมบัติกี่ประการ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many characteristics does the product named 'laurel' have?It is not neccessary to use all the tables.
ref_characteristic_types: characteristic_type_code [ text] characteristic_type_description [ text]
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN characteristics AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "laurel"
null
general
*บาง* กรณีที่ LastEditor ว่างเปล่าและไม่เหมือนกับ OP แบบสอบถามนี้อาจพลาดสถานการณ์ที่ทั้ง OP และตัวแก้ไขล่าสุดถูกลบ แต่เป็นผู้ใช้ที่ถูกลบต่างกัน edge-case สมมุตินั้นไม่สำคัญต่อปัญหา *ปัจจุบัน* ภายใต้การสนทนา ไม่จำเป็นต้องใช้ตารางทั้งหมด
*Some* of the cases where LastEditor is blank and not the same as OP. This query probably misses the scenario where both the OP and the last editor are deleted, but are different deleted users. That hypothetical edge-case is not important to the *current* issue under discussion.It is not neccessary to use all the tables.
PostTags: PostId [ number] TagId [ number]
SELECT p.Id AS "post_link", LastEditDate FROM Posts AS p WHERE NOT p.LastEditDate IS NULL AND p.LastEditorUserId IS NULL AND NOT p.OwnerUserId IS NULL ORDER BY p.LastEditDate DESC
null
general
ในบรรดาผู้ป่วยที่เข้ารับการรักษาก่อนปี พ.ศ. 2519 มีกี่คนที่เป็นโรคมะเร็งช่องปากชนิดสความัสเซลล์ (sda) เป็นโรคหลัก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Among patients admitted before the year 2176, how many had squamous cell carcinoma oral tongue (sda) as their primary disease?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 WHERE demographic.diagnosis = "SQUAMOUS CELL CARCINOMA ORAL TONGUE/SDA" AND demographic.admityear < "2176"
null
general
ครั้งแรกที่ผู้ป่วย 016-9636 มี sao2 ขั้นต่ำในวันนี้คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the first time that patient 016-9636 had a minimum sao2 today?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 = '016-9636')) AND NOT vitalperiodic.sao2 IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') ORDER BY vitalperiodic.sao2, vitalperiodic.observationtime LIMIT 1
null
general
ประชากรจำนวนเท่าใดโดยที่พื้นที่ (ตร.ไมล์) เป็นพื้นที่ (ตร.ไมล์)?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the population where the area (sq. mi.) is area (sq. mi.)?It is not neccessary to use all the tables.
table_72275: "No." [ text] "Region" [ text] "Capital" [ text] "Population" [ text]
SELECT "Population" FROM table_72275 WHERE "Area (sq. mi.)" = 'Area (sq. mi.)'
null
general
ใครคือผู้มาเยี่ยมเมื่อโตรอนโตอยู่ที่บ้านโดยมีผู้เข้าร่วมมากกว่า 17,019 คน ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Who was the visitor when toronto was at home with over 17,019 attending?It is not neccessary to use all the tables.
table_11548: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Decision" [ text] "Attendance" [ real] "Record" [ text]
SELECT "Visitor" FROM table_11548 WHERE "Attendance" > '17,019' AND "Home" = 'toronto'
null
general
ผู้ใช้อันดับต้นๆ จากฟิลิปปินส์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top Users From The Philippines.It is not neccessary to use all the tables.
CloseAsOffTopicReasonTypes: Id [ number] IsUniversal [ boolean] InputTitle [ text] MarkdownInputGuidance [ text] MarkdownPostOwnerGuidance [ text] MarkdownPrivilegedUserGuidance [ text] MarkdownConcensusDescription [ text] CreationDate [ time] CreationModeratorId [ number] ApprovalDate [ time] ApprovalModeratorId [ number] DeactivationDate [ time] DeactivationModeratorId [ number]
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%philippines%' ORDER BY Reputation DESC LIMIT 200
null
general
ชนิดใดที่มีความยาว (bp/aa) เท่ากับ 1154bp/358aa?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Species has a Length (bp/aa) of 1154bp/358aa?It is not neccessary to use all the tables.
table_name_78: species [ VARCHAR] length__bp_aa_ [ VARCHAR]
SELECT species FROM table_name_78 WHERE length__bp_aa_ = "1154bp/358aa"
null
general
สี่ขั้นตอนที่ได้รับคำสั่งบ่อยที่สุดสำหรับผู้ป่วยที่เคยได้รับยาลดน้ำตาลในเลือดในช่องปากภายใน 2 เดือนจนถึง 3 ปีที่แล้วคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the four most commonly ordered procedures for patients who had previously received oral hypoglycemic administration within 2 months, until 3 years ago?It is not neccessary to use all the tables.
allergy: allergyid [ number] patientunitstayid [ number] drugname [ text] allergyname [ text] allergytime [ time]
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'oral hypoglycemic administration' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year')) AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmentname, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.treatmenttime AND DATETIME(t2.treatmenttime) BETWEEN DATETIME(t1.treatmenttime) AND DATETIME(t1.treatmenttime, '+2 month') GROUP BY t2.treatmentname) AS t3 WHERE t3.c1 <= 4
null
general
เสมอสูงสุดโดยเล่นน้อยกว่า 9?ไม่จำเป็นต้องใช้ตารางทั้งหมด
The highest draws with smaller than 9 played?It is not neccessary to use all the tables.
table_name_32: draws [ INTEGER] played [ INTEGER]
SELECT MAX(draws) FROM table_name_32 WHERE played < 9
null
general
ค่าต่อต้านสูงสุดคืออะไร เมื่อชนะมากกว่า 2 และเมื่อการแข่งขันน้อยกว่า 17? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the highest Against, when Wins is greater than 2, and when Matches is less than 17?It is not neccessary to use all the tables.
table_12692: "Matches" [ real] "Wins" [ real] "Draw" [ real] "Losses" [ real] "Against" [ real]
SELECT MAX("Against") FROM table_12692 WHERE "Wins" > '2' AND "Matches" < '17'
null
general
ตำแหน่งคืออะไร เมื่อทีมโรงเรียน/คลับคือ McMaster?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Position, when School/Club Team is McMaster?It is not neccessary to use all the tables.
table_48609: "Round" [ real] "Pick" [ text] "Player" [ text] "Position" [ text]
SELECT "Position" FROM table_48609 WHERE "School/Club Team" = 'mcmaster'
null
general
ปีใดมีชัยชนะ 2 ครั้ง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What year has 2 wins?It is not neccessary to use all the tables.
table_42338: "Year" [ text] "Matches" [ text] "Wins" [ text] "Losses" [ text]
SELECT "Year" FROM table_42338 WHERE "Wins" = '2'
null
general
จำนวนนักแข่งที่ไม่จบการแข่งขันเนื่องจากเครื่องยนต์ขัดข้อง ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the number of drivers who did n't finish the race due to engine trouble ?It is not neccessary to use all the tables.
table_204_641: id [ number] "pos" [ text] "no" [ number] "driver" [ text] "constructor" [ text] "laps" [ number] "time/retired" [ text] "grid" [ number] "points" [ number]
SELECT COUNT("driver") FROM table_204_641 WHERE "time/retired" = 'engine'
null
general
โรคภูมิแพ้แต่ละประเภทที่นักเรียนชื่อลิซ่ามีหมายเลขเท่าไร? แสดงภาพตามแผนภูมิแท่ง แถบแสดงตามลำดับ asc ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the number of each allergie type that the student with first name Lisa has? Visualize by bar chart, display bar in asc order.It is not neccessary to use all the tables.
Has_Allergy: StuID [ INTEGER] Allergy [ VARCHAR(20)]
SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type AS T1 JOIN Has_Allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" GROUP BY AllergyType ORDER BY AllergyType
null
general
แอพลีก (ย่อย) สูงสุดหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
League apps (sub) maximum?It is not neccessary to use all the tables.
table_1112176_1: league_apps__sub_ [ INTEGER]
SELECT MAX(league_apps__sub_) FROM table_1112176_1
null
general
ปิดโหวตสำหรับแท็กใดแท็กหนึ่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
close votes for particular tags.It is not neccessary to use all the tables.
PostTypes: Id [ number] Name [ text]
SELECT p.Id, p.Id AS "post_link", p.CreationDate, p.Score, COUNT(PostHistory.Id) AS HistCount FROM Tags JOIN PostTags ON Tags.Id = PostTags.TagId JOIN Posts AS p ON p.Id = PostTags.PostId JOIN PostHistory ON PostHistory.PostId = p.Id WHERE Tags.TagName IN ('python') AND PostHistory.PostHistoryTypeId = 10 AND p.ClosedDate IS NULL AND p.PostTypeId = 1 AND p.Score < -3 GROUP BY p.Id, p.CreationDate, p.Score ORDER BY p.Score /* select * from PostHistory where PostId=@someId */ LIMIT 100
null
general
ค้นหาปีทั้งหมดที่มีภาพยนตร์ที่ได้รับเรตติ้ง 4 หรือ 5 และจัดเรียงตามลำดับปีที่เพิ่มขึ้น แล้วนับตามแผนภูมิเส้น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year, and count them by a line chartIt is not neccessary to use all the tables.
Rating: rID [ int] mID [ int] stars [ int] ratingDate [ date]
SELECT year, COUNT(year) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars >= 4 ORDER BY T1.year
null
general
Andrea Bargnani หมายเลขอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What number is Andrea Bargnani?It is not neccessary to use all the tables.
table_12962773_15: no [ INTEGER] player [ VARCHAR]
SELECT MAX(no) FROM table_12962773_15 WHERE player = "Andrea Bargnani"
null
general
ศาสตราจารย์การ์ติก ปราสันนา สอนได้กี่ภาคการศึกษา 724 คน ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many semesters has Prof. Kartik Prasanna taught 724 ?It is not neccessary to use all the tables.
comment_instructor: instructor_id [ int] student_id [ int] score [ int] comment_text [ varchar]
SELECT COUNT(*) FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.number = 724 AND instructor.name LIKE '%Kartik Prasanna%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id
null
general
ตั้งชื่อช่องเมื่อกำหนดเป็น pc700ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the channels when designation is pc700It is not neccessary to use all the tables.
table_142573_1: channels [ VARCHAR] designation [ VARCHAR]
SELECT channels FROM table_142573_1 WHERE designation = "PC700"
null
general
s/276551/how-do-i-query-sede-for-user-names-with-zalgo-unicode-abuse/277871#277871ไม่จำเป็นต้องใช้ตารางทั้งหมด
s/276551/how-do-i-query-sede-for-user-names-with-zalgo-unicode-abuse/277871#277871It is not neccessary to use all the tables.
ReviewTaskResultTypes: Id [ number] Name [ text] Description [ text]
SELECT Id, CAST(DisplayName AS TEXT(150)) COLLATE Latin1_General_BIN FROM Users WHERE NOT LOWER(SUBSTRING(DisplayName, 1, 1)) IN ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0')
null
general
หอพักที่อยู่อาศัยใดมีมาสค็อตที่น่ารังเกียจ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What residence hall has the vermin mascot?It is not neccessary to use all the tables.
table_15873547_1: residence_hall [ VARCHAR] mascot [ VARCHAR]
SELECT residence_hall FROM table_15873547_1 WHERE mascot = "Vermin"
null
general
บันทึกเมื่อวันที่ 26 กันยายนคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the record on September 26?It is not neccessary to use all the tables.
table_69540: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Record" [ text]
SELECT "Record" FROM table_69540 WHERE "Date" = 'september 26'
null
general
สวนสาธารณะใดที่เปิดในปี 1999?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What park opened in 1999?It is not neccessary to use all the tables.
table_name_48: park [ VARCHAR] opened [ VARCHAR]
SELECT park FROM table_name_48 WHERE opened = "1999"
null
general
การเปรียบเทียบคำขอ ID สำหรับหนังสือกับภาพยนตร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Comparison of ID requests for books vs films.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 'Books' AS id_type, ROUND(AVG(CAST(Score AS FLOAT)), 2) AS score FROM Posts AS p WHERE p.Tags LIKE '%identification%' AND (p.Tags + p.Body LIKE '%book%' OR p.Tags + p.Body LIKE '%story%') UNION SELECT 'Films' AS id_type, ROUND(AVG(CAST(Score AS FLOAT)), 2) AS score FROM Posts AS p WHERE p.Tags LIKE '%identification%' AND (p.Tags + p.Body LIKE '%film%' OR p.Tags + p.Body LIKE '%movie%')
null
general
ตั้งชื่อเดิมให้ 49 อันดับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the former name for 49 rankIt is not neccessary to use all the tables.
table_name_79: Former [ VARCHAR] rank [ VARCHAR]
SELECT Former AS name FROM table_name_79 WHERE rank = 49
null
general
โดยที่ Results ได้รับการเสนอชื่อเข้าชิง และ Organisation อยู่ในอันดับที่ 54 รางวัลละครโทรทัศน์ รางวัลคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Where Result is nominated and Organization is 54th the television academy drama awards, what is the award?It is not neccessary to use all the tables.
table_11356: "Year" [ real] "Organization" [ text] "Award" [ text] "Work" [ text] "Result" [ text]
SELECT "Award" FROM table_11356 WHERE "Result" = 'nominated' AND "Organization" = '54th the television academy drama awards'
null
general
อันดับไหนมีผู้เล่น Matt Ruth?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Rank has a Player of matt ruth?It is not neccessary to use all the tables.
table_13632: "Rank" [ real] "Player" [ text] "County" [ text] "Tally" [ text] "Total" [ real] "Opposition" [ text]
SELECT SUM("Rank") FROM table_13632 WHERE "Player" = 'matt ruth'
null
general
ใครเป็นคนเขียนตอนนี้ที่มีผู้ชม 7.52 ล้านคนในสหรัฐอเมริกา?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who wrote the episode with 7.52 million US viewers?It is not neccessary to use all the tables.
table_28688313_1: written_by [ VARCHAR] us_viewers__in_millions_ [ VARCHAR]
SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = "7.52"
null
general
การเลือกตั้งของ Luis Gutierrez ในปีใดไม่จำเป็นต้องใช้ตารางทั้งหมด
What year was Luis Gutierrez electionIt is not neccessary to use all the tables.
table_18106: "District" [ text] "Incumbent" [ text] "Party" [ text] "Results" [ text] "Candidates" [ text]
SELECT MIN("First elected") FROM table_18106 WHERE "Incumbent" = 'Luis Gutierrez'
null
general
มีผู้ป่วยกี่รายที่ได้รับการวินิจฉัยว่ามีการเจาะลำไส้และบริหารยาโดยวิธี Si Drug?ไม่จำเป็นต้องใช้ทุกตาราง
how many patients are diagnosed for perforation of intestine and administered through si drug route?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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Perforation of intestine" AND prescriptions.route = "SL"
null
general
คะแนนเฉลี่ยของคำถามค่าหัว ไม่จำเป็นต้องใช้ตารางทั้งหมด
Average Score of Bounty Questions.It is not neccessary to use all the tables.
Comments: Id [ number] PostId [ number] Score [ number] Text [ text] CreationDate [ time] UserDisplayName [ text] UserId [ number] ContentLicense [ text]
SELECT AVG(q.Score * 1.0) FROM Votes AS v INNER JOIN Posts AS q ON q.Id = v.PostId WHERE VoteTypeId = 8 AND q.CreationDate >= '2009-01-27' AND q.CreationDate < '2009-11-08'
null
general
แฮร์รี่ คีเวลล์ เป็นสมาชิกทีมรุ่นน้องคนไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What Junior Marquee team is Harry Kewell of?It is not neccessary to use all the tables.
table_name_22: junior_marquee_player [ VARCHAR] captain [ VARCHAR]
SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell"
null
general
ผู้เข้าร่วมทั้งหมดในเกมที่ 31 เป็นเท่าใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What was the total attendance for the 31 game?It is not neccessary to use all the tables.
table_name_79: attendance [ INTEGER] score [ VARCHAR]
SELECT SUM(attendance) FROM table_name_79 WHERE score = "3:1"
null
general
เหตุการณ์ที่กวาเดอลูปคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What's the event of Guadeloupe?It is not neccessary to use all the tables.
table_name_17: event [ VARCHAR] nationality [ VARCHAR]
SELECT event FROM table_name_17 WHERE nationality = "guadeloupe"
null
general
จำนวนประชากรในปี 2000 สำหรับ Panlicsian คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the populati in 2000 for Panlicsian?It is not neccessary to use all the tables.
table_24372: "Barangay" [ text]
SELECT MIN("Population (2000)") FROM table_24372 WHERE "Barangay" = 'Panlicsian'
null
general