这个 sql查询有没有有关问题

这个 sql查询有没有问题select * from light where id291 and ppic is not null这个查询语句的条件部分有

这个 sql查询有没有问题
select * from light where id=291 and ppic is not null

这个查询语句的条件部分有没有问题
[解决办法]
id=291 and ppic is not null
id应该没问题
ppic要看列的数据定义了
[解决办法]
绝对没有问题