MySql分頁查詢

limit     (pageSize-1)*每頁顯示的個數,每頁顯示的個數sql SELECT id,NAME,typename,health,love,birthday FROM pet數據庫 WHERE owner_id=(SELECT id FROM petowner WHERE NAME=?)session ORDER BY id ASC LIMIT ? ,?";jsp DaoImpl層
相關文章
相關標籤/搜索