B
Ben8765
Hi,
This is my SQL QUERY:
SELECT Table1.NAME, Table2.NAME
FROM Table1 LEFT JOIN Table2 ON Table1.NAME = Table2.NAME;
The issue is that Table2 has NAME values that should join with NAME values
in Table 1, but have extra characters.
Example:
Table1
-----------
NAME
----
RITSON
KING
STEVENSON
Table2
-----------
NAME
----
RITSON (NORTH LIMIT)
KING (WEST LIMIT)
STEVENSON (SOUTH LIMIT)
I'd like the values to join, even though they don't exactly match.
Is it possible to have a wildcard symbols around a field in a join?
This is what it would look like in my head: (look for the *'s)
SELECT Table1.NAME, Table2.NAME
FROM Table1 LEFT JOIN Table2 ON Table1.NAME = * & Table2.NAME & *;
-Ben
This is my SQL QUERY:
SELECT Table1.NAME, Table2.NAME
FROM Table1 LEFT JOIN Table2 ON Table1.NAME = Table2.NAME;
The issue is that Table2 has NAME values that should join with NAME values
in Table 1, but have extra characters.
Example:
Table1
-----------
NAME
----
RITSON
KING
STEVENSON
Table2
-----------
NAME
----
RITSON (NORTH LIMIT)
KING (WEST LIMIT)
STEVENSON (SOUTH LIMIT)
I'd like the values to join, even though they don't exactly match.
Is it possible to have a wildcard symbols around a field in a join?
This is what it would look like in my head: (look for the *'s)
SELECT Table1.NAME, Table2.NAME
FROM Table1 LEFT JOIN Table2 ON Table1.NAME = * & Table2.NAME & *;
-Ben