task 4

From Ilya, 9 Months ago, written in Plain Text, viewed 415 times.
URL http://codebin.org/view/65273782 Embed
Download Paste or View Raw
  1. SELECT s.last_name AS employee_last_name,
  2.        ss.reports_to AS manager_last_name
  3. FROM staff AS s
  4. LEFT JOIN staff AS ss ON s.employee_id=ss.reports_to
  5. GROUP BY 1, 2
  6.  
  7. SELECT DISTINCT s.last_name AS employee_last_name,
  8.        ss.reports_to AS manager_last_name
  9. FROM staff AS s
  10. LEFT JOIN staff AS ss ON s.employee_id=ss.reports_to

Replies to task 4 rss

Title Name Language When
Re: task 4 Ivory Tortoise text 8 Months ago.

Reply to "task 4"

Here you can reply to the paste above