SQL> select to_char(salary, '$999,999.00') from employees; SQL> select last_name, to_char(hire_date, 'dd-Mon-RR') from employees; SQL> select to_char( ...
分类:
其他好文 时间:
2017-08-06 15:55:58
阅读次数:
152
一、什么是数据? x=10,10是我们要存储的数据 二、为何数据要分不同的类型 数据是用来表示状态的,不同的状态就应该用不同的类型的数据去表示 三、数据类型 数字(整型,浮点型,复数) 字符串 列表 元组 字典 集合 数字 定义: age=10 #本质age=int(10) salary=3000. ...
分类:
其他好文 时间:
2017-08-06 00:18:00
阅读次数:
140
Hints of sd0061 Problem Description sd0061, the legend of Beihang University ACM-ICPC Team, retired last year leaving a group of noobs. Noobs have no ...
分类:
其他好文 时间:
2017-08-05 11:07:54
阅读次数:
166
Find the nth digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... Note:n is positive and will fit within the range of a 32-bi ...
分类:
其他好文 时间:
2017-08-05 00:16:54
阅读次数:
190
#Author:leon product_list = [ ('huawei',5000), ('xiaomi',4000), ('oppo',3000), ('leshi',2000), ] shopping_list = [] #一个空的列表 salary = input('input your... ...
分类:
其他好文 时间:
2017-08-04 12:46:58
阅读次数:
162
一、configparser模块1、配置文件格式如下:#用户信息
;用户信息
[tom]
user=tom
passwd:123
age=18
is_admin=true
salary=31
[jack]
user=jack
passwd:123
age=18
is_admin=true
salary=31总结:配置文件中使用"[]"来写下面的配置的标题,注释信息可以使用“#”和“;”来进行..
分类:
编程语言 时间:
2017-08-04 10:59:35
阅读次数:
225
1.获取唯一记录:distinct select distinct e.employee_name,s.salary from employees e,salary s where e.employee_id=s.salary; 2.分组:group by select e.employee_id, ...
分类:
数据库 时间:
2017-08-04 10:12:34
阅读次数:
196
import sys products = ['PC','Coffee','TV','Car'] shoplist = [] prices = [5000,50,800,20000] salary = input('please input your salary:') while True: fo... ...
分类:
编程语言 时间:
2017-08-03 20:10:01
阅读次数:
166
首选用dplyr包 查看hr有哪些字段名 > names(hr) [1] "satisfaction" "evaluation" "project" "monthlyhour" "serviceyear" "accident" "left" "promotion" "dept" "salary" " ...
分类:
其他好文 时间:
2017-08-03 18:58:49
阅读次数:
187
css3的nth-child选择器的具体探讨 前言 在十年前開始的div+css布局兴起之时,我就開始了CSS的学习和实践.在当年,对于CSS选择器,基本上是没有什么选择性的,仅仅有ID选择器,CLASS选择器,以及元素选择器,当然,还包含#id p 这样的子选择器. 在那个蛮荒时代,各大浏览器对C ...
分类:
Web程序 时间:
2017-08-02 15:36:35
阅读次数:
171