1. select * from 表名 select distinct 查询列表 from 表名 //去重查询 2. 条件查询 select 查询列表 from 表名 where 筛选条件; select * from employees where salary>12000; select las ...
分类:
数据库 时间:
2018-08-08 14:57:11
阅读次数:
162
https://pintia.cn/problem-sets/994805342720868352/problems/994805511923286016 The highest building in our city has only one elevator. A request list i ...
分类:
其他好文 时间:
2018-08-05 17:28:16
阅读次数:
141
nth_element函数原型有四个,详细我就不一一累赘了,我们就用最普通的用法寻找第k位置的元素。 函数用法为:nth_element(first,kth,end)。 first,last 第一个和最后一个迭代器,也可以直接用数组的位置。 kth,要定位的第k个元素,能对它进行随机访问. 将第k_ ...
分类:
其他好文 时间:
2018-08-05 13:08:04
阅读次数:
109
STL "STL中的nth_element()方法的使用" 数学 "捡石子游戏、 Wythoff 数表和一切的 Fibonacci 数列—— Matrix67" "第二类斯特林数通项公式推导" "计算几何 ——tsy" "01分数规划入门" "O(1)快速乘" "数论各种小定理" "素性测试" "组 ...
分类:
其他好文 时间:
2018-08-05 10:24:34
阅读次数:
122
print('我考了%d分'%20) msg=''' ---------info of %s----------- name: %s age: %d job: %s salary: %f you will be retired in %s years ---------end------------... ...
分类:
编程语言 时间:
2018-08-01 20:52:14
阅读次数:
111
Employee 表包含所有员工信息,每个员工有其对应的 Id, salary 和 department Id 。 + + + + + | Id | Name | Salary | DepartmentId | + + + + + | 1 | Joe | 70000 | 1 | | 2 | Henr ...
分类:
数据库 时间:
2018-08-01 20:45:48
阅读次数:
364
表结构: company.employee 员工id id int 姓名 emp_name varchar 性别 sex enum 年龄 age int 入职日期 hire_date date 岗位 post varchar 职位描述 post_comment varchar 薪水 salary d ...
分类:
其他好文 时间:
2018-08-01 16:41:26
阅读次数:
170
employee 表 | id | name | gender | hire_date | salary | performance | manage | deparmant | | | | | | | | | | | 1001 | 张三 | 男 | 2/12/1991 00:00:00 | 200 ...
分类:
数据库 时间:
2018-07-30 14:38:32
阅读次数:
168
876. Middle of the Linked List first submission 877. Stone Game first submission 用到了双指针哈哈,开森 878. Nth Magical Number 第N个神奇数字 如果正整数可以被 A 或 B 整除,那么它是神奇的 ...
分类:
其他好文 时间:
2018-07-29 14:22:29
阅读次数:
878
1、元素选择器 会选到HTML中所有同样的标记 2、类选择器 会应用到具有这个类的元素 3、ID选择器 具有唯一性 4、通配符 * 表示所有 5、伪类选择器 link 未访问时 hover 鼠标悬停、移入 active 鼠标点击下去时 visited 访问后 li:nth-child() li:fi ...
分类:
Web程序 时间:
2018-07-29 10:11:03
阅读次数:
218