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