创建1个表的SQL语句如何写,40分!

WBOY
Release: 2016-06-13 10:32:01
Original
1036 people have browsed it

创建1个表的SQL语句怎么写,40分!!!
创建1个表的SQL语句怎么写,40分!!!


表名:table20100601
字段 名称 类型 长度
1 name text  
2 date1 int 11

PHP输出语句怎么写啊,
echo"";

------解决方案--------------------
mysql_select_db("my_db", $con);
$sql = "CREATE TABLE person 
(
FirstName varchar(15),
LastName varchar(15),
Age int
)";
mysql_query($sql,$con);

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template