sql: build test tables manually.  Don't depend on sqlite

should fix a windows error