Skip to content

Tag: sql-server

OFFSET doesn’t work when a column is sorted with all NULLs

I don’t understand why the OFFSET clause doesn’t work when I’m retrieving a table sorted by a column that contains all NULL values? For example, let’s say I have a table People with ID, Gender, and Race columns. The Race column contains all NULL values. When I run these to queries, why…