Postgresql 博士后左联

Postgresql 博士后左联,postgresql,left-join,Postgresql,Left Join,确定此SQL查询有什么问题: select j.* from judge as j left join user as u on j.user_id = u.id where u.email="john@example.com"; ERROR: column "john@example.com" does not exist 您使用的是双引号,实际上应该使用单引号。 单引号表示值,双引号表示列和表等。

确定此SQL查询有什么问题:

select j.* from judge as j 
left join user as u on j.user_id = u.id 
where u.email="john@example.com";
ERROR:  column "john@example.com" does not exist

您使用的是双引号,实际上应该使用单引号。 单引号表示值,双引号表示列和表等。