Unknown column 'user.js' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = user.js and session_id = "fkmau52pbp6o9tjqsogah8flh0"