How to use the select statement