Note that suggested query doesn’t handle usecase where synonym name is not the same as target sequence name.