I have two database tables one called clients, the other one users. I'm trying to select single field "email" from both tables. Note, that email field is in both tables.
Table clients contains 10 records, while users has 5 records.
The below query works, but for some reason records are repetitive, so instead of getting 15 records in total, I end up with 50. Seems like records from one table are multiplied by records from other table.
SELECT
clients.email,
users.email
FROM
clients,
users;
Any help would be appreciated.