The easiest way may be to create a CSV and import the CSV into the SQL table.
Get-ADGroup -Filter "name -like 'DL'" | #Is the filter correct? Or should it be "DL*"?
Sort-Object name |
ForEach-Object
$groupname = $_.name
Get-ADGroupMember $_ |
Sort-Object name |
ForEach-Object{
[PSCustomObject]@{
Group = $groupname
Members = $_.SamAccountName
}
} | Export-Csv SomeFileName.csv -NoTypeInformation
If you want to use PowerShell to import the CSV there are examples of how to do this if you search for "powershell import csv into sql".