Click here to Skip to main content
15,884,537 members
Articles / Programming Languages / SQL

Correlated Sub-Query vs. Case Statement

Rate me:
Please Sign up or sign in to vote.
3.00/5 (6 votes)
7 Mar 2010CPOL4 min read 30.8K   6  
A simple case study to compare the efficiency of using a Sub-Query vs a Case statement to perform data aggregation.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Australia Australia
Born in New Zealand and transported to Australia for crimes against good taste in the eighties.

Employed by large Manufacturing Co to Coordinate Production Processes, Integrate new technologies, Implement new, in-house MRP/ERP.

Out of my depth, challenged and love it.

Comments and Discussions