CREATE TABLE Ref_locations (location_name VARCHAR, location_code VARCHAR)
CREATE TABLE Document_locations (location_code VARCHAR)

Show the location name and code with the least documents.
SELECT T2.location_name, T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY COUNT(*) LIMIT 1
SELECT "T2"."location_name", "T1"."location_code" FROM "Document_locations" AS "T1" JOIN "Ref_locations" AS "T2" ON "T1"."location_code" = "T2"."location_code" GROUP BY "T1"."location_code" ORDER BY COUNT(*) NULLS FIRST LIMIT 1