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