select all fields from table so they can be used in conditionals