An SQL example and impr on mgmt intf