Say I have a DB with one table and a list of all citizens in U.S. - around 400 mill. Let's say I have around 10 column in each row and one of them is Age.
Now, if I wanna select all citizens in ages of 20-30 - I will need to go through all the list till the end - is there any other way around it? somehow?
I read about DB normalization and as far as I got it, I can't(won't gain any efficiency) if I'll separate the age into a different column etc.
So is there really nothing to do with things like this, but go from top to bottom each time?