I'm a bit new to the QGIS world. I have been trying to set up a print composer layout with PyQGIS. I want to generate a map and add a table beneath. I would like to get the source of the data for this table by running an SQL command - is this possible and how? I am asking because I see suggestions to convert / load the data from CSV but my process is a bit different from that. So can I add this table by running an SQL command on my database?