select a.*,b.id from a.Goodsimage,b.Goodsinfo
where a.sortid=1 and a.gid=b.id and b.typeid=21
order by a.id desc
图片表Goodsimage,信息表Goodsinfo
这句语法有问题没有??
...全文
463打赏收藏
帮看看这个sql语法有没有问题
select a.*,b.id from a.Goodsimage,b.Goodsinfo where a.sortid=1 and a.gid=b.id and b.typeid=21 order by a.id desc 图片表Goodsimage,信息表Goodsinfo 这句语法有问题没有??