Skip to content

A SQL query demonstrating joins, subqueries, grouping, formatting, the WHERE clause, and the HAVING clause.

Notifications You must be signed in to change notification settings

alexiamandeville/SQLexample_currentStaff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SQLexample_currentStaff

Staff Current Availability Query

This query demonstrates joins, subqueries, grouping, formatting, the WHERE clause, and the HAVING clause. Syntax is based on Cache database.

The purpose of the data was to show employees which staff are available if a client comes in without an appointment. In addition to showing the staff who are working today in specific departments, and do not have an appointment at the current time, I wanted to show the staff’s next immediate appointment in the future.

I used two queries for this project because they were to be used in a Coldfusion application that can easily merge the two sets of data, mimicking a single query on output.

About

A SQL query demonstrating joins, subqueries, grouping, formatting, the WHERE clause, and the HAVING clause.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published