MySQL Join Problem (PHP)
Solved
....
-
..... -
..... -
Hello, so I have 5 tables in my database and I need to display all 5 tables with a single query (SQL join), how can I do that? Please help me. Thank you.
1 answer
-
Hello,
The "union" function should solve your problem:
SELECT last_name, first_name
FROM Table1
UNION
SELECT last_name, first_name
FROM Table2;
Best regards
Exileur
--
Don’t forget to mark your post as resolved when you have received answers to your questions...
In the land of the blind, the one-eyed are kings.