Although the name and syntax may vary, a ROUND() function is available on all major database systems.
- [Instructor] The round function is used … to round a numeric value to a specific number … of decimal places. … For example, in this first expression here, … if I execute that statement, … I get the value of 2.55555 with five fives exactly … as I typed it, so that's a real number. … It's a two with five places of precision … after the decimal point, … and all the values after the decimal point are fives. … Now if I use the round function on this, … I get a value of three because 2.5 will round up to three. … If I say I only want to round to three decimal places, … then I get 2.556, … so that third decimal place is a five, … but it gets rounded up to a six … because the number after it is a five. … And if I say to round to zero places, … then that's the default and I get the number three. … The round function is supported … by all the major database systems. … Although the name and the syntax may differ, … check your documentation for the specifics for your system. … …
This course was created by Bill Weinman. We are pleased to offer this training in our library.
- How databases are organized
- Selecting rows and columns
- Creating new tables
- Inserting and updating data
- Sorting and filtering
- Accessing related tables with JOIN
- Working with strings
- Understanding numeric types
- Using aggregate functions and transactions
- Automating data with triggers
- Creating views
- Using CRUD functions
Skill Level Beginner
2. SQL Overview
3. Fundamental Concepts
7. Dates and Times
Dates and times2m 6s
11. Views and Subselects
12. A Simple CRUD Application
- 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.