我想加入 2 个表,但它们都有电子邮件和密码,我希望这两个表都作为新行加入,而不是彼此相邻
所以而不是:
c.email | c.password | u.email | u.password
company@mail.com companypass user@mail.com userpass
我希望它像
email | password
company@mail.com companypass
user@mail.com userpass
这是我当前的查询,它导致第一个示例:
SELECT
u.email, u.password, c.email, c.password
FROM
korisnici_tbl AS u, companies_tbl AS c