You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH MyEmployees AS (
SELECT TOP 5 WITH TIES
D.FullName,
D.Region,
D.CountryFROM (
SELECTe.FirstName+''+e.LastNameAS FullName,
e.Region,
e.CountryFROM Employees e
WHEREe.Country='USA'UNION ALLSELECT'Immo Landwerth',
'Bavaria',
'Germany'
) D
ORDER BY D.Country
)
SELECTe.FullName,
e.CountryFROM MyEmployees e
The text was updated successfully, but these errors were encountered:
Ported from CodePlex
This query causes an infinite loop:
The text was updated successfully, but these errors were encountered: