G
Guest
I'm importing raw data from a text file into access. So to make it user
friendly, I'm trying to write an SQL query that renames the imported fields
in each column to a more user friendly name. Here is one example:
SELECT Stats.Database, Count(Stats.Database) AS [Number of Times Accessed]
FROM Stats
where stats.database = Replace("EALR1 - EAST AFRICA LAW REPORTS X.MAIN
CAMPUS", "EALR1 - EAST AFRICA LAW REPORTS X.MAIN CAMPUS", "East Africa Law
reports")
GROUP BY Stats.Database
ORDER BY Stats.Database;
Thanx
friendly, I'm trying to write an SQL query that renames the imported fields
in each column to a more user friendly name. Here is one example:
SELECT Stats.Database, Count(Stats.Database) AS [Number of Times Accessed]
FROM Stats
where stats.database = Replace("EALR1 - EAST AFRICA LAW REPORTS X.MAIN
CAMPUS", "EALR1 - EAST AFRICA LAW REPORTS X.MAIN CAMPUS", "East Africa Law
reports")
GROUP BY Stats.Database
ORDER BY Stats.Database;
Thanx