SQL: SELECT id, id, name, i.attribute1, i.attribute2, qty, CONCAT('$', FORMAT(i.price, 2)), CONCAT('$', FORMAT(shipment, 2)), CONCAT('$', FORMAT((i.price + shipment) * qty, 2)), id FROM products p, items i WHERE p.id = i.prod_id AND session_id = 'j6a6ampki4va3716k6hm2du645'