Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 502243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:16:17+00:00 2026-05-13T06:16:17+00:00

Lets say we have two databases, one named db1, the other one named db2.

  • 0

Lets say we have two databases, one named db1, the other one named db2.
Both databases have a table called Employees. Is there anyway to join results from both tables even though they have the same name?

Note that the two tables do NOT have conflicting field names. I know this is stupid but we had to make an extension database to the existing one and to keep it simple we’d like to have the same table name in both databases.

Help is greatly appreciated, thanks

Also I know there is a similar question answered here but I didn’t find it helpful in this context.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:16:17+00:00Added an answer on May 13, 2026 at 6:16 am

    You should be able to refer to the tables by their fully-qualified names. If they’re in different schemas, you can say:

    SELECT * FROM Schema1.MyTable as T1 JOIN Schema2.MyTable as T2 ON T1.Something = T2.SomethingElse
    

    If they’re actually different databases, you’d need a database link in which case it becomes MyTable1@Database1 etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I have two tables - child and parent with many-to-one relation. What
For simplicity lets say I have two flex mxml pages. form.mxml button.mxml If the
Let's say I have two models, Classes and People. A Class might have one
So let's say I have two different functions. One is a part of the
Brief: I'm fairly new to databases and currently have one with two tables for
Let's say I have two tables: Report Comment And assuming I have a database
Let's say I have two arrays: int ArrayA[] = {5, 17, 150, 230, 285};
Let's say I have two existing tables, dogs and cats: dog_name | owner ---------+------
Let's say we have two classes, Foo and Foo Sub, each in a different
Let's say I have two tables, news and comments. news ( id, subject, body,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.