delphi 数据集的filterSQL 语句怎么写?用的是TMytable控件  想查询student表中系别department为computer的所有学生的信息  
然后只取出性别和年龄赋值给两个lable在filterSQL属性中 我是这样写的 select * from student where department='computer' 
 //然后当我选Active属性为True的时候 但是这句SQL语句提示不正确 也就没法设置active了   
     label1.Caption := stu_tab.FieldByName('sex').AsString;
      lable2.Caption := stu_tab.FieldByName('age').AsString;