Error
Error while accessing the database
incomplete input
select count(*), sum(order_details.totalprice) from orders, order_details where orders.orderid = order_details.orderid AND productid =