答案:复制代码 代码如下:SELECT IF(AVG(cai.conversionsRate) IS NULL,0,AVG(cai.conversionsRate)) AS conversionsRate FROM campaign_info cai WHERE insertTime BETWEEN '2011-02-01' AND '2011-02-04' AND googleCampaignId=23331401
上一个:让MySQL数据库跑的更快 为数据减肥下一个:SQL SERVER 2005 最小安装经验