Select a row and rows around it

后端 未结 7 2163
庸人自扰
庸人自扰 2020-12-19 15:05

Ok, let\'s say I have a table with photos.

What I want to do is on a page display the photo based on the id in the URI. Bellow the photo I want to have 10 thumbnails

7条回答
  •  旧时难觅i
    2020-12-19 15:40

    Try union all instead. Union requires the server to ensure that the results are unique and this conflicts with your ordering.

提交回复
热议问题