
Learn practical fixes for Oracle SQL Developer connection errors, including checking and starting the listener with lsnrctl, restarting the listener service, and reattempting connections after reboot.
Learn how the where clause filters results in Oracle SQL, using equals, greater than, less than, and not equal operators, with examples on col_hash and column_number.
Learn how the having clause filters grouped results after a group by using count. Understand why where cannot apply to aggregates and how to diagnose errors like Ora 00934.
Master the order by clause, the sixth clause of the select statement, to sort by one or multiple columns in ascending or descending order with best practices for column names.
Learn the six clause order in SQL: select, from, where, group by, having, and order by, using a keyboard mnemonic and practice activities in Oracle SQL Developer.
Create a table with a decimal column, insert two rows, verify with select, then delete one row, truncate, and drop the table; prepare for future decimal calculations.
Practice Oracle SQL arithmetic by evaluating four plus nine and 24 times four plus three, with aliases like my answer and balance, noting precedence and parentheses, from dual by version.
Explore Oracle SQL float data types, including binary float and binary double, and why they store decimal numbers imprecisely, versus number, numeric, or decimal for accurate storage.
Practice activity demonstrates creating a table, inserting and viewing data, and removing data and the table using create table, insert into, select, delete or truncate, and drop table.
Explore Oracle numeric and trigonometric functions, including power, square root, exp, ln, log, abs, sign, and trig and hyperbolic functions, with practical examples and radians considerations.
Explore char and varchar2 string types, their fixed vs variable lengths, and concatenation using the || operator; learn about literal strings, the alternative quote operator, and length versus lengthb.
Explore how to convert text to numbers and numbers to strings in non-american formats using to_number, to_char, and the NLS parameters for currency and numeric characters.
Practice conversion to char and formatting with a dollar format to display numbers rounded to two decimals, using fm to trim spaces, and convert back with to_number using dollar 99999.99.
Explore converting dates to strings by formatting with to_char, combining with strings, and controlling year, month, day displays using fill mode, case, and iso options.
Master converting strings to dates with Oracle's to_date, craft custom format models, handle locales, and use RR and FF options to interpret two-digit years and ensure exact matches.
This course is the foundation for the Oracle AI Database SQL 1Z0-171 certification. It covers the SELECT statement in detail, with additional requirements for controlling user access.
Please note: This course is not affiliated with, endorsed by, or sponsored by Oracle. Also note: The name of the Oracle Database is "Oracle AI Database". The 1Z0-171 certification does not require the knowledge of any AI.
We'll install for free Oracle Express Edition and Oracle SQL Developer. Then we'll take a look at the 6 principal clauses of the SELECT statement: SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY.
Then we'll start creating tables, but find that we can't get very far without understanding data types. We'll then look at string, date and number types and functions, together with looking at functions converting between them.
We'll revisit the SELECT statement and go into more detail. We'll create tables and JOIN them together. Once you have finished this session, you should be secure in your knowledge of the 6 principal clauses of the SELECT statement, the most important part of Oracle SQL.
We'll then looking for missing data, and find out how to delete and update data. We'll look at the difference between implicit and explicit transactions, and various constraints, including primary and foreign keys.
We'll start off by saving our queries in views. Then we'll combine tables, not by adding additional columns using JOINS, but adding additional rows such Oracle SQL set operators such as UNION, INTERSECT and MERGE.
We'll add totals to our SELECT queries. We'll then look at subqueries, and how you can add them into the FROM, SELECT and WHERE clauses, and also into the WITH clause. We'll also look at Oracle SQL self-joins, which are useful when you have hierarchies.
Finally, TIME ZONE and INTERVAL data types and functions. We'll then have a look at SEQUENCEs and INDEXes, together with how these are shown in the Data Dictionary. We'll then create new users, and assign privileges and roles to them, and we'll finish with the last few requirements for the exam.
No prior knowledge is required - we'll even install Oracle Database and Oracle SQL Developer on your computer for free!
Once finished, you will know what how to manipulate numbers, strings and dates, and create database and tables, create tables, insert data and create analyses, and have an appreciation of how they can all be used in Oracle SQL.