BrainDump
  Home arrow BrainDump arrow SQL: Functioning in the Real World
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

SQL: Functioning in the Real World
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2007-12-10

    Table of Contents:
  • SQL: Functioning in the Real World
  • What You Talkin Bout Willis?
  • Count
  • Count Distinct
  • Minimum and Maximum

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    PCmover - $15 Off with Coupon Code CJPH7Q

    SQL: Functioning in the Real World
    (Page 1 of 5 )

    A couple of months or so ago, I began talking about SQL functions and what they're used for. This article picks up where I left off. It defines the two types of functions, and begins to explain them in great detail.

    Functioning in the Real World

    Let's face it, none of us function the way we want to in the real world. Sure, slap a copy of myself in the Sims and the next thing you know I am an in-shape, good looking, millionaire writer with oodles of time, a bevy of chicks from the neighborhood dropping by (and some dudes too, no matter how often I lock the door). I also have a hip house, a sauna, and a soda machine in my make believe Sim world.

    Then there's me in the real world. On a fast track to being the world's fattest man (look out Guinness here I come), driving a car with no air conditioner in South Florida (aka, the Sun), and the only females that come to my door are trying to sell me cookies.

    And if you are reading this article on Saturday, then guess what: you're in the same boat as me. But never fear. SQL, just like Tony Robbins, can help you out.

    We left off last time with the promise of covering our good ole' pal the Function. In SQL, functions are used for counting and calculations and for saving lazy programmers time. There are two types of functions: Aggregate Functions and Scalar Functions. In this article we will discuss most of the Aggregates, such as how to get the average value of a column, count the values in a column and total them.

    We'll also learn how to find both the minimum and maximum values in a column, using the min and max functions respectively. There's a lot of learnin' to do, so let's get started.

    More BrainDump Articles
    More By James Payne


       · Thanks for dropping by to read my article on SQL Functions. Here we discuss such...
     

       

    BRAINDUMP ARTICLES

    - Outsourcing: the Hoopla, the Reality
    - MySQL Plays in the Sun
    - All About SQL Functions
    - SQL: Functioning in the Real World
    - More Advanced SQL Statements
    - Beginning SQL the SEQUEL: Working with Advan...
    - Beginning SQL
    - A Look at the VI Editor
    - A Quick Tour of Boo
    - Book Review: Open Source Licensing
    - PGP and GPG: Email for the Practical Parano...
    - Microsoft Continues War on Open Source
    - Secure Remote Desktop Sharing with VNC on Li...
    - A Look at Google Project Hosting
    - What we can Learn from Two Linux vs. Microso...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway