Data retrieval queries and update statements