missing expr to use sql function