minor SQL change
Revert "minor SQL change"

This reverts commit a656474261de1424844081d74aec1fb00e1c9a34.