Home > Database > navicat > body text

How to create a table using sql statement in navicat

爱喝马黛茶的安东尼
Release: 2019-08-13 10:44:23
Original
20632 people have browsed it

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;
Copy after login

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!