Kelas Programming
PHP, HTML5, CSS, JS, C++, Java
Monday, December 26, 2016
Pilih Next Record Atau Previous Record
select * from test where id = 8
union all
(select * from test where id < 8 order by id desc limit 1)
union all
(select * from test where id > 8 order by id asc limit 1)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment