In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use commands to create databases and tables in navicat. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Navicat for MySQL is a powerful database management and development tool designed for MySQL. Navicat allows you to create, organize, access and share information quickly and easily in a secure and easy way.
1. Open [navicat] first, and select "File"-> "New connection"-- > "MySQL" in the menu bar.
two。 Then right-click the connection you just created, select Command Line Interface, and open the command line interface.
3. Open the command interface
4. First create the database with the command: CREATE DATABASE
5. Then right-click the connection you just created and select "Refresh" to see the database we just created. (sometimes you need to restart the navicat software to see the created database)
6. Next, to create the table, select the database first, with the command: use test1
7. And then we started to build tables.
Mysql > CREATE TABLE Product
-> (product_id CHAR (4) NOT NULL
-> product_name VARCHAR (100) NOT NULL
-> product_type VARCHAR (32) NOT NULL
-> sale_price INTEGER
-> purchase_price INTEGER
-> regist_date DATE
-> PRIMARY KEY (product_id))
8. Refresh the database to see the newly created table (sometimes you need to restart the navicat software to see the created database)
This is the end of the method of using commands to create databases and tables in navicat. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.