顾名思义,Mysql SOUNDS LIKE 运算符将从表中搜索相似的声音值。其语法为“Expression1 SOUNDS LIKE Expression2”,其中,Expression1 和 Expression2 将根据其声音的英语发
顾名思义,Mysql SOUNDS LIKE 运算符将从表中搜索相似的声音值。其语法为“Expression1 SOUNDS LIKE Expression2”,其中,Expression1 和 Expression2 将根据其声音的英语发音进行比较。
以下是“student_info”表中的一个示例,它将根据声音的发音匹配两个表达式 -
mysql> Select * from student_info where name sounds like 'grov';
+------+--------+---------+------------+
| id | Name | Address | Subject |
+------+--------+---------+------------+
| 105 | Gaurav | Jaipur | Literature |
+------+--------+---------+------------+
1 row in set (0.00 sec)
mysql> Select * from student_info where name sounds like 'rmn';
+------+-------+---------+-----------+
| id | Name | Address | Subject |
+------+-------+---------+-----------+
| 125 | Raman | Shimla | Computers |
+------+-------+---------+-----------+
1 row in set (0.00 sec)
--结束END--
本文标题: MySQL SOUNDS LIKE 运算符有什么用?
本文链接: https://lsjlt.com/news/437294.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0