changes self join query to print less ingredients