上一页 1 ··· 12 13 14 15 16
摘要: 指定的 LINQ 表达式包含对与不同上下文关联的查询的引用。亲 其实你懂的....使用视图 将你需要的两个数据库的表建立起来然后查询就可以了... 阅读全文
posted @ 2012-11-27 17:52 yellowshorts 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 其实 你懂的..../ 是超文本协议的路径分隔符号,所有的网站在浏览器中显示的路径分隔都是以"/"表示.它一般代表虚拟路径.在普通程序代码中则以"\"表示文件路径分隔符号.它一般指物理路径../ 表示在当前路径下,../表示在当前路径的上一级路径下.~/表示当前网站的根目录下. 阅读全文
posted @ 2012-11-26 16:57 yellowshorts 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 分组统计select COUNT(*) as c,CustomerTelp from Customergroup by CustomerTelp查询结果想查找Num大于1的记录目前就想到两个方法方法1:select * from ( select COUNT(*) as num,CustomerTelp from Customer group by CustomerTelp ) a where num>2方法2:with a as ( select COUNT(*) as num,CustomerTelp from Customer group by CustomerTelp )sel. 阅读全文
posted @ 2012-11-23 10:56 yellowshorts 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16