1Z0-171 exam prep: Oracle AI Database SQL Associate

The SELECT statement, functions and more. Oracle Database 19c, 21c, 23c, 23ai using Oracle SQL Developer. 1Z0-171 exam.

  • 0.0 (0 Reviews)
  • 0 Students
  • 175 Lessons
  • Phillip Burton - over one million students so far

Course Overview

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.

See more

FAQ

FAQ area empty

Course curriculum

30 chương 175 bài học 13 giờ 6 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Install Oracle Express Edition and SQL Developer
Chương 3 The SELECT statement - an overview
  • 5. The SELECT and FROM clauses 6:31
  • 4. Renaming fields (using column aliases), including using the AS keyword 6:20
  • 5. Semicolons and comments 3:20
  • 5, 9. The WHERE clause 6:10
  • 5, 6d. The GROUP BY clause and the DISTINCT keyword 6:19
  • 5, 21. The HAVING clause, and information about error messages. 4:19
  • 13a, 13c. The ORDER BY clause 5:18
  • Remembering the order of the clauses 2:08
  • Practice Activity Number 1
  • Practice Activity Number 1 - The Solution 3:14
Chương 4 8b. Session 1 - Creating tables - First pass
  • Creating a table using the GUI and using DDL 4:10
  • 35a. Inserting values 2:51
  • 35c, 44. Deleting the data, then the table 3:55
  • Practice Activity Number 2
  • Practice Activity Number 2 - The Solution 2:03
Chương 5 Session 1 - The DUAL table and Number types
  • 7, 8. Using the DUAL table, and rules of precedence for arithmetic expressions 5:22
  • Practice Activity Number 3 - Writing mathematical queries
  • Practice Activity Number 3 - The Solution 2:15
  • 40. Creating sample table; Run Script v Run Statement 4:15
  • 41. The NUMBER data type 7:53
  • Do you want to use the comma as a decimal point? 3:24
  • 8a. FLOATing data types 4:16
  • Practice Activity Number 4
  • Practice Activity Number 4 - The Solution 3:12
Chương 6 Session 1 - Number functions
  • Numeric functions: POWER, SQRT, EXP, LN, LOG, ABS, SIGN and trigonometric 6:30
  • 15. Rounding functions, including ROUND, TRUNC and MOD functions 7:42
  • Practice Activity Number 5
  • Practice Activity Number 5 - The Solution 2:44
Chương 7 Session 1 - String data types and functions
  • 6. Using CHAR and VCHAR with concatenation operator, literal character strings 8:17
  • NCHAR and NVARCHAR Character Data Types 8:57
  • 13. String Functions 8:12
  • 7b. NULL - an introduction 5:57
  • 7b, 17. Useful NULL functions 6:11
  • Practice Activity Number 5
  • Practice Activity Number 5 - The Solution 4:31
Chương 8 Session 1 - Converting numbers to strings, and strings to numbers
  • 18. Joining a string to a number using implicit conversions 4:06
  • 19a, 20. Converting a number to a string - Part 1 6:05
  • 19a. Converting a number to a string - Part 2 4:59
  • 19b. Converting a string to a number, including the CAST function 4:50
  • 5a, 14b. International conversions 6:28
  • Practice Activity Number 6
  • Practice Activity Number 6 - The Solution 2:45
Chương 9 Session 1 - Date data types and functions
  • DATE and TIMESTAMP() data types 7:04
  • 14, 16. Date extraction functions 8:02
  • 19a. Converting dates to strings 7:19
  • 19a. Converting times to strings 4:37
  • 19c. Converting strings to timestamps using the TO_DATE conversion function 6:58
  • Practice Activity Number 7
  • Practice Activity Number 7 - The Solution 3:58
Chương 10 Creating and querying part of a table
  • 42. Creating the TBL_EMPLOYEE table 9:15
  • 40. Adding and modifying additional columns 7:20
  • 13, 35a. SELECTing only part of a table - strings 8:54
  • 9. SELECTing only part of a table - numbers 8:38
  • 16. SELECTing only part of a table - dates 5:30
