Pass, Fail or Skipped?

You have three tables in a PostGRE SQL database.
  • users
  • courses
  • user_scores
Recently our organization held mandatory sexual harassment training courses. We need to produce a report for senior staff detailing staff participation and results in this course only. Produce a recordset that will be used to generate the report delivered to management. This recordset must containing the following three columns.
  • Name
    Contains the persons name. Sort ascending.

  • Course
    Contains the name of the course.

  • Score
    Contains the person's score. If the person scored underneath the minimum score for this course, this field should be populated with the text "Failed". If this person has not yet taken the course, this field should be populated with the text "Not yet taken".


Columns must be named exactly.

Good Luck!
Enter your query below and click submit.




Who's beaten this one?
Pseudo
  Pass

There are currently 90 challenges, with a maximum possible value of 354 points.

New Challenges
Rumplestiltskin
Unusual Translation
Hashed II
Beep Beep
JSON and the Argonauts III
JSON and the Argonauts II
JSON and the Argonauts I

Most Popular Challenges
What's that say? I
A curious escape
Computer Talk
What's that say? III
Base 8^2
I came, I saw, I encrypted
What goes there?

5 hackers solved 18 challenges this week
Play Fair! by suchCipher
What's that say? I by bakringle
What's that say? III by bakringle
What's that say? V by bakringle
I came, I saw, I encrypted by pronTooth
Logic Cubed by pronTooth
A different method by pronTooth
A different method by muffinx
Poking Around VI by muffinx
Poking Around III by muffinx
Mixing up the classics by muffinx
Searching for clues by muffinx
Cartoon Arithmetic by muffinx
Base 8^2 by prefix
I came, I saw, I encrypted by prefix
Logic Cubed by muffinx
Parse it fast by muffinx
Terminal Hacking by muffinx

View more stats

Member of The Internet Defense League

Care and feeding instructions