www.bersaty.com
摘要: 通配符选择器:{margin:10px 0px 0px 10px;/*四个值分别表示上,右,下,左*/margin:10px 0px 0px;/*如果margin给出3个值,表示上,左--右,下*/padding:0px;/*和margin一样*/}父子选择器:#style span{font-style:italic;color:red;}#style span{font-size:50px}注意:子选择器标签是html可以识别的标记html文件中如何适用多个选择器,不能有2个以上ID选择器:新思维1.引用多个class选择器时,用空格隔开。2.class选择器发生冲突时,以在css文件中, 阅读全文
posted @ 2013-08-23 14:20 bersaty 阅读(171) 评论(0) 推荐(0) 编辑
摘要: List结构的集合类:ArrayList,LinkedList,Vector,StackMap结构的集合类:HashMap,HashTableSet结构的集合类:HashSet,TreeSet;Queue结构集合:Queue接口ArrayList,LinkedList,Vector,Stack:ArryList和Vector都是java的集合类,都可以用来存放对象,这是相同点。1.Vector是同步的,ArryList是异步的。因此ArryList中的对象并不是线程安全的。2。数据增长:ArryList和Vector都是使用数组(Array)来控制集合中的对象。当你向这两种类型中增加元素的时候 阅读全文
posted @ 2013-08-23 14:20 bersaty 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 拼接:/*连接和使用别名*/select concat(vend_name,'(',vend_country,')') as vend_titlefrom vendersorder by vend_name;执行算术计算:/*quantity*item_price形成一个新列expanded_price*/select prod_id, quantity, item_price, quantity*item_price as expanded_pricefrom orderitemswhere order_num = 20005; 阅读全文
posted @ 2013-08-23 14:20 bersaty 阅读(163) 评论(0) 推荐(0) 编辑