create table sql commands and test phps