Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT [F2].[Id], [F2].[Name], CONCAT([F2].[Size], 'KB') AS [Size]
- FROM Files AS [F]
- RIGHT JOIN Files AS [F2]
- ON [F].ParentId = [F2].Id
- WHERE [F].[Id] IS NULL
- ORDER BY [F2].[Id] ASC, [F2].[Name] ASC, [F2].[Size] DESC
Add Comment
Please, Sign In to add comment