Given a table salary, such as the one below, that has m=male and f=female values. Swap all f and m values (i.e., change all f values to m and vice ver ...
分类:
其他好文 时间:
2018-03-03 23:24:30
阅读次数:
197
一 介绍 在MySQL管理软件中,可以通过SQL语句中的DML语言来实现数据的操作,包括 二 插入数据 INSERT 四种插入数据方式: 一.插入一条数据 insert into student(id,name,age,sex,salary) values(1,'小猪',18,'男',2500); ...
分类:
数据库 时间:
2018-03-02 22:11:59
阅读次数:
189
请选用MySQL进行测试. 1.将男性和女性的工资互换(E) 思路:使用case when进行条件判断,在使用update进行修改 1 update salary 2 set sex = 3 case sex 4 when 'm' then 'f' 5 else 'm' 6 end 2.找出desc ...
分类:
数据库 时间:
2018-03-02 01:24:17
阅读次数:
242
选择器就是你想去应用样式的时候去帮你选择元素。 ID选择器(#id)、 标签选择器(div,h1,p,ul)、 子选择器(ul < li)、 class选择器(.classname)、 伪类选择器(a:hover,li:nth-child)、 后代选择器(ul li a)、 组选择器、 包含选择器等 ...
分类:
Web程序 时间:
2018-03-01 14:55:10
阅读次数:
178
1.两列多行: HTML: CSS: 这用到了nth-child(),兼容ie9及以上的浏览器,中间的空隙就是两个并排div宽度之和,100%减去后剩下的宽度; 既然提到了nth-child(),那么就要说一下nth-of-type(),也是只兼容ie9及以上的浏览器。它与nth-child的区别是 ...
分类:
Web程序 时间:
2018-02-28 12:56:07
阅读次数:
525
1 Shopping_Cart=[] 2 3 commodity=[("iphone",5000), 4 ("bike",200), 5 ("book",100), 6 ("computer",3000), 7 ("car",10000), 8 ] 9 salary=input("please in... ...
分类:
编程语言 时间:
2018-02-28 10:37:49
阅读次数:
214
题目:Given a linked list, remove the nth node from the end of list and return its head. For example, Note:Given n will always be valid.Try to do this in ...
分类:
编程语言 时间:
2018-02-27 16:02:34
阅读次数:
157
1.题目描述 Given a linked list, remove the nth node from the end of list and return its head. 删除链表中倒数第n个节点 For example, Given linked list: 1->2->3->4->5, ...
分类:
其他好文 时间:
2018-02-27 01:08:54
阅读次数:
180
1、引号使用: 多行变量用三引号 python单双引号相同,当命令内容中有引号时注意最外层引号的使用 2、格式化输出: name=input("name:") age=int(input("age:")) job=input("job:") salary=input("salary:") numbe ...
分类:
编程语言 时间:
2018-02-26 11:35:58
阅读次数:
604
:nth-child(序号) 第几个孩子 :firtst-child 第一个孩子 :last-child 最后一个孩子 :only-child 独生子 ...
分类:
其他好文 时间:
2018-02-23 13:31:40
阅读次数:
207