The document discusses Structured Query Language (SQL). It introduces SQL and provides information on its architecture, commands, data types, and use for data warehousing. SQL is described as a language for storing, manipulating, and retrieving data in relational database management systems. Common SQL commands are listed as CREATE, SELECT, INSERT, UPDATE, DELETE, and DROP.
Data Definition Language (DDL), Data Definition Language (DDL), Data Manipulation Language (DML) , Transaction Control Language (TCL) , Data Control Language (DCL) - , SQL Constraints
In this slides discuss about the short introduction about Structured query language .. this slides is help for those students those study database relevant
Normalization is the process of removing redundant data from your tables to improve storage efficiency, data integrity, and scalability.
Normalization generally involves splitting existing tables into multiple ones, which must be re-joined or linked each time a query is issued.
Why normalization?
The relation derived from the user view or data store will most likely be unnormalized.
The problem usually happens when an existing system uses unstructured file, e.g. in MS Excel.
Data Definition Language (DDL), Data Definition Language (DDL), Data Manipulation Language (DML) , Transaction Control Language (TCL) , Data Control Language (DCL) - , SQL Constraints
In this slides discuss about the short introduction about Structured query language .. this slides is help for those students those study database relevant
Normalization is the process of removing redundant data from your tables to improve storage efficiency, data integrity, and scalability.
Normalization generally involves splitting existing tables into multiple ones, which must be re-joined or linked each time a query is issued.
Why normalization?
The relation derived from the user view or data store will most likely be unnormalized.
The problem usually happens when an existing system uses unstructured file, e.g. in MS Excel.
in this presentation the commands let you help to understand the basic of the database system software. how to retrieve data, how to feed data and manipulate it very efficiently by using this commands.
RDBMS - Relational Database Management System It is database management system based on relational model , which is used to manage relational database. Relational model is organization of data in tables which are interrelated. Relational Database It is organized collection of tables. Data is stored in tables. Tables are related to each other using one or more fields.
in this presentation the commands let you help to understand the basic of the database system software. how to retrieve data, how to feed data and manipulate it very efficiently by using this commands.
RDBMS - Relational Database Management System It is database management system based on relational model , which is used to manage relational database. Relational model is organization of data in tables which are interrelated. Relational Database It is organized collection of tables. Data is stored in tables. Tables are related to each other using one or more fields.
SQL is a language that provides an interface to a relational database system.
SQL is developed by IBM in 1970s and it is a defacto standard as well as ISO & ANSI standard
SQL also supports DML for insert, update & delete operations and DDL for creating and modifying tables and other database structures.
Introduction to the Structured Query Language SQLHarmony Kwawu
Our world depends on data in order to thrive. There are many different methods for storing data but the idea of relational database technology has proved the most advantageous. At the heart of all major relational database approach is the SQL, standing for Structured Query Language. SQL is based on set theory or relational principles.
Structured Query Language
SQL Commands:
• The standard SQL commands to interact with relational databases are CREATE, SELECT, INSERT, UPDATE, DELETE and DROP
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
3. Structured Query Language
Prof. K. Adisesha (Ph. D)
3
Structured Query Language (SQL):
SQL is Structured Query Language, which is a computer language for
storing, manipulating and retrieving data stored in relational database.
Structured Query Language and it helps to make practice on SQL commands which
provides immediate results.
SQL is the standard language for Relation Database System.
All relational database management systems like MySQL, MS Access, and Oracle,
Sybase, Informix, and SQL Server use SQL as standard database language.
4. Structured Query Language
Prof. K. Adisesha (Ph. D)
4
A Brief History of SQL:
A Relational database management system (RDBMS) is a database management
system (DBMS) that is based on the relational model as introduced by E. F. Codd.
1970 − Dr. Edgar F. "Ted" Codd of IBM is known as the father of relational
databases. He described a relational model for databases.
1974 − Structured Query Language appeared.
1978 − IBM worked to develop Codd's ideas and released a product named System/R.
1986 − IBM developed the first prototype of relational database and standardized by
ANSI. The first relational database was released by Relational Software which later
came to be known as Oracle.
5. Structured Query Language
Prof. K. Adisesha (Ph. D)
5
Structured Query Language (SQL):
SQL is Structured Query Language, which is a computer language for
storing, manipulating and retrieving data stored in relational database.
6. Structured Query Language
Prof. K. Adisesha (Ph. D)
6
Structured Query Language (SQL):
When you are executing an SQL command for any RDBMS, the system determines the
best way to carry out your request and SQL engine figures out how to interpret the task.
There are various components included in the process.
These components are:
Query Dispatcher
Optimization Engines
Classic Query Engine
SQL Query Engine
7. Structured Query Language
Prof. K. Adisesha (Ph. D)
7
Need for SQL:
SQL is Structured Query Language used for storing, manipulating and
retrieving data stored in relational database.
Allows users to create and drop databases and tables.
Allows users to describe the data.
Allows users to define the data in database and manipulate that data.
Allows users to access data in relational database management systems.
Allows embedding within other languages using SQL modules, libraries & pre-
compilers.
Allows users to set permissions on tables, procedures, and views
8. Structured Query Language
Prof. K. Adisesha (Ph. D)
8
SQL Commands:
The standard SQL commands to interact with relational databases are CREATE,
SELECT, INSERT, UPDATE, DELETE and DROP.
These commands can be classified into groups based on their nature:
DDL - Data Definition Language
DML - Data Manipulation Language
DCL - Data Control Language
TCL – Transaction Control Language
9. Structured Query Language
Prof. K. Adisesha (Ph. D)
9
Data Definition Language (DDL):
DDL defines the conceptual schema providing a link between the logical and the
physical structure of the database.
The functions of the Data Definition Language (DDL) are:
It defines the physical characteristics of each record, filed in the record, field’s data type,
field's length, field’s logical name and also specify relationship among those records.
Describes the schema and subschema.
Indicates the keys of records.
Provides data security measures.
Provides for the logical and physical data independence.
10. Structured Query Language
Prof. K. Adisesha (Ph. D)
10
Data Definition Language (DDL):
DDL defines the conceptual schema providing a link between the logical and
the physical structure of the database.
Few of the basic commands for DDL are:
Command Description
CREATE
Creates a new table, a view of a table, or other object in the
database.
ALTER Modifies an existing database object, such as a table
DROP
Deletes an entire table, a view of a table or other objects in the
database.
RENAME Renames an existing database object, such as a table
11. Structured Query Language
Prof. K. Adisesha (Ph. D)
11
Data Manipulation Language(DML):
DML provides the data manipulation techniques like selection, insertion,
deletion, updation, modification, replacement, retrieval, sorting and display of
data or records.
DML facilitates use of relationship between the records.
DML provides for independence of programming languages by supporting
several high-level programming languages like COBOL, PL/1 and C++.:
12. Structured Query Language
Prof. K. Adisesha (Ph. D)
12
Data Manipulation Language(DML):
DML provides the data manipulation techniques like selection, insertion,
deletion, updation, modification, replacement, retrieval, sorting and display of
data or records.
Few of the basic commands for DML are:
Command Description
INSERT Creates a record.
UPDATE Modifies records.
DELETE Deletes records.
13. Structured Query Language
Prof. K. Adisesha (Ph. D)
13
Data Control Language (DCL):
These SQL commands are used for providing security to database objects.
Few of the basic commands for DCL are:
Command Description
GRANT
Gives a privilege to user.
Such as setting Passwords to Database Users
REVOKE Takes back privileges granted from user.
14. Structured Query Language
Prof. K. Adisesha (Ph. D)
14
Transaction Control Language (TCL):
It includes commands to control the transactions in a database system.
Few of the basic commands for TCL are:
Command Description
SELECT Retrieves certain records from one or more tables
syntax:
>SELECT * FROM table_name;
15. Data Types in SQL
Prof. K. Adisesha (Ph. D)
15
Data Types in SQL:
The following are the most common data types of SQL
Data Data Type From To
Numeric
int -2,147,483,648 2,147,483,647
numeric -10^38 +1 10^38 -1
float -1.79E + 308 1.79E + 308
real -3.40E + 38 3.40E + 38
String
Char
Maximum length of 8,000
characters
Fixed length non-Unicode characters
varchar Maximum of 8,000 characters. Variable-length non-Unicode data
16. Data Types in SQL
Prof. K. Adisesha (Ph. D)
16
Data Types in SQL:
The following are the most common data types of SQL
Data Data Type From To
Date/
Time
datetime Jan 1, 1753 Dec 31, 9999
smalldatetime Jan 1, 1900 Jun 6, 2079
date Stores a date like June 30, 2020
time Stores a time of day like 12:30 P.M.
timestamp
Stores a database-wide unique number that gets updated every
time a row gets updated
17. Operator in SQL
Prof. K. Adisesha (Ph. D)
17
Operator in SQL:
An operator is a reserved word or a character used primarily in an SQL
statement's WHERE clause to perform operation(s), such as comparisons and
arithmetic operations.
These Operators are used to specify conditions in an SQL statement and to
serve as conjunctions for multiple conditions in a statement.
Arithmetic operators
Comparison operators
Logical operators
Operators used to negate conditions
18. Arithmetic Operators
Prof. K. Adisesha (Ph. D)
18
Arithmetic Operators in SQL:
The following are the most common Arithmetic Operators of SQL: Given a=10, b=20
Operator Description Example
(Addition) + Adds values on either side of the operator a + b will give 30
(Subtraction) - Subtracts right hand operand from left hand operand. a - b will give -10
(Multiplication) * Multiplies values on either side of the operator. a * b will give 200
(Division) / Divides left hand operand by right hand operand. b / a will give 2
(Modulus) %
Divides left hand operand by right hand operand and
returns remainder.
b % a will give 0
19. Operator Description Example
=
Checks if the values of two operands are equal or not, if yes then
condition becomes true.
(a = b) is False
!= , < >
Checks if the values of two operands are equal or not, if values are
not equal then condition becomes true..
(a != b) is true
(a <> b) is true
>, >=
Checks if the value of left operand is greater than the value of right
operand, if yes then condition becomes true.
(a > b) is False
(a >= b) is False
< , <=
Checks if the value of left operand is less than or equal to the value of
right operand, if yes then condition becomes true.
(a < b) is true
(a <= b) is true
! > , !<
Checks if the value of left operand is not less than the value of right
operand, if yes then condition becomes true.
(a !< b) is false
(a !> b) is true
Comparison Operators
Prof. K. Adisesha (Ph. D)
19
Comparison Operators in SQL:
The following are the most common Comparison Operators of SQL: Given a=10, b=20
20. Logical Operators
Prof. K. Adisesha (Ph. D)
20
Logical Operators in SQL:
The following are the most common Logical Operators of SQL:
Operator Description
ALL, ANY
The ALL operator is used to compare a value to all values in another value set.
The ANY operator is used to compare a value to any applicable value in the list on condition
AND, OR The AND, OR operator allows the existence of multiple conditions in an SQL statement's
NOT The NOT operator reverses the meaning of the logical operator with which it is used
BETWEEN
The BETWEEN operator is used to search for values that are within a set of values, given the
minimum value and the maximum value.
EXISTS
The EXISTS operator is used to search for the presence of a row in a specified table that meets a
certain criterion.
UNIQUE he UNIQUE operator searches every row of a specified table for uniqueness
21. SQL - Expressions
Prof. K. Adisesha (Ph. D)
21
Expressions in SQL:
An expression is a combination of one or more values, operators and SQL
functions that evaluate to a value..
These SQL EXPRESSIONs are like formulae and they are written in query
language.
There are different types of SQL expressions are:
Boolean
Numeric
Date
22. SQL - Expressions
Prof. K. Adisesha (Ph. D)
22
Boolean Expressions in SQL:
SQL Boolean Expressions fetch the data based on matching a single value.
Following is the syntax:
SELECT column1, column2, .. columnN
FROM table_name
WHERE SINGLE VALUE MATCHING EXPRESSION;
Example showing the usage of various SQL Boolean Expressions −
SQL> SELECT * FROM CUSTOMERS WHERE SALARY = 20000;
23. SQL - Expressions
Prof. K. Adisesha (Ph. D)
23
Numeric Expression in SQL:
These expressions are used to perform any mathematical operation in any query.
The numerical expression is used for a mathematical expression or any formula
Following is the syntax:
SELECT numerical expression as OPERATION_NAME
[FROM table_name
WHERE CONDITION] ;
Example showing the usage of various SQL Numeric Expressions −
SQL> SELECT (15 + 6) AS ADDITION;
SQL> SELECT COUNT(*) AS "RECORDS" FROM CUSTOMERS;
24. SQL - Expressions
Prof. K. Adisesha (Ph. D)
24
Date Expressions in SQL:
These expressions are used to calculate and return the Date and Time operation in any
query.
Date Expressions return current system date and time values
Following is the syntax:
SQL> SELECT CURRENT_TIMESTAMP;
Example showing the usage of various SQL Numeric Expressions −
SQL> SELECT GETDATE();
25. SQL - Database
Prof. K. Adisesha (Ph. D)
25
Managing Database in SQL:
Always the database name should be unique within the RDBMS
CREATE Database:
The SQL CREATE DATABASE statement is used to create a new SQL database
Syntax: CREATE DATABASE DatabaseName;
DROP or DELETE Database
The SQL DROP DATABASE statement is used to drop an existing database in SQL schema
Syntax: DROP DATABASE DatabaseName;
SELECT Database, USE Statement
The SQL USE statement is used to select any existing database in the SQL schema
Syntax: USE DatabaseName;
26. SQL - CREATE Table
Prof. K. Adisesha (Ph. D)
26
SQL CREATE TABLE Statement:
Creating a basic table involves naming the table and defining its columns and each
column's data type.
The SQL CREATE TABLE statement is used to create a new table
Syntax: Example:
27. SQL - Drop Table
Prof. K. Adisesha (Ph. D)
27
SQL Drop TABLE Statement:
The SQL DROP TABLE statement is used to remove a table definition and all the data,
indexes, triggers, constraints and permission specifications for that table..
The DROP TABLE statement is used to drop an existing table in a database
Deleting a table will result in loss of complete information stored in the table!
Syntax: Example:
SQL TRUNCATE TABLE
The TRUNCATE TABLE statement is used to delete the data inside a table, but not the table
itself.
Syntax:
28. SQL - Alter Table
Prof. K. Adisesha (Ph. D)
28
SQL Alter TABLE Statement:
The ALTER TABLE statement is used to add, delete, or modify columns in an existing
table.
ALTER TABLE - ADD Column
To add a column in a table, use the following syntax:
ALTER TABLE - DROP Column
To drop a column in a table, use the following syntax:
ALTER TABLE - ALTER/MODIFY Column
To drop a column in a table, use the following syntax:
29. SQL Constraints
Prof. K. Adisesha (Ph. D)
29
SQL Create Constraints:
Constraints can be specified when the table is created with the CREATE TABLE
statement, or after the table is created with the ALTER TABLE statement.
SQL constraints are used to specify rules for the data in a table
The following constraints are commonly used in SQL:
NOT NULL - Ensures that a column cannot have a NULL value
UNIQUE - Ensures that all values in a column are different
PRIMARY KEY - A combination of a NOT NULL and UNIQUE.
FOREIGN KEY - Uniquely identifies a row/record in another table
CHECK - Ensures that all values in a column satisfies a specific condition
DEFAULT - Sets a default value for a column when no value is specified
30. SQL Constraints
Prof. K. Adisesha (Ph. D)
30
SQL Create Constraints:
Constraints can be specified when the table is created with the CREATE TABLE
statement, or after the table is created with the ALTER TABLE statement.
SQL constraints are used to specify rules for the data in a table
Constraints can be column level or table level.
Syntax: Example:
31. SQL INSERT Statement
Prof. K. Adisesha (Ph. D)
31
SQL INSERT INTO Statement:
The INSERT INTO statement is used to insert new records in a table.
It is possible to write the INSERT INTO statement in two ways.
The first way specifies both the column names and the values to be inserted
Syntax:
If you are adding values for all the columns of the table, you do not need to specify the column
names in the SQL query.
Syntax:
32. SQL SELECT Statement
Prof. K. Adisesha (Ph. D)
32
SQL SELECT Statement:
The SELECT statement is used to select data from a database.
The data returned is stored in a result table, called the result-set.
If you want to select all the fields available in the table, use the following syntax:
The SELECT DISTINCT statement is used to return only distinct (different) values..
Syntax:
The WHERE clause is used to extract only those records that fulfill a specified condition.
Syntax:
33. SQL Joins
Prof. K. Adisesha (Ph. D)
33
SQL JOIN:
A JOIN clause is used to combine rows from two or more tables, based on a related
column between them.
Different types of the JOINs in SQL:
(INNER) JOIN: Returns records that have matching values in both tables
LEFT (OUTER) JOIN: Returns all records from the left table, and the matched records
from the right table
RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched
records from the left table
FULL (OUTER) JOIN: Returns all records when there is a match in either left or right
table
34. SQL Joins
Prof. K. Adisesha (Ph. D)
34
SQL INNER JOIN:
The INNER JOIN keyword selects records that have matching values in both tables.
(INNER) JOIN: Returns records that have matching values in both tables
35. SQL Joins
Prof. K. Adisesha (Ph. D)
35
SQL LEFT (OUTER) JOIN:
The LEFT JOIN keyword returns all records from the left table (table1), and the
matched records from the right table (table2).
The result is NULL from the right side, if there is no match.
LEFT (OUTER) JOIN: Returns all records from the left table, and the matched records from
the right table
36. SQL Joins
Prof. K. Adisesha (Ph. D)
36
SQL RIGHT JOIN:
The RIGHT JOIN keyword returns all records from the right table (table2), and the
matched records from the left table (table1).
The result is NULL from the left side, when there is no match.
RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched records
from the left table
37. SQL Joins
Prof. K. Adisesha (Ph. D)
37
SQL FULL OUTER JOIN:
The FULL OUTER JOIN keyword returns all records when there is a match in left
(table1) or right (table2) table records.
FULL OUTER JOIN can potentially return very large result-sets.
FULL (OUTER) JOIN: Returns all records when there is a match in either left or right table
38. SQL ORDER BY
Prof. K. Adisesha (Ph. D)
38
SQL ORDER BY Keyword:
The ORDER BY keyword is used to sort the result-set in ascending or descending
order.
The ORDER BY keyword sorts the records in ascending order by default. To sort the
records in descending order, use the DESC keyword.
39. SQL GROUP BY
Prof. K. Adisesha (Ph. D)
39
SQL GROUP BY:
he GROUP BY statement groups rows that have the same values into summary rows,
like "find the number of customers in each country".
The GROUP BY statement is often used with aggregate functions (COUNT, MAX,
MIN, SUM, AVG) to group the result-set by one or more columns.
40. SQL Functions
Prof. K. Adisesha (Ph. D)
40
SQL MIN() and MAX() Functions:
The MIN() function returns the smallest value of the selected column.
MIN() Syntax:
The MAX() function returns the largest value of the selected column.
MAX() Syntax:
41. SQL Functions
Prof. K. Adisesha (Ph. D)
41
SQL COUNT(), AVG() and SUM() Functions:
The COUNT() function returns the number of rows that matches a specified
criterion.
The AVG() function returns the average value of a numeric column.
The SUM() function returns the total sum of a numeric column.