Date, Number, and String Functions
Use built-in date, number, and string functions to transform table data.
StartDate, Number, and String Functions
Lesson 1 of 1
- 1Oftentimes, data in columns of tables is not in the exact format we need to complete our desired analysis. We may need to extract a date from a full timestamp, manipulate a number, or combine first…
- 6A couple more useful numeric SQL functions are included below: MAX and MIN. MAX(n1,n2,n3,…): returns the greatest value in the set of the input numeric expressions MIN(n1,n2,n3,…): returns th…
- 8Another useful string function in SQL is REPLACE(): REPLACE(string,from_string,to_string) The function returns the string string with all occurrences of the string from_string replaced by the st…
- 9Congratulations! You just learned about date, number, and string functions in SQL. What can we generalize so far? Date Functions: * DATETIME; Returns the date and time of the column specified. T…