SQL
DELETE FROM sex s, users u WHERE s.id = 195 and u.id = s.uid and u.sessionCheck = 'd986a074c7549c566bfed1d4ad7ca491'
Error
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's, users u WHERE s.id = 195 and u.id = s.uid and u.sessionCheck = 'd986a074c7549' at line 1
So clearly the error is with the joins in the delete. But everything I have tried just won't work.
I am using Server version: 5.6.16 - MySQL Community Server (GPL)