(135) SQL-Failure. Database respondet: Unknown column 'u.userid' in 'on clause'
Your query was: SELECT u.*, s.party_id, p.* FROM lansuite_user AS u, lansuite_partys AS s
LEFT JOIN lansuite_party_user AS p ON p.party_id=s.party_id AND u.userid=p.user_id
WHERE u.userid=8 AND (p.party_id=1 OR ISNULL(p.party_id)) AND s.party_id=1
Script: ?
|