Andalusia is a large region in southern Spain where you can plan completely different types of vacations within a single trip. It is home to the historic centers of Seville and Córdoba, the Alhambra in Granada, the museums and urban beaches of Málaga, the resort towns of the Costa del Sol, Cádiz and the Atlantic coast, the "white villages" nestled in the mountains, and the Sierra Nevada.
Therefore, when planning a holiday in Andalusia, the first question isn't what to see, but rather which part of the region you want to spend the most time in. Andalusia consists of eight provinces: Seville, Málaga, Granada, Córdoba, Cádiz, Almería, Huelva, and Jaén.
If the sea is your main priority, the Málaga and Costa del Sol area is the most practical choice. If you are interested in historic cities, Seville, Córdoba, and Granada can easily be combined into one itinerary.
However, if you want to see the city, relax on the beach, and visit a few small towns all in one trip, then setting aside at least a week for Andalusia makes perfect sense.