Add a database to mysql

xiaoxiao2021-03-06  115

DROP DATABASE IF EXISTS School;

Create Database School;

Use School;

CREATE TABLE TEACHER

(

ID INT (3) Auto_Increment Not Null Primary Key,

Name char (10) Not null,

Address varchar (50) Default "Shenzhen",

Year Date

);

INSERT INTO TEACHER VALUES ('', 'Glchang', 'Shenzhen No.1 Middle ",' 1988-12-10 ');

INSERT INTO TEACHER VALUES ('', 'Wangfei', 'Zaozhuang Third ",' 1977-12-10 ');

转载请注明原文地址:https://www.9cbs.com/read-102293.html

New Post(0)