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
ตำแหน่งเมื่อแพ้น้อยกว่า 7 คืออะไร ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the position when lost is less than 7?It is not neccessary to use all the tables.
table_name_60: position [ INTEGER] lost [ INTEGER]
SELECT AVG(position) FROM table_name_60 WHERE lost < 7
null
general
นักเตะที่ยิงได้มากกว่า 64 ประตูมีสัญชาติอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the nationality for the player with over 64 goals?It is not neccessary to use all the tables.
table_name_56: nat [ VARCHAR] goals [ INTEGER]
SELECT nat FROM table_name_56 WHERE goals > 64
null
general
แชสซีของ Augusto Scalbi ใน Team RP Motorsport คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the chassis for Augusto Scalbi on Team RP Motorsport?It is not neccessary to use all the tables.
table_name_34: chassis [ VARCHAR] team [ VARCHAR] driver [ VARCHAR]
SELECT chassis FROM table_name_34 WHERE team = "rp motorsport" AND driver = "augusto scalbi"
null
general
ภาพยนตร์เรื่องใดที่ใช้ในการเสนอชื่อมีปี (พิธี) 2533 (ครั้งที่ 63)?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which film title used in nomination has the year (ceremony) 1990 (63rd)?It is not neccessary to use all the tables.
table_21655290_1: film_title_used_in_nomination [ VARCHAR] year__ceremony_ [ VARCHAR]
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)"
null
general
ใครเป็นผู้รายงานเกมในวันที่ 6 ตุลาคม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who reported the game on 6 october?It is not neccessary to use all the tables.
table_name_67: report [ VARCHAR] date [ VARCHAR]
SELECT report FROM table_name_67 WHERE date = "6 october"
null
general
สถานี xfm ซึ่งเป็นส่วนหนึ่งของประเภทเพลงทอล์คมีความถี่เท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What frequency is the xfm station, which is part of the talk music genre?It is not neccessary to use all the tables.
table_name_71: frequency [ VARCHAR] genre [ VARCHAR] station [ VARCHAR]
SELECT frequency FROM table_name_71 WHERE genre = "talk music" AND station = "xfm"
null
general
Pandas Trends (# คำถามต่อแท็กต่อเดือน) ไม่จำเป็นต้องใช้ตารางทั้งหมด
Pandas Trends (# Questions per Tag per Month).It is not neccessary to use all the tables.
ReviewTaskResultTypes: Id [ number] Name [ text] Description [ text]
SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ...
null
general
ค้นหาปีก่อตั้งของโรงเรียนที่ไม่ใช่สาธารณะใหม่ล่าสุด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the founded year of the newest non public school.It is not neccessary to use all the tables.
university: school_id [ number] school [ text] location [ text] founded [ number] affiliation [ text] enrollment [ number] nickname [ text] primary_conference [ text]
SELECT founded FROM university WHERE affiliation <> 'Public' ORDER BY founded DESC LIMIT 1
null
general
ครั้งสุดท้ายชื่ออะไร ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
what was the name of the last race ?It is not neccessary to use all the tables.
table_204_137: id [ number] "race" [ number] "report" [ text]
SELECT "race name" FROM table_204_137 ORDER BY id DESC LIMIT 1
null
general
นับจำนวนคนไข้ที่มีเชื้อชาติเป็นคนผิวสี/เคปเวิร์ด และอายุน้อยกว่า 68 ปี ไม่จำเป็นต้องใช้ทุกโต๊ะ
count the number of patients whose ethnicity is black/cape verdean and age is less than 68.It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.age < "68"
null
general
เมื่อมีผู้มาเยือนวัว? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
When has a Visitor of bulls?It is not neccessary to use all the tables.
table_6821: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Record" [ text]
SELECT "Date" FROM table_6821 WHERE "Visitor" = 'bulls'
null
general
อะไรคือเกจของผู้รับสัมปทาน ferrosur roca?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the guage of the concessionaire ferrosur roca?It is not neccessary to use all the tables.
table_name_8: gauge [ VARCHAR] concessionaire [ VARCHAR]
SELECT gauge FROM table_name_8 WHERE concessionaire = "ferrosur roca"
null
general
ผู้เล่นที่เข้าร่วมทีม Vancouver Canucks มาจากประเทศใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What country does the player who joined the Vancouver Canucks originally hail from?It is not neccessary to use all the tables.
table_4124: "Pick" [ text] "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT "Nationality" FROM table_4124 WHERE "NHL team" = 'Vancouver Canucks'
null
general
ตั้งชื่อผู้อำนวยการ ประจำปี 2500 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the director for 1957It is not neccessary to use all the tables.
table_name_50: director [ VARCHAR] year [ VARCHAR]
SELECT director FROM table_name_50 WHERE year = 1957
null
general
สำหรับบันทึกเหล่านั้นจากผลิตภัณฑ์และผู้ผลิตผลิตภัณฑ์แต่ละราย แผนภูมิแท่งจะแสดงการกระจายของสำนักงานใหญ่และค่าเฉลี่ยของรายได้ และจัดกลุ่มตามคุณลักษณะ สำนักงานใหญ่ จัดเรียงตามจำนวนทั้งหมดใน asc please ไม่จำเป็นต้องใช้ตารางทั้งหมด
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the average of revenue , and group by attribute headquarter, sort by the total number in asc 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 Headquarter, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY AVG(Revenue)
null
general
Zaxxon the Standalone จัดขึ้นในปีใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
In what year is Zaxxon the Standalone?It is not neccessary to use all the tables.
table_66309: "Year" [ text] "Arcade" [ text] "Standalone" [ text] "Console" [ text] "Computer" [ text]
SELECT "Year" FROM table_66309 WHERE "Standalone" = 'zaxxon'
null
general
ตั้งชื่อหมายเลขตอนสำหรับช็อตเซอร์และยางลบความคิดไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the episode number for tasers and mind erasersIt is not neccessary to use all the tables.
table_26684: "Title" [ text]
SELECT "Episode number Production number" FROM table_26684 WHERE "Title" = 'Tasers and Mind Erasers'
null
general
F bolt n (lbf) และ P max (bar) 3900 ใช้กับแชมเบอร์ประเภทใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900?It is not neccessary to use all the tables.
table_26967904_1: chambering [ VARCHAR] f_bolt [ VARCHAR] p_max___bar__ [ VARCHAR]
SELECT chambering FROM table_26967904_1 WHERE f_bolt = "N (lbf)" AND p_max___bar__ = 3900
null
general
ชื่อภาษาไทยมีถอดเสียงกี่แบบ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many different transcriptions are there for the Thai name ?It is not neccessary to use all the tables.
table_20354_5: transcription [ VARCHAR] thai_name [ VARCHAR]
SELECT COUNT(transcription) FROM table_20354_5 WHERE thai_name = "พฤษภาคม"
null
general
จำนวนรวมของผู้เล่นที่ชนะก่อนปี 1991 และมีพาร์น้อยกว่า 14 เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total of the player who won before 1991 and has a to par less than 14?It is not neccessary to use all the tables.
table_name_74: total [ VARCHAR] year_won [ VARCHAR] to_par [ VARCHAR]
SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 14
null
general
มณฑลคืออะไรเมื่อละติจูดมากกว่า 48.581299 รหัส ansi มากกว่า 1037103 และรหัสทางภูมิศาสตร์คือ 3801985060 ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060?It is not neccessary to use all the tables.
table_13497: "Township" [ text] "County" [ text] "Latitude" [ real] "Longitude" [ real]
SELECT "County" FROM table_13497 WHERE "Latitude" > '48.581299' AND "ANSI code" > '1037103' AND "GEO ID" = '3801985060'
null
general
ชื่ออะไรเมื่อมีผู้มีสิทธิเลือกตั้งมากกว่า 161,219 คนในปี 2552 และมีเขตเลือกตั้ง 165 คน? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the name when there are more than 161,219 electorates in 2009 and a constituency of 165?It is not neccessary to use all the tables.
table_66210: "Name" [ text] "District" [ text]
SELECT "Name" FROM table_66210 WHERE "Number of electorates (2009)" > '161,219' AND "Constituency number" = '165'
null
general
ซ็อกเก็ตสำหรับ pentium dual-core t2410 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the socket for the pentium dual-core t2410?It is not neccessary to use all the tables.
table_16909: "Frequency" [ text] "FSB" [ text] "Mult." [ text] "Voltage" [ text] "TDP" [ text] "Socket" [ text]
SELECT "Socket" FROM table_16909 WHERE "Model number" = 'Pentium Dual-Core T2410'
null
general
มีแท็กเช่น 'marvel%' ไม่จำเป็นต้องใช้ตารางทั้งหมด
s with tag like 'marvel%'.It is not neccessary to use all the tables.
TagSynonyms: Id [ number] SourceTagName [ text] TargetTagName [ text] CreationDate [ time] OwnerUserId [ number] AutoRenameCount [ number] LastAutoRename [ time] Score [ number] ApprovedByUserId [ number] ApprovalDate [ time]
SELECT p.Body FROM Posts AS p WHERE p.Tags LIKE '%marvel%'
null
general
แสดงแผนภูมิแท่งสำหรับชื่อแผนกต่างๆ และจำนวนพนักงานที่ทำงานในแต่ละแผนก คุณช่วยแสดงรายการจากต่ำไปสูงตามแกน Y ได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me a bar chart for what are the department names and how many employees work in each of them?, could you list from low to high by the Y-axis?It is not neccessary to use all the tables.
countries: COUNTRY_ID [ varchar(2)] COUNTRY_NAME [ varchar(40)] REGION_ID [ decimal(100)]
SELECT DEPARTMENT_NAME, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID GROUP BY DEPARTMENT_NAME ORDER BY COUNT(*)
null
general
ประเภทใดที่เปิดในปี 1982?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which type opened in 1982?It is not neccessary to use all the tables.
table_49273: "Name" [ text] "Type" [ text] "Manufacturer" [ text] "Opened" [ text]
SELECT "Type" FROM table_49273 WHERE "Opened" = '1982'
null
general
นักมวยปล้ำรุ่นน้อง fatu ถูกคัดออกทั้งหมดกี่คน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
wrestler junior fatu was eliminated by a total of how many wrestlers ?It is not neccessary to use all the tables.
table_203_277: id [ number] "entered" [ number] "wrestler" [ text] "place" [ text] "time" [ text]
SELECT "eliminated by" FROM table_203_277 WHERE "wrestler" = 'junior fatu'
null
general
สำหรับทัวร์นาเมนต์ Indian Wells Masters ประเทศอะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
For the Indian Wells Masters tournament, what was the country?It is not neccessary to use all the tables.
table_name_96: country [ VARCHAR] tournament [ VARCHAR]
SELECT country FROM table_name_96 WHERE tournament = "indian wells masters"
null
general
ตั้งชื่อที่จัดตั้งขึ้นน้อยที่สุดไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the least establishedIt is not neccessary to use all the tables.
table_1641054_2: established [ INTEGER]
SELECT MIN(established) FROM table_1641054_2
null
general
ทีม WNBA ทีมใดที่คว้าแชมป์อย่างน้อย 2 รายการได้ก่อตั้งขึ้นล่าสุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which WNBA team that won at least 2 championships was established most recently?It is not neccessary to use all the tables.
table_name_54: established [ INTEGER] league [ VARCHAR] championships [ VARCHAR]
SELECT MAX(established) FROM table_name_54 WHERE league = "wnba" AND championships > 2
null
general
สถานะเพศและความตายของวิชา id 32418 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is gender and death status of subject id 32418?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 demographic.gender, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "32418"
null
general
โปรเซสเซอร์สำหรับรุ่น x33x0 ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the name of the processor for model x33x0?It is not neccessary to use all the tables.
table_26584: "Processor" [ text] "Cores" [ real] "Socket" [ text] "TDP" [ text]
SELECT "Processor" FROM table_26584 WHERE "Model (list)" = 'X33x0'
null
general
ขอแผนภูมิแท่งเกี่ยวกับค่าเฉลี่ยของ number_of_platforms ในตำแหน่งต่างๆ และจัดอันดับ X จากต่ำไปสูง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Give me a bar chart about the average of number_of_platforms in different locations, and rank X from low to high order.It is not neccessary to use all the tables.
train_station: Train_ID [ int] Station_ID [ int]
SELECT Location, AVG(Number_of_Platforms) FROM station GROUP BY Location ORDER BY Location
null
general
สาเหตุหลักของไฟป่าคืออะไร?ไม่จำเป็นต้องใช้ทุกตาราง
What is the leading cause of wildfires?It is not neccessary to use all the tables.
fires: fire_year [ number] discovery_date [ number] discovery_doy [ number] discovery_time [ text] stat_cause_code [ number] stat_cause_descr [ text] cont_date [ text] cont_doy [ text] cont_time [ text] fire_size [ number] fire_size_class [ text] latitude [ number] longitude [ number] owner_code [ number...
SELECT stat_cause_descr FROM fires GROUP BY stat_cause_descr ORDER BY COUNT(*) DESC LIMIT 1
null
general
แสดงเที่ยวบินเที่ยวเดียวที่ถูกที่สุดจากพิตส์เบิร์กไปยังดัลลาส ออกจากพิตส์เบิร์กระหว่าง 12.00 น. ถึง 14.00 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
show me the cheapest one way flights from PITTSBURGH to DALLAS leaving PITTSBURGH between 1200 and 1400It is not neccessary to use all the tables.
time_zone: time_zone_code [ text] time_zone_name [ text] hours_from_gmt [ int]
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 WHERE (((flight.departure_time <= 1400 AND flight.departure_time >= 1200) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ...
null
general
การรวม MSDN ใดที่มี IntelliTrace ใช่? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which MSDN integration has a IntelliTrace of yes?It is not neccessary to use all the tables.
table_38392: "Product" [ text] "Extensions" [ text] "Debugging" [ text] "Profiling" [ text] "IntelliTrace" [ text]
SELECT "MSDN integration" FROM table_38392 WHERE "IntelliTrace" = 'yes'
null
general
มีผู้ป่วยกี่คนที่ต้องพักรักษาตัวในโรงพยาบาลนานกว่า 43 วัน มีรหัส 4432 เป็นขั้นตอน icd9?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients who have stayed in the hospital for more than 43 days have 4432 as their procedure icd9 code?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "43" AND procedures.icd9_code = "4432"
null
general
ผลลัพธ์เป็นอย่างไรก่อนปี 1997?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the outcome before 1997?It is not neccessary to use all the tables.
table_77239: "Outcome" [ text] "Year" [ real] "Championship" [ text] "Surface" [ text] "Opponent" [ text] "Score" [ text]
SELECT "Outcome" FROM table_77239 WHERE "Year" < '1997'
null
general
ผู้ป่วย 005-11182 ได้รับการสั่งจ่ายยาผ่านทางหลอดเลือดดำเป็นครั้งแรกในปี 09/ปีที่แล้วเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was patient 005-11182 prescribed with a drug via intraven route for the first time in 09/last year?It is not neccessary to use all the tables.
microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time]
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-11182')) AND medication.routeadmin = 'intraven' AND DATETI...
null
general
ร็อคเก็ตส์เล่นเมมฟิสวันไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On what date did the Rockets play Memphis?It is not neccessary to use all the tables.
table_17288825_9: date [ VARCHAR] team [ VARCHAR]
SELECT date FROM table_17288825_9 WHERE team = "Memphis"
null
general
Roger McCluskey ชนะความยาวเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What length was won by Roger McCluskey?It is not neccessary to use all the tables.
table_25222: "Rnd" [ real] "Date" [ text] "Length" [ text] "Track" [ text] "Location" [ text]
SELECT "Length" FROM table_25222 WHERE "Winning Driver" = 'Roger McCluskey'
null
general
ASP.NET MVC, Django และ Laravel ไม่จำเป็นต้องใช้ตารางทั้งหมด
ASP.NET MVC, Django en Laravel.It is not neccessary to use all the tables.
ReviewTaskResults: Id [ number] ReviewTaskId [ number] ReviewTaskResultTypeId [ number] CreationDate [ time] RejectionReasonId [ number] Comment [ text]
SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ...
null
general
เที่ยวบินที่ถูกที่สุดจากซานฟรานซิสโกไปพิตส์เบิร์กในวันอาทิตย์คืออะไรไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the cheapest flight from SAN FRANCISCO to PITTSBURGH on sundayIt is not neccessary to use all the tables.
month: month_number [ int] month_name [ text]
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, da...
null
general
โพสต์ที่มีการติดตั้ง apt-get ที่ไม่มีปุ่มซอฟต์แวร์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Posts with apt-get install that have no software button.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 Score, Id AS "post_link" FROM Posts WHERE Body LIKE '%apt-get install%' AND NOT Body LIKE '%add-apt-repository%' AND NOT Body LIKE '%apps.ubuntu.com%' AND PostTypeId = 2 AND ClosedDate IS NULL ORDER BY Score DESC
null
general
บอกฉันหน่อยว่าการทดสอบในห้องปฏิบัติการครั้งล่าสุดที่มอบให้ผู้ป่วย 002-7771 จนถึง 09/2102 คืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the last lab test that was given to patient 002-7771 until 09/2102?It is not neccessary to use all the tables.
treatment: treatmentid [ number] patientunitstayid [ number] treatmentname [ text] treatmenttime [ time]
SELECT lab.labname FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-7771')) AND STRFTIME('%y-%m', lab.labresulttime) <= '2102-09' ORDER BY lab.labresultt...
null
general
คนไข้ที่อายุน้อยกว่า 47 ปี และนอนโรงพยาบาลเกิน 30 วัน มีกี่วัน ไม่จำเป็นต้องใช้ทุกโต๊ะ
what is the number of patients whose age is less than 47 and days of hospital stay is greater than 30?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.age < "47" AND demographic.days_stay > "30"
null
general
จำนวนผู้ชมมากที่สุดเมื่อทีมเจ้าบ้านทำคะแนนได้ 13.11 (89) คือเท่าไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the largest amount of spectators when the home team scored 13.11 (89)?It is not neccessary to use all the tables.
table_55974: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT MAX("Crowd") FROM table_55974 WHERE "Home team score" = '13.11 (89)'
null
general
คะแนนเจ้าบ้านในเกมที่ฮอว์ธอร์นเป็นเจ้าบ้านเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the home team score for the game where Hawthorn is the home team?It is not neccessary to use all the tables.
table_name_83: home_team [ VARCHAR]
SELECT home_team AS score FROM table_name_83 WHERE home_team = "hawthorn"
null
general
คอนสตรัคเตอร์คนไหนที่สร้างรถด้วยแชสซี rb1 และตัวไหนขับเคลื่อนโดย David Coulthard?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which constructor made the car with a rb1 chassis and which is driven by David Coulthard?It is not neccessary to use all the tables.
table_71458: "Entrant" [ text] "Constructor" [ text] "Chassis" [ text] "Tyre" [ text] "Driver" [ text] "Rounds" [ text]
SELECT "Constructor" FROM table_71458 WHERE "Chassis" = 'rb1' AND "Driver" = 'david coulthard'
null
general
รายการใดเปิดเวลา 11.00 น. ซึ่งแสดง Power Rangers Turbo เวลา 16.00 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is on at 1100AM that shows Power Rangers Turbo at 400pm?It is not neccessary to use all the tables.
table_59916: "noon" [ text]
SELECT "11:00 am" FROM table_59916 WHERE "4:00 pm" = 'power rangers: turbo'
null
general
อายุขัยของตัวแทนจากรัฐนิวยอร์กหรือรัฐอินเดียน่าคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the life spans of representatives from New York state or Indiana state?It is not neccessary to use all the tables.
representative: Lifespan [ VARCHAR] State [ VARCHAR]
SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana"
null
general
สำหรับพนักงานที่ไม่มีงานทำในอดีต ให้เห็นภาพแผนภูมิแท่งเกี่ยวกับการแจกแจงของ job_id และผลรวมของ department_id และจัดกลุ่มตามแอตทริบิวต์ job_id และฉันต้องการแสดงรายการแบบเรียงลำดับตาม Y ไม่จำเป็น ใช้ตารางทั้งหมด
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, and I want to list in desc by the Y.It is not neccessary to use all the tables.
jobs: JOB_ID [ varchar(10)] JOB_TITLE [ varchar(35)] MIN_SALARY [ decimal(60)] MAX_SALARY [ decimal(60)]
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) DESC
null
general
วันที่ 19 มกราคม มีผู้เข้าร่วมสถานที่ใดบ้าง?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What was the location attendance on January 19?It is not neccessary to use all the tables.
table_name_47: location_attendance [ VARCHAR] date [ VARCHAR]
SELECT location_attendance FROM table_name_47 WHERE date = "january 19"
null
general
หน้าต่างการโอนย้ายคืออะไร เมื่อค่าธรรมเนียมการโอนเป็น 'ฟรี' และเมื่อชื่อเป็น Dugdale? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Transfer window, when the Transfer fee is 'free', and when the Name is Dugdale?It is not neccessary to use all the tables.
table_67295: "Name" [ text] "Country" [ text] "Status" [ text]
SELECT "Transfer window" FROM table_67295 WHERE "Transfer fee" = 'free' AND "Name" = 'dugdale'
null
general
ตอนที่มีรหัสการผลิต bdf101 เป็นซีรีส์หมายเลขใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What series number is the episode with production code bdf101?It is not neccessary to use all the tables.
table_28019988_2: series__number [ INTEGER] production_code [ VARCHAR]
SELECT MAX(series__number) FROM table_28019988_2 WHERE production_code = "BDF101"
null
general
ความถี่ MHz ใดมีสัญญาณเรียกขานของ K218BE?ไม่จำเป็นต้องใช้ทุกตาราง
Which Frequency MHz has a Call Sign of K218BE?It is not neccessary to use all the tables.
table_name_7: frequency_mhz [ VARCHAR] call_sign [ VARCHAR]
SELECT frequency_mhz FROM table_name_7 WHERE call_sign = "k218be"
null
general
คนไข้ที่มีรหัสยา bari2/450l มีกี่ราย ไม่จำเป็นต้องใช้ทุกตาราง
what is the number of patients whose drug code is bari2/450l?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 prescriptions.formulary_drug_cd = "BARI2/450L"
null
general
ค่าตั๋วเครื่องบินไป-กลับชั้นหนึ่งจากอินเดียนาโปลิสไปเมมฟิซิ ไม่จำเป็นต้องใช้ตารางทั้งหมด
FIRST class round trip airfare from INDIANAPOLIS to MEMPHISIt is not neccessary to use all the tables.
flight: aircraft_code_sequence [ text] airline_code [ varchar] airline_flight [ text] arrival_time [ int] connections [ int] departure_time [ int] dual_carrier [ text] flight_days [ text] flight_id [ int] flight_number [ int] from_airport [ varchar] meal_code [ text] stops [ int] time_elapsed [ int] to_...
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'INDIANAPOLIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_co...
null
general
ฉันอยากเห็นค่าโดยสารราคาประหยัดจากเดนเวอร์ไปฟิลาเดลเฟีย ไม่จำเป็นต้องใช้ตารางทั้งหมด
i would like to see the economy fares for DENVER to PHILADELPHIAIt is not neccessary to use all the tables.
fare_basis: fare_basis_code [ text] booking_class [ text] class_type [ text] premium [ text] economy [ text] discounted [ text] night [ text] season [ text] basis_days [ text]
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND ...
null
general
มีกี่เหรียญทองแดงที่มีอันดับ 10 และ 0 เหรียญทอง?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
How many bronzes had a rank of 10 and 0 gold?It is not neccessary to use all the tables.
table_13254: "Rank" [ text] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real]
SELECT SUM("Bronze") FROM table_13254 WHERE "Rank" = '10' AND "Gold" < '0'
null
general
เมื่อ 4.5 คือเปอร์เซ็นต์ของการเปลี่ยนแปลงจำนวนประชากรในปี 2554 ไม่จำเป็นต้องใช้ตารางทั้งหมด
When 4.5 is the percentage of change how many population counts were made for 2011?It is not neccessary to use all the tables.
table_22728: "Name" [ text]
SELECT COUNT("Population (2011)") FROM table_22728 WHERE "Change (%)" = '4.5'
null
general
ยาชนิดไหน รหัส ace250?ไม่จำเป็นต้องใช้ทุกตารางครับ
what is drug type of drug code ace250?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 prescriptions.drug_type FROM prescriptions WHERE prescriptions.formulary_drug_cd = "ACE250"
null
general
ตั้งชื่อช่วงเวลาสำหรับชาร์ตเพลง g-music j-pop/k-pop ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the period for Chart of g-music j-pop/k-pop chartIt is not neccessary to use all the tables.
table_69815: "Country" [ text] "Chart" [ text] "Period" [ text] "Sales" [ text]
SELECT "Period" FROM table_69815 WHERE "Chart" = 'g-music j-pop/k-pop chart'
null
general
ผู้ผลิตรายใดมีเวลา/เกษียณจากอุบัติเหตุ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Manufacturer has a Time/Retired of accident?It is not neccessary to use all the tables.
table_76656: "Rider" [ text] "Manufacturer" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT "Manufacturer" FROM table_76656 WHERE "Time/Retired" = 'accident'
null
general
แสดงรายการจำนวน kb สูงสุด ต่ำสุด และเฉลี่ยที่ใช้ในโหมดหน้าจอ ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the maximum, minimum and average number of used kb in screen mode.It is not neccessary to use all the tables.
screen_mode: graphics_mode [ number] char_cells [ text] pixels [ text] hardware_colours [ number] used_kb [ number] map [ text] type [ text]
SELECT MAX(used_kb), MIN(used_kb), AVG(used_kb) FROM screen_mode
null
general
มีกี่คนที่ได้ตำแหน่งที่สี่เมื่อภูมิภาคเป็นชิโกกุ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many persons got the fourth position when the regional was shikoku?It is not neccessary to use all the tables.
table_21632864_1: fourth_place [ VARCHAR] regional [ VARCHAR]
SELECT COUNT(fourth_place) FROM table_21632864_1 WHERE regional = "Shikoku"
null
general
จำนวนชั้นเฉลี่ยของอาคารที่อยู่ในอันดับที่มากกว่า 30 ในหนึ่งปีก่อนปี 1977 และที่อยู่ 100 Van Ness Avenue เป็นเท่าใด ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the average amount of floors of the building that is ranked larger than 30, a year prior to 1977 and an address of 100 Van Ness Avenue?It is not neccessary to use all the tables.
table_name_6: floors [ INTEGER] name [ VARCHAR] rank [ VARCHAR] year [ VARCHAR]
SELECT AVG(floors) FROM table_name_6 WHERE rank > 30 AND year < 1977 AND name = "100 van ness avenue"
null
general
ค่าธรรมเนียมการโอนสำหรับผู้เล่น MLI ที่ทำประตูน้อยกว่า 63 ประตูในหนึ่งปีล่าสุดกว่าปี 2549 คือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006?It is not neccessary to use all the tables.
table_49405: "Nat." [ text] "Name" [ text] "Since" [ text] "Goals" [ real] "Ends" [ text]
SELECT "Transfer fee" FROM table_49405 WHERE "Since" = '2006' AND "Goals" < '63' AND "Nat." = 'mli'
null
general
บันทึกของเกมที่เล่นในวันที่ 5 มกราคมเป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the record of the game played on January 5?It is not neccessary to use all the tables.
table_2841: "Game" [ real] "Date" [ text] "Team" [ text] "Score" [ text] "Record" [ text]
SELECT "Record" FROM table_2841 WHERE "Date" = 'January 5'
null
general
คะแนนของเจ้าบ้านที่วงเวียนชุมทางคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the home team's score at junction oval?It is not neccessary to use all the tables.
table_56009: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Home team score" FROM table_56009 WHERE "Venue" = 'junction oval'
null
general
เวลาที่ยาวที่สุดระหว่างการแก้ไขติดต่อกันเป็นวัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Longest time between consecutive edits by days.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] ApprovalModer...
WITH Raw AS (SELECT MIN(Id) AS Id, MIN(PostId) AS PostId, RevisionGUID, MIN(CreationDate) AS CreationDate FROM PostHistory WHERE PostHistoryTypeId <= 6 GROUP BY RevisionGUID), Raw2 AS (SELECT *, RANK() OVER (PARTITION BY PostId ORDER BY Id) AS No FROM Raw) SELECT Prv.PostId AS "post_link", Prv.CreationDate AS Edit1, Nx...
null
general
จำนวนชัยชนะโดยเฉลี่ยก่อนฤดูกาลปี 1906 โดยเสมอ 0 ครั้งเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average number of wins before the season in 1906 where there were 0 draws?It is not neccessary to use all the tables.
table_35622: "Season" [ real] "Team" [ text] "Wins" [ real] "Losses" [ real] "Draws" [ real]
SELECT AVG("Wins") FROM table_35622 WHERE "Season" < '1906' AND "Draws" < '0'
null
general
ชื่อของสนามแข่งต่างๆ คืออะไร และแต่ละสนามมีกี่สนามที่ลงจุดเป็นแผนภูมิแท่ง และคุณช่วยจัดเรียง asc ตามแกน x ได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names of different tracks, and how many races has each had Plot them as bar chart, and could you sort in asc by the x axis?It is not neccessary to use all the tables.
track: Track_ID [ int] Name [ text] Location [ text] Seating [ real] Year_Opened [ real]
SELECT T2.Name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.Track_ID = T2.Track_ID GROUP BY T1.Track_ID ORDER BY T2.Name
null
general
สมาชิกปีใดมีโรงเรียนมัธยมแห่งไคโร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Years Member has a School of cairo high school?It is not neccessary to use all the tables.
table_name_47: years_member [ VARCHAR] school [ VARCHAR]
SELECT years_member FROM table_name_47 WHERE school = "cairo high school"
null
general
แสดงรายการจำนวนผู้ป่วยที่ต้องรักษาตัวในโรงพยาบาลเกิน 2 วัน ไม่จำเป็นต้องใช้ทุกโต๊ะ
list the number of patients who stayed in the hospital for more than 2 days.It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.days_stay > "2"
null
general
วาดแผนภูมิแท่งเกี่ยวกับการกระจายของ All_Home และจำนวน All_Home และจัดกลุ่มตามแอตทริบิวต์ All_Home ไม่จำเป็นต้องใช้ตารางทั้งหมด
Draw a bar chart about the distribution of All_Home and the amount of All_Home , and group by attribute All_Home.It is not neccessary to use all the tables.
university: School_ID [ int] School [ text] Location [ text] Founded [ real] Affiliation [ text] Enrollment [ real] Nickname [ text] Primary_conference [ text]
SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home
null
general
ซิงเกิลใดอยู่ในชาร์ตเป็นเวลา 23 สัปดาห์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which single was on the Charts for 23 weeks ?It is not neccessary to use all the tables.
table_name_50: title [ VARCHAR] weeks_on_chart__uk_ [ VARCHAR]
SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23
null
general
ส่งกลับแผนภูมิแท่งเกี่ยวกับการแจกแจงของ All_Games และ School_ID และแสดงในแถบจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Return a bar chart about the distribution of All_Games and School_ID , and show in ascending by the bar.It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT All_Games, School_ID FROM basketball_match ORDER BY All_Games
null
general
มีผู้ป่วยกี่รายที่เข้ารับการรักษาในกรณีฉุกเฉินและรับการรักษาผ่านทางยา ivpca?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients are admitted under emergency and treated via the drug route ivpca?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 = "EMERGENCY" AND prescriptions.route = "IVPCA"
null
general
สำหรับชั้นเรียนระดับสูง ใครเป็นคนสอน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
For the upper-level classes , who is teaching them ?It is not neccessary to use all the tables.
requirement: requirement_id [ int] requirement [ varchar] college [ varchar]
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN program_...
null
general
สัปดาห์ที่ 8 คือวันที่เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the date of week 8?It is not neccessary to use all the tables.
table_57553: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ real]
SELECT "Date" FROM table_57553 WHERE "Week" = '8'
null
general
ผู้เล่นที่อยู่ในโตรอนโตตั้งแต่ปี 2555 ถึงปัจจุบันมาจากโรงเรียนใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What school did the player that has been in Toronto from 2012-present come from?It is not neccessary to use all the tables.
table_10015132_1: school_club_team [ VARCHAR] years_in_toronto [ VARCHAR]
SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2012-present"
null
general
Shenmue เปิดตัวคอนโซลใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What consoles was Shenmue released on?It is not neccessary to use all the tables.
table_12887260_1: console [ VARCHAR] franchise_or_game [ VARCHAR]
SELECT console FROM table_12887260_1 WHERE franchise_or_game = "Shenmue"
null
general
Miami Orange Bowl มีการเล่นเกมหรือบันทึกกี่เกม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many games or records were played on the Miami Orange Bowl?It is not neccessary to use all the tables.
table_21666: "Week" [ real] "Date" [ text] "Opponent" [ text] "Stadium" [ text] "Result" [ text] "Record" [ text] "Streak" [ text] "Attendance" [ real]
SELECT COUNT("Record") FROM table_21666 WHERE "Stadium" = 'Miami Orange Bowl'
null
general
ไมค์ แจ็คสัน เป็นผู้ดูแลงาน Indianapolis Boat, Sport & Travel Show ในวันที่ใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?It is not neccessary to use all the tables.
table_name_56: date [ VARCHAR] handler [ VARCHAR] event [ VARCHAR]
SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"
null
general
เป็นเป้าหมายของการปิดการหลอกลวงบ่อยที่สุดหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
s are the targets of dupe closures most often?.It is not neccessary to use all the tables.
FlagTypes: Id [ number] Name [ text] Description [ text]
SELECT Posts.Id AS "post_link", COUNT(DISTINCT PostLinks.Id) AS number_of_closures FROM Posts INNER JOIN PostLinks ON PostLinks.RelatedPostId = Posts.Id WHERE LinkTypeId = 3 GROUP BY Posts.Id ORDER BY COUNT(DISTINCT PostLinks.Id) DESC
null
general
เกมหลังเกมที่ 6 เล่นไปเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What dates were the games after game 6 played?It is not neccessary to use all the tables.
table_name_56: date [ VARCHAR] game [ INTEGER]
SELECT date FROM table_name_56 WHERE game > 6
null
general
คะแนนเมื่อโดนัลด์แบรดแมนใน 9 อินนิงคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the score when Donald Bradman in 9 innings?It is not neccessary to use all the tables.
table_1478: "Player" [ text] "Team" [ text] "Matches" [ real] "Innings" [ real] "Runs" [ real] "Average" [ text] "100s" [ real] "50s" [ real]
SELECT "Highest Score" FROM table_1478 WHERE "Innings" = '9' AND "Player" = 'Donald Bradman'
null
general
มีผลลัพธ์กี่รายการอย่างน้อย 45 ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many results were at least 45 ?It is not neccessary to use all the tables.
table_204_204: id [ number] "rank" [ number] "heat" [ number] "country" [ text] "cyclists" [ text] "result" [ number] "notes" [ text]
SELECT COUNT("result") FROM table_204_204 WHERE "result" >= 45
null
general
พื้นผิวเมื่อหุ้นส่วนคือ Robert Haybittel คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the surface when the partner was Robert Haybittel?It is not neccessary to use all the tables.
table_name_42: surface [ VARCHAR] partner [ VARCHAR]
SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"
null
general
ทีมที่มี 2 แอพเพลย์ออฟ, 2 แอพเอฟเอคัพ, และ 0 ประตูลีกคัพทำได้กี่ประตู? ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?It is not neccessary to use all the tables.
table_47046: "Name" [ text] "Position" [ text]
SELECT SUM("Total Goals") FROM table_47046 WHERE "Playoff Apps" = '2' AND "FA Cup Apps" = '2' AND "League Cup Goals" < '0'
null
general
คะแนนใดคือคะแนนสูงสุดที่มีเกมน้อยกว่า 43 และเดือนมกราคมมากกว่า 8 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Points is the highest one that has a Game smaller than 43, and a January larger than 8?It is not neccessary to use all the tables.
table_35457: "Game" [ real] "January" [ real] "Opponent" [ text] "Score" [ text] "Record" [ text] "Points" [ real]
SELECT MAX("Points") FROM table_35457 WHERE "Game" < '43' AND "January" > '8'
null
general
แต่ละทีมมีกี่ประเทศ ?ไม่จำเป็นต้องใช้ทุกตาราง
what is the number of countries in each team ?It is not neccessary to use all the tables.
table_203_526: id [ number] "agg." [ text]
SELECT COUNT("team 1") FROM table_203_526
null
general
นับจำนวนคนไข้ที่มีเชื้อชาติเอเชียและชื่อยาวของการรักษาคือการผ่าตัดลำไส้เล็กถึงลำไส้เล็ก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose ethnicity is asian and procedure long title is small-to-small intestinal anastomosis?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "ASIAN" AND procedures.long_title = "Small-to-small intestinal anastomosis"
null
general
ระบุประกันสุขภาพและชื่อคนไข้สำหรับรหัสผู้ป่วย 2560 ไม่จำเป็นต้องใช้ตารางทั้งหมด
provide the health insurance and patients name for patient id 2560.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 demographic.name, demographic.insurance FROM demographic WHERE demographic.subject_id = "2560"
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_15300: "Club" [ text] "Winners" [ text] "Finalists" [ text]
SELECT "Winners" FROM table_15300 WHERE "Not winning editions" = '1992, 2003'
null
general
Stephen Hoiles มีแคปกี่ตัว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many caps does stephen hoiles have?It is not neccessary to use all the tables.
table_54752: "Player" [ text] "Position" [ text] "Caps" [ real] "Club/province" [ text]
SELECT SUM("Caps") FROM table_54752 WHERE "Player" = 'stephen hoiles'
null
general
นับจำนวนผู้ป่วยโรคหลักคือความดันโลหิตสูง ยกเว้นโรคหลอดเลือดหัวใจ\สายสวนหัวใจ และปีที่เสียชีวิตน้อยกว่าหรือเท่ากับ 2,180 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
count the number of patients whose primary disease is hypertension;rule out coronary artery disease\cardiac cath and year of death is less than or equal to 2180?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 = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH" AND demographic.dod_year <= "2180.0"
null
general
อันดับ 8 ของสหรัฐอเมริกามีจำนวนสถานที่เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Places amount of the United States Ranking 8?It is not neccessary to use all the tables.
table_37274: "Rank" [ real] "Name" [ text] "Nation" [ text] "Points" [ real] "Places" [ real]
SELECT AVG("Places") FROM table_37274 WHERE "Nation" = 'united states' AND "Rank" = '8'
null
general
เมื่อปีศาจมีสถิติ 14 10 2 ในเกมนั้นสกอร์เท่าไหร่ ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What was the score of the game when the Devils had a record of 14 10 2?It is not neccessary to use all the tables.
table_name_61: score [ VARCHAR] record [ VARCHAR]
SELECT score FROM table_name_61 WHERE record = "14–10–2"
null
general