I have two table in database.
Table1 -> Name
Table2 -> Name
What will be query to get all the “Name” from Table1 and Table2 into single Column.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This query returns the value from the Name column from Table1 and the Name column from Table2, concatenated together into a single resultset.
(This was my understanding of what you were looking for.)
If you want just a “distinct” list of Name values (exclude duplicate occurrences of the same value), then remove the
ALLkeyword.