It's been month's since i wrote this thing and have no idea what it does or why, other then it selects a bunch of distinct rows from a table with many duplicate entries.
SELECT First([import_table].[server_name]) AS [server_name Field], First([import_table].[filesystem]) AS [filesystem Field], First([import_table].[filesystem_size]) AS [filesystem_size Field], First([import_table].[filesystem_used]) AS [filesystem_used Field] INTO nodupe_fs_table
FROM import_table
GROUP BY [import_table].[server_name], [import_table].[filesystem], [import_table].[filesystem_size], [import_table].[filesystem_used]
HAVING (((Count(import_table.server_name))>0) AND ((Count(import_table.filesystem_used))>0));
How does that go through a table and make sure it displays only 1 of each line, getting rid of all the extra duplicates?
SELECT First([import_table].[server_name]) AS [server_name Field], First([import_table].[filesystem]) AS [filesystem Field], First([import_table].[filesystem_size]) AS [filesystem_size Field], First([import_table].[filesystem_used]) AS [filesystem_used Field] INTO nodupe_fs_table
FROM import_table
GROUP BY [import_table].[server_name], [import_table].[filesystem], [import_table].[filesystem_size], [import_table].[filesystem_used]
HAVING (((Count(import_table.server_name))>0) AND ((Count(import_table.filesystem_used))>0));
How does that go through a table and make sure it displays only 1 of each line, getting rid of all the extra duplicates?