Corrected table creation query