I have a database named webshop on localhost with several tables in it. When I run the query: SELECT COUNT (userId) FROM users;
It trows me the following error:
FUNCTION webshop.COUNT does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
I have no idea why, as the query seems fine to me, does anyone?
Remove the space before the opening parenthesis
SELECT COUNT(userId) FROM users;
See Function Name Parsing and Resolution (which, incidentally, is exactly what the error told you to do!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With