MySQL 函数 | left & distinct

2020-08-23  本文已影响0人  乌鲁木齐001号程序员
mysql> select 
  count(distinct left(email,4))as L4,
  count(distinct left(email,5))as L5,
  count(distinct left(email,6))as L6,
  count(distinct left(email,7))as L7,
from SUser;
上一篇下一篇

猜你喜欢

热点阅读