#336 typo in sql