Chương 11 Practice Activities
  • 40, 41. Practice Activity Number 8 - Creating Tables
  • 40, 41. Practice Activity Number 8 - The Solution 7:33
  • Populating the Practice Activity tables
  • Populating the Practice Activity tables - The Solution 2:37
  • Practice Activity Number 9
  • Practice Activity Number 9 - The Solution 4:08
Chương 12 Summarising and ordering data
  • 5. Summarising and ordering data 5:54
  • 5, 21. Revising all 6 clauses, including adding Criteria on summarised data 5:51
  • Practice Activity 10
  • Practice Activity 10 - The Solution 2:40
  • 12. More about COUNT, and using ORDER BY NULLS FIRST/LAST 5:51
  • Practice Activity Number 11
  • Practice Activity Number 11 - The Solution 2:56
Chương 13 Adding a second table
  • Adding a second table 6:47
  • 2. Importing data and showing tables graphically 4:48
  • Writing a JOIN query 6:39
  • 24, 26, 27. Different types of JOIN 9:25
  • 24, 26. Using NATURAL JOINs 3:30
  • 24, 26. Old notation joins 2:18
  • Practice Activity Number 12
  • Practice Activity Number 12 - The Solution 7:19
Chương 14 Adding a third table
  • DISTINCT, subqueries and creating a third table 5:50
  • 6a, 6c. JOINing three tables 6:52
  • Practice Activity Number 13
  • Practice Activity Number 13 - The Solution 5:34
Chương 15 Find missing data, and delete and update data
  • 26. Missing data 7:55
  • 35c. Deleting data 6:20
  • 35b. Updating data 6:39
  • Practice Activity Number 14
  • Practice Activity Number 14 - The Solution 6:46
Chương 16 Database terminology
  • 1, 3. The relationship of a database and SQL 5:29
  • 34. What are transactions? 4:53
  • 34. Implicit and explicit transactions 4:54
  • 34. Savepoints and rollback to savepoints 5:31
  • Formatting in Oracle SQL Developer 2:39
Chương 17 47. Apply how to manage constraints - Part 1
  • 47. Problems with our existing database, and introducing constraints 6:08
  • 47. Unique constraints - what are they? 2:21
  • 47. Unique constraints in action using a single column 6:55
  • 47. Unique constraints in action using multiple columns 5:51
  • The Default clause 7:15
  • 2, 47. Check constraint, and how constraints are represented in ERD 8:28
  • Practice Activity Number 15
  • Practice Activity Number 15 - The Solution 5:15
Chương 18 47. Apply how to manage constraints - Part 2
  • Primary key 4:58
  • Primary key - in practice 5:03
  • Adding IDENTITY to our Primary Key 6:51
  • Foreign key - what is it? 3:20
  • Foreign key - in practice 9:02
  • 2. How are constraints shown in ERDs? 3:06
  • Practice Activity Number 16
  • Practice Activity Number 16 - The Solution 3:07
Chương 19 48. Explain managing views
  • Creating views 5:24
  • Altering and dropping views 3:38
  • Adding new rows to views 9:18
  • Hiding/Unhiding Columns In Views 3:22
  • Practice Activity Number 17
  • Practice Activity Number 17 - The Solution 2:44
Chương 20 Combining sets
  • 31, 33c, 33d. UNION and UNION ALL 8:06
  • 32, 33a, 33b. INTERSECT and MINUS 6:42
  • 10, 11. Substitution variables and DEFINE and VERIFY commands 7:05
  • CASE statement 7:52
  • Practice Activity Number 18
  • Practice Activity Number 18 - The Solution 7:10
Chương 21 The MERGE statement
  • 36b. MERGE statement - in theory 5:56
  • 36b. Creating our MERGE statement 9:38
  • Practice Activity Number 19
  • Practice Activity Number 19 - The Solution 4:06
