Understanding Db sync across my 2 Work machines

I’m really not understanding how to use the same db at my 2 desks.
if i have a db called ‘ccb’ when you go to preferences and hit sync, i see a local and a remote db called ccb.
This confuses me, and i cannot see any clear documentation anywhere re sync between 2 devices.
My guess is when i shutdown at one location db goes up to icloud.
when i get to other desk i double click the remote version and ‘import’ database.
is that right and btw i found nothing in help of here in discourse re this?

Did you create the db “ccb” on one device or on both? If the latter you have created two dbs of the same name which could explain having both a remote and a local one.