我从数据库中查询到我要的数据。比如QQ号。我要挑出6开头的号码。然后让这一批数据自动建成表,我只会手动建表,求大大们指点一二,
------解决方案--------------------
create table new_table select * from old_table where Expression
------解决方案--------------------
CREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name
[(create_definition,...)]
[table_options] [select_statement]