03 2012 档案
摘要:今天看到的一个Blog上的内容,我把大致内容摘录下来,作为备忘。首先看一下LinkedList和ArrayList的继承关系。public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, Serializablepublic class LinkedList<E> extends AbstractSequentialList<E> implements List<E>, Queue<E>
阅读全文
摘要:1. 说明:复制表(只复制结构,源表名:a,新表名:b) SQL: select*into b from a where1<>1; 2. 说明:拷贝表(拷贝数据,源表名:a,目标表名:b) SQL: insertinto b(a, b, c) select d, e, f from b; 3. 说明:显示文章、提交人和最后回复时间 SQL: select a.title, a.username, b.adddate fromtable a,(selectmax(adddate) adddate fromtablewheretable.title=a.title) b 4. 说明:外
阅读全文

浙公网安备 33010602011771号