I am not a sql expert and am trying to learn SQL as i go for our applications. I am trying to update my database My query for selecting is
SELECT contacts.direct_fax, contacts.direct_phone, contacts.first_name, address.central_phone_numb
er, address.central_fax_number
, address.name
FROM contacts INNER JOIN
address ON contacts.address_id = address.id
WHERE (contacts.first_name = 'ACCOUNTS')
I want to take the results of central_phone_number and central_fax_number on 1 table and update those numbers onto my direct_fax and direct_phone on another table. What is the correct syntax to do this?
Start Free Trial