Datasets:
AIAT
/

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
Pere Riba ขี่ไปกี่รอบ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many laps did pere riba ride?It is not neccessary to use all the tables.
table_76503: "Rider" [ text] "Manufacturer" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT SUM("Laps") FROM table_76503 WHERE "Rider" = 'pere riba'
null
general
สัปดาห์ที่ 9 อันดับแรก ผลลัพธ์เป็นอย่างไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
For week of top 9, what were the results?It is not neccessary to use all the tables.
table_25266: "Theme" [ text] "Result" [ text]
SELECT "Result" FROM table_25266 WHERE "Week #" = 'Top 9'
null
general
สถานภาพการสมรสและโรคปฐมภูมิของวิชา id 4589 คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is marital status and primary disease of subject id 4589?It is not neccessary to use all the tables.
demographic: subject_id [ text] hadm_id [ text] name [ text] marital_status [ text] age [ text] dob [ text] gender [ text] language [ text] religion [ text] admission_type [ text] days_stay [ text] insurance [ text] ethnicity [ text] expire_flag [ text] admission_location [ text] discharge_location [ text] diagnosis [ text] dod [ text] dob_year [ text] dod_year [ text] admittime [ text] dischtime [ text] admityear [ text]
SELECT demographic.marital_status, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "4589"
null
general
สถานที่ใดมีบันทึกสัตวแพทยศาสตร์ และมีปี พ.ศ. 2534 ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
Which Venue has a Notes of heptathlon, and a Year of 1991?It is not neccessary to use all the tables.
table_name_20: venue [ VARCHAR] notes [ VARCHAR] year [ VARCHAR]
SELECT venue FROM table_name_20 WHERE notes = "heptathlon" AND year = 1991
null
general
แสดงแผนภูมิวงกลมว่าแต่ละสัญชาติมีเจ้าของที่พักกี่คน? ระบุสัญชาติและจำนวน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me a pie chart for how many hosts does each nationality have? List the nationality and the count.It is not neccessary to use all the tables.
party: Party_ID [ int] Party_Theme [ text] Location [ text] First_year [ text] Last_year [ text] Number_of_hosts [ int]
SELECT Nationality, COUNT(*) FROM host GROUP BY Nationality
null
general
มีชั้นเรียนในวันศุกร์ในปี 344 หรือไม่ที่ศาสตราจารย์เมอร์เซเดซ ดันน์ สอน ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมดเลย
Are there classes on Friday in 344 when Prof. Mercedez Dunn teaches ?It is not neccessary to use all the tables.
jobs: job_id [ int] job_title [ varchar] description [ varchar] requirement [ varchar] city [ varchar] state [ varchar] country [ varchar] zip [ int]
SELECT COUNT(*) = 0 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 WHERE course.number = 344 AND course_offering.friday = 'N' AND instructor.name LIKE '%Mercedez Dunn%'
null
general
ตั้งชื่อไขมันให้โปรตีนเป็น 4 และแคลอรี่ 80 ไม่จำเป็นต้องใช้ทุกตาราง
Name the fat for protein being 4 and calories 80It is not neccessary to use all the tables.
table_3169: "Butter" [ text]
SELECT "Fat (g)" FROM table_3169 WHERE "Protein (g)" = '4' AND "Calories (1 tbsp .)" = '80'
null
general
ทีมใดมีความแตกต่าง 8 ระหว่างประตูที่ทำได้และเสียประตูไม่จำเป็นต้องใช้ตารางทั้งหมด
Which teams had a difference of 8 between goals scored and goals conceededIt is not neccessary to use all the tables.
table_1243: "Position" [ real] "Team" [ text] "Points" [ real] "Played" [ real] "Won" [ real] "Drawn" [ real] "Lost" [ real] "For" [ real] "Against" [ real] "Difference" [ text]
SELECT "Team" FROM table_1243 WHERE "Difference" = '8'
null
general
จอห์น โธมัส วิลสัน ได้รับเลือกครั้งแรกเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When was incumbent John Thomas Wilson first elected?It is not neccessary to use all the tables.
table_1434788_5: first_elected [ VARCHAR] incumbent [ VARCHAR]
SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson"
null
general
ทัวร์นาเมนต์แรกสุดเกิดขึ้นเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When did the earliest tournament happened?It is not neccessary to use all the tables.
table_29656: "Outcome" [ text] "Year" [ real] "Tournament" [ text] "Surface" [ text] "Partner" [ text] "Opponents" [ text] "Score" [ text]
SELECT MIN("Year") FROM table_29656
null
general
บ้านคืออะไร เมื่อ Ground คือ Humber College North และเมื่อเวลา 15.00 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Home, when Ground is Humber College North, and when Time is 1500?It is not neccessary to use all the tables.
table_name_58: home [ VARCHAR] ground [ VARCHAR] time [ VARCHAR]
SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00"
null
general
เครื่องยนต์สำหรับทีม Machinists Union Racing คืออะไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the engine for the Machinists Union Racing team?It is not neccessary to use all the tables.
table_32427: "Team" [ text] "Chassis" [ text] "Engine" [ text] "Tires" [ text] "Drivers" [ text]
SELECT "Engine" FROM table_32427 WHERE "Team" = 'machinists union racing'
null
general
ตัวอักษรภาษาญี่ปุ่นสำหรับคำภาษาจีนคืออะไร ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the Japanese characters for the Chinese word ?It is not neccessary to use all the tables.
table_45719: "Japanese" [ text] "R\u014dmaji" [ text] "Meaning" [ text] "Chinese" [ text] "Romanization" [ text]
SELECT "Japanese" FROM table_45719 WHERE "Chinese" = '叉焼'
null
general
คริสอมรได้คะแนนเท่าไหร่ ?ไม่จำเป็นต้องใช้ทุกตารางเลย
what is the number of points that chris amon earned ?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 "points" FROM table_204_641 WHERE "driver" = 'chris amon'
null
general
เมื่อผู้เข้าร่วมได้ 3188 คะแนนเป็นเท่าใด ไม่จำเป็นต้องใช้ทุกโต๊ะ
When the attendance was 3188 what was the score?It is not neccessary to use all the tables.
table_50435: "Date" [ text] "Home" [ text] "Score" [ text] "Away" [ text] "Attendance" [ real]
SELECT "Score" FROM table_50435 WHERE "Attendance" = '3188'
null
general
แผนภูมิแท่งเกี่ยวกับรหัสนักเรียนและชื่อกลางของนักเรียนที่ลงทะเบียนเรียนไม่เกินสองหลักสูตรคืออะไร และฉันต้องการจัดเรียงตามแถบจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart about what are the student IDs and middle names of the students enrolled in at most two courses?, and I want to sort by the bars in descending.It is not neccessary to use all the tables.
Course_Authors_and_Tutors: author_id [ INTEGER] author_tutor_ATB [ VARCHAR(3)] login_name [ VARCHAR(40)] password [ VARCHAR(40)] personal_name [ VARCHAR(80)] middle_name [ VARCHAR(80)] family_name [ VARCHAR(80)] gender_mf [ VARCHAR(1)] address_line_1 [ VARCHAR(80)]
SELECT T2.middle_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T2.middle_name DESC
null
general
มีกี่เทศบาลที่มีเปอร์เซ็นต์ชาวอเมริกันเชื้อสายเกาหลีมากกว่า 15% ของประชากรโดยรวม ?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
how many municipalities have above 15 % korean american percentage of overall population ?It is not neccessary to use all the tables.
table_204_190: id [ number] "rank" [ number] "city" [ text] "county" [ text] "state" [ text] "percentage" [ text]
SELECT COUNT("city") FROM table_204_190 WHERE "percentage" > 15
null
general
ค่าใช้จ่ายรวมสูงสุดของโรงพยาบาลที่มีขั้นตอนที่เรียกว่าการผ่าตัดเปลี่ยนหลอดเลือดคือเท่าไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what is the maximum total cost of a hospital that includes a procedure called a arthrocentesis?It is not neccessary to use all the tables.
chartevents: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] itemid [ number] charttime [ time] valuenum [ number] valueuom [ text]
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'arthrocentesis')) GROUP BY cost.hadm_id) AS t1
null
general
แสดงประเภทสถาบันที่แตกต่างกันทั้งหมด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show all the distinct institution types.It is not neccessary to use all the tables.
institution: TYPE [ VARCHAR]
SELECT DISTINCT TYPE FROM institution
null
general
มีผู้ป่วยหญิงกี่รายที่ได้รับการวินิจฉัยว่าเป็นอัมพาตลำไส้เล็กส่วนต้น?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many female patients have been diagnosed with paralytic ileus?It is not neccessary to use all the tables.
lab: subject_id [ text] hadm_id [ text] itemid [ text] charttime [ text] flag [ text] value_unit [ text] label [ text] fluid [ text]
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Paralytic ileus"
null
general
ความนิยมของ 'Nice try, robot' ความคิดเห็น ไม่จำเป็นต้องใช้ทุกตาราง
Popularity of 'Nice try, robot.' comments.It is not neccessary to use all the tables.
ReviewTaskResults: Id [ number] ReviewTaskId [ number] ReviewTaskResultTypeId [ number] CreationDate [ time] RejectionReasonId [ number] Comment [ text]
SELECT PostId AS "post_link", Id, Score FROM Comments WHERE (Text LIKE '%ice try, robo%')
null
general
บันทึกใดที่มีวันที่ 25 กุมภาพันธ์เป็นวันที่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What record has February 25 as the date?It is not neccessary to use all the tables.
table_name_7: record [ VARCHAR] date [ VARCHAR]
SELECT record FROM table_name_7 WHERE date = "february 25"
null
general
นักแข่งคนไหนที่สร้างสถิติรอบคัดเลือกด้วยเวลา 24.761 วินาที?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which driver set the Qualifying record with a time of 24.761 seconds?It is not neccessary to use all the tables.
table_name_61: driver [ VARCHAR] record [ VARCHAR] time [ VARCHAR]
SELECT driver FROM table_name_61 WHERE record = "qualifying" AND time = "24.761"
null
general
ล่าสุดในเดือนมีนาคมคือวันที่ใดที่คู่ต่อสู้คือบอสตัน บรูอินส์ และหมายเลขเกมน้อยกว่า 66?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the latest date in March when the opponent was the Boston Bruins and the game number was smaller than 66?It is not neccessary to use all the tables.
table_name_94: march [ INTEGER] opponent [ VARCHAR] game [ VARCHAR]
SELECT MAX(march) FROM table_name_94 WHERE opponent = "boston bruins" AND game < 66
null
general
ฤดูกาลแรกคือเมื่อไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When was the first season?It is not neccessary to use all the tables.
table_16857_2: season [ INTEGER]
SELECT MIN(season) FROM table_16857_2
null
general
คะแนนตั้งแต่ 5 ขึ้นไปในระดับ ischemic ของ hashinski ( การปรับเปลี่ยนแบบ rosen ไม่จำเป็นต้องใช้ตารางทั้งหมด
a score of 5 or more on the hashinski ischemic scale ( rosen modification.It is not neccessary to use all the tables.
table_train_112: "id" [ int] "systolic_blood_pressure_sbp" [ int] "modified_geriatric_depression_scale_gds" [ int] "diastolic_blood_pressure_dbp" [ int] "rosen_modified_hachinski_ischemic_score" [ int] "body_mass_index_bmi" [ float] "hypertension" [ bool] "NOUSE" [ float]
SELECT * FROM table_train_112 WHERE rosen_modified_hachinski_ischemic_score >= 5
null
general
สนามกีฬาใดมีคู่ต่อสู้ของ Cal State Fullerton Titans?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What stadium had an opponent of Cal State Fullerton Titans?It is not neccessary to use all the tables.
table_name_56: stadium [ VARCHAR] opponent [ VARCHAR]
SELECT stadium FROM table_name_56 WHERE opponent = "cal state fullerton titans"
null
general
วันแต่งงานของสมาชิกบ้าน Habsburg-Lorraine ที่เสียชีวิตในวันที่ 29 ธันวาคม พ.ศ. 2372 คือเมื่อใด ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the marriage date for the Habsburg-Lorraine house member who died 29 December 1829?It is not neccessary to use all the tables.
table_name_67: marriage [ VARCHAR] death [ VARCHAR]
SELECT marriage FROM table_name_67 WHERE death = "29 december 1829"
null
general
มีกี่ตำแหน่งที่เกี่ยวข้องกับ St. Louis Blues?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many positions are associated with the St. Louis Blues?It is not neccessary to use all the tables.
table_4035: "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT COUNT("Position") FROM table_4035 WHERE "NHL team" = 'St. Louis Blues'
null
general
ทีมใดมีคะแนนทีมเยือน 7.9 (51) ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which team has an away score of 7.9 (51)?It is not neccessary to use all the tables.
table_55681: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Away team score" FROM table_55681 WHERE "Home team score" = '7.9 (51)'
null
general
ค้นหาจำนวนเส้นทางและชื่อสนามบินของแต่ละสนามบินต้นทาง เรียงลำดับผลลัพธ์โดยการลดจำนวนเส้นทาง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.It is not neccessary to use all the tables.
airports: name [ VARCHAR] apid [ VARCHAR]
SELECT COUNT(*), T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T1.name ORDER BY COUNT(*) DESC
null
general
มีกี่คนที่อยู่ในฝูงชนเมื่อเมลเบิร์นเหนือเป็นทีมเหย้า?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many were in the crowd when North Melbourne was the home team?It is not neccessary to use all the tables.
table_name_24: crowd [ VARCHAR] home_team [ VARCHAR]
SELECT crowd FROM table_name_24 WHERE home_team = "north melbourne"
null
general
การอ้างสิทธิ์วันที่ลงจุดชำระตามจำนวนการอ้างสิทธิ์วันที่ที่ชำระเป็นแผนภูมิเส้น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Plot date claim settled by the number of date claim settled as a line chartIt is not neccessary to use all the tables.
Claims: Claim_ID [ INTEGER] Policy_ID [ INTEGER] Date_Claim_Made [ DATE] Date_Claim_Settled [ DATE] Amount_Claimed [ INTEGER] Amount_Settled [ INTEGER]
SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Settlements GROUP BY Date_Claim_Settled
null
general
วันที่เกมใดมีสถิติ 17-7?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What game date had a record of 17-7?It is not neccessary to use all the tables.
table_25552: "Date" [ text] "Location" [ text] "Opponent" [ text] "Record" [ text]
SELECT "Date" FROM table_25552 WHERE "Record" = '17-7'
null
general
ใครคือนักกีฬาที่มีลม 1.8?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Who was the athlete with a wind of 1.8?It is not neccessary to use all the tables.
table_name_45: athlete [ VARCHAR] wind [ VARCHAR]
SELECT athlete FROM table_name_45 WHERE wind = "1.8"
null
general
ลูกค้าแต่ละรายจองไว้กี่ราย? แสดงรหัสลูกค้าเป็นแกน Y และชื่อเป็นแกน X ในแผนภูมิแท่ง และคุณสามารถจัดเรียงตามแกน X จากต่ำไปสูงได้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many bookings did each customer make? Show the customer id as the Y-axis and the first name as the X-axis in a bar chart, and could you sort by the X-axis from low to high?It is not neccessary to use all the tables.
Discount_Coupons: coupon_id [ INTEGER] date_issued [ DATETIME] coupon_amount [ DECIMAL(194)]
SELECT T1.first_name, T1.customer_id FROM Customers AS T1 JOIN Bookings AS T2 ON T1.customer_id = T2.customer_id ORDER BY T1.first_name
null
general
Mike Souchak's พาร์คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Mike Souchak's to par?It is not neccessary to use all the tables.
table_name_89: to_par [ VARCHAR] player [ VARCHAR]
SELECT to_par FROM table_name_89 WHERE player = "mike souchak"
null
general
ผู้เล่น lhp คนใดที่มีชื่อ lachlan bat? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which does the lhp player with the first name lachlan bat?It is not neccessary to use all the tables.
table_34364: "Surname" [ text] "First" [ text] "D.O.B." [ text] "Uni#" [ real] "Bats" [ text] "Throws" [ text] "Position" [ text]
SELECT "Bats" FROM table_34364 WHERE "Position" = 'lhp' AND "First" = 'lachlan'
null
general
ขั้นตอนอะไรให้กับผู้ป่วย 25965 สองครั้งจนถึง 40 เดือนที่แล้ว?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what procedure is provided to patient 25965 two times until 40 months ago?It is not neccessary to use all the tables.
cost: row_id [ number] subject_id [ number] hadm_id [ number] event_type [ text] event_id [ number] chargetime [ time] cost [ number]
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25965) AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TIME(), '-40 month') GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 = 2)
null
general
ฉันต้องการบินดัลลัสไปซานฟรานซิสโกในวันจันทร์ที่ 7 8 ไม่จำเป็นต้องใช้ตารางทั้งหมด
i want to fly DALLAS to SAN FRANCISCO on monday 7 8It is not neccessary to use all the tables.
state: state_code [ text] state_name [ text] country_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, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND date_day.day_number = 8 AND date_day.month_number = 7 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 = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
ชัยชนะของฟินแลนด์มาก/น้อยกว่าความพ่ายแพ้ในบ้านหรือไม่ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
are the wins for finland more/less than their losses at home ?It is not neccessary to use all the tables.
table_203_513: id [ number] "no." [ number] "date" [ text] "goals" [ text] "score" [ text] "result" [ text] "venue" [ text] "competition" [ text]
SELECT (SELECT COUNT(*) FROM table_203_513 WHERE "result" = 'win' AND "home team" = 'finland') > (SELECT COUNT(*) FROM table_203_513 WHERE "result" = 'loss' AND "home team" = 'finland')
null
general
อะไรคือจำนวนต่ำสุดของประชากรมาซิโดเนียในปี 1971 โดยมีค่ามากกว่า 133 ในปี 2002 และค่าในปี 1991 น้อยกว่า 171 คือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171?It is not neccessary to use all the tables.
table_name_15: number_1971 [ INTEGER]
SELECT MIN(number_1971) FROM table_name_15 WHERE 2002 > 133 AND 1991 < 171
null
general
ตั้งชื่อวันที่ให้คะแนน w 109 95 (ot)ไม่จำเป็นต้องใช้ทุกตาราง
Name the date for score w 109 95 (ot)It is not neccessary to use all the tables.
table_23285761_8: date [ VARCHAR] score [ VARCHAR]
SELECT date FROM table_23285761_8 WHERE score = "W 109–95 (OT)"
null
general
ตั้งชื่อนักมวยปล้ำด้วยวันที่ถือ 428 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the wrestlers with days held of 428It is not neccessary to use all the tables.
table_68550: "Wrestlers" [ text] "Reign" [ text] "Location" [ text] "Event" [ text]
SELECT "Wrestlers" FROM table_68550 WHERE "Days held" = '428'
null
general
แสดงรายการจำนวนรายการตามรายละเอียดขององค์กรที่เป็นเจ้าของโดยใช้แผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
List the number of items by the details of the organization that owns it using a bar chart.It is not neccessary to use all the tables.
Timed_Locations_of_Things: thing_id [ INTEGER] Date_and_Time [ DATETIME] Location_Code [ CHAR(15)]
SELECT organization_details, COUNT(organization_details) FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id GROUP BY organization_details
null
general
ชื่อ integrated ที่ซึ่งเกี่ยวข้องกับพันธมิตรถูกแชร์คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the integrated where allied-related is shared?It is not neccessary to use all the tables.
table_11944282_1: component [ VARCHAR] allied_related [ VARCHAR]
SELECT component FROM table_11944282_1 WHERE allied_related = "Shared"
null
general
ค่าคะแนนต่ำสุดคือเท่าใด เมื่อเกมมีค่ามากกว่า 34 และเมื่อชื่อคือ Andrew Panko?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the lowest value for Points, when Games is greater than 34, and when Name is Andrew Panko?It is not neccessary to use all the tables.
table_name_98: points [ INTEGER] games [ VARCHAR] name [ VARCHAR]
SELECT MIN(points) FROM table_name_98 WHERE games > 34 AND name = "andrew panko"
null
general
ชานเมือง/เมืองใดที่มีปีการศึกษาระดับอนุบาลถึงเกรด 6 ก่อตั้งก่อนปี 1875 และมีโรงเรียน Ashfield Public School เป็นโรงเรียน? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school?It is not neccessary to use all the tables.
table_59508: "School" [ text] "Suburb/Town" [ text] "Years" [ text] "Founded" [ real] "Website" [ text]
SELECT "Suburb/Town" FROM table_59508 WHERE "Years" = 'k-6' AND "Founded" < '1875' AND "School" = 'ashfield public school'
null
general
ตั้งชื่อหมายเลขสำหรับเม็กซิโกใหม่ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the number for new mexicoIt is not neccessary to use all the tables.
table_23799: "Player" [ text] "Position" [ text] "College" [ text]
SELECT MIN("Pick #") FROM table_23799 WHERE "College" = 'New Mexico'
null
general
การแข่งขันรอบที่ 17 มีทั้งหมดกี่รอบ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
In how many rounds was Race 17?It is not neccessary to use all the tables.
table_73937: "Round" [ real] "Race" [ real] "Circuit" [ text] "Date" [ text]
SELECT COUNT("Round") FROM table_73937 WHERE "Race" = '17'
null
general
รางวัลใดมีประเภทรางวัลการแสดงมิวสิกวิดีโอ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Award has a Category of music video acting award?It is not neccessary to use all the tables.
table_42014: "Year" [ real] "Award" [ text] "Category" [ text] "Result" [ text]
SELECT "Award" FROM table_42014 WHERE "Category" = 'music video acting award'
null
general
ยาที่พบบ่อยที่สุดสามชนิดที่จ่ายให้กับผู้ป่วยหญิงอายุ 50 ปีภายใน 2 เดือนหลังจากได้รับการวินิจฉัยว่ามีอาการเพ้อจากยา? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the three most frequent drugs that were prescribed to female patients of the 50s within 2 months after having been diagnosed with drug-induced delirium?It is not neccessary to use all the tables.
outputevents: row_id [ number] subject_id [ number] hadm_id [ number] icustay_id [ number] charttime [ time] itemid [ number] value [ number]
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 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 = 'drug-induced delirium')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE admissions.subject_id IN (SELECT patients.subject_id FROM patients WHERE patients.gender = 'f') AND admissions.age BETWEEN 50 AND 59) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.startdate AND DATETIME(t2.startdate) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 3
null
general
แท็กยอดนิยมที่เกี่ยวข้องกับ Java และ SSH ไม่จำเป็นต้องใช้ตารางทั้งหมด
Top tags related to Java and SSH.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 t.TagName, COUNT(*) AS count FROM PostTags AS pt, Tags AS t, PostTags AS ptjs WHERE pt.TagId = t.Id AND pt.PostId = ptjs.PostId AND ptjs.TagId = (SELECT Id FROM Tags WHERE LOWER(TagName) = 'javascript') GROUP BY t.TagName ORDER BY Count DESC
null
general
สำหรับพนักงานที่ได้รับการว่าจ้างก่อนวันที่ 21-06-2545 ให้ค้นหา job_id และผลรวมของ manager_id และจัดกลุ่มตามแอตทริบิวต์ job_id และแสดงภาพพนักงานตามแผนภูมิแท่ง และเรียงลำดับจากมากไปน้อยตามแถบ ไม่จำเป็นต้องใช้ทั้งหมด โต๊ะ.
For those employees who was hired before 2002-06-21, find job_id and the sum of manager_id , and group by attribute job_id, and visualize them by a bar chart, and sort in descending by the bars.It is not neccessary to use all the tables.
countries: COUNTRY_ID [ varchar(2)] COUNTRY_NAME [ varchar(40)] REGION_ID [ decimal(100)]
SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
null
general
ใครคือนักแสดงในการผลิตดั้งเดิมเมื่อ Troy Stephens เป็น GamePlan?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the actor in the original production when Troy Stephens is the GamePlan?It is not neccessary to use all the tables.
table_62571: "GamePlan" [ text] "FlatSpin" [ text] "RolePlay" [ text]
SELECT "Actor in original production" FROM table_62571 WHERE "GamePlan" = 'troy stephens'
null
general
แสดงให้ฉันเห็นเกี่ยวกับการแจกแจงของ All_Home และค่าเฉลี่ยของ Team_ID และจัดกลุ่มตามแอตทริบิวต์ All_Home ในแผนภูมิแท่ง ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me about the distribution of All_Home and the average of Team_ID , and group by attribute All_Home in a bar chart.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, AVG(Team_ID) FROM basketball_match GROUP BY All_Home
null
general
Tom Purtzer มาจากประเทศใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What country is Tom Purtzer from?It is not neccessary to use all the tables.
table_name_45: country [ VARCHAR] player [ VARCHAR]
SELECT country FROM table_name_45 WHERE player = "tom purtzer"
null
general
เกมที่ 7 กี่โมง? ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What time was game 7?It is not neccessary to use all the tables.
table_11470: "Game" [ real] "Date" [ text] "Score" [ text] "Location" [ text] "Time" [ text] "Attendance" [ real]
SELECT "Time" FROM table_11470 WHERE "Game" = '7'
null
general
นักกอล์ฟที่มีคะแนน 73-65=138 ชื่ออะไร ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
What is the name of the golfer that has the score of 73-65=138?It is not neccessary to use all the tables.
table_76232: "Place" [ text] "Player" [ text] "Country" [ text] "Score" [ text]
SELECT "Player" FROM table_76232 WHERE "Score" = '73-65=138'
null
general
เหตุการณ์ใดมีสถิติ 19-9? ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Event has a Record of 19-9?It is not neccessary to use all the tables.
table_name_47: event [ VARCHAR] record [ VARCHAR]
SELECT event FROM table_name_47 WHERE record = "19-9"
null
general
ระบุ bp หลอดเลือดแดงสูงสุดรายวัน [diastolic] ของผู้ป่วย 25628 จนถึง 270 วันที่แล้ว ไม่จำเป็นต้องใช้ตารางทั้งหมด
indicate the daily maximum arterial bp [diastolic] of patient 25628 until 270 days ago.It is not neccessary to use all the tables.
diagnoses_icd: row_id [ number] subject_id [ number] hadm_id [ number] icd9_code [ text] charttime [ time]
SELECT MAX(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25628)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime) <= DATETIME(CURRENT_TIME(), '-270 day') GROUP BY STRFTIME('%y-%m-%d', chartevents.charttime)
null
general
ค้นหารหัสของพนักงานที่ไม่ได้ทำงานในแผนกเหล่านั้นซึ่งมีพนักงานบางคนทำงานซึ่งมีรหัสผู้จัดการอยู่ในช่วง 100 และ 200 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.It is not neccessary to use all the tables.
employees: department_id [ VARCHAR] manager_id [ INTEGER]
SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)
null
general
ทัชดาวน์ใดคือแต้มต่ำสุดที่มีแต้มพิเศษน้อยกว่า 14 และผู้เล่นแต้มขาวและแต้มน้อยกว่า 5 ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?It is not neccessary to use all the tables.
table_name_98: touchdowns [ INTEGER] points [ VARCHAR] extra_points [ VARCHAR] player [ VARCHAR]
SELECT MIN(touchdowns) FROM table_name_98 WHERE extra_points < 14 AND player = "white" AND points < 5
null
general
คะแนนสัมภาษณ์เมื่อคะแนนเบื้องต้น 8.400 เป็นเท่าไหร่ ไม่จำเป็นต้องใช้ทุกตาราง
What is the interview score when the preliminaries score is 8.400?It is not neccessary to use all the tables.
table_12094300_1: interview [ VARCHAR] preliminaries [ VARCHAR]
SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.400"
null
general
อาคารธนาคารในภูมิภาคมีความสูงเป็นฟุตและเมตรเป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the height in ft and m of the regions bank building?It is not neccessary to use all the tables.
table_name_90: height_ft__m_ [ VARCHAR] name [ VARCHAR]
SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building"
null
general
ผู้ใช้ตัวยงที่มีอายุต่ำกว่า 18 ปี..ไม่จำเป็นต้องใช้ทุกตาราง
Avid users under 18 years old..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 Id, DisplayName, Views AS Age, Reputation FROM Users WHERE Age < 18 AND Reputation >= 200 ORDER BY Age
null
general
จำนวนประเภทการโพสต์ที่แตกต่างกัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
Number of different Post Types.It is not neccessary to use all the tables.
PostTypes: Id [ number] Name [ text]
SELECT pt.Name, COUNT(p.PostTypeId) FROM Posts AS p LEFT JOIN PostTypes AS pt ON p.PostTypeId = pt.Id GROUP BY pt.Name
null
general
Club aik มีแชมป์ allsvenskan ทั้งหมดกี่รายการหลังจากเปิดตัวหลังปี 2000 โดยมีดาวเป็นสัญลักษณ์ของจำนวนตำแหน่งแชมป์สวีเดน ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?It is not neccessary to use all the tables.
table_54462: "Club" [ text] "Introduced" [ real]
SELECT SUM("Allsvenskan titles") FROM table_54462 WHERE "Stars symbolizes" = 'number of swedish championship titles' AND "Club" = 'aik' AND "Introduced" > '2000'
null
general
สมาชิกคนใดที่มีจำนวนคะแนนเสียงที่ไม่ทราบจำนวนน้อยที่สุดที่ได้รับในปีการเลือกตั้งหลังปี 1986? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What was deputies with the lowest number of unknown received votes, in an election year after 1986?It is not neccessary to use all the tables.
table_6218:
SELECT MIN("Number of deputies") FROM table_6218 WHERE "Number of votes received" = 'unknown' AND "Election date" > '1986'
null
general
ตั้งชื่อผู้เยี่ยมชมบ้านของเรนเจอร์ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the visitor for home of ny rangersIt is not neccessary to use all the tables.
table_58576: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Decision" [ text] "Attendance" [ real] "Record" [ text]
SELECT "Visitor" FROM table_58576 WHERE "Home" = 'ny rangers'
null
general
รอบเฉลี่ยของผู้เล่นตำแหน่ง rw จากประเทศสหรัฐอเมริกาคือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average round of the rw position player from the United States?It is not neccessary to use all the tables.
table_76774: "Round" [ real] "Pick" [ real] "Player" [ text] "Position" [ text] "Nationality" [ text]
SELECT AVG("Round") FROM table_76774 WHERE "Nationality" = 'united states' AND "Position" = 'rw'
null
general
การทดสอบในห้องปฏิบัติการยอดนิยมสี่อันดับแรกสำหรับผู้ป่วยอายุ 20 ปีคืออะไร? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what are the top four commonly taken lab tests for patients 20s?It is not neccessary to use all the tables.
d_icd_procedures: row_id [ number] icd9_code [ text] short_title [ text] long_title [ text]
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 20 AND 29) GROUP BY labevents.itemid) AS t1 WHERE t1.c1 <= 4)
null
general
Hans Hartmann ขับรถเมื่อไหร่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When did Hans Hartmann drive?It is not neccessary to use all the tables.
table_75423: "Year" [ real] "Event" [ text] "Venue" [ text] "Driver" [ text] "Result" [ text] "Category" [ text] "Report" [ text]
SELECT COUNT("Year") FROM table_75423 WHERE "Driver" = 'hans hartmann'
null
general
ใครเป็นผู้กำกับและผลิต 176452?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
who directed and produced 176452?It is not neccessary to use all the tables.
table_26561498_1: directed_by [ VARCHAR] production_code [ VARCHAR]
SELECT directed_by FROM table_26561498_1 WHERE production_code = 176452
null
general
แผนภูมิแท่งแสดงชื่อของคณาจารย์ทุกคนที่เข้าร่วมกิจกรรมบางอย่าง พร้อมด้วยจำนวนกิจกรรมที่เข้าร่วม และเรียงลำดับจากมากไปน้อยตามแกน Y ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart showing the first name of all the faculty members who participated in some activity, together with the number of activities they participated in, and sort in descending by the Y-axis.It is not neccessary to use all the tables.
Participates_in: stuid [ INTEGER] actid [ INTEGER]
SELECT Fname, COUNT(*) FROM Faculty AS T1 JOIN Faculty_Participates_in AS T2 ON T1.FacID = T2.FacID GROUP BY T1.FacID ORDER BY COUNT(*) DESC
null
general
ใครคือผู้สมัครที่ชนะของ Block 10B ในพื้นที่ Derbyshire?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who is the Winning Applicant of Block 10B in Derbyshire Area?It is not neccessary to use all the tables.
table_74565: "Area" [ text] "Block" [ text]
SELECT "Winning applicant" FROM table_74565 WHERE "Block" = '10b' AND "Area" = 'derbyshire'
null
general
สำหรับแต่ละห้องเรียนให้รายงานหมายเลขห้องเรียนและจำนวนชั้นที่ใช้งาน ไม่จำเป็นต้องใช้ตารางทั้งหมด
For each classroom, report the classroom number and the number of grades using it.It is not neccessary to use all the tables.
teachers: lastname [ text] firstname [ text] classroom [ number]
SELECT classroom, COUNT(DISTINCT grade) FROM list GROUP BY classroom
null
general
หลังจากรอบที่ 5 ผู้เล่นคนไหนถูกดราฟต์สำหรับ Defensive Tackle?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
After Round 5, which player was drafted for Defensive Tackle?It is not neccessary to use all the tables.
table_41358: "Round" [ real] "Pick" [ text] "Player" [ text] "Position" [ text] "Team" [ text]
SELECT "Player" FROM table_41358 WHERE "Round" > '5' AND "Position" = 'defensive tackle'
null
general
แสดงชื่อและหมายเลขโทรศัพท์ให้กับลูกค้าด้วย mailshot พร้อมรหัสผลลัพธ์ 'No Response' ไม่จำเป็นต้องใช้ทุกตาราง
Show the name and phone for customers with a mailshot with outcome code 'No Response'.It is not neccessary to use all the tables.
order_items: item_id [ number] order_item_status_code [ text] order_id [ number] product_id [ number] item_status_code [ text] item_delivered_datetime [ time] item_order_quantity [ text]
SELECT T1.customer_name, T1.customer_phone FROM customers AS T1 JOIN mailshot_customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.outcome_code = 'No Response'
null
general
เรามีการจองไว้กี่โต๊ะ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How many bookings do we have?It is not neccessary to use all the tables.
BOOKINGS: Id [ VARCHAR]
SELECT COUNT(*) FROM BOOKINGS
null
general
งวดที่ 5 มีกี่แต้ม ไม่จำเป็นต้องใช้ทุกตาราง
How many points does Draw 5 have?It is not neccessary to use all the tables.
table_12081: "Draw" [ real] "Artist" [ text] "Song" [ text] "Points" [ real] "Place" [ real]
SELECT "Points" FROM table_12081 WHERE "Draw" = '5'
null
general
ส่วนแบ่งการตลาดสูงสุด ต่ำสุด และเฉลี่ยของเบราว์เซอร์ที่ระบุไว้คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the maximum, minimum and average market share of the listed browsers?It is not neccessary to use all the tables.
browser: market_share [ INTEGER]
SELECT MAX(market_share), MIN(market_share), AVG(market_share) FROM browser
null
general
เวลาเกษียณสำหรับคนที่อยู่ในตาราง 18 คือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the retired time for someone who was on grid 18?It is not neccessary to use all the tables.
table_51463: "Driver" [ text] "Constructor" [ text] "Laps" [ text] "Time/Retired" [ text] "Grid" [ text]
SELECT "Time/Retired" FROM table_51463 WHERE "Grid" = '18'
null
general
ระบุคุณลักษณะทั้งหมดของผลิตภัณฑ์ชื่อ 'งา' พร้อมรหัสประเภท 'เกรด' ไม่จำเป็นต้องใช้ตารางทั้งหมด
List all characteristics of product named 'sesame' with type code 'Grade'.It is not neccessary to use all the tables.
CHARACTERISTICS: characteristic_name [ VARCHAR] characteristic_id [ VARCHAR] characteristic_type_code [ VARCHAR]
SELECT t3.characteristic_name 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 = "sesame" AND t3.characteristic_type_code = "Grade"
null
general
คุณช่วยบอกค่าเฉลี่ยจำนวนผู้โดยสารทั้งหมดที่มี Code of mad และปริมาณการขนส่งสินค้าน้อยกว่า 359,362,155 ได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Can you tell me the average Total passengers that has the Code of mad, and the Cargo traffic smaller than 359,362,155?It is not neccessary to use all the tables.
table_7275: "Rank" [ real] "Airport" [ text] "Location" [ text] "Code" [ text]
SELECT AVG("Total passengers") FROM table_7275 WHERE "Code" = 'mad' AND "Cargo traffic" < '359,362,155'
null
general
ที่ตั้งโรงเรียนใดมีการลงทะเบียน 12400?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What school location had an enrollment of 12400?It is not neccessary to use all the tables.
table_16432543_3: location [ VARCHAR] enrollment [ VARCHAR]
SELECT location FROM table_16432543_3 WHERE enrollment = 12400
null
general
mocho cota แพ้ chamaco valaguez กี่ครั้ง ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many times did mocho cota lose to chamaco valaguez ?It is not neccessary to use all the tables.
table_204_373: id [ number] "wager" [ text] "winner" [ text] "loser" [ text] "location" [ text] "date" [ text]
SELECT COUNT(*) FROM table_204_373 WHERE "loser" = 'mocho cota' AND "winner" = 'chamaco valaguez'
null
general
มีวิทยาลัยที่แตกต่างกันกี่แห่งที่เกี่ยวข้องกับผู้เล่นจากทีมที่ชื่อ 'โคลัมบัส ครูว์' ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
How many distinct colleges are associated with players from the team with name 'Columbus Crew'.It is not neccessary to use all the tables.
match_season: College [ VARCHAR] Team [ VARCHAR]
SELECT COUNT(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew"
null
general
cardiogenic shock หรือ systolic bp < 100 mmhg หรือ diastolic < 60 mmhg ภายใน 24 ชั่วโมงก่อนการนัดตรวจ 1 หรือ 2 ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
cardiogenic shock or systolic bp < 100 mmhg or diastolic < 60 mmhg within the 24 hours prior to visits 1 or 2It is not neccessary to use all the tables.
table_test_4: "id" [ int] "ejection_fraction_ef" [ int] "systolic_blood_pressure_sbp" [ int] "active_infection" [ bool] "heart_disease" [ bool] "renal_disease" [ bool] "estimated_glomerular_filtration_rate_egfr" [ int] "cardiogenic_shock" [ bool] "diastolic_blood_pressure_dbp" [ int] "symptomatic_hypotension" [ bool] "severe_refractory_hypertension" [ bool] "severe_left_ventricular_dysfunction" [ bool] "NOUSE" [ float]
SELECT * FROM table_test_4 WHERE cardiogenic_shock = 1 OR systolic_blood_pressure_sbp < 100 OR diastolic_blood_pressure_dbp < 60
null
general
ผู้ป่วย 006-181433 จะได้รับการวินิจฉัยครั้งแรกว่าเป็นโรค polymyalgia rheumatica เมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is patient 006-181433 first diagnosis time of polymyalgia rheumatica?It is not neccessary to use all the tables.
medication: medicationid [ number] patientunitstayid [ number] drugname [ text] dosage [ text] routeadmin [ text] drugstarttime [ time] drugstoptime [ time]
SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-181433')) AND diagnosis.diagnosisname = 'polymyalgia rheumatica' ORDER BY diagnosis.diagnosistime LIMIT 1
null
general
ประธานาธิบดีที่มีที่ตั้งของอาคาร justus lipius บรัสเซลส์ และประเภทที่มีกำหนดการ และหนึ่งปีที่ใหญ่กว่าปี 2011 และวันที่ที่ 18 19 ตุลาคมคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18 19 october?It is not neccessary to use all the tables.
table_54600: "Year" [ real] "Date" [ text] "Type" [ text] "President" [ text] "Location" [ text]
SELECT "President" FROM table_54600 WHERE "Location" = 'justus lipsius building, brussels' AND "Type" = 'scheduled' AND "Year" > '2011' AND "Date" = '18–19 october'
null
general
ผลลัพธ์ใดที่มีฝ่ายตรงข้ามกับ pascale paradis-mangon? ไม่จำเป็นต้องใช้ตารางทั้งหมด
WHICH Outcome has aN Opponent of pascale paradis-mangon?It is not neccessary to use all the tables.
table_36289: "Outcome" [ text] "Date" [ text] "Tournament" [ text] "Surface" [ text] "Opponent" [ text] "Score" [ text]
SELECT "Outcome" FROM table_36289 WHERE "Opponent" = 'pascale paradis-mangon'
null
general
สนามใดมีทีมเยือนจากเมลเบิร์นใต้?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which Venue has an Away team of south melbourne?It is not neccessary to use all the tables.
table_name_89: venue [ VARCHAR] away_team [ VARCHAR]
SELECT venue FROM table_name_89 WHERE away_team = "south melbourne"
null
general
ใครเล่นเป็นทีม 1 เจอลมอี?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who played as Team 1 against Lom i?It is not neccessary to use all the tables.
table_68477: "Agg." [ text]
SELECT "Team 1" FROM table_68477 WHERE "Team 2" = 'lomé i'
null
general
ทีมเยือนทีมไหนอยู่เนินลมแรง?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Which away team was at windy hill?It is not neccessary to use all the tables.
table_11384: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Away team" FROM table_11384 WHERE "Venue" = 'windy hill'
null
general
การทดสอบทางจุลชีววิทยาที่ได้รับคำสั่งบ่อยที่สุดห้ารายการสำหรับผู้ป่วยที่ได้รับอินซูลินก่อนหน้านี้ในการไปโรงพยาบาลเดียวกันจนถึงปี 2101 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what are the five most frequently ordered microbiology tests for patients who received insulin earlier in the same hospital visit until 2101?It is not neccessary to use all the tables.
medication: medicationid [ number] patientunitstayid [ number] drugname [ text] dosage [ text] routeadmin [ text] drugstarttime [ time] drugstoptime [ time]
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'insulin' AND STRFTIME('%y', treatment.treatmenttime) <= '2101') AS t1 JOIN (SELECT patient.uniquepid, microlab.culturesite, microlab.culturetakentime, patient.patienthealthsystemstayid FROM microlab JOIN patient ON microlab.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', microlab.culturetakentime) <= '2101') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.culturetakentime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.culturesite) AS t3 WHERE t3.c1 <= 5
null
general
ค้นหาความจุรวมของหอพักสำหรับแต่ละเพศในแผนภูมิแท่ง คุณช่วยแสดงรายการแถบโดยเรียงตามลำดับได้ไหม ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find total capacity of dorms for each gender in a bar chart, could you list bar in desc order please?It is not neccessary to use all the tables.
Dorm_amenity: amenid [ INTEGER] amenity_name [ VARCHAR(25)]
SELECT gender, SUM(student_capacity) FROM Dorm GROUP BY gender ORDER BY gender DESC
null
general
วันที่เปิดตัวคือเมื่อใดที่ผู้สร้างคือ john brown, clydebank?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the launched date when the builder is john brown, clydebank?It is not neccessary to use all the tables.
table_52766: "Name" [ text] "Pennant" [ text] "Builder" [ text] "Launched" [ text] "Commissioned" [ text]
SELECT "Launched" FROM table_52766 WHERE "Builder" = 'john brown, clydebank'
null
general
มีผู้ป่วยกี่รายที่ได้รับการวินิจฉัยว่ามีอาการตกเลือดในการไปโรงพยาบาลครั้งเดียวกันหลังจากได้รับการผ่าตัดทางระบบประสาท - การระบายน้ำของรูเลือดออก - เสี้ยนจนกระทั่ง 2 ปีที่แล้ว?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how many patients were diagnosed with hemorrhage in the same hospital visit after having undergone neurosurgery - drainage of hematoma-burr hole until 2 years ago?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 = 'neurosurgery - drainage of hematoma-burr hole' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hemorrhage' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t2 WHERE t1.treatmenttime < t2.diagnosistime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid
null
general
ความถี่ 89.3 อยู่ในคลาสใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
The frequency 89.3 belongs to what class?It is not neccessary to use all the tables.
table_69482: "Class" [ text]
SELECT "Class" FROM table_69482 WHERE "Frequency MHz" = '89.3'
null
general