确定此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
答案 0 :(得分:1)
您使用双引号,而实际上应该使用单引号。 单引号表示值,而双引号表示列和表等。 You can find out more about the difference here.