Infosys interview question

difference between external and managed table in hive