Minimize namespace declarations in SQL