Documentation Home
MySQL 8.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 39.8Mb
PDF (A4) - 39.9Mb
Man Pages (TGZ) - 257.9Kb
Man Pages (Zip) - 364.9Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 8.4 Reference Manual  /  ...  /  COLLATE Clause Precedence

12.8.2 COLLATE 子句优先级

COLLATE 子句的优先级很高(比||高),因此以下两个表达式是等价的:

x || y COLLATE z
x || (y COLLATE z)