-- In this MySQL challenge, your query should return the names of the people who are reported to (excluding null values), -- the number of members that report to them, and the average age of those ...
DECLARE @query VARCHAR(1000), @dbname_loop VARCHAR(255), @count int, @usedlogsize bigint, @logsize bigint; DECLARE @sqlcmd NVARCHAR(1000), @sqlparam NVARCHAR(100), @filename VARCHAR(255), @i int, ...