Link to home
Start Free TrialLog in
Avatar of Alexandre Takacs
Alexandre TakacsFlag for Switzerland

asked on

mySQL SELECT COUNT query ?

ok this seems pretty basic...

Why does

SELECT COUNT (tblClients.cli_Name) FROM tblClients

Open in new window


returns error

* SQL Error (1630): FUNCTION myDB.COUNT does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual */
/* Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0.000 sec. */

Open in new window


in mySQL 8.0

seems like a correct syntax to me ?
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

tried this instead?

SELECT COUNT(tblClients.cli_Name) FROM tblClients

Open in new window


without space after "COUNT".
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alexandre Takacs

ASKER

that's it - I muss confess I could not work it out so big thanks !