摘要: 题目描述 有一个员工表employees简况如下: 有一个部门领导表dept_manager简况如下: 建表语句如下: CREATE TABLE `employees` ( `emp_no` int(11) NOT NULL, `birth_date` date NOT NULL, `first_n 阅读全文
posted @ 2021-02-04 19:43 童话Bluebells 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 题目描述 有一个薪水表,salaries简况如下: 建表语句如下: CREATE TABLE `salaries` ( `emp_no` int(11) NOT NULL, `salary` int(11) NOT NULL, `from_date` date NOT NULL, `to_date` 阅读全文
posted @ 2021-02-04 19:25 童话Bluebells 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 题目描述 有一个薪水表,salaries简况如下: 建表语句如下: CREATE TABLE `salaries` ( `emp_no` int(11) NOT NULL, `salary` int(11) NOT NULL, `from_date` date NOT NULL, `to_date` 阅读全文
posted @ 2021-02-04 19:20 童话Bluebells 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题目描述 有一个员工表,employees简况如下: 有一个部门表,dept_emp简况如下: 建表语句如下: CREATE TABLE `employees` ( `emp_no` int(11) NOT NULL, `birth_date` date NOT NULL, `first_name` 阅读全文
posted @ 2021-02-04 00:55 童话Bluebells 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 题目描述 有一个员工表,employees简况如下: 有一个部门表,dept_emp简况如下: 建表语句如下: CREATE TABLE `employees` ( `emp_no` int(11) NOT NULL, `birth_date` date NOT NULL, `first_name` 阅读全文
posted @ 2021-02-04 00:38 童话Bluebells 阅读(106) 评论(0) 推荐(0) 编辑
摘要: https://www.runoob.com/w3cnote/sql-join-image-explain.html 阅读全文
posted @ 2021-02-03 22:39 童话Bluebells 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 题目描述 有一个全部员工的薪水表salaries简况如下: 有一个各个部门的领导表dept_manager简况如下: 建表语句如下: CREATE TABLE `salaries` ( `emp_no` int(11) NOT NULL, `salary` int(11) NOT NULL, `fr 阅读全文
posted @ 2021-02-03 22:31 童话Bluebells 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 题目描述 有一个员工employees表简况如下: 建表语句如下: CREATE TABLE `employees` ( `emp_no` int(11) NOT NULL, `birth_date` date NOT NULL, `first_name` varchar(14) NOT NULL, 阅读全文
posted @ 2021-02-03 22:05 童话Bluebells 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 在使用数据库过程中,常会遇到查询或者导出某个数据表或者查询集的前几条或者后几条记录,LIMIT可以很好的满足需求。 LIMIT基本语法: SELECT * FROM table LIMIT [offset,] rows | rows OFFSET offset; 如果只给定一个参数,表示记录数。 S 阅读全文
posted @ 2021-02-03 21:43 童话Bluebells 阅读(655) 评论(1) 推荐(0) 编辑
摘要: 1.计算1+2+3+。。。+100的和 方法1(for循环) print("计算1+2+3+···+100的和") sum=0 for i in range(1, 101): sum += i print(sum) 方法2(while循环) print("计算1+2+3+···+100的和") su 阅读全文
posted @ 2021-02-03 21:20 童话Bluebells 阅读(278) 评论(0) 推荐(0) 编辑