上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 28 下一页
摘要: 一.在依然的比较简单熟稔的学生-学习-课程表中讨论: 1.检索至少选修1门课程的女学生的姓名。 分析:很明显可以用统计函数count(),有选修,有姓名,涉及到学习表和学生表。 检索至少选修1门课程的女学生的姓名。 select sname from student,sc where student 阅读全文
posted @ 2020-03-18 16:01 龙龙666666 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 直接用set中的upper_bound! 7-1 A-Leftbest Jack is worried about being single for his whole life, so he begins to use a famous dating app. In this app, the u 阅读全文
posted @ 2020-03-18 10:56 龙龙666666 阅读(328) 评论(0) 推荐(0) 编辑
摘要: set和multiset的训练多多地去训练去训练! One of the most difficult things about going on a holiday is making sure your luggage does not exceed the maximum weight. Yo 阅读全文
posted @ 2020-03-18 10:44 龙龙666666 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 论算法优化的重要性 要有分析算法时间复杂度的潜意识,慢慢培养。 别总是上来暴力,还有可怕的两层循环2333qwq The Bureau for Artificial Problems in Competitions wants you to solve the following problem: 阅读全文
posted @ 2020-03-17 20:50 龙龙666666 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Your brother has won an award at the recent Breakthroughs in Architectural Problems Conference and has been given the once in a lifetime opportunity o 阅读全文
posted @ 2020-03-17 20:32 龙龙666666 阅读(127) 评论(1) 推荐(0) 编辑
摘要: printf("%5d",number); meaning:表示如果得数字没有5位的话,会以空格来补齐;如果数字超过5位的话,会保留5位有效数字输出! 实现每个数字占5个字符宽度。 #include<iostream> using namespace std; int main() { int a, 阅读全文
posted @ 2020-03-17 19:51 龙龙666666 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 名单就是姓名。 学生名单就是学生姓名。 还是先在熟悉的 学生-学习-课程表进行查询讨论训练,2333! 学生(学号,姓名,性别,年龄,籍贯,出生年月,学院) 课程(课程号,课程名,学时,开课学期,先行课,学分,课程性质) 学习(学号,课程号,成绩) 1.查询至少选修课程名为'数据库原理'和'操作系统 阅读全文
posted @ 2020-03-17 14:34 龙龙666666 阅读(1776) 评论(1) 推荐(0) 编辑
摘要: 课前预习,稍作积累2333 ps:周末的os复习之旅到了这里啦,还有pv操作这两天酌情复习一下下哒,2333! 阅读全文
posted @ 2020-03-15 15:42 龙龙666666 阅读(296) 评论(3) 推荐(0) 编辑
摘要: 关于外键!!!!!!!!!! 今天呀,和c++相爱相杀一整天了差不多,即便慢也要驰而不休息地积累和奋斗,冲鸭,龙龙2333!加油!!!!!!!! 现在来写一写sql喽 > 积累学习ing: 数据库SQL语言中,foreign key和references的区别是什么? 假设两张表,表1(学号,姓名, 阅读全文
posted @ 2020-03-14 20:15 龙龙666666 阅读(114) 评论(1) 推荐(0) 编辑
摘要: 总结一下今天数据库课堂上的所学2333 1. 在SQL语言实践中,集合运算的实现方法,推荐顺序如下: 并运算:union 交运算:in, exists, intersect(很多DBMS基本上不支持ing qwq) >"同时" 差运算:not in, not exists, except, minu 阅读全文
posted @ 2020-03-13 22:01 龙龙666666 阅读(780) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 28 下一页