In the Local field mapping settings, you answer the question, what name does the external database use for the course? In the following screenshot, you can see that you have three choices:
In Moodle, every course has an ID. The front page of your Moodle site is always course number 1. The next course that you create is course number 2 and so on. In your external database, you can use this ID to specify your courses. However, I recommend against using the ID in an external database; let me explain why.
Suppose you install a new version of Moodle. Then, you export your courses out of your old Moodle installation. Now, suppose ...