simple elegant sql for nodejs