in reply to database table named 'with'

if you want to use some reserved words (and WANT to keep them), you might concider placing the words between backticks like select * from `with`. You probably find it under the ~ key.