MySQL Notifiter is an auxiliary tool MySQL database.
1. Open the MySQL Notifiter Command Line Client, enter the password: 123456 (which I own)
2, create a database called the day01
create database day01;
3, using a database day01
use day01;
4, create a table named dept
create table dept(deptno INT PRIMARY KEY,dname VARCHAR(14),loc VARCHAR(13));
5, see table structure is correct
desc dept;
6, is added to several data tables dept
insert into dept values(20, 'Research', 'Dallas'),(30, 'Sales', 'Chicago'),(40, 'Operations', 'Boston'),(50, 'Admin', 'Washing');
7, view the data
# View all data
the SELECT * from the dept;
8, view data in accordance with specified conditions
select * from dept where dname="Sales";
Attached:
MySQL Notifiter installation Address: http://www.mysql.com/
MySQL Notifiter installation tutorial reference blog: https://www.cnblogs.com/zhoading/p/11495268.html
Use mysql basic reference blog: https://www.cnblogs.com/chongdongxiaoyu/p/8951433.html