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