Answers for "remove relation from sql database"

SQL
1

to remove a relation from an sql database, we use the ______ command

Drop table
Posted by: Guest on May-12-2021
0

sql delete from with relation

# your select statement acctually works (and I don't know wich is your statement...).
# You must replace only
SELECT ...
# with
DELETE [table name or alias]
# and leave everything else the same.

# e.g:
DELETE cu FROM CustomUser cu 
left join RoleMapping on cu.id = RoleMapping.principalId 
WHERE RoleMapping.roleId = 1;
Posted by: Guest on August-02-2021

Code answers related to "remove relation from sql database"

Code answers related to "SQL"

Browse Popular Code Answers by Language