I have two tables, table A and table B. I have two attributes L1 and L2 for each table. I am trying to print all rows for both tables, where L1 and L2 are equal for both tables. The problem is that L1 and L2 may differ from my small size. So when I run:
SELECT * FROM TableA l1 join TableB l2 on l1.L1 =l2.L1 and l1.L2 = l2.L2
I get an empty set, even if there are records that match. How to solve this problem?
Example:
L1 = 118.4363 for table A, but for table B L1 = 118.445428
source share