select * from topics order by views desc limit 3 offset 39;
in result i have rows with ids - 151, 49, 21;
Next, make another request -
select * from topics order by views desc limit 3 offset 42;
in result i have rows with ids 49, 176, 117
Values of views column are equals
How i can except duplicates ids(49)?
MySQL (ver. 8.0.32)
use distinct
Обсуждают сегодня