Explain the difference between a data analyst and a data engineer.
For this SQL exercise, use the supplied role and responsibility tables to compare the two roles. Return the number of listed responsibilities and the primary focus for each role.
role_name, responsibility_count, and primary_focus| Column | Type | Description |
|---|---|---|
| role_idPK | INT | Unique role identifier |
| role_name | VARCHAR(100) | Name of the role |
| role_description | VARCHAR(255) | Short description of the role |
| Column | Type | Description |
|---|---|---|
| responsibility_idPK | INT | Unique responsibility identifier |
| role_id | INT | Role associated with the responsibility |
| responsibility_name | VARCHAR(150) | Description of a responsibility |
| work_type | VARCHAR(50) | Broad category of work |