Course Code:
sqlvbanonit
Duration:
14 hours
Prerequisites:
No background in SQL or VBA is required for this course.
Overview:
This course is tailored for non IT professionals who want to improve their understanding of SQL and Queries (using VBA).
Course Outline:
1) SQL
Relational database models
- The structure of a relational database
- Connection types of tables
- The normalization and denormalization database
- Relational Operators
Download the data
- Rules for writing SQL queries
- The syntax for the SELECT
- Selecting all columns
- Inquiries from arithmetic operations
- Aliases columns
- Literals
- Concatenation operator
Limiting results
- The WHERE clause
- Comparison operators
- LIKE Condition
- Prerequisite BETWEEN ... AND
- IS NULL condition
- Condition IN
- Boolean operators AND, OR and NOT
- Many of the conditions in the WHERE clause
- The order of the operators.
- DISTINCT clause
Sorting Data
- The ORDER BY clause
- Sorting by multiple columns or expressions
2) Excel VBA
Macros
- Recording and Modifying Macros
- Assigning Macros to Toolbar, Buttons, Shortcut key
Visual Basic for Applications Environment
- Visual Basic Editor and its options
- Component Management
- Shortcuts
- Environment Optimization
Introduction to Procedural Programming
- Procedures: Functions and Sub-routines
- Data Types
Control Flow
- If ...Then....Elseif....Else....Endif
- Case
- Do...Loop, While
- For... Next
- Exit
- Arrays and Loops
- Strings
Visual Basic
- VBA and Sheet Data Exchange (Cells, Range Methods)
- Getting and Printing Data from Users (InputBox, MsgBox)
- Variable Declaration
- Scope and LifeTime of Variables and Objects
- Operators and Their Priorities
- Modules Options
- Creating Worksheet Functions
- Objects, Classes, Methods and Properties
- Locking Project for Viewing