Anonymous

Not logged in

  • Log in
SQLZoo

Functions Reference

From SQLZoo

Namespaces

  • Page
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History
Functions
Concatenate strings
Extracting substrings
lower case
Finding Substring
Formatting numbers
Replace NULL
Conditional values
Time now
Format dates

SQL Functions

Standard SQL functions and some common non-standard function. MS SQL, Oracle, MySQL and PostgreSQL provide support or have alternatives. Where possible alternatives are given.

ABSCURRENT_TIMESTAMPLENGTH+ INTERVALSUBSTRING(ansi)
AVGDATEPARTMAX+ (string)SUBSTRING
StringsDAYMINPOSITIONSUM
CASEDIVMINUTEQUARTERTAN
CASTEXTRACTMODRANKTO_CHAR(dates)
CEILFLOORMONTHREPLACETRIM
COALESCEHOURNULLIFRIGHTYEAR
CONCATIFNULLNVLROUND
COSINSTRPATINDEXSECOND
COUNTLEFT% MODULOSIN
CURRENT_DATELEN+(dates)SUBSTR
DataWars, Data Science Practice Projects - LogoDataWars: Practice Data Science/Analysis with +100 Real Life Projects
  • Served by: laalaa at 2025-05-11T08:18
  • Retrieved from "https://sqlzoo.net/w/index.php?title=Functions_Reference&oldid=13718"

    Navigation

    • SELECT basics
    • quiz
    • SELECT from world
    • quiz
    • SELECT from nobel
    • quiz
    • SELECT in SELECT
    • quiz
    • SUM and COUNT
    • quiz
    • JOIN
    • quiz
    • More JOIN
    • quiz
    • Using NULL
    • quiz
    • Self JOIN
    • quiz

    Reference

    • NoSQL zoo
    • SELECT
    • Functions
    • SELECT .. WHERE
    • SELECT .. GROUP BY
    • SELECT .. JOIN
    • SELECT .. SELECT
    • INSERT .. VALUES
    • INSERT .. SELECT
    • UPDATE
    • DELETE
    • CREATE TABLE
    • CREATE VIEW
    • CREATE INDEX
    • DROP
    • ALTER
    • UNION
    • LEFT JOIN
    • NULL

    Wiki tools

    Wiki tools

    • Special pages

    Page tools

    Page tools

      User page tools

        More

        • What links here
        • Related changes
        • Printable version
        • Permanent link
        • Page information
        • Page logs
        • Powered by MediaWiki
        • This page was last modified on 20 March 2015, at 16:37.
        • Privacy policy
        • About SQLZoo
        • Disclaimers
        OSZAR »