Error Query [SELECT * FROM work WHERE workid=]