In this course, we discuss the general characteristics of SQL; how SQL relates to the database engine and its optimizer. We also discuss the constrains that may limit the efficiency of the optimzer.