|
Dec 26, 2024
|
|
|
|
CIS 332 - Database and SQL Credits: 3 Lecture Hours: 2 Lab Hours: 2 Practicum Hours: 0 Work Experience: 0 Course Type: Voc/Tech This course is an introduction to SQL as a database programming language to those already familiar with basic relational database concepts. Students will write executable SQL statements to create and maintain database objects. Prerequisite: CIS 303 Competencies
- Create executable SQL statements to perform single-table queries
- Identify the mandatory and optional clauses of an SQL SELECT statement.
- Select and view data in a database
- Assign a column alias in the result set
- Generate computed columns
- Remove duplicates from a result set
- Use concatenation to combine fields, literals and other data
- Use comparison operators and search conditions to restrict results
- Sort query results with an ORDER BY clause
- Create executable data definition language (DDL) commands
- Describe the purpose of DDL commands
- Differentiate between possible data types
- Formulate DDL statements to create database objects such as tables, sequences, indexes and synonyms
- Demonstrate the ability to create new tables or views from an existing table
- Alter or modify existing database objects
- Rename objects in the database
- Remove objects from a database
- Determine a sequence’s current value and next value
- Implement and enforce data integrity constraints in a database
- Describe types of database constraints such as primary keys, foreign keys, not null, check, unique and default values
- Include integrity constraints on a CREATE a table command
- Add integrity constraints to an existing table
- Manage foreign keys when parent rows are deleted
- Enable and disable integrity constraints
- Utilize system tables to view existing integrity constraints
- Create executable data manipulation language (DML) commands
- Describe DML commands such as insert, update, delete
- Prepare DML statements to change, add, or delete data in a database
- Utilize a sequence to generate and insert values into a table
- Construct SQL statements that require user input / a substitution variable
- Resolve integrity constraint errors when manipulating data in a database
- Perform transaction control statements
- Execute COMMIT and ROLLBACK commands
- Create a SAVEPOINT
- Demonstrate the use of table locks
- Evaluate database security issues
- Understand security mechanisms such as the GRANT and REVOKE statements
- List privileges that can be granted and revoked in a database
- Explain the use of roles in database management
- Construct executable SQL statements to perform multiple-table queries
- Identify the various types of joins available
- Explain what causes and the problems associated with a Cartesian product
- Prepare SQL statements that utilize an equality join
- Utilize a non-equality join in an SQL statement
- Formulate queries containing a self-join
- Demonstrate the use of an outer join
- Utilize table aliases to simply the process of qualifying columns
- Employ set operators such as union, intersect and minus to combine the results of two or more SELECT statements
- Produce executable SQL statements utilizing single-row functions
- Describe the various types of functions available in SQL
- Demonstrate the use of case conversion functions
- Create a query utilizing character manipulation functions
- Formulate SQL statements utilizing number functions
- Demonstrate the use of date functions
- Test the use of single-row functions by referencing the DUAL table
- Develop executable SQL statements utilizing group functions
- Identify the group functions available in SQL
- Aggregate data using the GROUP BY clause
- Use the HAVING clause to include or exclude grouped rows
- Demonstrate the ability to nest group functions in SQL queries
- Formulate executable SQL statements utilizing subqueries
- Identify the types of problems that subqueries can solve
- Execute a single-row subquery in a SELECT clause, a WHERE clause, and a HAVING clause
- Utilize multiple-row operators in a multiple-row subquery
- Formulate a multiple-column subquery in a FROM clause and in a WHERE clause
- Demonstrate the ability to successfully handle NULL values in a subquery
- Utilize nested subqueries
- Demonstrate code readability standards, testing and effective communication to other developers
- Use a development tool and explore it’s features
- Comply with the use of standard readability and naming conventions
- Execute and modify script files
- Demonstrate the use of comments and good code layout
- Access database information using the data dictionary
- Develop strategies for testing SQL statements and verify the results
Add to Portfolio (opens a new window)
|
|