1

我需要帮助伙计们!让我在这里举个例子......假设我在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

我只想从条目中提取电子邮件地址。任何人都可以帮助我吗?

谢谢!

4

1 回答 1

1

尝试这个

  SELECT * 
  FROM your_table 
  WHERE your_column_entry1 
  LIKE  '%nobody.com%' 
  OR your_column_entry2 LIKE '%you.com%'
于 2013-01-18T01:36:23.863 回答