Uploaded by williejc

Update end date

advertisement
Update end date
UPDATE mapping_table
SET end_date = CURRENT_DATE()
WHERE mapping_id IN (
SELECT DISTINCT mapping_id
FROM records_table
WHERE mapping_id IS NOT NULL
);
Download