PostgreSQL RIGHT JOIN ERROR: syntax error at or near "RIGHT"
<p>Please tell me what is wrong with that sql ?</p>

<pre><code>SELECT users_map.user_id 
FROM users_map
WHERE users_map.service_id = 1
AND users_map.service_user_id = 0
RIGHT OUTER JOIN user_data
ON users_map.user_id = user_data.user_id
</code></pre>