Planit interview question

How do select certain data from some database diagrams?