Learn to develop and manage databases in SQL
Once you have learned how to use databases you will have a skill that will last into the future.
This course provides a comprehensive introduction to SQL which is one of the most used database languages by professional IT businesses. This course will provide you with a solid foundation if you have very little or no experience in SQL at all.
By the end of the course, the student should be able to understand all the fundamentals and major aspects of SQL.
Is this course right for me?
If you have no understanding of SQL or databases, this course will teach you the basics and give you a good foundation to expand your career and knowledge in IT. This course can also be a good for experienced IT staff who want to learn about SQL which may then give them more prospects for career growth!.
- A comprehensive introduction to the use of SQL
- Suitable for programmers and web developers
- Expand your knowledge and career opportunities
- Provide skill to branch into many different areas of IT
Duration - 100 Hours
Study online at your own pace
Using our modern online portal for study is a simple and effective way of learning. Once enrolled, you will receive your online account to our login.training system that will give you all the lessons assignments and self-assessment tests so you can start studying straight away.
WHAT IS A DATABASE?
A database is simply a place where you can store data. The most basic form of a database is a card file system, where information of different contacts or clients are written on cards that are then stored in alphabetical order. Each card is called a ‘record’ and each record contains ‘fields’ such as ‘name’, ‘address’ and ‘phone number’.
Databases come in all sizes, from simple collections of a few records to large systems holding millions of records. A Personal Database is designed for use by a single person on a single computer. Such a database usually has a simple structure and a relatively small size, whereas a Departmental or Workgroup database is used by members of a single department or workgroups within an organisation. This type of database is generally larger than a personal database and far more complex in its structure, by having the functionality to enable multiple users to access the same database simultaneously. Bigger still, are Enterprise databases, which are used to model critical information flow within entire large organisations.
Contents of each lesson
Lesson 1. Introduction to Databases
- What is a database
- DBMS
- The relational model
- Primary keys
- Foreign keys
- Relationships
- Normalisation
- Other normal forms
- De normalisation
2. Fundamentals of SQL
- Installing a DBMS
- SQL
- The select statement
- Common errors
- Identifiers
3. Building a database with SQL
- Building a database: RAD tool, CSV file, opening database, commands, etc
- Data types and MS access
4. Retrieving, Storing, Updating and Deleting Data
- Retrieving data
- Retrieving from tables with relationships
- Creating column aliases
- Eliminating duplicate rows with DISTINCT
- Filtering rows with WHERE
- Matching patterns with LIKE
- Escaped and unescaped patterns
- Range filtering with BETWEEN
- List filtering with IN
- Evaluating conditional values with CASE
- Sorting rows by ORDER BY
- Storing, updating and deleting data
- Updating rows with UPDATE
- Deleting rows with DELETE
5. Advanced SQL database access methods
- Relational databases
- Creating outer joins with OUTER JOIN
- Subqueries
- Summarising data
- Grouping rows
- Using HAVING for filtering rows
- Set operations
- Union
- Intersect
- Except
- Handling duplicates
6. Database Security
- Security is important
- Triggers
7. Using SQL in applications
- Using SQL in an application
- Using SQL in web sites
- Using SQL in desk top applications
- Using SQL in mobile devices
- Embedded SQL
- SQL injection
8. Cursors
- What are cursors
- Preventing updates and deletions
- Scrollable Cursors
9. Stored procedures
- Introduction
- Compound statements
- Stored functions
- Stored modules
- Views
- Indexes
- Controlled flow statements
10. Error Handling
11. Dynamic SQL
- Introduction
- Execution of dynamic SQL
- Single step execution
- Two step execution
- Dynamic cursors
12. Advice and Tips
- Common mistakes
- Assuming the client knows what they need
- Underestimating project scope
- Only considering technical factors
- Not seeking client feedback
- Skipping beta testing
Introducing SQL
SQL (structured query language) is the most common language used for communicating with relational databases.
Traditionally, programming languages such as Basic, C# and C++ are known as ‘procedural’ languages. This means that in order to do something, a procedure is written telling the computer what to do.
For example, to get the computer to draw a box, you would have a procedure similar to the following:
1) Move the pointer to the top left of the screen
2) Draw a line horizontally until it reaches the edge of the screen
3) Draw a line down until it reaches the bottom of the screen
4) Draw a line to the left until it reaches the left hand side of the screen
5) Draw a line up until it meets the top left corner of the screen
SQL is a ‘non-procedural’ language. Instead, you tell SQL what you want and it communicates with the DBMS to retrieve your request without you having to tell SQL exactly how to do it.
For example, to retrieve all records from a database where all people lived in Australia, you would use the following SQL command:
Select * from records where location=’Australia’
The DBMS then understands what SQL is asking and will go and retrieve the data and send it back to SQL.
SQL commands are performed in one of two ways:
1) Via a console
You can execute SQL commands via a console that is connected to a DBMS. This may be the SQL query builder in Microsoft Access, a web page connected to a database of some sort, or either via SQL Server Express, Enterprise Manager & Query Analyser for SQL Server. You would simply type in your request in SQL and after the task has been completed, you will see the result. This form of using SQL is generally only used by professional database administrators due to the large margin for error and lack of database security (someone could easily wipe out a database by typing the wrong command).
2) Via an application
This is the most common form of SQL programming. An application acts as a ‘front end’ for the database, allowing someone with basic computer knowledge to use a database. For example, a button that says ‘add record’ would appear on a page with blank fields for ‘name’ and ‘address’. The operator would enter the name and address then click the button. This button would then fire off an SQL command, telling the DBMS to add a new record to the database with the data the operator typed in.
SQL is a ‘non-procedural’ language. Instead, you tell SQL what you want and it communicates with the DBMS to retrieve your request without you having to tell SQL exactly how to do it.
Database Management System (DBMS)
A Database Management System (DBMS) is a software program that acts as a ‘go-between’ (interface) for the database information. When an application requires data, it sends its' request to the DBMS which searches the database records for the relevant data and then returns the result back to the application.
You can think of a DBMS as a librarian. You go to the library and ask them “have you got any books on car engine repairs”. The librarian then goes and looks through the shelves, finds all the relevant books and brings them back to you. Without the librarian, you would need to search through all the shelves yourself, which is slow and inefficient.
DBMSs make life easy and reduce the time it takes for an application to process data.
It is important to understand the difference between a Database and a DBMS. Many people confuse the two or do not realise there is a difference which can cause confusion.
DBMSs come in all shapes and sizes with different features and uses. Many have features that are unique and almost all DBMSs are incompatible with each other (although some have partial compatibility).
Some examples of popular DBMSs are:
- Microsoft Access
- Microsoft SQL Server
- Microsoft MSDE
- Oracle
- Sybase SQL Server
- MySQL
There are many other DBMSs around too. Some are general ones used for a variety of applications and some are specifically designed for certain applications (such as banking and finance).
SQL databases have been around for a long time and don't show any signs of going anywhere. Having this skill may be one of the best things you can do in order to change your career path. There are many job opportunities all over the world that require people with database skills. Even if you have a job doing something else, the things you will learn in this course can benefit you across a multitude of industries and jobs.
VALUABLE KNOWLEDGE LIKE THIS IS PRICELESS
When you talk IT, one of the most common things that a business will have is a database of some sort. SQL is the worlds leading database language and learning this will give you the skills to branch out into many different areas. Not all databases are built the same, however when you have a foundation like this, there is very little that you will not be able to accomplish.
In fact the database job growth estimated between 2014 and 2024 is set to grow 11percent, which makes it the fastest growing career in the world!!Having these skills equips you for the future and the growing demand in IT, currently the fastest moving industry in the world. You can take these skills anywhere in the world and find work as SQL is used by every major country across many different industries.
Some of the titles you will find in the IT industry related to databases are:
Database Administrator(DBA)
Database Developer
Database support and maintenance
Database security
Data miner
Data reporting and business integration
Other areas of IT that relate/integrate to databases you can study in future to expand your skills even further include:
- Computer programming
- Computer security
- Web development
- Networking
- Business Analysis
- Marketing
WHAT NEXT?
Register to Study - Go to “It’s Easy to Enrol” box at the top of the page and you can enrol now.
or
Get Advice – Email us at info@acsedu.co.uk OR
Use our FREE COUNSELLING SERVICE to contact a tutor
CLICK TO CONTACT US