Unknown column 'resources' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = resources and session_id = "tkkt8c839f3gouhv6ns8sgmbi2"