mysql primary understanding

mysql is a relational database system can store a plurality of databases, each database can store a number of tables, each table can be stored in a plurality of records

Basic Code:

        1, view the database show databases;

        2. Create a database create database;

        3, into the database use the database name;

        4, delete the database drop database database name;

        5, view the data in the table show tables;

        6, create a data table create table table name (field)

        7, drop table drop table table name;

        8, alter table modify table names 

Guess you like

Origin www.cnblogs.com/dengpu/p/11313894.html