example of using the select statment