自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 【无标题】

#查询秦建兴是哪个班的多表连接查询select stu_name,class_name from student,classwhere stu_name='秦建兴' andstudent.class_no=class.class_no#使用连接子句完成的查询select stu_name,class_namefrom student join class on student.class_no=class.class_nowhere stu_name='秦建兴';#查询男同学的姓名及其所..

2022-05-31 18:26:24 46

原创 ##存储函数

#存储函数#1.基础(与函数的不同)#1)过程可以没有返回值,但是函数必须有:#2)参数区别:函数只有传入的参数:但是过程不一样,过程有in,out,inout#1. 根据输入的课程号,输出其课程名create function coursename(cno char(6)) returns varchar(50)reads sql databegindeclare cname varchar(50);case cnowhen '010001' then setcname='大学计算机

2022-05-31 14:19:01 76

原创 5.5数据库上课笔记

索引是查询时才有用,索引必须独立存在。索引的类型,查看索引,创建索引,索引底层长什么样子1.主键也叫主索引create table test2(id int primary key);2.replace into demo(id,name,age) values(1,'王五',24);select * from demo;创建主键(索引)的方法1:create table test2(id int primary key);创建主键(索引)的方法2:create tabl

2022-05-05 19:12:37 866

原创 5.3数据库原理上课内容

use demol

2022-05-03 15:03:36 508

原创 MySQL第二次笔记和第三次

use demolcreate table test(id int(11),name varchar(50));desc test;create table student(sno char(11) primary key,sname varchar(20) not null);desc student;create table course-> (-> cno va...

2022-04-28 15:38:58 2172

数据库原理及应用第二次笔记

数据库原理及应用第二次笔记

2022-04-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除