I've got two columns in the SQL database: SubnetID, SubnetName
Example:
 SubnetID  SubnetName
 1         1.2.3.0/24
 2         1.2.4.0/14
 3         1.2.5.4/30
 ...
 ...
Using SQL code, I need to add another column "IP Address" for each existing row (subnetID, SubnetName).
Output:
SubnetID  SubnetName   IP Address
 1         1.2.3.0/24   1.2.3.0
 1         1.2.3.0/24   1.2.3.1
 1         1.2.3.0/24   1.2.3.2
 ...       ...          ... and so on (till .24)
 1         1.2.3.0/24   1.2.3.24
 2         1.2.4.0/14   1.2.4.0  
 2         1.2.4.0/14   1.2.4.1 
 2         1.2.4.0/14   1.2.4.2
 ...       ...          ... and so on (till .14)
 2         1.2.4.0/14   1.2.4.14  
 3         1.2.5.4/30   1.2.5.4
 3         1.2.5.4/30   1.2.5.5
 3         1.2.5.4/30   1.2.5.6
 ...       ...          ... and so on (till .30)
 3         1.2.5.4/30   1.2.5.30
 ... etc.
So basically first two columns need to stay as is, but additional column will have individual addresses which cover the (.x/x) range.
Thank you very much for any suggestions.
 
     
     
     
    