Hello @AhmedAssad-8581 ,
it seems you want to read data from a device that contains a database?
In that case, write a custom IoT Edge module that is able to execute the SQL query (once every x seconds?) and transforms the result into messages which can be sent to the IoT Hub.
To build a custom module, you need to use any of the programming languages which are supported by Azure IoT edge SDKs. An example is this NodeJS tutorial. There are also tutorials for C, C#, Python, and Java.
Some examples of already built modules can be found here.
Depending on your use case, you can transform each row into a message or all rows into a single message. There is a 256K limitation to a single message.
Regarding IoT Central, you need to define an IoT Edge device template first for your edge device and the model. For this, you need to create the deployment manifest first. So I recommend starting with Azure IoT Hub first.