1.

Which clause can be used to sort string values according to a specific collation?(a) SORT(b) GROUP(c) FILTER(d) COLLATEThis question was addressed to me in class test.Origin of the question is Character Set Support in division Using SQL to Manage Data of MySQL

Answer»

Correct answer is (d) COLLATE

The best I can EXPLAIN: 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