Can SELECT set the minimum or maximum value of two or more values. I need something like this:
SELECT MAX_VALUE(A.date0, B.date0) AS date0, MIN_VALUE(A.date1, B.date1) AS date1 FROM A, B WHERE Bx = Ax
Can I achieve this using MySQL?
sql mysql
Carlos Oct 18 '13 at 9:12 2013-10-18 09:12
source share