GetTotals() function from the home screen of my application, I want it to look likesomethingHere.CommandText = @"SELECT x FROM table && SUM ALL x"; or however its written so that the sql execution does the summations for me and I can just write a one-line if statement to return the summation or 0 if no summation exists. Thanks in advance