Here’s a great thing I learned about MySQL today: [sql]CREATE TABLE newtable LIKE oldtable[/sql] Will create a copy of the table along with structure and keys (primary keys, auto increments etc) but not the data. This is perfect solution to create new tables based on an existing one – we use it to create a […]