赞
踩
- SELECT
- user_mobile
- FROM
- `t_user`
- GROUP BY
- user_mobile
- HAVING
- COUNT( user_mobile ) > 1;
- SELECT
- user_mobile,
- COUNT(*) AS count
- FROM
- `t_user`
- GROUP BY
- user_mobile
- HAVING
- count > 1;
- SELECT
- *
- FROM
- t_user
- WHERE
- user_mobile IN (
- SELECT
- user_mobile
- FROM
- `t_user`
- GROUP BY
- user_mobile
- HAVING
- COUNT( user_mobile ) > 1
- );
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。