sum database fields

Results 1 to 2 of 2

Thread: sum database fields

  1. #1
    John C Guest

    Default sum database fields

    I need to do a sum on fields being pulled back from a database. Anyone know how to do it?

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: sum database fields

    Let&#039s say that you wanted to sum up the prices of books that have the word ASP in the title:<BR><BR>SELECT SUM(Price) FROM tblBooks WHERE Title LIKE &#039%ASP%&#039

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •