Is there a difference between the two? Also, does the commercially available wine vinegar contain any alcohol?
As Blessed Geek indicates, vinegar is made by fermentation of ethanol by "mother of vinegar", a bacterial culture. This is true of all vinegar, not just wine vinegar. The unique flavor profile of various vinegars is the result of other flavors in the base wine or spirit used to produce the vinegar. (Well, some vinegars like true traditionally produced balsamic vinegar get flavor from the casks in which they are produced and aged, but that is a special case.)
Finding definitive and credible sources on the amount of remaining alcohol in the final product after fermentation is difficult. One of the more credible sites indicates no more than about 2% alcohol content remains; other sources seem to indicate about 0.5%.
Unless you are concerned about the laws of Islam, or the possible affect on a recovering alcoholic, this is trace alcohol almost certainly negligible. I am not qualified to comment on what it might mean for those two areas of concern, though.
Vinegar is a by-product of alcoholic fermentation. Rather, alcoholic beverages might be considered the intermediate-product of vinegar-making.