SELECT count( account ) AS accounts, account
FROM cb
GROUP BY account
ORDER BY accounts DESC
LIMIT 0 , 30
FROM cb
GROUP BY account
ORDER BY accounts DESC
LIMIT 0 , 30
'DB' 카테고리의 다른 글
한방에 Select 하여 Update하기 (0) | 2008.05.21 |
---|---|
오라클(Oracle), MS-SQL 함수 (0) | 2007.05.30 |
Database Programming & Design (0) | 2007.05.19 |
Database Programming & Design (0) | 2007.05.18 |
SQL JOIN (0) | 2007.05.18 |