If on premises rather than cloud based you would need to develop a native app and connect the data with Shopify API: https://shopify.dev/api/admin
If the SQL database is cloud based I’m guessing it must be used by some sort of software to access it. You need to check if that software has any integration possibilities via API etc which could then be used to link data to Shopify.