Left Join

select g.description,p.`date`,starttime,endtime,r.`date` from playlist p left join sendrecord r on p.`date`=r.`date`and p. playergpid=r.playergpid,playergp g
where p.playergpid=g.playergpid
and mediaId=119

posted @ 2012-02-24 10:42  chenyizh  阅读(152)  评论(0编辑  收藏  举报