MySQL Forums
Forum List  »  InnoDB

Re: Double COUNT ?
Posted by: William Chiquito
Date: February 24, 2008 03:30PM

Hi Cohen,

Try:
   SELECT COUNT(DISTINCT AUTHOR) AS COUNT_AUTHORS FROM book_ref;

Options: ReplyQuote


Subject
Views
Written By
Posted
2949
February 23, 2008 02:09PM
Re: Double COUNT ?
1982
February 24, 2008 03:30PM
1875
February 25, 2008 02:12PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.