SQL: SELECT count(p.pid) as num,p.author,p.authorid,m.uid,m.credits,m.posts,m.digestposts ,m.oltime
FROM [Table]posts p left join [Table]members m on p.authorid=m.uid WHERE p.dateline>= and p.dateline< group by p.authorid order by num desc limit 0,10
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and p.dateline< group by p.authorid order by num desc limit 0,10' at line 2
Errno.: 1064
原帖由 <i>zdc2347306</i> 于 2007-4-12 22:56 发表 <a href="https://discuz.dismall.com/redirect.php?goto=findpost&pid=4787893&ptid=579663" target="_blank"><img src="https://discuz.dismall.com/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('https://discuz.dismall.com/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
支持一下,要是能够加上版块查询就更好了。