mysql - How select a akin records?
Posted
by zeroonea
on Stack Overflow
See other posts from Stack Overflow
or by zeroonea
Published on 2010-03-15T04:15:30Z
Indexed on
2010/03/15
4:19 UTC
Read the original article
Hit count: 155
I have a table with
name varchar
address varchar
country varchar
city varchar
.....
to store address of location
example:
name|address|country
HaLong hotel|156 blahblah street|Vietnam
Hotel Ha Long|156 blah blah|Vietnam
Two rows above is duplicate data.
I have a form, when user submit new location. The code need to find akin records to give a message (ex: This location already in db, use it or create new?)
How to make a query to get akin record like this?
© Stack Overflow or respective owner