I have a database table for Contacts structured.
ID = 1 Full_Name = Joe Bloggs Primary Email = [email protected] Secondary Email = Null is it possible to use an SQL query to duplicate the primary email into the secondary email for each contact like so:
ID = 1 Full_Name = Joe Bloggs Primary_Email = [email protected] Secondary_Email = [email protected] ID = 2 Full_Name = Ruth Jones Primary_Email = [email protected] Secondary_Email = [email protected] Thank you in advance!
Secondary_Emailto benullif there was only a primary address. That said, perhaps this would be best expressed as a related table of email addresses and types/priorities/etc per person.