update invoicePlan set specialInfection = (select specialInfection from UseRecord u join RecyclingApplication ra on u.id = ra.userecord_id where ra.id = invoicePlan.id) where specialInfection is null;