How to load images into SQL table, and how to extract metadata from SQL tables?

Hello! This is my first time asking a question. I am working with a small team to develop an app that links to AI open source code, which studies data from SQL tables to make predictions. The AI program we are using often relies on images to classify its data. I am the person on the team with the most SQL experience, but the idea of loading images into tables is fairly new and complex to me. Our team leader suggested researching the use of table metadata to grab specific SQL columns to import into CSV files for AI processing. How does SQL Serer, or SQL engines in general, capture table metadata?‚Äč