Here is the script to create my tables:
CREATE TABLE clients ( client_i INT(11), PRIMARY KEY (client_id) ); CREATE TABLE projects ( project_id INT(
You can also use ALIAS like this it works just used it on my database! t is the table need deleting from!
DELETE t FROM posts t INNER JOIN projects p ON t.project_id = p.project_id AND t.client_id = p.client_id