Implemented action to show all queries.