SELECT COUNT(*)AS cnt FROM info AS i LEFT JOIN user AS u ON i.grpid=u.grpid WHERE i.type=1 GROUP BYi.grpid這樣查詢出來的沒有結(jié)果的數(shù)據(jù)不顯示,想讓沒有結(jié)果的數(shù)據(jù)顯示為0怎么做?
添加回答
舉報
0/150
提交
取消