It has more to do with the preference of the man or woman that built that specific function in SQL... I seriously doubt there are any good studies that show someone would be more likely to leave a trailing comma than a preceding one. But I've been wrong before.