error1***1SET TIME ZONE 'America/Denver'; select * from workers where worker_id in (select worker_id from users where user_id= and users.tenant_id= ) and workers.tenant_id=ERROR: syntax error at or near "and" LINE 1: ...id in (select worker_id from users where user_id= and users.... ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select permission_name,permission_link,permission_new.permission_id from permission_new,(select permission_id , value as per from user_permission where user_id= and user_permission.tenant_id=) as sq where sq.per=1 and sq.permission_id=permission_new.permission_id and permission_new.tenant_id=ERROR: syntax error at or near "and" LINE 1: ... value as per from user_permission where user_id= and user_p... ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from workers,language_pref where language_pref.language_pref_id =workers.language_pref_id and worker_id= and workers.tenant_id=ERROR: syntax error at or near "and" LINE 1: ...pref_id =workers.language_pref_id and worker_id= and worker... ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from workers where worker_id in (select worker_id from users where user_id= and users.tenant_id= ) and workers.tenant_id=ERROR: syntax error at or near "and" LINE 1: ...id in (select worker_id from users where user_id= and users.... ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select permission_name,permission_link,permission_new.permission_id from permission_new,(select permission_id , value as per from user_permission where user_id= and user_permission.tenant_id=) as sq where sq.per=1 and sq.permission_id=permission_new.permission_id and permission_new.tenant_id=ERROR: syntax error at or near "and" LINE 1: ... value as per from user_permission where user_id= and user_p... ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from project where tenant_id=ERROR: syntax error at end of input LINE 1: ... 'America/Denver'; select * from project where tenant_id= ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from workers where worker_role_id <>1 and tenant_id=ERROR: syntax error at end of input LINE 1: ...lect * from workers where worker_role_id <>1 and tenant_id= ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from home_depo_accounts where home_depo_accounts.tenant_id= ERROR: syntax error at end of input LINE 1: ...rom home_depo_accounts where home_depo_accounts.tenant_id= ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from users where worker_id= and tenant_id= ERROR: syntax error at or near "and" LINE 1: ...ica/Denver'; select * from users where worker_id= and tenant... ^error1***1
Setting

error1***1SET TIME ZONE 'America/Denver'; select distinct project_id, case when project.project_status <>-99999 then project.project_name || '' else project.project_name || ' (N)' end as project_name,project_status from project where true and project.tenant_id= and project_id not in (select project_id from propertyganttexempt where propertyganttexempt.tenant_id=) and project_status=1 order by project_name ERROR: syntax error at or near "and" LINE 1: ...from project where true and project.tenant_id= and projec... ^error1***1

error1***1SET TIME ZONE 'America/Denver'; select * from quickaddtask where quickaddtask.tenant_id=ERROR: syntax error at end of input LINE 1: ...r'; select * from quickaddtask where quickaddtask.tenant_id= ^error1***1