Home » MYSQL » MySQL Character Set » Question
  1. Which clause can be used to sort string values according to a specific collation?
    1. GROUP
    2. FILTER
    3. COLLATE
    4. SORT
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.