I can only think of stupid way, 365 tables, each lead a


CodePudding user response:
Build a new table, and the structure of these tables is consistent; Spell the name of the table and then use cycle, exec (" insert into... "); After the loop derived a new table,