数据库MySQL12315
reate table stu(id int,name varchar(30)); 创建表的基本语句 desc stu; 查看创建的表结构 insert into stu values(1,“内容”); 向表中插入数据 select id,name from stu;数据查询语句 update stu set name =“内容” where id=1; 修改数据 delete from stu where id=1; 数据删除指令 drop table stu; 删除表 create database teaching;创建库中的表 use teaching;使用库中的表
下载地址
用户评论