SELECT sum(value) FROM invoice where username='yueer' SELECT count(letters) FROM invoice where username='yueer'
如果yueer这个用户名不存在,
第一个会返回null值,第二个会返回0
SELECT sum(value) FROM invoice where username='yueer' SELECT count(letters) FROM invoice where username='yueer'
如果yueer这个用户名不存在,
第一个会返回null值,第二个会返回0