title: How to select inverse of query
body: <p>Hello I have Three tables one for Users, One for User Services, And One for services</p>
  
  <blockquote>
    <p>the Users table is (id, username, email, password)</p>
  </blockquote>
  
  <p>And </p>
  
  <blockquote>
    <p>The Services Table is (id, Servicename, Servicesdetails, price)</p>
  </blockquote>
  
  <p>And </p>
  
  <blockquote>
    <p>The userservices Table is (id, userid, serviceid, startdate, enddate)</p>
  </blockquote>
  
  <p>When user Log in to his dashboard he can see all services he had.
  And Services he don't have.
  For all services he had I used this query and worked perfectly.</p>
  
  <pre><code>$mysql_servicesadded = "SELECT * FROM services INNER JOIN userservices ON userservices.serviceid = services.id WHERE userservices.userid = '".$user."' ORDER BY userservices.startdate DESC";
  $query_servicesadded = $dblink-&gt;query($m$mysql_servicesadded) or die ("Cannot Get Services");
  </code></pre>
  
  <p>And then Fetch it and echo it
  But to get all services user doesn't have I don't know what query to use.
  Please Any Help</p>