SELECT * FROM 表名 where uid='xxx' and time is not null 转载于:https://www.cnblogs.com/dengyg200891/p/5966381.html