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?

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

New Challenges
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?

2 hackers solved 9 challenges in 48 hours
Searching for clues by destiny
Digging Deeper by destiny
Profiling Pieces by destiny
Thin Air by destiny
Digging Deeper by amone
Wheel of Fortune by destiny
Speak up by destiny
Adjoined by destiny
Who's the custodian? by destiny

View more stats

Member of The Internet Defense League

Please note: This site now makes use of SSL. Contact me using the contact form should you encounter issues related to this change.

Care and feeding instructions