JOIN by truncated ID
Hi, sql noob, excel genius. I am trying to join two tables in a DB. Table Bs ID field is what ever Table A’s ID field is plus five characters. (Sequential). To join the tables i would need to join by looking at table A ID and Table B ID length minus 5 So a record with BRAVO ID ABCD-12345a-0001 in table B would be joined to table A record APPLE ID ABCD-12345a. How would i write that?
Posted Dec 16, 2023, 5:00 AM UTC
17