Welcome to Microsoft Q&A Platform. Thank you for the question.
You can build your logic app workflow like:
Get File Content (From Sharepoint) --> List Rows present in a table (having filter query) --> Insert row (SQL Server connector to insert the data.)
Apart from this if you have tried some different design then let us know so we can review or if in case have any issue then please post it on Microsoft Q&A Platform.
Regards,
Kamlesh Kumar
Please don't forget to click on or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is How
Want a reminder to come back and check responses? Here is how to subscribe to a Notification
If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators