I have 3 different tables:
process table:
| projectNo | process | studio |
+-----------+---------+--------+
| 170001 | ANM BLD | APEX |
| 170001 | ANM BLD | CANVAS |
| 170002 | CGI MOD | APEX |
| 170003 | CGI MOD | ORBIT |
proc_leader table:
| projectNo | process | proc_leader|
+-----------+---------+------------+
| 170001 | ANM BLD | John |
| 170001 | ANM BLD | James |
| 170002 | CGI MOD | Peter |
| 170003 | CGI MOD | Kate |
proc_checker table:
| projectNo | process | proc_checker|
+-----------+---------+------------+
| 170001 | ANM BLD | Aaron |
| 170001 | ANM BLD | John |
| 170002 | CGI MOD | Peter |
| 170003 | CGI MOD | Adel |
So what i want to do is to create html table to look like this:
| username | studio APEX | studio CANVAS | studio ORBIT |
+----------+-------------+---------------+--------------+
| Aaron | x | x | |
| Adel | | | x |
| John | x | x | |
| James | x | x | |
| Kate | | | x |
| Peter | x | | |
So I want to assign studio from process table to the username. Is it possible to do?