DELETE P
FROM Product P
LEFT JOIN OrderItem I ON P.Id = I.ProductId
WHERE I.Id IS NULL
DELETE WorkRecord2
FROM WorkRecord2
INNER JOIN Employee
ON EmployeeRun=EmployeeNo
WHERE Company = '1'
AND Date = '2013-05-06';
DELETE P
FROM target_profile_tbl P
LEFT JOIN target_tbl I ON P.id = I.profile_id
WHERE I.id = (SELECT profile_name FROM target_profile_tbl WHERE profile_name = '')
Code Example |
---|
Sql :: adding column |
Sql :: 3rd height salary sql |
Sql :: create procedure sql |
Sql :: what is auto increment in sql |
Sql :: select * from |
Sql :: ranking functions in sql |
Sql :: ms sql select datetime as date |
Sql :: oracle multiple insert |
Sql :: mod in sql |
Sql :: not in sql |
Sql :: mysql backup certain tables workbench |
Sql :: sql year |
Sql :: sql query checker |
Sql :: restore backupfile discourse |
Sql :: SQL Comments With Statements |
Sql :: app times |
Sql :: hallo |
Sql :: sysdatetimeoffset |
Sql :: sintaxis SELECT sql |
Sql :: java input type sql date |
Sql :: get start of week big query |
Sql :: sql multiple column |
Sql :: oracle sql developer script output limit |
Sql :: multiple like values for single column postgres |
Sql :: NLS_NCHAR_CHARACTERSET |
Sql :: pgsql commit rollback example |
Sql :: SQL Hello, [firstname] [lastname] |
Sql :: remove an object that is dependent on a column in sql |
Sql :: sql dcl queries |
Sql :: Time difference in hh:mm:ss |