Andrew Nguyen : tables: Fix a few syntax errors in appdb_tables.sql