请教SQL问题

小弟有个SQL的问题,请大虾们帮忙解决一下,谢谢!!

A表

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">

B表

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">

C表

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">  

我想取得posids=1的文章的display字段,SQL怎么写?

我试过用LEFT JOIN
复制代码
  1. SELECT * FROM
  2. `imgcolor_content` AS a
  3. LEFT JOIN `imgcolor_c_design` AS b ON a.contentid=b.contentid
  4. LEFT JOIN `imgcolor_c_event` AS c ON a.contentid=c.contentid
  5. WHERE posids = 1
  6. ORDER BY updatetime DESC
  7. LIMIT 0 , 5


两条记录都有NULL的字段

也试过INNER JOIN,查不到数据

请知道的帮忙一下,非常感激

作者: 蓝桥魔兽   发布时间: 2011-07-13

还没人愿意帮帮我吗

作者: 蓝桥魔兽   发布时间: 2011-07-13