In the first table, where the data is t_info_u129279_cpn_1 , the name of the column is dump , and in the second, where the numbers are simply, the name of the column is user_id that is, the unique user ID after _u (t_info_u129279_cpn_1) , the company number after _cpn_ (t_info_u129279_cpn_1)
I need to compare with the second table the company numbers and user numbers. The problem is that the data in the first table is different: some rows contain t_info_u129279_cpn_1 , some t_info_cpn_1_u129279 delphi
Tell me how to write the correct code in SQL? Need to somehow isolate the numbers from the database?