From the course: SQL for Healthcare Professionals
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Date manipulation in SQL - SQL Tutorial
From the course: SQL for Healthcare Professionals
Date manipulation in SQL
- [Instructor] Healthcare analysts use dates quite frequently. Measurements such as tracking dates of patient encounters, monitoring treatment progress and analyzing trends over time relies heavily on data manipulation. SQL has data functions that offer simple approach to working with date and time data effectively. Let's look into different SQL functions and how to use each of them. First, let's look into the function, get date. This function enables the SQL user to retrieve and make calculations using the current date and time from the system. You can type, select, get date, and let's name this column, "Today." If you highlight and run this query, this will give you the current date and time when you're running this command. The next function is called date part. This function enable the SQL user to extract integer values, represent specific parts of a date or time, such as year, month, hour, minute, and so on.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Why use SQL in healthcare?1m 35s
-
(Locked)
How to gather data for analysis using SQL2m 30s
-
(Locked)
Using aggregate functions to manipulate the data4m 50s
-
(Locked)
Using a CASE statement for data classification3m 57s
-
(Locked)
Date manipulation in SQL9m 29s
-
(Locked)
What are relational databases?1m 43s
-
(Locked)
How to gather data from different tables using JOINS4m 52s
-
-
-
-
-
-
-