I am trying to create a view in my MySQL database, but I am encountering a few issues:
Missing datasheets Table: The view is trying to reference a datasheets table, which does not exist in my database. The data that should be included in the view seems to be stored under attachments with attachment_types. The query fails with the error:
Error Code: 1146. Table 'partdb.datasheets' doesn't exist
How can I adjust the view to pull the correct data from attachments instead of datasheets?