Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT *
FROM mail
left outer join Orders
on mail.ID=OrdersID
WHERE Orders IS NOT NULL
UNION
select x.* from
(SELECT top 5000 *
FROM mail
left outer join Orders
on mail.ID=OrdersID
WHERE Orders IS NULL
order by newid()
) x