title: Replace INTERSECT to work with phpmyadmin
body: <p>I'm fairly new to SQL and phpmyadmin, but in my query I have an error at intersect and I am wondering how to change that so it will print my table. </p>
  
  <pre><code>SELECT cust_code, cust_fname, cust_lname FROM lgcustomer join lginvoice         
  USING (cust_code) WHERE employee_id = 83649
  
  INTERSECT
  
  SELECT cust_code, cust_fname, cust_lname FROM lgcustomer join lginvoice      
  USING (cust_code) WHERE employee_id = 83677
  
  ORDER BY cust_lname, cust_fname;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/lRbs1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lRbs1.jpg" alt="What it is suppose to look like"></a></p>