NEWIDFIRST_VALUE and LAST_VALUE functionsAbout window functionsRandom sampling of rows from a table in SQL ServerTypical problems