##引用完整性 学生表 Id 名字 性别 成绩表 Id 学生ID 成绩 Create table stu7( Id int primary key; Name varchar(50) ) Create table score( Id int primary key, Sid int, Score d ...
分类:
其他好文 时间:
2021-04-20 15:46:35
阅读次数:
0
输出小于输入值的所有正偶数。 1、while语句 #include <stdio.h> int main(void) { int i = 2, j; puts("please input an integer."); printf("j = "); scanf("%d", &j); while ( ...
分类:
编程语言 时间:
2021-04-20 15:40:50
阅读次数:
0
安装Docker 国内方式 国内的网络环境众所周知,所以推荐使用镜像站进行安装 sudo apt-get update && sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-p ...
分类:
系统相关 时间:
2021-04-20 15:00:00
阅读次数:
0
解决办法:apt-get update或者apt-get cleanapt-get update 或者 apt-get update --fix-missing问题解析1 source本身的问题 根据提示,我们首先应当 apt-get update 一下source,如果在apt-get updat ...
分类:
其他好文 时间:
2021-04-19 15:46:10
阅读次数:
0
建议使用docker安装服务,防止软件安装失败导致系统重新安装。 Ubuntu 云服务器配置 一、安装 Apache 网站服务器 apt 系统安装 1.安装 Apache sudo apt update sudo apt install apache2 2.验证 Apache 是否正在运行 sudo ...
分类:
系统相关 时间:
2021-04-19 15:10:44
阅读次数:
0
INSERT INTO empe VALUES ( 1,'海绵宝宝 ','1996-12-10','男','山东淄博');-- 新增部分数据INSERT INTO empe (eid,ename,addr)VALUES (2,'派大星','山东济南')-- UPDATE empe SET birth ...
分类:
其他好文 时间:
2021-04-19 15:05:34
阅读次数:
0
最近响应群里朋友完整开源之前那个博客系统,准备重构一番项目的代码,对数据库中的表决定都添加 create_by、update_by、create_time、update_time、del_flag 等字段。 当时添加表的时候没有设置默认值,现在要对二三十张表某个字段,如对 del_flag 设置默认 ...
分类:
数据库 时间:
2021-04-19 14:53:46
阅读次数:
0
当我们程序遇到异常时,会导致程序中止运行,见如下例子: def test(): a = int(input("please input:")) b = int(input("please input:")) result = a / b print(result) def test_1(): pri ...
分类:
编程语言 时间:
2021-04-19 14:38:29
阅读次数:
0
设置仓库 更新 apt 包索引。 $ sudo apt-get update 安装 apt 依赖包,用于通过HTTPS来获取仓库: $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent ...
分类:
系统相关 时间:
2021-04-16 11:59:52
阅读次数:
0
只能用指定字符,实现函数功能 /* * CS:APP Data Lab * * <Please put your name and userid here> * * bits.c - Source file with your solutions to the Lab. * This is the ...
分类:
移动开发 时间:
2021-04-15 12:42:58
阅读次数:
0