两张表合并在一起显示如何写?
两个表:PicNews图片新闻,Article工作快讯
由于图片新闻更新频繁,工作快讯不怎么更新,想在工作快讯中除了显示工作快讯还要显示图片新闻的标题,按更新日期排序。
原始SQL为:1、select top 5 * from PicNews order by UpdateTime desc
2、select top 11 * from Article where SmallClassName='工作快讯' and IsSelected=1 order by UpdateTime desc
如何合并?
合并后asp链接语句怎么写?以前分别是href=“html/PicNewsOpen.asp?ArticleId=”和href=“html/xxzxopen.asp?ArticleId=”