I have following tables
tblA(id,name,address) pk:id
tblB(depname,depaddress,depmanager_id) pk:depname fk: depmanager_id reference tblA(id on update restrict)
they have following data:
tblA
id    name    address
1     jazz    kathmandu
2     hari    pokhara
tblB
depname    depaddress    depmanager
HR         Chicago        1
ECA        Paris          2
Now the situation is I want to update the id of record with id 1 in tblA with different id. How can i do it? (PS: The requirement states that I cannot alter the existing structure of table nor can I create any new tables)