Skip to content

лабораторная работа 3#7

Open
plidan123 wants to merge 1 commit intomainfrom
lab_3
Open

лабораторная работа 3#7
plidan123 wants to merge 1 commit intomainfrom
lab_3

Conversation

@plidan123
Copy link
Owner

No description provided.

Copy link
Collaborator

@misshimichka misshimichka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет! Спасибо за работу)

Итог: 12/12.

Image

select distinct e.empid, e.lastname, e.firstname, e.title
from "HR"."Employees" as e
left join "HR"."Employees" as emp on e.empid=emp.mgrid
where emp.empid is not null
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно было воспользоваться JOIN, тогда фильтрация null значений не нужна.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants