Error
Trying to access array offset on value of type bool
Error
Trying to access array offset on value of type null
Error
Error while accessing the database
near ")": syntax error
select count(*), sum(priceorder) from (SELECT orderid, orderdate, 'All Employees' AS groupby, priceorder FROM orders UNION SELECT orderid, orderdate, '' AS groupby, priceorder FROM orders WHERE employeeid = ) nm_sel_esp