Add good SQL queries in room's view