Answers for "sql min of two values"

SQL
2

t-sql select min from two values

SELECT
PaidForPast=(SELECT MIN(x) FROM (VALUES (PaidThisMonth),(OwedPast)) AS value(x))
Posted by: Guest on April-02-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language