Data Migration is a three step process where includes
1. Extraction of Data from Souce (such as Database or flat files etc )
2. Transformation of data
Loading of transformed data to Destination ( such as Database or flat files etc )
This process includes some complex ETL development based on requirement. also requires SQL queries.