Database Tutorial

Course Tutorial Site

Site Admin

Help Section

without comments

Lab #7: SELECT-list Decision Making

Learn how to use the CASE operator to perform calculations in the SELECT-list of a query, re-enforce skills on how you use the INSERT statement, and learn how to update column values through correlated UPDATE statements.

Help Section

The following reading and articles are important preparation for this lab. Please make sure you read them and understand the concepts and techniques in them.

The following sections help you solve the logic sections of Step #4 in the lab:

Implementing Logic A: WHERE Clause

Implementing Logic B: Conditional Logic for the start_date column

Implementing Logic C: Conditional Logic for the end_date column

Implementing Logic D: Conditional Logic for the amount column

Written by michaelmclaughlin

August 13th, 2018 at 11:24 am

Posted in