title: Get one result on sql
body: <p>Have a website with 2 tables (profile and photo). I want to get one profile with a photo, but I get many photos with same profile. I want just one.</p>
  
  <pre><code>SELECT ph.path as photo, pro.id_profile, pro.name, pro.address 
  FROM profile pro, photo_profile ph 
  WHERE pro.id_profile = 41 
  AND pro.id_profile = ph.id_profile;
  </code></pre>
  
  <p>Please help me!</p>