Queries for populating edit form.