An Error Was Encountered

Error Number: 1327

Undeclared variable: SESSID

SELECT * FROM `ems_list` WHERE `flag` !='0' ORDER BY `activation_time` ASC,`activation_date` ASC LIMIT SESSID:7170e077b496fe6777133f2dcabcd231,20;