Learn how to use the DELETE command to delete rows that already exist in your database tables.
- [Narrator] In addition to inserting records…into our database tables,…we can also use the DML delete command…to delete existing rows from our tables.…For example, let's select all of the data that we have…in the test table one demo table which we created earlier.…I can choose to delete one or more rows by typing…delete from specifying the table name,…such as test table one, where and then specify a condition,…such as column two equals seven.…
Executing this command, I would expect only the first row…to be deleted from my table, as this is the only row…where column two has a value of seven.…Let's verify.…The output we got from the database was…that one row was deleted.…Let's run our sequel query again…and see that, indeed, the first row is missing.…
I can also choose to delete additional rows.…For example, let's delete all of the rows where column one…has a value of hello.…I'll type, delete from test table one…where column one equals hello.…Remember to enclose hello in quotations marks,…as it's a string.…Let's run this command.…
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
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.