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