联表查询

 

设置A为点击数表(hit),B为新闻表(news)。

 

点击数表(hit) 新闻表(news)
hit_id id
news_id category_id
count type
  title
  images
  status
  content