Home >Database >navicat >How to create a table using sql statement in navicat

How to create a table using sql statement in navicat

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-13 10:44:2320760browse

How to create a table using sql statement in navicat

Select a database, click "Query", click "Create Query" on the right, enter the SQL statement, and click "Execute".

Related recommendations: "Navicat for mysql graphic tutorial"

Sample SQL:

CREATE TABLE `test`.`users` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(20) DEFAULT NULL,
`age` int(10) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

The above is the detailed content of How to create a table using sql statement in navicat. For more information, please follow other related articles on the PHP Chinese website!

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