Re: [請益] 關於SQL 語法~~

看板PHP作者 (.......................)時間16年前 (2009/12/30 18:41), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《tas72732002 (蔥頭)》之銘言: : SELECT count(*) FROM go_url_flow WHERE id in(58,62) : 我的目的是希望拉出 58 62字串的資料 並統計 出現58 62的次數各為多少 : 請問這該如何修正??? select id, count(id) as cnt from go_url_flow where id in (58,62) group by id; -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.35.132.7
文章代碼(AID): #1BEovrNm (PHP)
討論串 (同標題文章)
文章代碼(AID): #1BEovrNm (PHP)