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 |
---|---|---|---|---|---|
สถาบันใดบ้างที่ตั้งอยู่ใน wilkes-barre รัฐเพนซิลวาเนีย?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What institution(s) are located in wilkes-barre, pennsylvania?It is not neccessary to use all the tables. | table_28394: "Institution" [ text] "Location" [ text] "Nickname" [ text] "Founded" [ real] "Type" [ text] "Enrollment" [ real] | SELECT "Institution" FROM table_28394 WHERE "Location" = 'Wilkes-Barre, Pennsylvania' | null | general |
สโมสรใดมี 523 คะแนนต่อ?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | What club had 523 points against?It is not neccessary to use all the tables. | table_18955: "Club" [ text] "Played" [ text] "Won" [ text] "Drawn" [ text] "Lost" [ text] "Points" [ text] | SELECT "Club" FROM table_18955 WHERE "Points against" = '523' | null | general |
อันดับแรกไม่จำเป็นต้องใช้ทุกตาราง | firstIt is not neccessary to use all the tables. | PostHistory: Id [ number] PostHistoryTypeId [ number] PostId [ number] RevisionGUID [ other] CreationDate [ time] UserId [ number] UserDisplayName [ text] Comment [ text] Text [ text] ContentLicense [ text] | SELECT Question.Id, Question.Id AS "post_link", Users.LastAccessDate, Question.AnswerCount FROM Posts AS Question JOIN Users ON Question.OwnerUserId = Users.Id WHERE Question.AcceptedAnswerId IS NULL AND NOT EXISTS(SELECT * FROM Posts AS Answer WHERE Answer.ParentId = Question.Id AND Answer.Score > 0) AND Question.PostTypeId = 1 AND Question.ClosedDate IS NULL AND DATEDIFF(Day, Users.LastAccessDate, GETDATE()) < 30 ORDER BY Question.Id | null | general |
อัตราเปอร์เซ็นต์คำตอบที่ฉันยอมรับคือเท่าไร? อัตราเปอร์เซ็นต์คำตอบของฉันที่ยอมรับคือเท่าใด โดยเฉลี่ยแล้วคำตอบที่ฉันให้และยอมรับบ่อยแค่ไหน ---- แหล่งที่มาดั้งเดิม https//data.stackexchange.com/stackoverflow/query/949/what-is-my-accepted-answer-percentage-rate ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is my accepted answer percentage rate?. What is my accepted answer percentage rate
On avg how often are answers I give, accepted.
----
Original source https//data.stackexchange.com/stackoverflow/query/949/what-is-my-accepted-answer-percentage-rateIt is not neccessary to use all the tables. | FlagTypes: Id [ number] Name [ text] Description [ text] | SELECT (CAST(COUNT(a.Id) AS FLOAT) / (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = @UserId AND PostTypeId = 2) * 100) AS AcceptedPercentage FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.OwnerUserId = @UserId AND a.PostTypeId = 2 | null | general |
เปอร์เซ็นต์ของผู้ใช้ใช้ Internet Explorer ในช่วงที่ 2.1% ใช้เบราว์เซอร์มือถือ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers?It is not neccessary to use all the tables. | table_66075: "Period" [ text] "Firefox" [ text] "Chrome" [ text] "Safari" [ text] "Opera" [ text] "Mobile" [ text] | SELECT "Internet Explorer" FROM table_66075 WHERE "Mobile" = '2.1%' | null | general |
มีผู้ป่วยกี่รายที่รักษาตัวในโรงพยาบาลเกิน 23 วัน และมีชื่อยาเป็นซูโดเอเฟดรีน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients whose days of hospital stay is greater than 23 and drug name is pseudoephedrine?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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "23" AND prescriptions.drug = "Pseudoephedrine" | null | general |
อัลบั้มใดที่ออกก่อนปี 2008 ชื่อ We're not Made in the USA?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What album came out before 2008 called We're not Made in the USA?It is not neccessary to use all the tables. | table_13597: "Year" [ real] "Title" [ text] "Album" [ text] | SELECT "Album" FROM table_13597 WHERE "Year" < '2008' AND "Title" = 'we''re not made in the usa' | null | general |
บันทึกหลังการแข่งขันกับ Alexis Vila คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the record after the bout with Alexis Vila?It is not neccessary to use all the tables. | table_37137: "Res." [ text] "Record" [ text] "Opponent" [ text] "Method" [ text] "Event" [ text] "Round" [ real] "Time" [ text] "Location" [ text] | SELECT "Record" FROM table_37137 WHERE "Opponent" = 'alexis vila' | null | general |
ความกว้างของบัส (เป็นบิต) ของรุ่นที่มีคอร์อยู่ที่ 650 MHz คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What's the bus width (in bit) of the model whose core is 650 MHz?It is not neccessary to use all the tables. | table_19161046_1: bus_width___bit__ [ VARCHAR] core___mhz__ [ VARCHAR] | SELECT COUNT(bus_width___bit__) FROM table_19161046_1 WHERE core___mhz__ = 650 | null | general |
ค่าโดยสารจากซานฟรานซิสโกไป DALLAS FORT WORTH บนเที่ยวบิน DL 852 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the fare from SAN FRANCISCO to DALLAS FORT WORTH on DL flight 852It is not neccessary to use all the tables. | aircraft: aircraft_code [ varchar] aircraft_description [ varchar] manufacturer [ varchar] basic_type [ varchar] engines [ int] propulsion [ varchar] wide_body [ varchar] wing_span [ int] length [ int] weight [ int] capacity [ int] pay_load [ int] cruising_speed [ int] range_miles [ int] pressurized [ varchar] | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, fare, flight, flight_fare WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'FORT WORTH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND flight.to_airport = AIRPORT_SERVICE_2.airport_code) AND flight.flight_number = 852) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.airline_code = 'DL' AND flight.flight_id = flight_fare.flight_id | null | general |
Amal McCaskill เล่นให้กับทีมโรงเรียน/สโมสรใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What school/club team did Amal McCaskill play for?It is not neccessary to use all the tables. | table_40722: "Player" [ text] "Nationality" [ text] "Position" [ text] | SELECT "School/Club Team" FROM table_40722 WHERE "Player" = 'amal mccaskill' | null | general |
รหัสสถานะใดที่พบบ่อยที่สุดจากการจองทั้งหมด?ไม่จำเป็นต้องใช้ทุกตาราง | Which status code is the most common of all the bookings?It is not neccessary to use all the tables. | invoice_items: invoice_item_id [ number] invoice_id [ number] order_id [ number] order_item_id [ number] product_id [ number] order_quantity [ number] other_item_details [ text] | SELECT status_code FROM bookings GROUP BY status_code ORDER BY COUNT(*) DESC LIMIT 1 | null | general |
ค้นหา Nationality และค่าเฉลี่ยของ meter_100 และจัดกลุ่มตามคุณลักษณะ Nationality และแสดงภาพด้วยแผนภูมิแท่ง ฉันต้องการแสดงตามสัญชาติจากสูงไปต่ำ ไม่จำเป็นต้องใช้ตารางทั้งหมด | Find Nationality and the average of meter_100 , and group by attribute Nationality, and visualize them by a bar chart, I want to show by the Nationality from high to low.It is not neccessary to use all the tables. | event: ID [ int] Name [ text] Stadium_ID [ int] Year [ text] | SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality ORDER BY Nationality DESC | null | general |
ในรูปแบบรายการ ดูhttp//meta.stackoverflow.com/a/266976ไม่จำเป็นต้องใช้ตารางทั้งหมด | s in list format. See http//meta.stackoverflow.com/a/266976It is not neccessary to use all the tables. | FlagTypes: Id [ number] Name [ text] Description [ text] | SELECT Id AS "post_link" FROM Posts WHERE Body LIKE '%<li><blockquote>%' AND OwnerUserId = 106224 | null | general |
ขอทราบจำนวนผู้ป่วยที่วินิจฉัยชื่อยาวว่าเป็นโรคซึมเศร้า กำเริบ รุนแรง ระบุเป็นพฤติกรรมทางจิตและเส้นทางเสพยาหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | give me the number of patients whose diagnoses long title is major depressive affective disorder, recurrent episode, severe, specified as with psychotic behavior and drug route is ou?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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Major depressive affective disorder, recurrent episode, severe, specified as with psychotic behavior" AND prescriptions.route = "OU" | null | general |
ผู้ป่วยที่เข้ารับการรักษาน้อยกว่า 2,194 ปี และได้รับการวินิจฉัยว่าเป็นโรคภาวะโพแทสเซียมในเลือดต่ำมีจำนวนเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the number of patients whose admission year is less than 2194 and diagnoses long title is hypopotassemia?It is not neccessary to use all the tables. | diagnoses: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2194" AND diagnoses.long_title = "Hypopotassemia" | null | general |
ซึ่งเป็นประเทศแรกที่มีรองชนะเลิศอันดับที่ 2 ไม่จำเป็นต้องใช้ตารางทั้งหมด | who is the frist country to have a 1st runner up of 2It is not neccessary to use all the tables. | table_204_225: id [ number] "rank" [ number] "country/territory" [ text] "semifinalists" [ number] "total" [ number] | SELECT "country/territory" FROM table_204_225 WHERE "1st runner-up" = 2 | null | general |
การแข่งขัน Buick Classic จัดขึ้นในวันที่ใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | The tournament Buick Classic occured on what dates?It is not neccessary to use all the tables. | table_19846: "No." [ real] "Date" [ text] "Tournament" [ text] "Runner-up" [ text] | SELECT "Date" FROM table_19846 WHERE "Tournament" = 'Buick Classic' | null | general |
นับจำนวนคนไข้ที่ประเภทเข้ารับการรักษาเป็นวิชาเลือกและของเหลวทดสอบในห้องปฏิบัติการเป็นของเหลวร่วมหรือไม่ไม่จำเป็นต้องใช้ทุกตาราง | count the number of patients whose admission type is elective and lab test fluid is joint fluid?It is not neccessary to use all the tables. | demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.fluid = "Joint Fluid" | null | general |
Jamie Cooke เล่นในรอบไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What round did Jamie Cooke play in?It is not neccessary to use all the tables. | table_4967: "Round" [ text] "Player" [ text] "Position" [ text] "Nationality" [ text] | SELECT "Round" FROM table_4967 WHERE "Player" = 'jamie cooke' | null | general |
วันที่เรือจมในมหาสมุทรแอตแลนติกใต้คือวันที่เท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the date that a ship sank in the South Atlantic?It is not neccessary to use all the tables. | table_68771: "Estimate" [ text] "Name" [ text] "Nat." [ text] "Date" [ text] | SELECT "Date" FROM table_68771 WHERE "Where sunk" = 'south atlantic' | null | general |
SO - จำนวนโพสต์ทั้งหมดโดยเซิร์ฟเวอร์ฐานข้อมูลต่อเดือน - PostgreSQL ไม่จำเป็นต้องใช้ตารางทั้งหมด | SO - Total Posts by Database Server Per Month - PostgreSQL.It is not neccessary to use all the tables. | Votes: Id [ number] PostId [ number] VoteTypeId [ number] UserId [ number] CreationDate [ time] BountyAmount [ number] | SELECT CONCAT(YEAR(P.CreationDate), '-', MONTH(P.CreationDate)) AS YearMonth, 'PostgreSQL' AS TagName, COUNT(*) AS PostCount FROM Posts AS P INNER JOIN PostTags AS PT ON (P.Id = PT.PostId) INNER JOIN Tags AS T ON (PT.TagId = T.Id) WHERE T.TagName LIKE 'postgresql%' GROUP BY YEAR(P.CreationDate), MONTH(P.CreationDate) ORDER BY YEAR(P.CreationDate) DESC, MONTH(P.CreationDate) DESC | null | general |
ยอมรับจำนวนตัวแทนเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | How much rep from accepts?.It is not neccessary to use all the tables. | PostNotices: Id [ number] PostId [ number] PostNoticeTypeId [ number] CreationDate [ time] DeletionDate [ time] ExpiryDate [ time] Body [ text] OwnerUserId [ number] DeletionUserId [ number] | SELECT ((SELECT COUNT(*) FROM Posts WHERE OwnerUserId = @UserId AND PostTypeId = 2) * 15) AS "rep_gained" | null | general |
ในการแข่งขันชิงแชมป์เมืองไมอามี่ ประเทศสหรัฐอเมริกา คะแนนในรอบชิงชนะเลิศเป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | In the championship Miami , United States, what is the score in the final?It is not neccessary to use all the tables. | table_26202788_7: score_in_the_final [ VARCHAR] championship [ VARCHAR] | SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States" | null | general |
ระบุประเภทยาและรหัสยาสำหรับไฮโดรเซอริน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | provide the drug type and drug code for hydrocerin?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 prescriptions.drug_type, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Hydrocerin" | null | general |
ค้นหาบาร์ทั้งหมดในดัลลัสไม่จำเป็นต้องใช้ตารางทั้งหมด | Find all Bars in DallasIt is not neccessary to use all the tables. | category: id [ int] business_id [ varchar] category_name [ varchar] | SELECT business.name FROM business, category WHERE business.city = 'Dallas' AND category.business_id = business.business_id AND category.category_name = 'Bars' | null | general |
ผู้ป่วยรายใดที่สั่งยาตามใบสั่งแพทย์หลักมีการวินิจฉัยรหัส icd9 5180?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which patients on main drug type prescriptions have diagnoses icd9 code 5180?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.icd9_code = "5180" AND prescriptions.drug_type = "MAIN" | null | general |
ฉันต้องการเที่ยวบินจากซานดิเอโกไปโตรอนโตบน AS ซึ่งจะออกเดินทางประมาณ 13.00 น. ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | i'd like a flight from SAN DIEGO to TORONTO on AS leaving around 1pmIt 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, city AS CITY_0, city AS CITY_1, flight WHERE (((flight.departure_time <= 1330 AND flight.departure_time >= 1230) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TORONTO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN DIEGO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'AS' | null | general |
เขตใดที่ผู้สมัครคือ charles edward bennett (d) คัดค้าน? ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the district where the candidates are charles edward bennett (d) unopposed?It is not neccessary to use all the tables. | table_1341663_10: district [ VARCHAR] candidates [ VARCHAR] | SELECT district FROM table_1341663_10 WHERE candidates = "Charles Edward Bennett (D) Unopposed" | null | general |
Ray Kurpis เล่นรอบไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What round did Ray Kurpis play?It is not neccessary to use all the tables. | table_name_2: round [ VARCHAR] player [ VARCHAR] | SELECT round FROM table_name_2 WHERE player = "ray kurpis" | null | general |
มีผู้ป่วยกี่รายที่ได้รับการจ่ายยา ns ภายในเดือนเดียวกันของปีที่แล้ว ภายหลังการวินิจฉัยว่ามีการโจมตีทางทวารหนัก?ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients were prescribed with ns within the same month last year after the diagnosis with assault nos?It is not neccessary to use all the tables. | patients: row_id [ number] subject_id [ number] gender [ text] dob [ time] dod [ time] | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'assault nos') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'ns' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.startdate AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.startdate, 'start of month') | null | general |
สำหรับทีมที่มีผู้สนับสนุนเสื้อคือ Evonik ใครเป็นผู้ผลิตอุปกรณ์?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | For the team whose shirt sponsor is Evonik, who is the kitmaker?It is not neccessary to use all the tables. | table_50360: "Team" [ text] "Kitmaker" [ text] | SELECT "Kitmaker" FROM table_50360 WHERE "Shirt sponsor" = 'evonik' | null | general |
ประชากรระดับล่างของปี 2545 เป็นเท่าใดเมื่อประชากรในปี 2554 มีจำนวน 3,0076 คน ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the lowes population of 2002 when the 2011 population was 30076?It is not neccessary to use all the tables. | table_27911: "District" [ text] | SELECT MIN("Population (2002)") FROM table_27911 WHERE "Population (2011)" = '30076' | null | general |
ลีกใดที่มีเป้าหมาย 10 ประตูคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the league listed that has goals of 10?It is not neccessary to use all the tables. | table_13923: "SEASON" [ text] "TEAM" [ text] "LEAGUE" [ text] "GAMES" [ text] "GOALS" [ text] | SELECT "LEAGUE" FROM table_13923 WHERE "GOALS" = '10' | null | general |
หน้าต่างการถ่ายโอนของผู้เล่นที่ย้ายไป Panionios คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the transfer window of the player moving to Panionios?It is not neccessary to use all the tables. | table_58968: "Nat." [ text] "Name" [ text] "Type" [ text] | SELECT "Transfer window" FROM table_58968 WHERE "Moving to" = 'panionios' | null | general |
วันที่คืออะไร เมื่อทีมเยือนคือ 'ไมน์เฮด'?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is Date, when Away Team is 'Minehead'?It is not neccessary to use all the tables. | table_61638: "Score" [ text] "Date" [ text] | SELECT "Date" FROM table_61638 WHERE "Away team" = 'minehead' | null | general |
ขอฮิสโตแกรมว่าสถานะและจำนวนประชากรเฉลี่ยของแต่ละเมืองคืออะไร คุณช่วยเรียงลำดับ Y จากมากไปน้อยได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด | Give me a histogram for what are the statuses and average populations of each city?, could you sort Y from high to low order?It is not neccessary to use all the tables. | city: City_ID [ int] Official_Name [ text] Status [ text] Area_km_2 [ real] Population [ real] Census_Ranking [ text] | SELECT Status, AVG(Population) FROM city GROUP BY Status ORDER BY AVG(Population) DESC | null | general |
โอ้ มาดูกันว่า EA มีเที่ยวบินจากแอตแลนต้าไปวอชิงตันหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | oh let 's see does EA have a flight from ATLANTA to WASHINGTONIt is not neccessary to use all the tables. | code_description: code [ varchar] description [ text] | SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.airline_code = 'EA') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND flight.airline_code = airline.airline_code AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | null | general |
การสูญเสียโดยเฉลี่ยโดยมีเป้าหมายสูงกว่า 51 และชนะสูงกว่า 14 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average loss with a goal higher than 51 and wins higher than 14?It is not neccessary to use all the tables. | table_80130: "Position" [ real] "Club" [ text] "Played" [ real] "Points" [ text] "Wins" [ real] "Draws" [ real] "Losses" [ real] | SELECT AVG("Losses") FROM table_80130 WHERE "Goals against" > '51' AND "Wins" > '14' | null | general |
แต่ละละครมีนักแสดงกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many actors have appeared in each musical?It is not neccessary to use all the tables. | musical: musical_id [ number] name [ text] year [ number] award [ text] category [ text] nominee [ text] result [ text] | SELECT T2.name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.musical_id = T2.musical_id GROUP BY T1.musical_id | null | general |
ลองจิจูด -100.895783 มีกี่ดินแดน ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many lands with longitude of -100.895783 are?It is not neccessary to use all the tables. | table_18600760_19: land___sqmi__ [ VARCHAR] longitude [ VARCHAR] | SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783" | null | general |
มีผู้ป่วยที่เสียชีวิตก่อนปี 2107 กี่ราย ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients that died were born before 2107?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.expire_flag = "0" AND demographic.dob_year < "2107" | null | general |
ตั้งชื่อสถานที่ด้วยคะแนน 67-70=137 และ stuart appleby ไม่จำเป็นต้องใช้ทุกตาราง | Name the place for score of 67-70=137 and stuart applebyIt is not neccessary to use all the tables. | table_80184: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text] | SELECT "Place" FROM table_80184 WHERE "Score" = '67-70=137' AND "Player" = 'stuart appleby' | null | general |
ค้นหาจำนวนผู้ป่วยอายุต่ำกว่า 61 ปี ที่มีโรคหลักคือโรคหลอดเลือดหัวใจ/หลอดเลือดหัวใจตีบ/sda ไม่จำเป็นต้องใช้ตารางทั้งหมด | find the number of patients under the age of 61 whose primary disease is coronary artery disease/coronary artery bypass graft/sda.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 WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" AND demographic.age < "61" | null | general |
ผู้ให้บริการโทรศัพท์ที่แพงที่สุดคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the carrier of the most expensive phone?It is not neccessary to use all the tables. | phone: Carrier [ VARCHAR] Price [ VARCHAR] | SELECT Carrier FROM phone ORDER BY Price DESC LIMIT 1 | null | general |
มองหาจำนวนผู้ป่วยที่ออกจากโรงพยาบาลระยะสั้นได้ ไม่จำเป็นต้องใช้ทุกโต๊ะ | look for the number of patients who were discharged to short term 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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" | null | general |
เมื่อหนานไห่เป็นผู้บัญชาการ เมืองหลวงของผู้บัญชาการคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | When nanhai is the commandery what is the commandery capital?It is not neccessary to use all the tables. | table_278229_1: commandery [ VARCHAR] | SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Nanhai 南海" | null | general |
อะไรคือแรงผลักดันสูงสุดที่เครื่องยนต์ lyul ` ka ทำได้ก่อนปี 1980 ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | what was the top thrust achieved by a lyul ` ka engine before 1980 ?It is not neccessary to use all the tables. | table_203_823: id [ number] "date" [ text] "type" [ text] | SELECT "thrust (kg) / power (eshp)" FROM table_203_823 ORDER BY "thrust (kg) / power (eshp)" DESC LIMIT 1 | null | general |
ปีเฉลี่ยของศิลปินช่างแกะสลักโรงกษาปณ์ Royal Canadian คือเท่าไร เมื่อปริมาณการสร้างต่ำกว่า 200 ปี? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200?It is not neccessary to use all the tables. | table_54945: "Year" [ real] "Artist" [ text] "Composition" [ text] "Mintage" [ real] | SELECT AVG("Year") FROM table_54945 WHERE "Artist" = 'royal canadian mint engravers' AND "Mintage" < '200' | null | general |
อะไรคือเอกลักษณ์ของรถไฟที่สร้างขึ้นโดย Brighton?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | What is the identity of the brighton works built train?It is not neccessary to use all the tables. | table_name_48: identity [ VARCHAR] builder [ VARCHAR] | SELECT identity FROM table_name_48 WHERE builder = "brighton works" | null | general |
จุดที่ปรับมากที่สุดสำหรับบริเตนใหญ่คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the most adjusted points for Great Britain?It is not neccessary to use all the tables. | table_28708: "Rank" [ real] "Athlete" [ text] "Country" [ text] "Height" [ text] "Points" [ real] | SELECT MAX("Adjusted Points") FROM table_28708 WHERE "Country" = 'Great Britain' | null | general |
รูปแบบน้ำมันสำหรับรองชนะเลิศ Pete Weber คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What was the oil pattern for runner-up Pete Weber?It is not neccessary to use all the tables. | table_name_26: oil_pattern [ VARCHAR] runner_up [ VARCHAR] | SELECT oil_pattern FROM table_name_26 WHERE runner_up = "pete weber" | null | general |
ยาที่ผู้ป่วยหมายเลข 92788 ได้รับการสั่งจ่ายสองครั้งในการพบแพทย์ในโรงพยาบาลครั้งนี้ชื่ออะไร ไม่จำเป็นต้องใช้ทุกโต๊ะ | what was the name of the drug that patient 92788 had been prescribed two times in this hospital encounter.It is not neccessary to use all the tables. | patients: row_id [ number] subject_id [ number] gender [ text] dob [ time] dod [ time] | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 92788 AND admissions.dischtime IS NULL) GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 = 2 | null | general |
การตัดสินใจของเกม Kings เมื่อชิคาโกเป็นทีมเยือนคืออะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | What was the decision of the Kings game when Chicago was the visiting team?It is not neccessary to use all the tables. | table_77722: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Decision" [ text] "Attendance" [ real] "Record" [ text] | SELECT "Decision" FROM table_77722 WHERE "Visitor" = 'chicago' | null | general |
เมื่อได้ 53 แต้ม ได้กี่แต้ม ไม่จำเป็นต้องใช้ทุกตาราง | How many points for when the points was 53?It is not neccessary to use all the tables. | table_13564637_4: points_for [ VARCHAR] points [ VARCHAR] | SELECT points_for FROM table_13564637_4 WHERE points = "53" | null | general |
จำนวนการแพ้ทั้งหมดสำหรับการเสมอ 7 และ 1 แต้มน้อยกว่า 33 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total number of losses for a draw of 7, and 1 points less than 33?It is not neccessary to use all the tables. | table_name_21: lost [ VARCHAR] drawn [ VARCHAR] points_1 [ VARCHAR] | SELECT COUNT(lost) FROM table_name_21 WHERE drawn = 7 AND points_1 < 33 | null | general |
Adam Thompson เล่นรอบชิงชนะเลิศเมื่อใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | When did Adam Thompson play in the final?It is not neccessary to use all the tables. | table_name_47: date [ VARCHAR] opponent_in_the_final [ VARCHAR] | SELECT date FROM table_name_47 WHERE opponent_in_the_final = "adam thompson" | null | general |
จำนวนผู้ป่วยที่รักษาตัวในโรงพยาบาลมากกว่า 16 วัน และรหัสรายการคือ 50976 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the number of patients whose days of hospital stay is greater than 16 and item id is 50976?It is not neccessary to use all the tables. | prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "16" AND lab.itemid = "50976" | null | general |
ค่าเฉลี่ยของประเทศที่มีคะแนนชุดว่ายน้ำ 9.57 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the average for the country with the swimsuit score of 9.57?It is not neccessary to use all the tables. | table_11884814_3: average [ VARCHAR] swimsuit [ VARCHAR] | SELECT average FROM table_11884814_3 WHERE swimsuit = "9.57" | null | general |
ตอนที่ 618 ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the name of eipsode 618?It is not neccessary to use all the tables. | table_21823: "Title" [ text] | SELECT "Title" FROM table_21823 WHERE "Production code" = '618' | null | general |
เบลน สมิธเล่นไลน์แบ็คเกอร์ไปกี่รอบ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many rounds did Blane Smith play linebacker?It is not neccessary to use all the tables. | table_name_12: round [ VARCHAR] position [ VARCHAR] player [ VARCHAR] | SELECT COUNT(round) FROM table_name_12 WHERE position = "linebacker" AND player = "blane smith" | null | general |
ชื่อและจำนวนชั่วโมงที่ใช้ในการฝึกซ้อมสำหรับผู้เล่นแต่ละคนที่ฝึกซ้อมน้อยกว่า 1,500 ชั่วโมง คืออะไร ลองนึกภาพตามแผนภูมิแท่ง และคุณช่วยแสดงรายการตามจำนวนทั้งหมดจากต่ำไปสูงได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | What are the names and number of hours spent training for each player who trains for less than 1500 hours Visualize by bar chart, and could you list by the total number from low to high?It is not neccessary to use all the tables. | Tryout: pID [ numeric(50)] cName [ varchar(20)] pPos [ varchar(8)] decision [ varchar(3)] | SELECT pName, HS FROM Player WHERE HS < 1500 ORDER BY HS | null | general |
สตีเฟนสันเป็นผู้สร้างปีไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What year was Stephenson the builder?It is not neccessary to use all the tables. | table_name_93: built [ VARCHAR] builder [ VARCHAR] | SELECT built FROM table_name_93 WHERE builder = "stephenson" | null | general |
แพ็คเกจ/ตัวเลือกใดที่มี sky arte hd เป็นบริการโทรทัศน์?ไม่จำเป็นต้องใช้ทุกตาราง | What package/option has sky arte hd as the television service?It is not neccessary to use all the tables. | table_name_51: package_option [ VARCHAR] television_service [ VARCHAR] | SELECT package_option FROM table_name_51 WHERE television_service = "sky arte hd" | null | general |
การแข่งขันรายการใดมีวันที่ 5 พฤษภาคม 2544 เป็นวันที่?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What competition has may 5, 2001 as the date?It is not neccessary to use all the tables. | table_name_25: competition [ VARCHAR] date [ VARCHAR] | SELECT competition FROM table_name_25 WHERE date = "may 5, 2001" | null | general |
อะไรคือสถิติในการแข่งขันที่ทีมเหย้าคือแมฟเวอริกส์?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the record in the competition in which the home team was the Mavericks?It is not neccessary to use all the tables. | table_56052: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Attendance" [ real] "Record" [ text] | SELECT "Record" FROM table_56052 WHERE "Home" = 'mavericks' | null | general |
แลร์รี เพอร์กินส์และนักแข่งคนอื่นๆ ที่อยู่ในทีมวิศวกรรมของเพอร์กินส์ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | larry perkins and what other driver is under the team perkins engineering ?It is not neccessary to use all the tables. | table_203_161: id [ number] "pos." [ text] "div." [ number] "no." [ number] "team" [ text] "drivers" [ text] "car" [ text] "laps" [ number] "qual.\npos." [ number] | SELECT "drivers" FROM table_203_161 WHERE "team" = 'perkins engineering' AND "drivers" <> 'larry perkins' | null | general |
คะแนนใดมีเวลา 1410?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What Score has a time of 1410?It is not neccessary to use all the tables. | table_name_43: score [ VARCHAR] time [ VARCHAR] | SELECT score FROM table_name_43 WHERE time = "14:10" | null | general |
ตำแหน่งการป้องกันของผู้เล่น ID willite01 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What defense position the player ID willite01 is?It is not neccessary to use all the tables. | player_award_vote: award_id [ text] year [ number] league_id [ text] player_id [ text] points_won [ number] points_max [ number] votes_first [ text] | SELECT DISTINCT notes FROM player_award WHERE player_id = "willite01" | null | general |
สำหรับแต่ละรูปแบบไฟล์ ให้ส่งคืนจำนวนศิลปินที่ออกเพลงในรูปแบบนั้น แสดงแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด | For each file format, return the number of artists who released songs in that format. Show bar chart.It is not neccessary to use all the tables. | files: f_id [ number(10)] artist_name [ varchar2(50)] file_size [ varchar2(20)] duration [ varchar2(20)] formats [ varchar2(20)] | SELECT formats, COUNT(*) FROM files GROUP BY formats | null | general |
คะแนนใดที่มีเกมมากกว่า 29 โดยมี 24-6 เป็นสถิติ ไม่จำเป็นต้องใช้ตารางทั้งหมด | What score has a game greater than 29, with 24-6 as the record?It is not neccessary to use all the tables. | table_name_6: score [ VARCHAR] game [ VARCHAR] record [ VARCHAR] | SELECT score FROM table_name_6 WHERE game > 29 AND record = "24-6" | null | general |
วิธีการชำระเงินแบบใดที่มีจำนวนการชำระเงินน้อยที่สุด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | With which kind of payment method were the least number of payments processed?It is not neccessary to use all the tables. | Payments: Payment_Method_Code [ VARCHAR] | SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY COUNT(*) LIMIT 1 | null | general |
มีผู้ป่วยจำนวนเท่าใดที่ได้รับ opn/oth rep aort vlv-tis สองครั้งขึ้นไปในช่วงหนึ่งปีก่อน? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด | what number of patients were given opn/oth rep aort vlv-tis two or more times during a year before?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 COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'opn/oth rep aort vlv-tis') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY admissions.subject_id) AS t1 WHERE t1.c1 >= 2 | null | general |
บอกฉันถึงการหายใจขั้นต่ำรายวันของผู้ป่วย 010-15363 ตั้งแต่ 62 เดือนที่แล้ว ไม่จำเป็นต้องใช้ตารางทั้งหมด | tell me the daily minimum respiration of patient 010-15363 since 62 months ago.It is not neccessary to use all the tables. | microlab: microlabid [ number] patientunitstayid [ number] culturesite [ text] organism [ text] culturetakentime [ time] | SELECT MIN(vitalperiodic.respiration) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-15363')) AND NOT vitalperiodic.respiration IS NULL AND DATETIME(vitalperiodic.observationtime) >= DATETIME(CURRENT_TIME(), '-62 month') GROUP BY STRFTIME('%y-%m-%d', vitalperiodic.observationtime) | null | general |
ตั้งชื่อเวลาที่มีการโต้แย้งมากที่สุดสำหรับมอนต์โกเมอรีเชียร์ไม่จำเป็นต้องใช้ตารางทั้งหมด | Name the most times contested for montgomeryshireIt is not neccessary to use all the tables. | table_26765: "Borough" [ text] "County" [ text] "Members" [ real] | SELECT MAX("Times contested") FROM table_26765 WHERE "County" = 'Montgomeryshire' | null | general |
จำนวนเหรียญเฉลี่ยทั้งหมดของประเทศที่มี 0 เหรียญเงินและเข้าร่วมในเกมน้อยกว่า 15 เกมคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average medal total of the country who had 0 silver medals and participated in less than 15 games?It is not neccessary to use all the tables. | table_name_41: total [ INTEGER] games [ VARCHAR] silver [ VARCHAR] | SELECT AVG(total) FROM table_name_41 WHERE games < 15 AND silver < 0 | null | general |
คู่ใดมีผลรวมมากกว่า 176 และวันที่น้อยกว่า 1907 และคู่ คลาส I น้อยกว่า 21 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Which Doubles have a Total larger than 176, and a Date smaller than 1907, and Doubles, I Class smaller than 21?It is not neccessary to use all the tables. | table_64474: "Date" [ real] "Doubles" [ real] "Semidoubles" [ real] "Total" [ real] | SELECT MAX("Doubles") FROM table_64474 WHERE "Total" > '176' AND "Date" < '1907' AND "Doubles, I Class" < '21' | null | general |
ระบุรายละเอียดการประกันภัยและชาติพันธุ์ของวิชา id 21796 ไม่จำเป็นต้องใช้ตารางทั้งหมด | give the insurance details and ethnicity of subject id 21796.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 demographic.insurance, demographic.ethnicity FROM demographic WHERE demographic.subject_id = "21796" | null | general |
ฝูงชนที่อยู่ในรายการคืออะไรเมื่อ Hawthorn ไม่อยู่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | What is the listed crowd when hawthorn is away?It is not neccessary to use all the tables. | table_77907: "Venue" [ text] "Crowd" [ real] "Date" [ text] | SELECT COUNT("Crowd") FROM table_77907 WHERE "Away team" = 'hawthorn' | null | general |
ขอทราบจำนวนคนไข้ที่ชื่อยาว่า ascorbic acid ครับ ไม่จำเป็นต้องใช้ทุกตารางครับ | give me the number of patients whose drug name is ascorbic acid?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 prescriptions.drug = "Ascorbic Acid" | null | general |
คุณช่วยแสดงรายการเที่ยวบินทั้งหมดจาก CHICAGO ไปยัง ST ได้ไหม LOUIS ที่ออกเดินทางหลัง 12.00 น. ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | can you list all flights from CHICAGO to ST. LOUIS that depart after 1200It 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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ST. LOUIS' AND flight.departure_time > 1200 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CHICAGO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | null | general |
แสดงแผนภูมิแท่งว่าคนโดยเฉลี่ยในแต่ละงานอายุเท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด | Display a bar chart for how old is the average person for each job?It is not neccessary to use all the tables. | Person: name [ varchar(20)] age [ INTEGER] city [ TEXT] gender [ TEXT] job [ TEXT] | SELECT job, AVG(age) FROM Person GROUP BY job | null | general |
ตอนแรกตอนที่ 115 ออกอากาศวันไหนคะ?ไม่จำเป็นต้องใช้ตารางทั้งหมดนะคะ | What date did episode 115 in the series originally air?It is not neccessary to use all the tables. | table_26841: "Series" [ real] "Season" [ real] | SELECT "Original air date" FROM table_26841 WHERE "Series" = '115' | null | general |
การแก้ไขโพสต์ของผู้ใช้รายอื่นทั้งหมดโดยผู้ใช้ ไม่จำเป็นต้องใช้ตารางทั้งหมด | All of a user's edits of other users' posts.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 a.UserId AS "user_link", a.PostId AS "post_link", Comment, * FROM PostHistory AS a INNER JOIN Posts AS b ON a.PostId = b.Id WHERE a.PostHistoryTypeId = 5 AND b.CreationDate < '2014-01-01' AND a.CreationDate >= '2017-01-01' AND a.UserId = '##UserId##' | null | general |
คู่ต่อสู้ของเกมที่มีหมายเลขเกมมากกว่า 5 ในวันที่ 22 มิถุนายนคือใคร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | Who is the opponent of the game with a game number larger than 5 on June 22?It is not neccessary to use all the tables. | table_14278: "Game" [ real] "Date" [ text] "Opponent" [ text] "Score" [ text] "Location" [ text] "Record" [ text] | SELECT "Opponent" FROM table_14278 WHERE "Game" > '5' AND "Date" = 'june 22' | null | general |
ตำแหน่งของทีมโดยจบสกอร์เฉลี่ย 21.5 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the position of the team with an average finish of 21.5?It is not neccessary to use all the tables. | table_24646: "Year" [ real] "Starts" [ real] "Wins" [ real] "Poles" [ real] "Winnings" [ text] "Position" [ text] "Team(s)" [ text] | SELECT "Position" FROM table_24646 WHERE "Avg. Finish" = '21.5' | null | general |
นักเรียนอายุ 18 ปีมีกี่คน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด | How many students are 18 years old?It is not neccessary to use all the tables. | allergy_type: allergy [ text] allergytype [ text] | SELECT COUNT(*) FROM student WHERE age = 18 | null | general |
ตารางคืออะไรเมื่อคนขับคือ pierre levegh?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what is the grid when the driver is pierre levegh?It is not neccessary to use all the tables. | table_53537: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/retired" [ text] "Grid" [ real] | SELECT "Grid" FROM table_53537 WHERE "Driver" = 'pierre levegh' | null | general |
อายุขั้นต่ำของผู้ป่วยที่เป็นคนผิวสีหรือเชื้อชาติเคปเวิร์ดและต้องพักรักษาตัวในโรงพยาบาลเป็นเวลา 9 วันคือเท่าไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด | What is the minimum age of patients who were either black or of cape verdean ethnicity and stayed in hospital for 9 days?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 MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.days_stay = "9" | null | general |
มีผู้ป่วยกี่รายที่เข้ารับการรักษาตามสถานที่อ้างอิงทางกายภาพ/อาหารสำเร็จรูปปกติ และผลการตรวจทางห้องปฏิบัติการคืออัลบูมิน/ครีเอตินีน ปัสสาวะ? ไม่จำเป็นต้องใช้ตารางทั้งหมด | how many patients whose admission location is phys referral/normal deli and lab test name is albumin/creatinine, urine?It is not neccessary to use all the tables. | procedures: subject_id [ text] hadm_id [ text] icd9_code [ text] short_title [ text] long_title [ text] | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND lab.label = "Albumin/Creatinine, Urine" | null | general |
มีเที่ยวบินจากนิวยอร์กไปมอนทรีออล แคนาดาที่ออกเดินทางในวันพฤหัสบดีหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด | are there any flights from NEW YORK to MONTREAL CANADA leaving on thursdayIt is not neccessary to use all the tables. | airline: airline_code [ varchar] airline_name [ text] note [ 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, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MONTREAL' AND CITY_1.country_name = 'CANADA' AND date_day.day_number = 24 AND date_day.month_number = 5 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEW YORK' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | null | general |
ศาลใดตัดสินให้มีโทษประหารชีวิตมากที่สุด ?ไม่จำเป็นต้องใช้ตารางทั้งหมด | which tribunal sentenced the largest number of executions ?It is not neccessary to use all the tables. | table_203_303: id [ number] "tribunal" [ text] "penanced" [ number] "total" [ number] | SELECT "tribunal" FROM table_203_303 ORDER BY "total" DESC LIMIT 1 | null | general |
จำนวนรวมของเรือแต่ละประเภทโดยแยกตามสัญชาติคือเท่าใด และเรียงลำดับจำนวนประเภทจากน้อยไปหามาก ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the total number of every ship type by categorizing by nationality?, and sort the number of type in ascending order.It is not neccessary to use all the tables. | mission: Mission_ID [ int] Ship_ID [ int] Code [ text] Launched_Year [ int] Location [ text] Speed_knots [ int] Fate [ text] | SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY COUNT(Type) | null | general |
โรงเรียนของโรงเรียนมัธยมศึกษาตอนปลายมีสีอะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด | What Colors has a School of sesser high school?It is not neccessary to use all the tables. | table_name_61: colors [ VARCHAR] school [ VARCHAR] | SELECT colors FROM table_name_61 WHERE school = "sesser high school" | null | general |
รอบเฉลี่ยสำหรับตัวรับสัญญาณไวด์ r คืออะไร เจย์โซวาร์ดและโดยรวมน้อยกว่า 29 ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the average Round for wide receiver r. jay soward and Overall smaller than 29?It is not neccessary to use all the tables. | table_name_16: round [ INTEGER] overall [ VARCHAR] position [ VARCHAR] name [ VARCHAR] | SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29 | null | general |
สถิติเกมที่ 3-5 เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What was the record of the game that went 3-5?It is not neccessary to use all the tables. | table_name_88: record [ VARCHAR] score [ VARCHAR] | SELECT record FROM table_name_88 WHERE score = "3-5" | null | general |
การทดสอบในห้องปฏิบัติการที่ผู้ป่วย 010-17950 ได้รับครั้งล่าสุดชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด | what was the name of the lab test that patient 010-17950 received for the last time?It is not neccessary to use all the tables. | lab: labid [ number] patientunitstayid [ number] labname [ text] labresult [ number] labresulttime [ 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 = '010-17950')) ORDER BY lab.labresulttime DESC LIMIT 1 | null | general |
GDP ต่อหัวของประเทศที่มี GDP โดยรวมเท่ากับ 80.955 เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด | What is the per-capita GDP of the country with an overall GDP of 80.955?It is not neccessary to use all the tables. | table_67543: "Population" [ text] | SELECT "GDP per capita (US$)" FROM table_67543 WHERE "GDP (billion US$)" = '80.955' | null | general |
ใครมีสกอร์เจ้าบ้านอยู่ที่ 52-54 ไม่จำเป็นต้องใช้ตารางทั้งหมด | Who has the Home Score of 52-54?It is not neccessary to use all the tables. | table_75789: "Date" [ text] "Time" [ text] "Home" [ text] "Away" [ text] "Score" [ text] "Ground" [ text] | SELECT "Home" FROM table_75789 WHERE "Score" = '52-54' | null | general |
ป้ายใดมีขอบสีแดงและป้ายเตือนไม่จำเป็นต้องใช้ทุกตาราง | Which sign has a red border and a warning sign?It is not neccessary to use all the tables. | table_57200: "Shape" [ text] "Border" [ text] "Text/Symbol" [ text] | SELECT "Text/Symbol" FROM table_57200 WHERE "Border" = 'red' AND "Type of sign" = 'warning' | null | general |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.