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
ตั้งชื่อวันที่ผู้เยี่ยมชมเป็นตาข่ายไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the date when the visitor is netsIt is not neccessary to use all the tables.
table_11821: "Date" [ text] "Visitor" [ text] "Score" [ text] "Home" [ text] "Attendance" [ real] "Record" [ text]
SELECT "Date" FROM table_11821 WHERE "Visitor" = 'nets'
null
general
วาดแผนภูมิแท่งว่าแต่ละโรงเรียนมีสถานที่ต่างกันกี่แห่ง ฉันต้องการแสดงรายการแกน X จากน้อยไปมาก ไม่จำเป็นต้องใช้ตารางทั้งหมด
Draw a bar chart for how many different locations does each school have?, I want to list X-axis in ascending order.It is not neccessary to use all the tables.
COURSE: CRS_CODE [ varchar(10)] DEPT_CODE [ varchar(10)] CRS_DESCRIPTION [ varchar(35)] CRS_CREDIT [ float(8)]
SELECT SCHOOL_CODE, COUNT(DISTINCT DEPT_ADDRESS) FROM DEPARTMENT ORDER BY SCHOOL_CODE
null
general
การหักเงินสำหรับปิรามิด 49 ทุกครั้งคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is every deduction for pyramids of 49?It is not neccessary to use all the tables.
table_2527: "Rank" [ real] "School" [ text] "Tumbling" [ real] "Stunts" [ text] "Pyramids" [ text] "Tosses" [ text] "Deductions" [ text] "Total" [ text]
SELECT "Deductions" FROM table_2527 WHERE "Pyramids" = '49'
null
general
วันที่ 23 มีนาคม สนาม/สนามกีฬา คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On March 23, what is the site/stadium?It is not neccessary to use all the tables.
table_11882: "Date" [ text] "Opponent" [ text] "Score" [ text] "Site/Stadium" [ text] "Loss" [ text] "Attendance" [ text] "Record" [ text]
SELECT "Site/Stadium" FROM table_11882 WHERE "Date" = 'march 23'
null
general
สำหรับพนักงานที่มีเงินเดือนอยู่ในช่วง 8000 และ 12000 และค่าคอมมิชชันไม่เป็นค่าว่างหรือหมายเลขแผนกไม่เท่ากับ 40 ให้ค้นหา job_id และจำนวน job_id และจัดกลุ่มตามแอตทริบิวต์ job_id แล้วแสดงภาพด้วยแผนภูมิแท่ง และ เรียงลำดับตามชื่อ ไม่จำเป็นต้องใช้ทุกตาราง
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find job_id and the amount of job_id , and group by attribute job_id, and visualize them by a bar chart, and order in desc by the names.It is not neccessary to use all the tables.
employees: EMPLOYEE_ID [ decimal(60)] FIRST_NAME [ varchar(20)] LAST_NAME [ varchar(25)] EMAIL [ varchar(25)] PHONE_NUMBER [ varchar(20)] HIRE_DATE [ date] JOB_ID [ varchar(10)] SALARY [ decimal(82)] COMMISSION_PCT [ decimal(22)] MANAGER_ID [ decimal(60)] DEPARTMENT_ID [ decimal(40)]
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID DESC
null
general
ผู้ผลิตที่มีรายได้มากกว่าค่าเฉลี่ยของรายได้ทั้งหมดชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names of manufacturers with revenue greater than the average of all revenues?It is not neccessary to use all the tables.
products: code [ number] name [ text] price [ number] manufacturer [ number]
SELECT name FROM manufacturers WHERE revenue > (SELECT AVG(revenue) FROM manufacturers)
null
general
การแข่งขันจะเป็นอย่างไรเมื่อผลคือ 1-1 และสถานที่คือกวางจู?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the competition when the result is 1-1 and venue is gwangju?It is not neccessary to use all the tables.
table_50652: "Date" [ text] "Venue" [ text] "Score" [ text] "Result" [ text] "Competition" [ text]
SELECT "Competition" FROM table_50652 WHERE "Result" = '1-1' AND "Venue" = 'gwangju'
null
general
ค้นหา ACC_Regular_Season และ ACC_Percent และแสดงภาพด้วยแผนภูมิแท่ง โดยแสดงจากต่ำไปสูงตามแกน X ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find ACC_Regular_Season and ACC_Percent , and visualize them by a bar chart, display from low to high by the X-axis.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 ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Regular_Season
null
general
ค้นหาผู้กำกับภาพยนตร์ทุกเรื่องที่มี ' Kate Winslet ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the directors of all movies featuring ' Kate WinsletIt is not neccessary to use all the tables.
classification: id [ int] msid [ int] gid [ int]
SELECT director.name FROM actor, cast, directed_by, director, movie WHERE actor.name = 'Kate Winslet' AND cast.aid = actor.aid AND director.did = directed_by.did AND movie.mid = cast.msid AND movie.mid = directed_by.msid
null
general
ตั้งชื่อผู้จัดพิมพ์สำหรับ Resident Evil 4 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the publisher for resident evil 4It is not neccessary to use all the tables.
table_14325653_2: publisher_s_ [ VARCHAR] video_game [ VARCHAR]
SELECT publisher_s_ FROM table_14325653_2 WHERE video_game = "Resident Evil 4"
null
general
การแข่งขันรายการใดที่บูดาเปสต์ ประเทศฮังการี ให้ผลการแข่งขันอันดับที่ 8 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which competition in Budapest, Hungary gave a result of 8th?It is not neccessary to use all the tables.
table_36822: "Year" [ real] "Competition" [ text] "Venue" [ text] "Position" [ text] "Notes" [ text]
SELECT "Competition" FROM table_36822 WHERE "Position" = '8th' AND "Venue" = 'budapest, hungary'
null
general
ใครคือผู้ชนะ Moto2 เมื่อกรังด์ปรีซ์คือ Shell Advance Malaysian Grand Prix?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who are all the Moto2 winners when the grand prix was Shell Advance Malaysian Grand Prix?It is not neccessary to use all the tables.
table_3641: "Round" [ real] "Date" [ text] "Circuit" [ text] "Report" [ text]
SELECT "Moto2 winner" FROM table_3641 WHERE "Grand Prix" = 'Shell Advance Malaysian Grand Prix'
null
general
ตั้งชื่อ D 41 ด้วย D 44 O ของ r 13ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the D 41 with D 44 O of r 13It is not neccessary to use all the tables.
table_79908:
SELECT "D 41 \u221a" FROM table_79908 WHERE "D 44 O" = 'r 13'
null
general
วาดแผนภูมิแท่งเพื่อระบุจำนวนนักเรียนที่ได้รับผลกระทบจากโรคภูมิแพ้แต่ละประเภท?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Draw a bar chart for how many students are affected by each allergy type?It is not neccessary to use all the tables.
Allergy_Type: Allergy [ VARCHAR(20)] AllergyType [ VARCHAR(20)]
SELECT AllergyType, COUNT(*) FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy GROUP BY T2.AllergyType
null
general
แผนภูมิแท่งแสดงการกระจายของ date_address_to และผลรวมของ month_rental bin date_address_to ตามวันในสัปดาห์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
A bar chart shows the distribution of date_address_to and the sum of monthly_rental bin date_address_to by weekday.It is not neccessary to use all the tables.
Students: student_id [ INTEGER] address_id [ INTEGER] first_name [ VARCHAR(80)] middle_name [ VARCHAR(40)] last_name [ VARCHAR(40)] cell_mobile_number [ VARCHAR(40)] email_address [ VARCHAR(40)] date_first_rental [ DATETIME] date_left_university [ DATETIME] other_student_details [ VARCHAR(255)]
SELECT date_address_to, SUM(monthly_rental) FROM Student_Addresses ORDER BY monthly_rental DESC
null
general
คำอธิบายสถานะการเคลม 'เปิด' คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the description of the claim status 'Open'?It is not neccessary to use all the tables.
claims_processing_stages: claim_status_description [ VARCHAR] claim_status_name [ VARCHAR]
SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name = "Open"
null
general
Surface ใดมีคะแนน 7-5, 5-7, 6-3?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Surface has a score of 7-5, 5-7, 6-3?It is not neccessary to use all the tables.
table_name_16: surface [ VARCHAR] score [ VARCHAR]
SELECT surface FROM table_name_16 WHERE score = "7-5, 5-7, 6-3"
null
general
Heart London ออกอากาศเพลงร่วมสมัยสำหรับผู้ใหญ่หรือ r 'n' b และฮิปฮอปหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
does heart london broadcast adult contemporary music or r 'n' b and hip hop ?It is not neccessary to use all the tables.
table_203_603: id [ number] "service" [ text] "description" [ text]
SELECT "description" FROM table_203_603 WHERE "description" IN ('adult contemporary', "r'n'b and hip-hop") AND "service" = 'heart london'
null
general
คือ pantoprazole โซเดียม 40 มก. iv solr, ondansetron 2 มก./1 มล. 2 มล. sdv inj หรือโซเดียมคลอไรด์ 0.9 % iv 250 มล. ถุงที่กำหนดให้กับผู้ป่วย 002-4486 ในการเข้ารับการรักษาในโรงพยาบาลปัจจุบันหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
were pantoprazole sodium 40 mg iv solr, ondansetron 2 mg/1 ml 2ml sdv inj or sodium chloride 0.9 % iv 250 ml bag prescribed to patient 002-4486 on the current hospital encounter?It is not neccessary to use all the tables.
patient: uniquepid [ text] patienthealthsystemstayid [ number] patientunitstayid [ number] gender [ text] age [ text] ethnicity [ text] hospitalid [ number] wardid [ number] admissionheight [ number] admissionweight [ number] dischargeweight [ number] hospitaladmittime [ time] hospitaladmitsource [ text] unitadmittime [ time] unitdischargetime [ time] hospitaldischargetime [ time] hospitaldischargestatus [ text]
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-4486' AND patient.hospitaldischargetime IS NULL)) AND medication.drugname IN ('pantoprazole sodium 40 mg iv solr', 'ondansetron 2 mg/1 ml 2ml sdv inj', 'sodium chloride 0.9 % iv 250 ml bag')
null
general
ชื่อตอนที่แชร์คือ 8 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the episode name when share was 8?It is not neccessary to use all the tables.
table_20522228_2: episode [ VARCHAR] share [ VARCHAR]
SELECT episode FROM table_20522228_2 WHERE share = 8
null
general
บอกตารางที่น้อยที่สุดที่มีคะแนนมากกว่า 11 และนักแข่งเป็นบาสเตียนบูร์เดส์ที่มีรอบน้อยกว่า 67 ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Tell me the least Grid with points more than 11 and drivers being s bastien bourdais with laps less than 67It is not neccessary to use all the tables.
table_52643: "Driver" [ text] "Team" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real] "Points" [ real]
SELECT MIN("Grid") FROM table_52643 WHERE "Points" > '11' AND "Driver" = 'sébastien bourdais' AND "Laps" < '67'
null
general
คะแนนทีมเหย้าโดยเจ้าบ้านคือฟรีแมนเทิลคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the home team score where the home team is Fremantle?It is not neccessary to use all the tables.
table_16388478_4: home_team [ VARCHAR]
SELECT home_team AS score FROM table_16388478_4 WHERE home_team = "Fremantle"
null
general
วันที่ว่างเมื่อ Viorel Moldovan เข้ามาแทนที่ผู้จัดการคือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the date of vacancy when Viorel Moldovan replaced a manager?It is not neccessary to use all the tables.
table_17115950_2: date_of_vacancy [ VARCHAR] replaced_by [ VARCHAR]
SELECT date_of_vacancy FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan"
null
general
วันที่มีผลเป็น l 21 34 ไม่จำเป็นต้องใช้ตารางทั้งหมด
What Date has a Result of l 21 34?It is not neccessary to use all the tables.
table_38168: "Week" [ real] "Date" [ text] "Opponent" [ text] "Result" [ text] "Record" [ text] "Attendance" [ real]
SELECT "Date" FROM table_38168 WHERE "Result" = 'l 21–34'
null
general
สถานที่ใดมีชื่อเล่นของทีมที่เรียกว่า Fighting Missionaries? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What Location has a Team Nickname called the Fighting Missionaries?It is not neccessary to use all the tables.
table_7064: "Institution" [ text] "Location" [ text] "Founded" [ real] "Affiliation" [ text] "Enrollment" [ real]
SELECT "Location" FROM table_7064 WHERE "Team Nickname" = 'fighting missionaries'
null
general
อะไรคือฝูงชนอันดับต้น ๆ เมื่อทีมทำคะแนนได้ 12.15 (87) ในบ้าน? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the top crowd when the team scored 12.15 (87) at home?It is not neccessary to use all the tables.
table_56940: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT MAX("Crowd") FROM table_56940 WHERE "Home team score" = '12.15 (87)'
null
general
คะแนน 6 4 และฝ่ายตรงข้ามของ @ marlins มีสถิติอะไรบ้าง?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Score of 6 4, and a Opponent of @ marlins had what record?It is not neccessary to use all the tables.
table_name_96: record [ VARCHAR] score [ VARCHAR] opponent [ VARCHAR]
SELECT record FROM table_name_96 WHERE score = "6–4" AND opponent = "@ marlins"
null
general
เมื่อใดจะมีคะแนน 4 5 และ quebec nordiques เป็นผู้เยี่ยมชม?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When has Score of 4 5 and quebec nordiques as Visitor?It is not neccessary to use all the tables.
table_name_92: date [ VARCHAR] score [ VARCHAR] visitor [ VARCHAR]
SELECT date FROM table_name_92 WHERE score = "4–5" AND visitor = "quebec nordiques"
null
general
ประเภทใดมีหน้าที่รับผิดชอบของ stavangerske?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Type has a Responsible of stavangerske?It is not neccessary to use all the tables.
table_13285: "Vessel:" [ text] "Type:" [ text] "Built:" [ real] "Responsible:" [ text] "Status:" [ text]
SELECT "Type:" FROM table_13285 WHERE "Responsible:" = 'stavangerske'
null
general
วันที่ 24/11/2522 ฝ่ายตรงข้ามเป็นทีมไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
On 24/11/1979, what is the opposing teams?It is not neccessary to use all the tables.
table_name_26: opposing_teams [ VARCHAR] date [ VARCHAR]
SELECT opposing_teams FROM table_name_26 WHERE date = "24/11/1979"
null
general
ตั้งชื่อผู้ดำรงตำแหน่งปี 2497 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the incumbent for 1954It is not neccessary to use all the tables.
table_699: "District" [ text] "Incumbent" [ text] "Party" [ text] "Result" [ text] "Candidates" [ text]
SELECT "Incumbent" FROM table_699 WHERE "First elected" = '1954'
null
general
จำนวนรวมที่ทองคำมากกว่า 2 เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the total where the gold is larger than 2?It is not neccessary to use all the tables.
table_76070: "Rank" [ real] "Nation" [ text] "Gold" [ real] "Silver" [ real] "Bronze" [ real] "Total" [ real]
SELECT COUNT("Total") FROM table_76070 WHERE "Gold" > '2'
null
general
น้ำหนักบรรทุกสำหรับ Class MRBM เป็นเท่าใด และระยะ 1,930 กม.?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What is the payload for Class MRBM, and a range of 1,930km?It is not neccessary to use all the tables.
table_8749: "Name/Designation" [ text] "Class" [ text] "Payload" [ text] "Status" [ text]
SELECT "Payload" FROM table_8749 WHERE "Class" = 'mrbm' AND "Range (varies with payload weight)" = '1,930km'
null
general
สนามใดของการแข่งขันด้วยสกอร์ 33-22?ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What is the venue of the match with a score of 33-22?It is not neccessary to use all the tables.
table_35591: "Year" [ text] "Winners" [ text] "Score" [ text] "Runner-up" [ text] "Venue" [ text]
SELECT "Venue" FROM table_35591 WHERE "Score" = '33-22'
null
general
อาคารทางการเงิน shanghai x-1 มีความสูงเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the height for shanghai x-1 financial building?It is not neccessary to use all the tables.
table_4944: "Rank" [ text] "Name" [ text] "Floors" [ text] "Notes" [ text]
SELECT "Height m / feet" FROM table_4944 WHERE "Name" = 'shanghai x-1 financial building'
null
general
แผนภูมิแท่งแกน x ผู้เสนอชื่อ y แกนจำนวนทั้งหมดและแสดงจากต่ำไปสูงตามแกน x ไม่จำเป็นต้องใช้ตารางทั้งหมด
Bar chart x axis nominee y axis the total number, and display from low to high by the x axis.It is not neccessary to use all the tables.
musical: Musical_ID [ int] Name [ text] Year [ int] Award [ text] Category [ text] Nominee [ text] Result [ text]
SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee ORDER BY Nominee
null
general
ICAO สำหรับสนามบินลูกค่าคืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the ICAO for luqa airport?It is not neccessary to use all the tables.
table_name_66: icao [ VARCHAR] airport [ VARCHAR]
SELECT icao FROM table_name_66 WHERE airport = "luqa airport"
null
general
เมื่อการแลกเปลี่ยน Ime (รวมถึงธุรกรรมสปอต เครดิต และการส่งต่อ) เป็นเกษตรกรรม - ปริมาณ (พันตัน) คือเท่าไร 2008/09?ไม่จำเป็นต้องใช้ตารางทั้งหมด
When ime exchange (including spot, credit and forward transactions) is agricultural - volume (thousand tons) what is 2008/09?It is not neccessary to use all the tables.
table_30615: "2007/08" [ text] "2008/09" [ text] "2009/10" [ text] "2010/11" [ text]
SELECT "2008/09" FROM table_30615 WHERE "IME Exchange (Including spot, credit and forward transactions)" = 'Agricultural - Volume (thousand tons)'
null
general
เครื่องยนต์ใดที่มีระยะกระจัด 2,435 ซม. และมีชื่อว่า 2.4 (2544-2550)?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which engine has a 2435 cm displacement and is named 2.4 (2001-2007)?It is not neccessary to use all the tables.
table_10230: "Comment" [ text]
SELECT "Engine code" FROM table_10230 WHERE "Displacement (cm\u00b3)" = '2435' AND "Model name" = '2.4 (2001-2007)'
null
general
ใครคือผู้ชนะของเส้นทาง mechelen > mechelen?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the winner of the mechelen > mechelen route?It is not neccessary to use all the tables.
table_name_63: winner [ VARCHAR] route [ VARCHAR]
SELECT winner FROM table_name_63 WHERE route = "mechelen > mechelen"
null
general
Roy Rogers เล่นให้กับทีมโรงเรียน/สโมสรใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
Roy Rogers play for what school/club team?It is not neccessary to use all the tables.
table_31534: "Player" [ text] "Nationality" [ text] "Position" [ text]
SELECT "School/Club Team" FROM table_31534 WHERE "Player" = 'roy rogers'
null
general
โบนัสการลองสำหรับทีมที่มีการลอง 67 ครั้งคืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the try bonus for the team with 67 tries for?It is not neccessary to use all the tables.
table_59237: "Club" [ text] "Played" [ text] "Drawn" [ text] "Lost" [ text]
SELECT "Try bonus" FROM table_59237 WHERE "Tries for" = '67'
null
general
ผู้เข้าชมเกมในวันที่ 30 ตุลาคม พ.ศ. 2537 เป็นเวลาหนึ่งสัปดาห์แล้วสัปดาห์ที่ 2 มีจำนวนเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the attendance for the game on October 30, 1994 for a week after week 2?It is not neccessary to use all the tables.
table_name_54: attendance [ VARCHAR] week [ VARCHAR] date [ VARCHAR]
SELECT COUNT(attendance) FROM table_name_54 WHERE week > 2 AND date = "october 30, 1994"
null
general
ตั้งชื่อวันที่สำหรับส valentino alla muta , italiaไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the date for s. valentino alla muta , italiaIt is not neccessary to use all the tables.
table_4277: "Season" [ real] "Date" [ text] "Location" [ text] "Discipline" [ text] "Position" [ real]
SELECT "Date" FROM table_4277 WHERE "Location" = 'S. Valentino Alla Muta , Italia'
null
general
ใครเป็นผู้ว่างงานเมื่อวันที่ผู้สืบทอดตำแหน่งคือวันที่ 21 สิงหาคม พ.ศ. 2516? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
Who was the vacator when the date successor seated was august 21, 1973?It is not neccessary to use all the tables.
table_72177: "District" [ text] "Vacator" [ text] "Successor" [ text]
SELECT "Vacator" FROM table_72177 WHERE "Date successor seated" = 'August 21, 1973'
null
general
เปอร์เซ็นต์ที่ไม่แน่ใจของการสำรวจความคิดเห็นที่ Goldberg มี 6% เป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the undecided percentage of the poll where Goldberg had 6%?It is not neccessary to use all the tables.
table_name_51: undecided [ VARCHAR] goldberg [ VARCHAR]
SELECT undecided FROM table_name_51 WHERE goldberg = "6%"
null
general
ผู้ใช้ที่มีป้ายทองเทคโนโลยีเว็บทั้งสามอัน (CSS, JS และ HTML) ไม่จำเป็นต้องใช้ตารางทั้งหมด
Users with all three web technology gold badges (CSS, JS and HTML).It is not neccessary to use all the tables.
Votes: Id [ number] PostId [ number] VoteTypeId [ number] UserId [ number] CreationDate [ time] BountyAmount [ number]
SELECT * FROM Badges
null
general
เป็นครั้งสุดท้ายที่ผู้ป่วย 15986 จ่ายโพแทสเซียมคลอไรด์ในเดือนนี้ไปเท่าไร?ไม่จำเป็นต้องใช้ทุกตาราง
for the last time, how much potassium chloride was prescribed during this month to patient 15986?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 prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15986) AND prescriptions.drug = 'potassium chloride' AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY prescriptions.startdate DESC LIMIT 1
null
general
สายการบินใดที่บินระหว่างบอสตันและซานฟรานซิสโกและแวะที่เดนเวอร์ไม่จำเป็นต้องใช้ตารางทั้งหมด
what airlines fly between BOSTON and SAN FRANCISCO and stop in DENVERIt is not neccessary to use all the tables.
fare_basis: fare_basis_code [ text] booking_class [ text] class_type [ text] premium [ text] economy [ text] discounted [ text] night [ text] season [ text] basis_days [ text]
SELECT DISTINCT airline.airline_code FROM airline, 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, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DENVER' AND flight_stop.stop_airport = AIRPORT_SERVICE_2.airport_code AND flight.flight_id = flight_stop.flight_id AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.airline_code = airline.airline_code AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
null
general
ขอแสดงแผนภูมิแท่งว่าแต่ละประเทศมีกี่สนาม และฉันต้องการแสดงเป็นจำนวนรวมเป็น ASC ค่ะ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me a bar chart for how many stadiums does each country have?, and I want to display by the total number in asc please.It is not neccessary to use all the tables.
record: ID [ int] Result [ text] Swimmer_ID [ int] Event_ID [ int]
SELECT Country, COUNT(*) FROM stadium GROUP BY Country ORDER BY COUNT(*)
null
general
ชื่อและยอดคงเหลือในบัญชีของลูกค้าที่มีตัวอักษร a คืออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What are the names and account balances of customers with the letter a in their names?It is not neccessary to use all the tables.
bank: branch_id [ number] bname [ text] no_of_customers [ number] city [ text] state [ text]
SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%'
null
general
Nyah Nyah West Utd แพ้อะไรมากกว่า 11 นัดและตัวกลางที่แพ้มากที่สุด?ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd?It is not neccessary to use all the tables.
table_58867: "Wins" [ real] "Byes" [ real] "Losses" [ real] "Draws" [ real] "Against" [ real]
SELECT MAX("Against") FROM table_58867 WHERE "Central Murray" = 'nyah nyah west utd' AND "Losses" > '11'
null
general
ความสูงของผู้เล่นที่มีวันเดือนปีเกิด 1982-07-05 คือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the Height of the Player with a Date of Birth of 1982-07-05?It is not neccessary to use all the tables.
table_name_38: height [ VARCHAR] date_of_birth [ VARCHAR]
SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"
null
general
ชนะ 2 ครั้ง ได้กี่โพล ไม่จำเป็นต้องใช้ทุกโต๊ะ
When there are 2 wins, how many poles are?It is not neccessary to use all the tables.
table_26223231_1: poles [ VARCHAR] wins [ VARCHAR]
SELECT poles FROM table_26223231_1 WHERE wins = 2
null
general
คู่ต่อสู้คนใดมีผลการแข่งขัน 0-3 ไม่จำเป็นต้องใช้ตารางทั้งหมด
Which Opponent has a Result of 0-3?It is not neccessary to use all the tables.
table_name_98: opponent [ VARCHAR] result [ VARCHAR]
SELECT opponent FROM table_name_98 WHERE result = "0-3"
null
general
ฉันต้องการทราบสัดส่วนของผลรวมรหัสโรงเรียนของแต่ละบ้าน ไม่จำเป็นต้องใช้ตารางทั้งหมด
I want to know the proportion of sum school id for each all home.It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT All_Home, SUM(School_ID) FROM basketball_match GROUP BY All_Home
null
general
เขตแพ่งของ Ballymurphy North คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Ballymurphy North's civil parish?It is not neccessary to use all the tables.
table_30120633_1: civil_parish [ VARCHAR] townland [ VARCHAR]
SELECT civil_parish FROM table_30120633_1 WHERE townland = "Ballymurphy North"
null
general
คนไข้ที่เสียชีวิตน้อยกว่า 2,168 วัน จะต้องนอนโรงพยาบาลขั้นต่ำกี่วัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is minimum days of hospital stay of patients whose year of death is less than 2168?It is not neccessary to use all the tables.
prescriptions: subject_id [ text] hadm_id [ text] icustay_id [ text] drug_type [ text] drug [ text] formulary_drug_cd [ text] route [ text] drug_dose [ text]
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.dod_year < "2168.0"
null
general
ในบรรดาคลาสระดับบนทั้งหมด คลาสไหนมี 1 หน่วยกิต ?ไม่จำเป็นต้องใช้ตารางทั้งหมดเลย
Of all the upper-level classes , which ones have 1 credits ?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 DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 1 AND program_course.category LIKE 'ULCS'
null
general
ซึ่งเป็นประเภทคู่ผสมกับชายเดี่ยวคือ ปีเตอร์ มอริตซ์ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
who is the the mixed doubles with mens singles being peter moritzIt is not neccessary to use all the tables.
table_15002265_1: mixed_doubles [ VARCHAR] mens_singles [ VARCHAR]
SELECT mixed_doubles FROM table_15002265_1 WHERE mens_singles = "Peter Moritz"
null
general
แมกนีเซียม, ปัสสาวะราคาเท่าไหร่จริง ๆ ?ไม่จำเป็นต้องใช้ทุกโต๊ะ
how much do the magnesium, urine actually cost?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 DISTINCT cost.cost FROM cost WHERE cost.event_type = 'labevents' AND cost.event_id IN (SELECT labevents.row_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'magnesium, urine'))
null
general
bush# สูงสุดคือเท่าใด โดยที่% อื่นๆ อยู่ที่ 1.57% ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the maximum bush# with others% being 1.57%It is not neccessary to use all the tables.
table_18861: "Parish" [ text] "Bush#" [ real] "Bush%" [ text] "Kerry#" [ real] "Kerry%" [ text] "Others#" [ real] "Others%" [ text] "Total#" [ real]
SELECT MAX("Bush#") FROM table_18861 WHERE "Others%" = '1.57%'
null
general
วิธีการโพสต์ค่าโดยสาร ตาม DOW และประเภทการโพสต์ ไม่จำเป็นต้องใช้ตารางทั้งหมด
How posts fare, by DOW and post type.It is not neccessary to use all the tables.
TagSynonyms: Id [ number] SourceTagName [ text] TargetTagName [ text] CreationDate [ time] OwnerUserId [ number] AutoRenameCount [ number] LastAutoRename [ time] Score [ number] ApprovedByUserId [ number] ApprovalDate [ time]
SELECT TIME_TO_STR(CreationDate, '%W') AS dow, TIME_TO_STR(CreationDate, '%A') AS dowName, 1.0 * COUNT(all AS ClosedDate) / COUNT(*) AS fractionThatHaveBeenClosed, (SELECT MAX(CASE WHEN rownum * 1.0 / numrows <= 0.9 THEN Score END) FROM (SELECT Score, ROW_NUMBER() OVER (ORDER BY Score) AS rownum, COUNT(*) OVER (PARTITION BY NULL) AS numrows FROM Posts WHERE TIME_TO_STR(CreationDate, '%W') = TIME_TO_STR(p.CreationDate, '%W') AND PostTypeId = p.PostTypeId) AS t) AS medianScore, CASE PostTypeId WHEN 1 THEN 'Q' WHEN 2 THEN 'A' END AS postType FROM Posts AS p WHERE PostTypeId < 3 GROUP BY TIME_TO_STR(CreationDate, '%W'), TIME_TO_STR(CreationDate, '%A'), PostTypeId ORDER BY PostTypeId, dow
null
general
มีกี่คะแนนที่มีชื่อของ Stephen Myler และพยายามน้อยกว่า 0 ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many Points have a Name of stephen myler, and Tries smaller than 0?It is not neccessary to use all the tables.
table_65309: "Points" [ real] "Name" [ text] "Club" [ text] "Tries" [ real] "Drop" [ real]
SELECT SUM("Points") FROM table_65309 WHERE "Name" = 'stephen myler' AND "Tries" < '0'
null
general
เปรียบเทียบจำนวนผู้เข้าร่วมในรหัสประเภทผู้เข้าร่วมแต่ละรายโดยใช้แผนภูมิแท่ง โปรดเรียงลำดับจากต่ำไปสูงตามแกน X โปรดไม่จำเป็นต้องใช้ตารางทั้งหมด
Compare the number of participants in each participant type code using a bar chart, order from low to high by the X-axis please.It is not neccessary to use all the tables.
Participants: Participant_ID [ INTEGER] Participant_Type_Code [ CHAR(15)] Participant_Details [ VARCHAR(255)]
SELECT Participant_Type_Code, COUNT(Participant_Type_Code) FROM Participants GROUP BY Participant_Type_Code ORDER BY Participant_Type_Code
null
general
เพียงแสดงนามสกุลของพนักงานและรหัสผู้จัดการโดยใช้แผนภูมิแท่ง และฉันต้องการแสดงรายการตามแกน y จากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Just show the employee's last name and their manager's id using a bar chart, and I want to list by the y axis in descending.It is not neccessary to use all the tables.
countries: COUNTRY_ID [ varchar(2)] COUNTRY_NAME [ varchar(40)] REGION_ID [ decimal(100)]
SELECT LAST_NAME, MANAGER_ID FROM employees ORDER BY MANAGER_ID DESC
null
general
ผู้เล่นจาก Vanderbilt University ชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the player from Vanderbilt University?It is not neccessary to use all the tables.
table_name_43: player [ VARCHAR] school [ VARCHAR]
SELECT player FROM table_name_43 WHERE school = "vanderbilt university"
null
general
Record คืออะไร เมื่อวันที่คือ '1 มีนาคม'?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is Record, when Date is 'March 1'?It is not neccessary to use all the tables.
table_name_89: record [ VARCHAR] date [ VARCHAR]
SELECT record FROM table_name_89 WHERE date = "march 1"
null
general
สถานที่ใดที่มีเกมมากที่สุด ?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
what location had the most games ?It is not neccessary to use all the tables.
table_203_47: id [ number] "game" [ number] "date" [ text] "opponent" [ text] "location" [ text] "score" [ text] "ot" [ text] "attendance" [ number] "record" [ text]
SELECT "location" FROM table_203_47 GROUP BY "location" ORDER BY COUNT("game") DESC LIMIT 1
null
general
จำนวนการลงทะเบียนโดยเฉลี่ยคือเท่าไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average enrollment number?It is not neccessary to use all the tables.
college: cname [ text] state [ text] enr [ number]
SELECT AVG(enr) FROM college
null
general
เมื่อผลออกมาเป็น l 13-7 ot คู่ต่อสู้คือใคร?ไม่จำเป็นต้องใช้ทุกโต๊ะ
When the result was l 13-7 ot, who was the opponent?It is not neccessary to use all the tables.
table_11906: "Week" [ text] "Date" [ text] "Opponent" [ text] "Result" [ text] "Attendance" [ text] "Record" [ text]
SELECT "Opponent" FROM table_11906 WHERE "Result" = 'l 13-7 ot'
null
general
ในประเทศสวิตเซอร์แลนด์ ยอดการค้าทั้งหมดเป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
In the country Switzerland, what is the total trade?It is not neccessary to use all the tables.
table_28338: "Country" [ text] "Exports" [ text] "Imports" [ text]
SELECT "Total Trade" FROM table_28338 WHERE "Country" = 'Switzerland'
null
general
เมื่อเจ้าบ้านทำสกอร์ 5.14 (44) ฝูงชนจะเยอะแค่ไหน?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
How big was the crowd when the home team scored 5.14 (44)?It is not neccessary to use all the tables.
table_55635: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT COUNT("Crowd") FROM table_55635 WHERE "Home team score" = '5.14 (44)'
null
general
เรามีกิจกรรมกี่กิจกรรม?ไม่จำเป็นต้องใช้ทุกตาราง
How many activities do we have?It is not neccessary to use all the tables.
faculty: facid [ number] lname [ text] fname [ text] rank [ text] sex [ text] phone [ number] room [ text] building [ text]
SELECT COUNT(*) FROM activity
null
general
แสดงให้ฉันเห็นเกี่ยวกับการกระจายของ All_Home และผลรวมของ Team_ID และจัดกลุ่มตามแอตทริบิวต์ All_Home ในแผนภูมิแท่ง และจัดอันดับแกน x ตามลำดับจากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show me about the distribution of All_Home and the sum of Team_ID , and group by attribute All_Home in a bar chart, and rank x-axis in descending order.It is not neccessary to use all the tables.
basketball_match: Team_ID [ int] School_ID [ int] Team_Name [ text] ACC_Regular_Season [ text] ACC_Percent [ text] ACC_Home [ text] ACC_Road [ text] All_Games [ text] All_Games_Percent [ int] All_Home [ text] All_Road [ text] All_Neutral [ text]
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC
null
general
ฉันต้องการเที่ยวบินสหรัฐฯ จากโตรอนโตไปยังซานดิเอโกโดยแวะพักที่เดนเวอร์ โปรดไม่จำเป็นต้องใช้ตารางทั้งหมด
i would like a US flight from TORONTO to SAN DIEGO with a stopover in DENVER pleaseIt is not neccessary to use all the tables.
airport_service: city_code [ varchar] airport_code [ varchar] miles_distant [ int] direction [ varchar] minutes_distant [ int]
SELECT DISTINCT flight.flight_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, flight, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN DIEGO' AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DENVER' AND flight_stop.stop_airport = AIRPORT_SERVICE_2.airport_code AND flight.flight_id = flight_stop.flight_id AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'TORONTO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'US'
null
general
ค้นหาเพลงทั้งหมดที่ผลิตโดยศิลปินชื่อ 'Marianne' ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find all the songs produced by artists with first name 'Marianne'.It is not neccessary to use all the tables.
Songs: Title [ VARCHAR] SongId [ VARCHAR]
SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne"
null
general
เวลา/เกษียณคืออะไร เมื่อโลตัส - ฟอร์ดเป็นผู้สร้างและรอบมีน้อยกว่า 17? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
What is the Time/Retired when lotus - ford was constructor and the laps were less than 17?It is not neccessary to use all the tables.
table_53606: "Driver" [ text] "Constructor" [ text] "Laps" [ real] "Time/Retired" [ text] "Grid" [ real]
SELECT "Time/Retired" FROM table_53606 WHERE "Constructor" = 'lotus - ford' AND "Laps" < '17'
null
general
RECNet ใดที่มี elk lake เป็นเมืองที่ได้รับใบอนุญาต?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What RECNet has elk lake as the city of license?It is not neccessary to use all the tables.
table_41559: "Identifier" [ text] "Frequency" [ text] "Power" [ text] "Class" [ text] "RECNet" [ text]
SELECT "RECNet" FROM table_41559 WHERE "City of license" = 'elk lake'
null
general
ค้นหาชื่อคณะที่เล่นพายเรือแคนูหรือพายเรือคายัค ไม่จำเป็นต้องใช้ทุกโต๊ะ
Find the first names of the faculty members who are playing Canoeing or Kayaking.It is not neccessary to use all the tables.
faculty_participates_in: facid [ number] actid [ number]
SELECT DISTINCT T1.lname FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking'
null
general
ตำแหน่งในลีกใดมีผล FA เท่ากับ 2 0 และฝ่ายตรงข้ามของ Queens Park Rangers?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What League position has a Result F A of 2 0, and Opponents of queens park rangers?It is not neccessary to use all the tables.
table_12320: "Date" [ text] "Opponents" [ text] "Attendance" [ real]
SELECT "League position" FROM table_12320 WHERE "Result F \u2013 A" = '2 – 0' AND "Opponents" = 'queens park rangers'
null
general
วันที่ออกอากาศของแคนาดาเมื่อวันที่ 17 มีนาคม พ.ศ. 2551 มีกี่หมายเลขในฤดูกาล?ไม่จำเป็นต้องใช้ตารางทั้งหมด
The canadian airdate of 17 march 2008 had how many numbers in the season?It is not neccessary to use all the tables.
table_72141: "Title" [ text]
SELECT COUNT("No. in season") FROM table_72141 WHERE "Canadian airdate" = '17 March 2008'
null
general
เมลเบิร์นทำคะแนนให้เจ้าบ้านได้เท่าไหร่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What did Melbourne score as the home team?It is not neccessary to use all the tables.
table_53627: "Venue" [ text] "Crowd" [ real] "Date" [ text]
SELECT "Home team score" FROM table_53627 WHERE "Home team" = 'melbourne'
null
general
แสดงชื่อนักข่าวและจำนวนเหตุการณ์ที่พวกเขารายงาน แสดงภาพตามแผนภูมิแท่ง และแสดงรายการ asc ตามแกน Y ไม่จำเป็นต้องใช้ตารางทั้งหมด
Show the names of journalists and the number of events they reported Visualize by bar chart, and list in asc by the Y-axis.It is not neccessary to use all the tables.
news_report: journalist_ID [ int] Event_ID [ int] Work_Type [ text]
SELECT T3.Name, COUNT(*) FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name ORDER BY COUNT(*)
null
general
สำหรับพนักงานที่ไม่เคยมีงานทำในอดีต ให้แสดงการกระจายของ Hire_date และค่าเฉลี่ยของ Bin เงินเดือน Hire_date ตามวันในแผนภูมิแท่ง คุณช่วยแสดงแบบเรียงตามจำนวนทั้งหมดได้ไหม ไม่จำเป็นต้องใช้ โต๊ะทั้งหมด
For those employees who did not have any job in the past, show me about the distribution of hire_date and the average of salary bin hire_date by weekday in a bar chart, could you show in desc by the total number?It is not neccessary to use all the tables.
employees: EMPLOYEE_ID [ decimal(60)] FIRST_NAME [ varchar(20)] LAST_NAME [ varchar(25)] EMAIL [ varchar(25)] PHONE_NUMBER [ varchar(20)] HIRE_DATE [ date] JOB_ID [ varchar(10)] SALARY [ decimal(82)] COMMISSION_PCT [ decimal(22)] MANAGER_ID [ decimal(60)] DEPARTMENT_ID [ decimal(40)]
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(SALARY) DESC
null
general
nssdc id สำหรับ Echo 1 คืออะไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the nssdc id for Echo 1?It is not neccessary to use all the tables.
table_24413: "Satellite" [ text] "Decay" [ text] "Mass(kg)" [ text] "Diameter(m)" [ text] "Nation" [ text] "Usage" [ text]
SELECT "NSSDC ID" FROM table_24413 WHERE "Satellite" = 'Echo 1'
null
general
ตั้งชื่อตำแหน่งสำหรับ ไมเคิล วอร์เนอร์ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the position for michael warnerIt is not neccessary to use all the tables.
table_25017530_6: position [ VARCHAR] player [ VARCHAR]
SELECT position FROM table_25017530_6 WHERE player = "Michael Warner"
null
general
เจ้าบ้านคือใครเมื่อมิลล์วอลล์เป็นทีมเยือน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Who was the home team when millwall was the away team?It is not neccessary to use all the tables.
table_name_11: home_team [ VARCHAR] away_team [ VARCHAR]
SELECT home_team FROM table_name_11 WHERE away_team = "millwall"
null
general
คะแนนในปี 1997 ของทีมที่ไม่มีผู้เข้าแข่งขันมีความคืบหน้าเป็นเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
What was the score in 1997 for the team that has a Progress of no entrants?It is not neccessary to use all the tables.
table_6603: "Year" [ real] "Team" [ text] "Progress" [ text] "Score" [ text] "Opponents" [ text]
SELECT "Score" FROM table_6603 WHERE "Progress" = 'no entrants' AND "Year" = '1997'
null
general
โรงเรียนไหนมีการประชุมใหม่เป็น SELC?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What school has the new conference as SELC?It is not neccessary to use all the tables.
table_26476336_2: institution [ VARCHAR] new_conference [ VARCHAR]
SELECT institution FROM table_26476336_2 WHERE new_conference = "SELC"
null
general
คืนจำนวนเอกสารที่เขียนโดย ' HV Jagadish ' และ ' Divesh Srivastava ' ให้ฉัน ไม่จำเป็นต้องใช้ตารางทั้งหมด
return me the number of papers written by ' H. V. Jagadish ' and ' Divesh Srivastava ' .It is not neccessary to use all the tables.
domain_conference: cid [ int] did [ int]
SELECT COUNT(DISTINCT (publication.title)) FROM author AS AUTHOR_0, author AS AUTHOR_1, publication, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.name = 'H. V. Jagadish' AND AUTHOR_1.name = 'Divesh Srivastava' AND WRITES_0.aid = AUTHOR_0.aid AND WRITES_0.pid = publication.pid AND WRITES_1.aid = AUTHOR_1.aid AND WRITES_1.pid = publication.pid
null
general
ตั้งชื่อวันที่และคู่ต่อสู้ซึ่งมีตำแหน่งและเกมอาชีพ 123 เกมหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Name the Date and an Opponent which has a f Position and Career Games of 123 games?It is not neccessary to use all the tables.
table_name_4: date_and_opponent [ VARCHAR] position [ VARCHAR] career_games [ VARCHAR]
SELECT date_and_opponent FROM table_name_4 WHERE position = "f" AND career_games = "123 games"
null
general
ผู้เข้าร่วมน้อยที่สุดในเกมที่แพ้โลเซ่ (12 11) คืออะไร? ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
What was the lowest attendance at a game that had a loss of lohse (12 11)?It is not neccessary to use all the tables.
table_70532: "Date" [ text] "Opponent" [ text] "Score" [ text] "Loss" [ text] "Time" [ text] "Att." [ real] "Record" [ text]
SELECT MIN("Att.") FROM table_70532 WHERE "Loss" = 'lohse (12–11)'
null
general
วาดแผนภูมิแท่งเกี่ยวกับการแจกแจงของ meter_300 และ ID และเรียงลำดับแกน y จากมากไปน้อย ไม่จำเป็นต้องใช้ตารางทั้งหมด
Draw a bar chart about the distribution of meter_300 and ID , and order y axis in descending order.It is not neccessary to use all the tables.
event: ID [ int] Name [ text] Stadium_ID [ int] Year [ text]
SELECT meter_300, ID FROM swimmer ORDER BY ID DESC
null
general
ค้นหาจำนวนผู้ป่วยที่ตรวจพบเลือดในอุจจาระ มีเส้นทางให้ยาทดแทน ไม่จำเป็นต้องใช้ทุกตาราง
find the number of patients diagnosed with blood in stool had the drug route as replace.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 = "Blood in stool" AND prescriptions.route = "REPLACE"
null
general
อัตราการเกิดเฉลี่ยที่มีอัตราการเจริญพันธุ์รวมเป็น na และการเติบโตตามธรรมชาติน้อยกว่า 2.5 เป็นเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?It is not neccessary to use all the tables.
table_name_14: births__000s_ [ INTEGER] total_fertility_rate [ VARCHAR] natural_growth [ VARCHAR]
SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5
null
general
Bonecrusher คว้าแชมป์ที่ Bayam n เปอร์โตริโกได้เมื่อใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When did Bonecrusher win the championship at Bayam n, Puerto Rico?It is not neccessary to use all the tables.
table_name_5: date_won [ VARCHAR] location [ VARCHAR] champion_s_ [ VARCHAR]
SELECT date_won FROM table_name_5 WHERE location = "bayamón, puerto rico" AND champion_s_ = "bonecrusher"
null
general
ทีมใดมี 4 แต้มและแชสซีของเดือนมีนาคม 82/83ค?ไม่จำเป็นต้องใช้ทุกโต๊ะ
What team has 4 points and a Chassis of march 82/83c?It is not neccessary to use all the tables.
table_name_71: team [ VARCHAR] points [ VARCHAR] chassis [ VARCHAR]
SELECT team FROM table_name_71 WHERE points = 4 AND chassis = "march 82/83c"
null
general
มีผู้ป่วยชายกี่รายที่ได้รับการทดสอบในห้องปฏิบัติการสำหรับแฮปโตโกลบิน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many male patients had a lab test for haptoglobin?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.gender = "M" AND lab.label = "Haptoglobin"
null
general
มีผู้ป่วยกี่รายที่มีสถานะการเสียชีวิตเป็น 0 และรหัสขั้นตอน icd9 คือ 8872?ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many patients whose death status is 0 and procedure icd9 code is 8872?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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "8872"
null
general