I have two tables.
The 1st table has 3 records like the following.
Code:
first (table name)
first_name (column name)
Jane
Tom
Mary
And the 2nd table has 2 records like the following.
Code:
last (table name)
last_name (column name)
Tailor
Smith
I like to get my target result below by a query.
Code:
Jane Tailor
Jane Smith
Tom Tailor
Tom Smith
Mary Tailor
Mary Smith
How can I get my target result above by a query?
|