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 'left INTEGER NOT NULL'
I go to check it, and left is a function of MySQL...
Anyway to name the column 'left'? I probably already know the answer, but can't think straight right now...