有办法分页吗
{dede:sql sql="select dede_archives.id,dede_archives.litpic,dede_archives.title,dede_archives.description,dede_addonarticle.gstime from dede_archives LEFT JOIN dede_addonarticle on dede_archives.id = dede_addonarticle.aid where dede_archives.typeid=3"}
<li></li>
{/dede:sql}
æ¬äººæ°æï¼æ²¡ç太æï¼è½è¯´æç½ç¹å
追çselect col1,col2...... (select top 20 col1,col2...... from (select top 20*@page col1,col2...... from tb order by id) as t order by id desc) as tt order by id
è¿å¥ç»ä½ 解éä¸ä¸ï¼æä½ éè¦çæ°æ®å
ç¨ååºæ¥è¯¢åºï¼å¹¶åå 页ç *20ï¼å³æ¯é¡µè¡æ°ï¼æ¡è®°å½ï¼æ¥çæå页ç *20æ¡è®°å½éåºæååï¼åå20æ¡è®°å½ï¼è¿æ ·ä½ å°±åå°è¯¥é¡µç20æ¡è®°å½äºï¼ä½æ¯è¿20æ¡è®°å½æ¯ä»¥éåºæåçï¼ä¸ç¬¦åè¦æ±ï¼æ以æååå°è¿20æ¡è®°å½è¿è¡ååºæåã