使用通配符項目這是我得到了我想要刪除其沒有在phpMyAdmin _01.jpg或MySQL如何刪除在MySQL或PHPMyAdmin中
+----+------+---------------------------+-------+--------------------------------------+
| id | nid | path | style | image_name_path |
+----+------+---------------------------+-------+--------------------------------------+
| 1 | 1002 | 1234567 U14RNMT02_01.jpg | 123 | 1234567-U14RNMT02-SM14B6_01-245.jpg |
| 2 | 1003 | 1234567 U14RNMT02_02.jpg | 123 | 1234567-U14RNMT02-SM14B6_02-245.jpg |
| 3 | 1004 | 1234567 U14RNMT02_03.jpg | 123 | 1234567-U14RNMT02-SM14B6_03-245.jpg |
| 4 | 1005 | 1234567 U14DRYMT07_01.jpg | 123 | 1234567-U14DRYMT07-SM14B6_01-245.jpg |
| 5 | 1006 | 1234567 U14DRYMT07_02.jpg | 123 | 1234567-U14DRYMT07-SM14B6_02-245.jpg |
| 6 | 1007 | 1234567 U14DRYMT07_03.jpg | 123 | 1234567-U14DRYMT07-SM14B6_03-245.jpg |
+----+------+---------------------------+-------+--------------------------------------+
Use NOT LIKE。它在用戶文檔中。 – GordonM 2014-09-23 09:08:11