Results 1 to 2 of 2

Thread: Aggregate and scalar function in SQL.

  1. #1
    WilsonMartin is offline Senior Member
    Join Date
    Dec 2009
    Posts
    319
    Rep Power
    3

    Default Aggregate and scalar function in SQL.

    Hi. I am new in SQL. I want to know about which are the Aggregate and scalar function in SQL. If you are having any information then reply me. It is highly appreciated. Thank you.

  2. #2
    AndersonDiaz is offline Senior Member
    Join Date
    Dec 2009
    Posts
    311
    Rep Power
    3

    Default

    SQL Aggregate Functions: SQL aggregate functions return a single value, calculated from values in a column.

    • AVG() - Returns the average value

    • COUNT() - Returns the number of rows

    • FIRST() - Returns the first value

    • LAST() - Returns the last value

    • MAX() - Returns the largest value

    • MIN() - Returns the smallest value

    • SUM() - Returns the sum

    SQL Scalar functions: SQL scalar functions return a single value, based on the input value.

    • UCASE() - Converts a field to upper case

    • LCASE() - Converts a field to lower case

    • MID() - Extract characters from a text field

    • LEN() - Returns the length of a text field

    • ROUND() - Rounds a numeric field to the number of decimals specified

    • NOW() - Returns the current system date and time

    • FORMAT() - Formats how a field is to be displayed

Similar Threads

  1. Can’t function hot key
    By Garcíarobine in forum Networking Jargons
    Replies: 2
    Last Post: 06-12-2010, 11:02 AM
  2. Max function in C++
    By RodríguezBrown in forum Programming
    Replies: 2
    Last Post: 03-08-2010, 06:15 AM
  3. What is the different aggregate function in the SQL?
    By MyersGray in forum Programming
    Replies: 1
    Last Post: 01-14-2010, 03:46 PM
  4. Using aggregate functions and formulas
    By Jahmar Anglian in forum Programming
    Replies: 0
    Last Post: 07-06-2009, 06:45 AM
  5. Don't browse, aggregate
    By carlos64 in forum Everything Else
    Replies: 0
    Last Post: 06-26-2008, 05:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48