Query the Demography Database