to remove a relation from an sql database, we use the ______ command
Drop table
to remove a relation from an sql database, we use the ______ command
Drop table
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;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us