Pergunta de entrevista da empresa Pathao

Phase 3 (SQL Query) i. Given two tables: Write an SQL query to show total salaries of each department along with the department name. Employee Id salary dept_id 1 100 2 2 200 1 3 300 2 4 100 3 Department Id Name 1 A 2 B 3 C

Resposta da entrevista

Sigiloso

13 de set. de 2021

Use Join and GroupBy clause and SUM function.