title: How to get the data from Sqlite database
body: <p>i'm a new android developer i want get the data from sqlite database from three tables such as ItemMaster,ItemGroupMaster,SalesDetail</p>
  
  <p><strong>ItemMaster</strong> <a href="https://i.stack.imgur.com/lLLpx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lLLpx.png" alt="enter image description here"></a>
  <strong>ItemGroupMaster</strong></p>
  
  <p><a href="https://i.stack.imgur.com/MiLJV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MiLJV.png" alt="enter image description here"></a></p>
  
  <p><strong>SalesDetails</strong> <a href="https://i.stack.imgur.com/a2VGR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a2VGR.png" alt="enter image description here"></a></p>
  
  <p>After using this query : <strong>select sd.salesDate,igm.groupName,im.itemName,im.itemprice from salesdetails sd inner join itemmaster im on sd.itemId=im.itemId inner join itemgroupmaster igm on im.groupId=igm.groupId</strong></p>
  
  <p><strong>Result</strong></p>
  
  <p><a href="https://i.stack.imgur.com/HRnxP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HRnxP.png" alt="enter image description here"></a></p>
  
  <p>Now i want get actual result is look like below image <a href="https://i.stack.imgur.com/XelRm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XelRm.png" alt="enter image description here"></a></p>
  
  <p>Please help me 
  Thanks in advance</p>