

===============================================================================
User: 2  |  Time: 17:24:25  |  URL: /customers/apple_clinic/POSAjax/getCategory?id=89&Customerid=undefined&class_id=1&type=1&callback=jQuery21108456472310173281_1767885835661&_=1767885835662

Array
(
    [0] => 42000
    [1] => 1064
    [2] => 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 details.Product...' at line 9
)

select details.Entery_ID,                                                          (((details.Product_Net_Price * details.Product_Quantity)/Item_Quantity_Current)*main.current_rate) as last_price,                                                          main.Invoice_Date,                                                          details.Product_ID                                                   from tbl_invoice_products_details details                                                   inner join tbl_invoices main using(Invoice_ID_Auto)                                                   where main.Customer_ID = "0"                                                   and main.Class_ID = "1"                                                   and details.Product_ID in ()                                                   order by details.Product_ID,main.Invoice_Date desc,details.Entery_ID desc                     
