I have SQL database that contains table of Articles that is related to newspaper table by np_id .
Article Table (id, title , date,newspaperID )
Newspaper Table ( newspaperID , name,logo)
I want to get the List of the News Paper including the total Number articles for each and the Latest article for each Newspaper, I want the result as below :
newspapre1 , Count of Total articles ( 4 articles ) , "I am the latest article", 1/25/2015
newspaper2,7 articles,"i am the latest in newspaper2",1/23/2015
what is the best practice to do such query ?