Query failed: ERROR: invalid input syntax for integer: "" LINE 1: ...OIN clientlogin as cl ON (cm.client_id=cl.id) WHERE cm.id='' ^
SELECT cl.im,cl.username,cm.* FROM clients_meta as cm LEFT JOIN clientlogin as cl ON (cm.client_id=cl.id) WHERE cm.id=''