CS SE IT 1105 Database Management Systems - Lecture 05
CS SE IT 1105 Database Management Systems - Lecture 05
Relation Table
Attribute Column
Tuple Row
❑ Updating a row
• UPDATE student
✓ SET gpa=2.8
✓ WHERE studentId=1001
IT IT
BM SE
❑Some of the commonly used aggregate functions are SUM, COUNT, AVG, MIN and MAX
❑ SELECT <attribute-list>
❑ FROM <table-list>
❑ [WHERE <condition>]
❑ [GROUP BY <group attribute(s)>]
❑ [HAVING <group condition>]
❑ [ORDER BY <attribute list>];