Unknown column 'extra' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = extra-services and session_id = "badeqs034cdvh8kfmomkvl5vc5"