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