I am new to SQL and currently creating a custom report page for a local moodle install. I have had success joining tables to get the information I need, but this logs table (in the graphic) has me stumped. I would like to show in my query the "human" name of the objectID using a join, but there are many duplicate objectID's that relate to data found in different tables. The objecttable column shows the table name the objectID is located/related to, but how should I approach creating joins that takes both the objecttable and objectID into consideration?
Thanks, Jamie.