
Why do we need a database? Why not store in simple excel sheets? How does a database help?
Download and install Oracle; select edition (express, standard, enterprise) and version (12c or 11g); use Windows or Linux with admin privileges; configure SYS and SYSTEM passwords and complete installation.
Learn how Oracle uses schemas and users to manage access, grant permissions, and connect to a host, port, and SID using SQLPlus and SQL Developer.
Build a practical data model for a library using two tables, book_inventory and customer_book_list, linked by book_id, including price_per_day, and learn to create, alter, drop, and load sample data.
Create table statements define book_inventory and customer_book_list with their columns and data types, using varchar2, number, and date. Insert rows to load data into these skeleton tables.
Learn relational and arithmetic operators in Oracle SQL with real-life examples, using >, <, between, not equal, concatenation with ||, and aliasing in select and where clauses.
Understand null values as missing or unknown in Oracle, use is null or is not null, and beware not in with nulls; NVL and empty strings are treated as null.
Learn how to update table content using where and without where clauses, compare delete versus truncate, and understand rollback limitations and performance implications.
Explore the dual table in Oracle, learn how rownum behaves as a pseudo column, and use sysdate to fetch the current date with practical examples.
Handle nulls with nvl(), and round or floor numbers. Convert strings to dates with to_date() and format them with to_char(), and convert numbers with to_number(); understand date versus character types.
Explore aggregate functions in Oracle SQL, including min, max, sum, avg, and count, and learn how count(*) differs from count(column) across multiple rows, including count(distinct column), while nulls are ignored.
Learn how to use group by on single and multiple columns. Master having vs where clauses with practical library-style examples counting per customer and filtering aggregates.
Relational databases have spread across the software world. Learning SQL means you know how to access them. This skill enables you to stay competitive.
The course teaches you Oracle SQL. But, SQL is a standard that is used for other relational databases also. So, you can re-use the SQL learning (not 100% though) for other DBs as well with some tweaks specific to those DBs.
The course tries to impart knowledge using two methods.
1. Video lectures. The lectures introduce you to the basics of Oracle SQL and also the important nuances. For e.g. apart from learning what a NULL value means, you will also learn the situations the NULL values can be problematic.
2. Exercises - PDFs -> The exercises deal with the concepts introduced in the videos and their nuances.
- The answer for a question and the explanation will be provided in the next page. Occasionally, some questions can also ask you to do some self-exploration (recommended) on a topic related to the lecture. If you do not have time to do that, you can look at the answer with the explanation in the next page.
- The exercises vary in complexity. Some of them can seem quite complex for a beginner. Some questions have been made intentionally confusing. A confusion/complexity now is better than the one at an examination hall or work. Isn't it?.
- Several questions deal with real-life situations and their handling. Please attempt them using logical and practical reasoning, and if needed, take the help of the answer and the explanation in the next page. You can always contact me for any doubts.
I believe, the course will help in preparing you for the complexity and ambiguity in the real-life database world.
Good luck. Enjoy the course.
PS: Exercises are attached as PDF resources in the videos. And not all videos will have a PDF. Questions across lectures could be clubbed together and uploaded against a single video lecture.