![]() |
mysql 去掉重复查询记录方法
SQL语句:SELECT `lcontent` FROM `caiji_ym_liuyan`这样查询的时候就会有很多重复的记录
修改后的SQL语句: SELECT distinct(`lcontent`) FROM `caiji_ym_liuyan` 在sql查询中这种方法是在文章的时候需要用到,这样就会防止重复的出现 |
| All times are GMT +8. The time now is 05:53 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.