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