Testing the select statement.