Query for the following out put from the given table : [enter image description here][1]
[1]: https://i.stack.imgur.com/ZThsS.png


I want a output in following ways
table name is exampackage

Free Cardiology Pack(2 Papers Accessible-1 Internal Medicine + 1 Cardiology)
Cardiology Mini Pack (20 Papers) - 2900 RS
Cardiology Mega Pack (43 Papers) - 4900 RS

Free Neurology Pack (2 Papers Accessible-1 Internal Medicine + 1 Neurology)
Neurology Mini Pack (15 papers) - 3900 RS
Neurology Mega Pack(40 Papers)-4900 RS

and so on.... Please help me out