This is a library that join cursor with external key.