MESPL interview question

Explain about the XML Publisher , SQL Queries, Tables in p2p cycle steps