sql commands to use with ES rivers for Vascan