
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Search Data from MySQL Table Based on Similar Sound Values
With the help of SOUNDS LIKE operator, MySQL search the similar sound values from the table.
Syntax
Expression1 SOUNDS LIKE Expression2
Here, both Expression1 and Expression2 will be compared based on their English pronunciation of sound.
Example
Following is an example from ‘student’ table which will match the two expressions based on the pronunciation of sound
mysql> Select Id, Name, Address, Subject from student where name sounds like 'hrst'; +------+---------+---------+----------+ | Id | Name | Address | Subject | +------+---------+---------+----------+ | 15 | Harshit | Delhi | Commerce | +------+---------+---------+----------+ 1 row in set (0.00 sec)
Advertisements