1.

The clause that can be used to sort string values according to a specific collation is ______________(a) SORT(b) GROUP(c) FILTER(d) COLLATEI got this question in an internship interview.Question is taken from Securing a New MySQL Installation topic in section General MySQL Administration of MySQL

Answer»

The correct option is (d) COLLATE

For explanation I would SAY: The ‘COLLATE’ OPERATOR can be used to sort the string values according to a specific collation. For example, ‘SELECT COL FROM tbl ORDER BY col COLLATE latin1_swedish_ci’ SORTS by Swedish collation.



Discussion

No Comment Found

Related InterviewSolutions