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