Welcome to The Lesson Plans Page, home to over 2,000 Free lesson plans for teachers in science, social studies, art, language arts, PE, and math lesson plans! Activities, Lessons, Thematic Units, elementary education / educational resource for parents, teachers, home school, teacher stories, inspirational stories, inspirational teacher stories, teacher inspiration
Sign up for HotChalk's Free Online Tools and Resources
Click to Take a Tour of HotChalk's Online Tools

Join Newsletter


Search This Site!



Understanding Structured Query Language (SQL)
Math Language Arts Science Social Studies Art Computers & Internet Music P.E. & Health Other Multi-Disciplinary

Special Features

HotChalk.com EdScope, L.L.C. EduBanners.com Learn PC Hardware @ SitesForTeachers @ Teach-nology Education Master's Teacher Magazines Teaching Jobs About This Site How To Use Contact Info. Advertising Info. Educational Links Having Problems?
Printable Version for your convenience!

Title - Understanding Structured Query Language (SQL)
By - Sherry L. Guyer
Primary Subject - Computers / Internet
Secondary Subjects -
Grade Level - 12+
Subject Area: Structured Query Language

Lesson Purpose: This lesson is designed to develop students' understanding of relational databases and structured query language.

Lesson Objectives:

1. Identify the main components of a relational database.

2. Identify and demonstrate the proper use of basic SQL statements.

3. Identify and demonstrate the proper use of wildcards and SQL operators.

4. Identify and demonstrate the proper use of the SQL Clauses.


Lesson Activity #1 (Introduction):

Have a volunteer demonstrate problem that requires the use of SQL to correct. Introduce the objectives of the course and the expectations of each student. Have each student download "Introduction to Structured Query Language" guide from the following website. This guide will serve as the reference guide for the course.
http://www.highcroft.com/highcroft/sql_intro.pdf


Lesson Activity #2:

Have students break into groups of 3. Instruct each group to utilize the web sites listed below to develop a 15-minute presentation related to the main components of a relational database. Have each group present their finding to the other groups.

http://www.cs.sfu.ca/CC/354/zaiane/material/notes/Chapter3/node2.html

http://www.csuohio.edu/accounts/ACT688/Data4/

http://databases.about.com/compute/databases/gi/dynamic/offsite.htm?site=http%3A0.0000000.000000www.aisintl.com0.000000case0.000000relational_keys.html

http://www.citilink.com/~jgarrick/vbasic/database/rdbms.html

http://www.islandnet.com/~tmc/html/articles/orareln.htm

Lesson Activity #3:

Have each student complete Tasks 1-9 of the SQL Interpreter and Tutorial from the website listed below. Discuss what the students learned about the basic SQL statements. Explain/Demonstrate how the SQL statements learned on the tutorial are applied to the your organizations database.

http://www.sqlcourse.com/


Activity #4:

Have each student complete Task 10 of the SQL Interpreter and Tutorial. Discuss what the students learned about using additional clauses, aggregate functions and wildcards. Explain/Demonstrate how the SQL statements learned on the tutorial are applied to your organizations database.


Lesson Activity #6 (wrap-up):

Review the objectives covered. Have each student complete an exam testing their knowledge of the basic SQL statements, clauses, etc. Have each student subscribe to the SQL discussion group listed below, which they can utilize on the job when they have SQL related questions and to further their understanding of SQL. This activity also contains elements of the INFORM strategy.

http://clubs.yahoo.com/clubs/structuredquerylanguage

E-Mail Sherry L. Guyer!

 
Click to visit other good teacher sites
Click here for more great teacher sites