The REVERSE() function reverses a string and returns the result.
REVERSE(
string)
Parameter | Description |
---|---|
string | Required. The string to reverse |
Works in: | From MySQL 4.0 |
---|
Reverse the text in CustomerName:
SELECT REVERSE(CustomerName)
FROM Customers;
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!