I have a table with 9 rows.
$id=5
If i use SELECT * FROM tbl WHERE id>=$id
i get the 5,6,7,8,9 rows. To this query I want to add the result of SELECT * FROM tbl WHERE id<$id
so I will get the final 5,6,7,8,9,1,2,3,4 rows.
This is to avoid going two times in database then add the result set in php.
EDIT: Yes order is important. Thank you guys for the fast response. Thank you @knittl(Accepted answer) and @Swanand for the best answers.