Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要帮助伙计们!让我在这里举个例子......假设我在mysql的'comment'字段中有这两个条目..
Entry 01: Kindly contact me through my email address entry01@nobody.com Entry 02: Please drop an email to entry02@you.com for more information
我只想从条目中提取电子邮件地址。任何人都可以帮助我吗?
谢谢!
尝试这个
SELECT * FROM your_table WHERE your_column_entry1 LIKE '%nobody.com%' OR your_column_entry2 LIKE '%you.com%'