我有两个如下表:
TableA --> categoryId(pk), categoryParentId, catName
TableB --> empId(pk), categoryId, empName, empDesignation

我想从其中of等于of中获取catName具有相应 categoryId 的所有内容。请帮忙。TableAcategoryId=2TableBcategoryParentId=2TableA
结果:
1002 SE
1003 MD