Access custom table in DB

Hi,
checkout this thread:

and in particular this example by @felix-mueller: