So i have two table that looks like this:
Table 1
IP | Product | Version
192.x.x.x | IBM BD2 | 9.7
Table 2 (A string, that is somewhat a concat of Product and Version)
ID | Platform | Description
50 | IBM DB2 9.7 < FP11 40690 | This is XYZ
I want to be able to search Table1.Product and Table1.Version against Table2.Platform and return something like the following.
Table 3
Product | Version | Description
IBM DB2 | 9.7 | This is XYZ
I have tried using IS LIKE and INSTR but these don't seem to work.
Im not sure if its possible as the two tables have no relationship and the matches won't be exact, I'm looking for a sort of "Find in String" to isolate the product and the version out of the platform string.
My current query is:
SELECT Table1.Product Table1.Version Table2.Description FROM Table2, Table1 WHERE Table1.product IS LIKE Table2.platform
Error: near "Table2": Syntax Error