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