SELECT
[Employees].[EID],
[Employees].[CashierName],
[Employees].[Active]
FROM
Employees
WHERE
[Employees].[Active]='Yes';
我似乎无法弄清楚上述SQL语句中的错误。它继续给我数据类型不匹配错误
答案 0 :(得分:2)
也许 Active 字段是布尔(是/否)字段。在这种情况下,最好写下这样的条件:
[Employees].[Active]= TRUE