Chương 22 Group functions
  • Adding Totals 6:12
  • ROLLUP, GROUPING and GROUPING_ID 4:47
  • CUBE and GROUPING SETS 4:20
  • Practice Activity Number 20
  • Practice Activity Number 20 - The Solution 2:43
Chương 23 16. Sub-queries
  • 29. Using sub-queries in the WHERE clause 5:10
  • 29. Using WHERE and NOT 3:43
  • 29. Using ANY, SOME and ALL with sub-queries in the WHERE clause 5:06
  • 29. Using sub-queries (derived tables) in the FROM clause 6:04
  • 28. Using sub-queries in the SELECT clause 8:44
  • 30. Using UPDATE and DELETE using Correlated Subqueries 4:51
  • Practice Activity Number 21
  • Practice Activity Number 21 - The Solution 5:23
Chương 24 Limiting rows returned in an SQL statement, and using self and non equi-JOINs
  • 29. Generating a list of numbers using rownum, and identifying missing numbers 6:36
  • 9. Limiting the number of rows returned using rownum 6:08
  • 9. Limiting the number of rows returned using FETCH and OFFSET 5:02
  • 4c, 6b.Self-Join 7:11
  • Creating a temporary table and using a Non-Equi Joins 8:00
  • Practice Activity Number 22
  • Practice Activity Number 22 - The Solution 4:02
Chương 25 Time Zone and Interval data types
  • Time Zone data types 4:34
  • 53. Time Zone functions, including CURRENT_DATE, _TIMESTAMP and LOCALTIMESTAMP 4:36
  • 54. Interval data types 6:08
  • 54. Interval functions 2:34
Chương 26 Sequences and Data Dictionary
  • 52. Data Dictionary 6:38
  • 39. Defining Sequences 4:06
  • 39. Using Sequences 8:00
  • 38. Creating and using synonyms 3:08
  • Practice Activity Number 23
  • Practice Activity Number 23 - The Solution 2:57
Chương 27 Indexes
  • Heaps 3:14
  • B-Tree 4:49
  • 37. Indexes 8:31
  • Practice Activity Number 24
  • Practice Activity Number 24 - The Solution 2:17
Chương 28 Users, Privileges and Roles
  • Users and Schema 5:36
  • 49. What are System and Object Privileges 6:20
  • 50, 51. Granting system and object privileges to users and roles 5:59
  • Namespaces 4:01
  • Privileges Data Dictionary 3:06
Chương 29 Miscellaneous
  • 43. Dropping columns and making them UNUSED 3:02
  • 46. Create and use External Tables 5:53
  • 36. Multi-Table INSERT statements 5:51
Chương 30 Congratulations
  • Taking the exam 2:29
  • Well done! 1:11

Requirment

  • You need to know how to use a computer, and hopefully know how to use a spreadsheet.

  • No prior knowledge of Oracle SQL Database or any other database required - although the more knowledge you do have, the better.

  • To install Oracle SQL Database on your computer, you will need a 64-bit machine.

  • Oracle SQL Database cannot easily be installed on the Mac OS. If you wish to install it on a Mac, you will need either to dual boot into Windows or be running Parallel Desktop.

  • You don't even need Oracle SQL Database installed - I'll show you have to install it on your computer for free!

  • Why not have a look at the curriculum below and see what you can learn?

Outcomes

  • Relational Database Concepts

  • Retrieving Data using the SQL SELECT Statement and Restricting and Sorting Data

  • Using Functions

  • Displaying Data from Multiple Tables, including using SET operators

  • Using Subqueries to Solve Queries

  • Managing Indexes Synonyms and Sequences

  • Manage tables and their relationships using DDL and DML statements

  • Control User Access

  • Managing Objects with Data Dictionary Views and Data in Different Time Zones

Instructor

...
Phillip Burton - over one million students so far

0.0

  • ... 0 Student
  • ... 9 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all