I get multiple sql query syntax errors from several admin tools.

I just installed zen cart yesterday version Zen Cart 1.3.8a
Database Patch Level: 1.3.8

The MySQL server is: MySQL 5.0.51b-community-nt-log

the most basic one is from admin -- tools -- template selection:
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 '-0,' at line 1
in:
[select * from template_select limit -0, ]

I've been searching the zen cart forum and the MySQL documentation for help, but can't find any.

The errors are all over the admin section and are occurring now in stuff that worked yesterday.

any answers?