Home >Backend Development >PHP Tutorial >求教大大们。

求教大大们。

WBOY
WBOYOriginal
2016-06-23 14:39:37740browse

我从数据库中查询到我要的数据。比如QQ号。我要挑出6开头的号码。然后让这一批数据自动建成表,我只会手动建表,求大大们指点一二,


回复讨论(解决方案)

create table new_table select * from old_table where Expression

create table new_table select * from old_table where Expression
是复制表的意思吗。我在书上的MYSQL里没看到这句话呀

CREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name
    [(create_definition,...)]
    [table_options] [ select_statement]

一句大大把一堆人都叫老了,

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn