Added ex4.sql from LSQLTHW