Do not select all the data from the db