Introduction to SQL

I.     Course Prefix/Number: CIS 143

       Course Name: Introduction to SQL

       Credits: 3 (3 lecture; 1 lab)

II.    Prerequisite


III.   Course (Catalog) Description

Course provides theoretical and hands-on instruction on data server technology. Content includes relational databases concepts, SQL syntax, SQL commands to create and maintain database objects and to store, retrieve, display, query, and manipulate data, functions, blocks of application code that can be shared by multiple forms, reports, and data management applications; and commands to execute blocks of code. Recommended: CAB140 or comparable experience with a representative database software package and knowledge of a programming language.

IV.   Learning Objectives

Students who successfully complete this course will be able to:

  1. Describe relational database concepts
  2. Write SQL statements
  3. Retrieve, insert, change, and delete data
  4. Create and maintain database objects
  5. Use single-row and group functions
  6. Query data
  7. Control transactions and manage tables
  8. Use basic commands to execute SQL scripts
  9. Develop SQL scripts (blocks of code)
  10. Incorporate looping and decision logic in blocks of code

V.    Academic Integrity and Student Conduct

Students and employees at Oakton Community College are required to demonstrate academic integrity and follow Oakton's Code of Academic Conduct. This code prohibits:

• cheating,
• plagiarism (turning in work not written by you, or lacking proper citation),
• falsification and fabrication (lying or distorting the truth),
• helping others to cheat,
• unauthorized changes on official documents,
• pretending to be someone else or having someone else pretend to be you,
• making or accepting bribes, special favors, or threats, and
• any other behavior that violates academic integrity.

There are serious consequences to violations of the academic integrity policy. Oakton's policies and procedures provide students a fair hearing if a complaint is made against you. If you are found to have violated the policy, the minimum penalty is failure on the assignment and, a disciplinary record will be established and kept on file in the office of the Vice President for Student Affairs for a period of 3 years.

Please review the Code of Academic Conduct and the Code of Student Conduct, both located online at

VI.   Sequence of Topics

  1. Introduction to Relational Databases
  2. Writing basic SQL statements
    1. Select statements
    2. Where clause
    3. Operators
    4. Order by
  3. Single-Row Functions
    1. Character functions
    2. Case conversion functions
    3. Number functions
    4. Date functions
    5. Arithmetic functions
  4. Group Functions
    1. Avg
    2. Sum
    3. Min and Max
    4. Count
    5. NVL
    6. Group by
    7. Having
  5. Displaying data from Multiple Tables
    1. Joins
    2. Aliases
  6. Writing Subqueries
  7. Producing Reports
    1. Interactive reports
    2. Substitution variables
    3. User variables
  8. Environmental commands
    1. Set
    2. Column
    3. Break
    4. Running scripts
  9. Manipulating Data
    1. Insert
    2. Copying
    3. Update
    4. Delete
    5. Commit or rollback data
  10. Creating and managing tables
  11. Constraints
  12. Creating Views
  13. Other Database Objects
    1. Sequence
    2. Index
  14. Writing blocks of code
    1. Syntax
    2. Declaring variables
    3. Looping
    4. If…Then…Else
  15. Handling Exceptions

VII.  Methods of Instruction

  1. Instruction and hands-on computer exercises in the laboratory
  2. On your own, and as background information for each class, you will read the assigned sections or chapters from the text
  3. Quizzes and exams
  4. Classroom and laboratory assignments

Course may be taught as face-to-face, hybrid or online course.

VIII. Course Practices Required

  1. Appropriate attendance
  2. Completion of assignments and tests.
  3. Some material will be presented that is not covered in the book.

IX.   Instructional Materials

Note: Current textbook information for each course and section is available on Oakton's Schedule of Classes.

X.    Methods of Evaluating Student Progress

Quizzes, exams, and a minimum of 7 projects

XI.   Other Course Information

If you have a documented learning, psychological, or physical disability you may be entitled to reasonable academic accommodations or services. To request accommodations or services, contact the Access and Disability Resource Center at the Des Plaines or Skokie campus. All students are expected to fulfill essential course requirements. The College will not waive any essential skill or requirement of a course or degree program.

Oakton Community College is committed to maintaining a campus environment emphasizing the dignity and worth of all members of the community, and complies with all federal and state Title IX requirements.

Resources and support for
  • pregnancy-related and parenting accommodations; and
  • victims of sexual misconduct
can be found at

Resources and support for LGBTQ+ students can be found at

Electronic video and/or audio recording is not permitted during class unless the student obtains written permission from the instructor. In cases where recordings are allowed, such content is restricted to personal use only. Any distribution of such recordings is strictly prohibited. Personal use is defined as use by an individual student for the purpose of studying or completing course assignments.

For students who have been approved for audio and/or video recording of lectures and other classroom activities as a reasonable accommodation by Oakton’s Access Disabilities Resource Center (ADRC), applicable federal law requires instructors to permit those recordings. Such recordings are also limited to personal use. Any distribution of such recordings is strictly prohibited.

Violation of this policy will result in disciplinary action through the Code of Student Conduct.