Edited the query to get hte food and sport history

Still taking from a database that doesnt exist, needs to be fixed