Show how to get the sql object