SQL MAX of multiple columns?

后端 未结 22 1814
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 02:03

How do you return 1 value per row of the max of several columns:

TableName

[Number, Date1, Date2, Date3, Cost]

I n

22条回答
  •  灰色年华
    2020-11-22 02:31

    I do not know if it is on SQL, etc... on M$ACCESS help there is a function called MAXA(Value1;Value2;...) that is supposed to do such.

    Hope can help someone.

    P.D.: Values can be columns or calculated ones, etc.

提交回复
热议问题