Skip to Main Content
SQL Server 2017 Developer???s Guide
book

SQL Server 2017 Developer???s Guide

by Dejan Sarka, Miloš Radivojević, William Durkin
March 2018
Intermediate to advanced content levelIntermediate to advanced
816 pages
19h 35m
English
Packt Publishing
Content preview from SQL Server 2017 Developer???s Guide

What is a graph?

Graphs are studied in graph theory, a part of discrete mathematics. A graph data structure consists of a finite set of two types of objects:

  • nodes or vertices
  • edges or lines, which are related pairs of nodes

The formal, mathematical definition for a graph is just this: G = (V, E). This means a graph is an ordered pair of a finite set of vertices and a finite set of edges.

If all edges within a graph are bidirectional, the graph is undirected. A simple, undirected graph is shown as follows:

Simple undirected graph

This graph consists of four nodes and four edges. The set of nodes and edges can be represented with a formula ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SQL Server 2016 Developer's Guide

SQL Server 2016 Developer's Guide

Miloš Radivojević, Dejan Sarka, William Durkin
Mastering SQL Server 2017

Mastering SQL Server 2017

Milos Radivojevic, Dejan Sarka, William Durkin, Christian Cote, Matija Lah

Publisher Resources

ISBN: 9781788476195Supplemental Content