Can someone please help me with this version compatibility issue... The following code is working absolutely perfect on localhost server details here... Click here for Image of Localhost server Info MariaDB 10.4
DELETE FROM de_raw_data
WHERE
id IN (
SELECT
id
FROM (
SELECT
id,
ROW_NUMBER() OVER (
PARTITION BY category,parts,price,brand,make,model,year,engine,fuel
ORDER BY category,parts,price,brand,make,model,year,engine,fuel
) AS row_num
FROM
de_raw_data
WHERE file_id = 197
) t
WHERE row_num > 1
)
But it gives error on GoDaddy shared hosting server... Click here for Server Info MySql 5.6
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(
PARTITION BY category,parts,price,brand,ma' at line 9
I can't find any solution for this issue...
- Should I replace this query which is compatible with MySql 5.6?
- What will be that query?
- And if I replace this query, will that be a proper solution?