学习 第5页
个人学习记录

4月4MYSQL日常练习

drop database if exists xsxk; create database if not exists xsxk; use xsxk; show databases; -- 4请根据以下需要存储的数据,设计各表结构即表中各列定义 -- 5.1学生表设学号为主键,要求...
珊瑚海的头像-北梦の博客珊瑚海1年前
01323

MySQL_练习_24.3.11

-- (1)删除数据库 drop database if exists t3; -- (2)创建数据库 create database if not exists t3; -- (3)使用数据库 use t3; -- 删除数据表 drop table if exists book; -- 在t3中创建数据...
北梦的头像-北梦の博客SVIP北梦1年前
013011

作业2024数据库3月8

-- 第一个 create table if not exists acc_ount( userid char(6) not null primary key comment '用户名', fullname varchar(10) not null comment '用户名', pass_word varchar(20) not null ...
珊瑚海的头像-北梦の博客珊瑚海1年前
01247
python购物车练习-北梦の博客

python购物车练习

class Shopping: def __init__(self): self.car = [] def shopping_car(self, itme): self.car.append(itme) def shopping_del(self, itme): self.car.remove(itme) def shopping_all(self): if...
koniaoer的头像-北梦の博客koniaoer1年前
01219

Python_封装和继承_练习

使用继承机制,为Car类创建两个子类:赛车(Racing_Car)类和公交车(Bus)类。为Car类定义属性最高时速(Top_speed)属性和核载人数(Nuclear_Number)方法,并分别通过子类对象调用父类中的成...
北梦的头像-北梦の博客SVIP北梦1年前
01198
MYSQL_数据库设计与开发综合案例练习_24.4.8-北梦の博客

MYSQL_数据库设计与开发综合案例练习_24.4.8

题目 综合案例-学生选课系统 学生选课管理系统用来帮助高校学生选修课程,学生通过系统可以查看所有选修课程的相关信息,包括课程名、学时、学分、也可以查看相关授课教师的信息,包括教师姓名...
北梦的头像-北梦の博客SVIP北梦1年前
01181

Python_练习_24.3.28

class ShoppingCart: def __init__(self): self.items = [] def add_items(self, item): if item in items_price: self.items.append(item) print(f'{item}已添加到购物车') else: print(f'没有...
北梦的头像-北梦の博客SVIP北梦1年前
01185
Linux_练习_24.4.7-北梦の博客

Linux_练习_24.4.7

练习1 1、以root用户登录linux 2、查看当前位置 pwd 3、查看当前位置有什么 ls -a 4、查看一个initial开头的文件的性质是啥 file initial-setup-ks.cfg 5、查看该文件的前6行内容 head -n 6 ini...
北梦的头像-北梦の博客SVIP北梦1年前
01151

Mysql_可恶的王晓林

drop table if exists student; create table student( stuid char(10) not null comment'学号', stuname char(10) not null comment'姓名', stusex char(2) not null comment'性别', studate d...
珊瑚海的头像-北梦の博客珊瑚海1年前
01141
Redis源码部署-北梦の博客

Redis源码部署

下载源码包 官方github仓库Redis-7.2.10 下载好后上传到服务器目录,或者直接使用下方命令下载到服务器目录 wget https://down.b52m.cn/d/test/redis/redis-7.2.10.zip 解压编译 yum install un...
北梦的头像-北梦の博客SVIP北梦49天前
01071