I want to delete using INNER JOIN in SQL Server 2008.
INNER JOIN
But I get this error:
Msg 156, Level 15, State 1, Line 15<
You could even do a sub-query. Like this code bellow:
DELETE FROM users WHERE id IN( SELECT user_id FROM Employee WHERE Company = '1' AND Date = '2013-05-06' )