ALTER TABLE items
ADD CONSTRAINT member_1
FOREIGN KEY(member_ID)
REFERENCES users(userID)
ON DELETE CASCADE
;ON UPDAT CASCADE
فهو بكتب لي خطأ
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'users(userID)
ON DELETE CASCADE
ON UPDAT CASCADE' at line 4