Skip to content
Advertisement

MySQL:Trying to run CUBE query -> Error in your sql syntax | LIMIT 0,25

I have query in my structure trying run in PHPMYADMIN. I am trying to run CUBE query for OLAP operation, this is my query :

I have also tried this query :

but it showing this error :

I tried to open the page to check syntax but it shows page not found.

Advertisement

Answer

I don’t think MySQL supports CUBE as a GROUP BY modifier, but you can use WITH ROLLUP:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement