Hey Petter,
If you go for the static entity approach the 0-18 and 18-50 could be 2 separate records. I would suggest to add 2 attributes to your static entity like MinValue and MaxValue where you specify the min/max age values and it would make it easier for you to perform SQL/Aggregate queries based on the selection.
Regards,
Bogdan