"can sql functions such as min() or max() destroy record integrity" . . . . .