Unknown column 'public' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = public and session_id = "7l3ubikv59qjv3fj27ja8or0v1"