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?

3 hackers solved 6 challenges in 48 hours
Stego-what? by Elian
Base 8^2 by ?j
What's that say? IV by ehgey
Base 8^2 by ehgey
What's that say? I by ehgey
What's that say? III by ehgey

View more stats

Member of The Internet Defense League

Care and feeding instructions