Cavern.sigma
Welcome to Cavern.sigma
https://stackoverflow.com/questions/1216175/mysql-count-records-from-one-table-and-then-update-another 更新讚數先用這個 等我 trigger 想好怎麼弄再說 SQL: ```sql UPDATE `post` SET `like` = ( SELECT COUNT(*) FROM `like` WHERE `post`.`pid` = `like`.`pid`); ```
2019-02-07 01:03:21
留言
Last fetch: --:-- 
現在還沒有留言!