标签:mysql
1、SHOW DATABASES;
CREATE TATABASE;
USE MYSQL;设定默认的数据库
SHOW TABLES;
DROP DATABASE;(慎用)
USE mydb;
CREATE TABLE tb1;
->Nmae CHAR(20);
->Age INT;
SHOW TABLES;
DESCRIPTION tb;
DESC tb1;
SELECT * FROM tb1;
INSERT INTO tb1(Name,Age) VALUES (‘jerry‘,13);
SELECT * FROM tb1;
本文出自 “白天求生存,晚上谋发展” 博客,请务必保留此出处http://perter.blog.51cto.com/1962646/1840407
标签:mysql
原文地址:http://perter.blog.51cto.com/1962646/1840407