Hello,
The only train available at Malaga airport is the commuter train. This train will take you to the train station "Maria Zambrano" in Malaga, from where you can take the train to Cordoba.
If you bring many luggage you might prefer to book a transfer to the station, just check
here for options.