
🌐 A graph is a data structure you can use to model hierarchy and relationships between objects. It can be represented in several different ways.
✅ adjacency matrices
✅ adjacency lists
✅ and lists of edges
This is nice resource to understand graph
stackabuse.com/courses/graph…
3
🔸PostgreSQL SELECT DISTINCT clause removes duplicate rows from a result set returned by a query.
🔸GROUP BY lets you use aggregate functions, like AVG, MAX, MIN, SUM, and COUNT.
✅ Therefore DISTINCT just removes duplicates.
#database #postgresql #sql #programming
