SQL Query for 500.000 records (gen_persons table)

Just to have a large dataset ....