Mysql Count(*) as Total WHERE Total ??

Posted by TeknoSeyfo on Stack Overflow See other posts from Stack Overflow or by TeknoSeyfo
Published on 2010-02-11T16:56:41Z Indexed on 2010/04/28 10:03 UTC
Read the original article Hit count: 317

Filed under:
|
|
SELECT
  Id, QId, UName, Ans, Date, COUNT(*) * 10 as Total
FROM
  question
WHERE
  COUNT(*)
DESC
GROUP BY
  UName

doesn't work :(

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query