Need a querry update Sites and Technician

Need a querry update Sites and Technician

Hi All,
i have using posgresql with version 9.3, so i needa querry to update sites (Regions, Times, Address, City, Country, Email and Phones) and Department (Names). BTW if my shipping addrress and the billing are different how can do it and please help me to show hơ to use query or any tool can help me connect to database with ui.

Thanks.

                  New to ADSelfService Plus?