From 65423f0207ef45c57a9dae44adbfcfbe6b83e5dd Mon Sep 17 00:00:00 2001 From: dtookey Date: Fri, 15 Apr 2022 12:14:52 -0400 Subject: [PATCH] tweak to contributions.sql to use table alias --- src/sql/0-run-first/contributions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/0-run-first/contributions.sql b/src/sql/0-run-first/contributions.sql index 7cfff40..b6372fe 100644 --- a/src/sql/0-run-first/contributions.sql +++ b/src/sql/0-run-first/contributions.sql @@ -6,7 +6,7 @@ SELECT CONCAT(users.lname, ', ', users.fname) AS `Eng CONCAT(SUBSTR(project_lifecycle.project_number, 1, 3), ' - ', IF(ap.proj_type = 'Warranty', 'Structural', ap.proj_type)) AS `Region`, clients.name AS `Client`, - all_projects.description AS `Description` + ap.description AS `Description` FROM users INNER JOIN project_lifecycle ON pkey = modifier INNER JOIN all_projects ap on project_lifecycle.project_number = ap.refnum