Chinaunix首页 | 论坛 | 博客
  • 博客访问: 678434
  • 博文数量: 194
  • 博客积分: 3831
  • 博客等级: 中校
  • 技术积分: 1843
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-28 13:24
文章分类

全部博文(194)

文章存档

2012年(41)

2011年(42)

2010年(45)

2009年(66)

分类: 数据库开发技术

2010-12-06 10:42:08

   对列表中的SQL语句做一下设置:select t1.tr_name ,t2.* from CCII_TRAINORG t1 left join CCII_TRAINORG_TEACHER  t2  on t1.trid = t2.trid where 1=1  $Q{CCII_TRAINORG,t1} $Q{CCII_TRAINORG_TEACHER, t2}
   对应解释为:select t1.tr_name ,t2.* from CCII_TRAINORG t1 left join CCII_TRAINORG_TEACHER  t2  on t1.trid = t2.trid where 1=1 and t1.key1 = value1 and t2.key2 = value2
列表单元中的列表项多表联合查询和显示。
阅读(481) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~