SELECT I.receipt_id,P.name,I.quantity,P.price FROM nexus_stores.products AS P,nexus_stores.receipt_items AS I
WHERE I.quantity > 10 AND P.name ILIKE '%apple%' AND I.product_id = P.id
