I have a below query and it's working now I have to show the latest records of each user. I am using below query.
 SELECT 
  * 
FROM 
  company21 as c 
  inner join industryList as ind on c.industry = ind.industry_id 
  left join company21_badge_list as bd on c.badge_logo = bd.bd_id 
  left JOIN company21_login as l on c.login_id = l.login_id 
WHERE 
  c.company_id =(
    SELECT 
      MAX(company_id) AS c_id 
    FROM 
      company21 
    where 
      login_id = 4   // here I used 4 to display the records of 4th user
    GROUP BY 
      login_id DESC
  ) 
  and c.is_active = 1 
  and c.is_saved = 1 
  and c.send_for_approval = 1
I have to show all the records of each user.
 
    