Skip to content
Advertisement

I got mysqli error 1064 but i don’t know why

I want to post this data from android client and i tested it with postman and status code was 200. But i have a mysqli error and it’s: Error: ((1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE id=’ at line 1)

SQL Query to sum multiple count union queries

I have a statement with following structure, and I’m trying to sum all the count results. I have tried using the SUM function outside of the nested count queries combined using the same variable …

Advertisement