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
Base 8^2
What's that say? III
I came, I saw, I encrypted
What goes there?

3 hackers solved 13 challenges this week
What's that say? I by jms1103
What goes there? by jms1103
Logic Cubed by jms1103
What's that say? III by jms1103
What's that say? II by jms1103
What's that say? IV by jms1103
Computer Talk by jms1103
What's that say? V by jms1103
New wave gibberish by jms1103
What's that say? V by chingyinwan123
Encoding is not Encryption by whitecowboy
Adjoined by whitecowboy
I came, I saw, I encrypted by jms1103

View more stats

Member of The Internet Defense League

Care and feeding instructions