Ask for advice. I found the data I want from the database. For example, QQ number. I want to pick out the number starting with 6. Then let the batch of data be automatically built into the table. I will only create the table manually. please give us some advice, create & nbsp; table & nbsp; new_table & nbsp; select & nbsp; * & nbsp; from & nbsp; old_tabl.
I found the data I want from the database. For example, QQ number. I want to pick out the number starting with 6. Then let the batch of data be automatically built into the table. I will only manually create the table. please give us some advice,
------ Solution --------------------
Create table new_table select * from old_table where Expression
------ Solution --------------------
CREATE [TEMPORARY] TABLE [if not exists] tbl_name
[(Create_definition,...)]
[Table_options] [select_statement]
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service