Skip to content

Database.Guide

window functions

4 Ways to Select Duplicate Rows in PostgreSQL

July 23, 2023February 2, 2022 by Ian

If you have a table with duplicate rows in PostgreSQL, you can use any of the following queries to return the duplicate rows.

Read more

Categories PostgreSQL Tags how to, window functions

3 Ways to List All Functions in PostgreSQL

July 21, 2023December 22, 2021 by Ian

Here are three options for listing out all functions in a PostgreSQL database.

Read more

Categories PostgreSQL Tags functions, how to, UDF, window functions

SUM() Function in SQL Server

July 21, 2023December 20, 2021 by Ian

In SQL Server, the SUM() aggregate function returns the sum of a given expression.

It can also be used to return the sum of all distinct (unique) values in the expression.

SUM() only works on numeric columns. Null values are ignored.

Read more

Categories SQL Server Tags functions, mathematical functions, what is, window functions

3 Ways to List all Stored Procedures in a PostgreSQL Database

July 21, 2023December 10, 2021 by Ian

Here are three options for listing out all the stored procedures in a Postgres database.

Read more

Categories PostgreSQL Tags how to, stored procedures, window functions

SUM() Function in MySQL

July 21, 2023December 10, 2021 by Ian

In MySQL, the SUM() aggregate function returns the sum of a given expression.

It can also be used to return the sum of all distinct (unique) values in an expression.

Read more

Categories MySQL Tags aggregate functions, aggregation, functions, what is, window functions

COUNT() Function in MariaDB

July 21, 2023December 5, 2021 by Ian

In MariaDB, the COUNT() aggregate function returns a count of the number of non-NULL values of an expression in the rows retrieved by a SELECT statement.

Read more

Categories MariaDB Tags aggregate functions, aggregation, functions, what is, window functions

AVG() Function in MariaDB

July 21, 2023December 4, 2021 by Ian

In MariaDB, the AVG() function returns the average value of the given expression.

The DISTINCT option can be used to return the average of the distinct values (i.e. remove duplicates before calculating the average).

NULL values are ignored.

Read more

Categories MariaDB Tags aggregate functions, aggregation, functions, what is, window functions

SUM() Function in MariaDB

July 21, 2023December 3, 2021 by Ian

In MariaDB, the SUM() aggregate function returns the sum of a given expression.

It can also be used to return the sum of all distinct (unique) values in an expression.

Read more

Categories MariaDB Tags aggregate functions, aggregation, functions, what is, window functions

MIN() Function in MariaDB

July 21, 2023December 1, 2021 by Ian

In MariaDB, MIN() is an aggregate function that returns the minimum value in a given expression.

Read more

Categories MariaDB Tags aggregate functions, aggregation, functions, what is, window functions

MAX() Function in MariaDB

July 21, 2023December 1, 2021 by Ian

In MariaDB, MAX() is an aggregate function that returns the maximum value in a given expression.

Read more

Categories MariaDB Tags aggregate functions, aggregation, functions, what is, window functions
Older posts
Newer posts
← Previous Page1 … Page12 Page13 Page14 Next →

About | Privacy Policy

© 2026 Database.Guide • All rights reserved