Changed sql for creating table