直播列表查询.sql 464 B

123456789101112131415161718
  1. select t1.tliveid,
  2. t1.createby,
  3. t1.createdate,
  4. t1.tagentsid,
  5. t2.fagentname,
  6. t1.categoryid,
  7. t1.categoryname,
  8. t1.channelid,
  9. t1.channelname,
  10. t1.livestatus,
  11. t1.channelcoverimageurl,
  12. t1.fisneedauth,
  13. t2.fbrand
  14. from tlive t1
  15. inner join tagents t2 on t1.siteid = t2.siteid and t1.tagentsid = t2.tagentsid
  16. where t1.siteid = $siteid$
  17. and t1.tagentsid = $tagentsid$
  18. and $where$