Content Query Web Part could be used to create custom views of data that is queried from many sources, and present that data all in one place. After you add the Content By Query Web Part to a Web page, you can customize the Web Part's querying behaviors and also the look and feel to display data appropriately.
It can also be used in many scenarios, some examples below:
1.If you have a site collection with a root site and you want to bring in and display the most recent blog posts from all blog sites within its own site collection…. Yes you can use CQWP for this.
2.If you want to bring in and show all the events in a group calendar on the root site from the sub-sites created below.
3.You can also bring in data views from a document library or lists and filter it and show it dynamically.
4.If you have a site collection with a root site and you want to bring in and display the Announcements from all sites within its own site collection. Yes you can use CQWP for this.
But the Main point to remember while using CQWP we can display only two columns Title and Description .
If you want to display more custom columns then we need to edit the XSLT then we will display how many columns we want.
Source: http://sharepointlogics.com/20 | Asked In: Many Interviews |