Debug exercise · Hard · Ladder · 17 min · Pro

Empty result

When a read returns no rows, the program loads zeros into the setpoints. Keep the last good values instead.

This exercise is part of Pro. Start the free trial to open it.

How it is checked.

  • Find where the zeros come from
  • Check that a row came back
  • Setpoints keep their last good values

Part of SQL. All practice exercises.