Good afternoon!
I'm trying to insert all users when there is not a type entered for all users:
INSERT INTO USUARIO ( TIPO, PRIORITARIO)
SELECT '130', 'N'
FROM dual
WHERE not exists (SELECT *
FROM USUARIO
WHERE tipo = '130' );
But I can not insert, any idea how to do?