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