Код:
q.SQL.Text:= 'select count(*) as cnt from LichDan where [Увольнение] ='+QuotedStr('По статье') and
'select count(*) as cnt from LichDan where [Должность]='+QuotedStr('Инженер');
выдает ошибку: [Error] Glavnai.pas(151): Operator not applicable to this operand type