We can also add multiple filters and conditions to the WHERE clause of our queries. Using a combination of AND/OR keywords, we can choose to only return rows that meet several conditions.
- [Instructor] We can also add additional conditions…to the where clause of our SQL query.…For example, let's say we also want to filter…based on department ID.…So before doing that, let's add…the department ID column from the employees table…to the select clause of our SQL query…so that we can first see…which employees are assigned to which departments…in our organization.…So I'll type comma department_id…and run the query again.…
We can see that for the sub set of data…that we have returned from the employees table,…we have employees that have department ID 90,…100, 30, 80,…20, and 110.…So let's add a second filter condition…to our where clause.…I can easily do that by typing and…space.…Note that I'm using uppercase letters…in my select query, but lowercase letters…would function just as well.…
I'm using uppercase letters…for pure legibility purposes, nothing else.…So going back to our query, I can type and…and specify my second filter condition…such as department_id…equals and let's say a number of 100.…So now I'm instructing Oracle…
Note: This training course is appropriate for beginning database developers with no prior experience with SQL or Oracle.
- Using Oracle SQL*Developer, the free development environment
- Selecting data from tables
- Filtering data
- Using functions to manipulate data
- Joining data from tables
- Creating tables
- Updating values
- Truncating data
- Grouping and ordering result sets
- Working with primary keys
- Checking constraints
Skill Level Beginner
Oracle 12c Database: Administrationwith David Yahalom3h 58m Beginner
Database Foundations: Core Conceptswith Adam Wilbert2h 14m Beginner
Database Foundations: Administrationwith Adam Wilbert1h 14m Beginner
Learning Relational Databases (2014)with Adam Wilbert2h 39m Beginner
1. Introduction to SQL
2. Preparing the Course Environment
Downloading the course VM2m 16s
3. Using Oracle SQL Developer
4. Basic SELECT Queries
5. String, Number, and Date Functions
6. Joining Table Data
7. Manipulating Data
8. Grouping Data
9. Advanced Topics
Next steps1m 33s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.