My Orders
{"Message":"ERROR: Could not able to execute SELECT distinct orderdetails.orderid, orderdetails.orderdate, paymentinfo.status, orderdetails.deliverystatus, orderdetails.trackinfo, orderdetails.isdeleted, orderdetails.grandtotal FROM orderdetails inner join paymentinfo on orderdetails.orderid=paymentinfo.orderid where orderdetails.userid= order by orderdetails.orderid desc. 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 'order by orderdetails.orderid desc' at line 1"}