USE ds_db01 SELECT customer_name,identity_card_type,birthday FROM customer_inf ORDER BY identity_card_type ASC, birthday DESC