;with cte as (select top 14 ID from myTable order by NewID()) select T.* from myTable inner join cte on T.ID = cte.ID