PTT
Submit
Submit
選擇語言
正體中文
简体中文
PTT
Database
[MySQL] Select the row which one of the ...
作者:
rrr0832
(rrr0832)
2018-01-20 03:59:09
If there is a table name "example" like below:
How do I select the name which "No" has the most occurrence in other rows' "Id
"?
Here's my try:
The result should be like this:
繼續閱讀
Re: [SQL ] 資料統計問題
cutekid
[售書]OCA/OCP認證考試指南全冊 Oracle Database 12c
pickman888
[SQL ] 資料統計問題
joedenkidd
Re: [SQL ] 不同資料庫 同table查詢問題
cutekid
[SQL ] 不同資料庫 同table查詢問題
tsongs
[SQL ] 資料查尋問題
joedenkidd
[問題] 如何將WHERE裡的欄位名稱帶入自定義函數
red0whale
Re: [問題] mysql 同一個table select lock
DarkKiller
[SQL ] Postgres效能問題
comput
[討論] 如何分出2NF的關聯表
OnlyCourage
Links
booklink
Contact Us: admin [ a t ] ucptt.com