News
Anyone know the best way to write a median aggregate function in ms sql server 2k? I've seen a couple ways of doing it when I briefly searched google but they weren't presented as functions.
Oracle, SQL Server, Postgres, DB2 - the list goes on.<BR><BR>The reality is you have to restructure your query. A CTE isn't necessary, but will likely make the query more readable.
SQL window functions provide extremely powerful and useful features that let you work with observations more easily. Different types explained here.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results