[feature045] add sql for creating tables