Mysql中左连接的使用
作者: 来源: 添加时间:2006-5-22 11:28:17select count(*) from?user left join?user_profile On user.id=user_profile.id where user_profile.id is null
复杂条件:
select count(*) from?user left join?user_profile On user.id=user_profile.id where user.level>1 or user_profile.money>10000
站内搜索