tweak to contributions.sql to use table alias

master
dtookey 4 years ago
parent 8cfc26b68b
commit 65423f0207

@ -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

Loading…
Cancel
Save