I have a query returning several records where Points=5.
Table: old_table
Query: old_query
ID Number Points
1 876 5
2 345 5
3 989 5
4 112 5
5 394 5
6 834 5
I would like to search for the records in new_table that meet the condition where Number from old_query is contained in the Name field.
Records 1, 2, 3, 4, 5, 8 would be returned in this example.
Table: new_table
ID Name
1 876-sed
2 876-lkm
3 876-pun
4 112-xyz
5 394-pqr
6 333-abc
7 888-abc
8 394-dfg
Any ideas?
Table: old_table
Query: old_query
ID Number Points
1 876 5
2 345 5
3 989 5
4 112 5
5 394 5
6 834 5
I would like to search for the records in new_table that meet the condition where Number from old_query is contained in the Name field.
Records 1, 2, 3, 4, 5, 8 would be returned in this example.
Table: new_table
ID Name
1 876-sed
2 876-lkm
3 876-pun
4 112-xyz
5 394-pqr
6 333-abc
7 888-abc
8 394-dfg
Any ideas?