I'm running into a problem with deleting from multiple tables.
DELETE FROM categories, products
WHERE categories.category_id = products.category_id
AND categories.category_id = 4;
Can anyone spot the mistake that I've made? I'm getting the errorcode: 1064