摘要:
1 USE [ibcs_wuhu_true] 2 GO 3 /****** Object: StoredProcedure [dbo].[P_RP_JBXX_XHQK] Script Date: 04/20/2011 09:55:43 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET QUOTED_IDENTIFIER ON 7 GO 8 /* 9 用户销户情况一览表10 P_RP_JBXX_XHQK '00','','2010-12-06','2011-01-28'11 P_RP_JBXX_XHQK 阅读全文
摘要:
SQL语句inner join,left join ,right join连接的不同之处表A记录如下: aID aNum 1 a20050111 2 a20050112 3 a20050113 4 a20050114 5 a20050115 表B记录如下: bID bName 1 2006032401 2 2006032402 3 2006032403 4 2006032404 8 2006032408 实验如下: 1.left join sql语句如下: select * from A left join B on A.aID = B.bID 结果如下: aID aNum bID bName 阅读全文