I\'ve created a relational database which looks likes this where the VendorTag table is a many to many relationship table:
My code is as follows:
Q1 =