Updated lesson SQL