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.
Bundleup - bundle your products and unbundle your orders. Channelup is a product data management solution helping Shopify stores automate their processes. If you require custom development or would like to test out our features contact me at firstname.lastname@example.org