Subtracting from lowest value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nsyr
    New Member
    • Feb 2009
    • 3

    Subtracting from lowest value

    I have a table that has SeqID, BoxID, Sku, Qty. I have multiple boxes of the same item and want to subtract from the Qty with the lowest SeqID only. What are some examples of doing this?
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    Use MIN() to find which one has the lowest value. Then subtract it from there.

    --CK

    Comment

    Working...