RelationalDBDesign
SiteMap
Advanced SQL
Essential SQL
Interview Questions
SQL Functions
«Prev
Info Retrieval
SQL Requirements
PUBS Database
Select Statement
What is GroupBy Clause
Group by Clause Insights
Group BY vs. Sorting
SQL Subquery Statements
Subquery Statement Options
Subquery In Statement
Engine Support
Subquery Equals Clause
SQL distinct-group-by
Subquery Conclusion
Using Views show Info
SQL Select- Quiz
SQL Views
Understand SQL Views
How views are called?
View Abstraction
Select from View
Steps to Create View
Create SQL View
Updating Table Rows
Updating Table Views
Security Permissions
View Conclusion
SQL Views - Quiz
Key Sql Functions
SQL Function Overview
String | Substring Queries
Upper Lower Functions
SQL Length Function
SQL Trim Function
SQL Arithmetic Functions
SQL Sum Function
SQL Average Function
min-max Functions
SQL Date Functions
Date Function Related Issues
SQL Dateadd Function
SQL Datediff Function
SQL Datepart Function
Date Function - Exercise
Getdate | sysdate Today
SQL Function Conclusion
SQL Reporting
Course Review
Course Project
SQL Reporting Summary
Course Conclusion
SQL Function - Exercise
Combining Functions
Objective:
Write a query that combines several special SQL functions discussed in this module.
Given the following table:
MyTable
MyLastName
MyFirstName
MyAddress
MyState
Create a SQL statement that will return the MyLastname column all uppercase, the MyFirstname column all lowercase, and the length of the MyAddress column. (Assume that your engine supports this option, and that it uses the
LEN
version of the function.)
Make sure you provide names for your columns.