Add more function to sqldata