I have to deal with an older database. In this database no relation was used, instead the references have been stored as a comma separated list :-( Now I need to execute a statement like this
My problem is, that 1,2,3 is a value stored in one row of another table
So how to combine this in SQL? My naive approach
results in: convert 1,2,3 to numeric not possible. |