If flying in just for a weekend, then choose Sevilla because you will have more flight option. My absolute favorite of the 3 is Cordoba, as it feels less of a big city. And if you want variety in what you can visit around the city, if staying for a week, I would pick Granada.