摘要: 目录类与结构的实例比较类与结构的差别如何选择结构还是类类与结构的示例比较结构示例public struct Person{ string Name; int height; int weight public bool overWeight() { //implement something }}类示例public class TestTime{ int hours; int minutes; ... 阅读全文
posted @ 2009-05-26 22:37 rudyfung 阅读(729) 评论(0) 推荐(1) 编辑
摘要: 左外连接,右外连接,全连接,内连接。四种连接的差异例子: a表 id name b表 id job parent_id 1 张3 1 23 1 2 李四 2 34 2 3 王武 3 34 4 a.id同parent_id 存在关系 内连接 select a.*,b.* from a inner join b on a.id=b.parent_id 查询结果与 select a.*,b.*... 阅读全文
posted @ 2009-05-26 22:29 rudyfung 阅读(291) 评论(0) 推荐(0) 编辑