摘要:
SELECT channel_uid,channel,sid,MIN(DATE) AS DATE FROM xxxx GROUP BY channel_uid,channel,sid HAVING DATE='2018-06-13'; SELECT p.channel_uid,p.channel,DATE_FORMAT(a.register_time,'%Y-%m-%d') AS r... 阅读全文
摘要:
在account表中拿取3个字段 A,B ,C建立组合索引 测试sql : desc select id from account where a=1 and b=2 and c=3 ; desc select id from account where a=1 and b=2 ; desc sel 阅读全文