You should look into something like that (Note that I can't test it now, this is only a guideline):
SELECT orderr.orderr_customer_name, customer.customer_name FROM customer INNER JOIN orderr_customer_name ON orderr.orderr_customer_name = customer.customer_name WHERE customer_name LIKE '$queryString%' GROUP by customer_name LIMIT 1
Pleasy read the doc: Here