title: Mysql query of Sum of each department salary
body: <p>I have two table in my database my database structure like this </p>
  
  <p><img src="https://i.stack.imgur.com/3Ellw.png" alt="enter image description here"></p>
  
  <p>My two table value like this</p>
  
  <p><img src="https://i.stack.imgur.com/1npLh.png" alt="enter image description here"></p>
  
  <p>I want like this </p>
  
  <p><img src="https://i.stack.imgur.com/tvk5U.png" alt="enter image description here"></p>
  
  <p>Please help me anyone </p>