sql: case when 转换为access中的等价语句
1. 这是SQL Server中的SQL语句:
select status=case when status='0' then '合格' else '不合格' end from tablename;
2. 这是Access中的SQL语句:
select IIF(status='0','合格','不合格') as status from tablename;