I have two Tables
**DB1**
users
prices
. . .
and
**DB2**
users
prices
. . .
Both are for a different Website, What I want to do is the make both users table a single table, And any user signs-up in one of the two website is signed in the other one too,
What I thought about was making a DB3 has users table, Then linking it with DB1 and DB2, But I really have no idea how to do that nor if this is the only way to make a single users table for two different websites at the same time.
Also I'll be using for example if there is Three Tables Queries needs to be connected with the 3rd Table like this
SELECT * FROM users[db3] INNER JOIN prices[db2] WHERE price > 0
in case I'm preforming a query of the db2 website, or
SELECT * FROM users[db3] INNER JOIN prices[db1] WHERE price > 0
in case it is on db1 website, How exactly do I do that?