↧
Answer by Brian Cline for How to select second table in a query?
It sounds like you're asking how to query and combine the results from two tables through the use of a single query. This can be accomplished rather easily with a UNION in MySQL.(SELECT...
View ArticleAnswer by Jean-Philippe Leclerc for How to select second table in a query?
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...
View ArticleHow to select second table in a query?
I am using this to get customer name for auto complete function.$query = $db->query("SELECT orderr_customer_name FROM orderr WHERE orderr_customer_name LIKE '$queryString%' GROUP by...
View Article