在我的数据库表中,我有一个“描述”字段,它是一个文本字段。它包含类似的值:
This bracelet is composed of round diamond surrounded by milgrain detailing. Its secure setting prevents it from twisting and ensures it will sit impeccably on her wrist.
This stylish design is the perfect accessory for the day or evening. Akoya cultured pearls are lined up by a string of bezel-set round diamond.
我想查询包含确切单词“钻石”的列
当我查询时,select description from tproduct where description like '%diamond%'
它给了我结果,但它作为通配符查询运行
我想在哪里精确匹配“钻石”
我做了选择description from tproduct where description ='diamond'
但它没有给出任何结果
请告诉我如何查询这个。
谢谢罗米