Functions in MySQL are easy
67.7 هزار بار بازدید -
2 سال پیش
-
#MySQL
#MySQL #SQL #course
More functions can be found here:
https://dev.mysql.com/doc/refman/8.0/...
SELECT COUNT(amount) as count
FROM transactions;
SELECT MAX(amount) AS maximum
FROM transactions;
SELECT MIN(amount) AS minimum
FROM transactions;
SELECT AVG(amount) AS average
FROM transactions;
SELECT SUM(amount) AS sum
FROM transactions;
SELECT CONCAT(first_name, “ ”, last_name) AS full_name
FROM employees;
More functions can be found here:
https://dev.mysql.com/doc/refman/8.0/...
SELECT COUNT(amount) as count
FROM transactions;
SELECT MAX(amount) AS maximum
FROM transactions;
SELECT MIN(amount) AS minimum
FROM transactions;
SELECT AVG(amount) AS average
FROM transactions;
SELECT SUM(amount) AS sum
FROM transactions;
SELECT CONCAT(first_name, “ ”, last_name) AS full_name
FROM employees;
2 سال پیش
در تاریخ 1401/08/09 منتشر شده
است.
67,757
بـار بازدید شده