Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The data set is comprised of two database tables: nodes ( paperID , paperTitle ) ; edges ( paperID , citedPaperID ) ; The first

The data set
is comprised of two database tables:
nodes (paperID, paperTitle);
edges (paperID, citedPaperID);
The first table gives a unique paper identifier, as well as the paper title. The second table indicates citations
between the papers (note that citations have a direction).
Your task is to write two stored procedures that analyze this data. (Please use declartive query instead of cursor)
1.1 Connected Components
You will first write a stored procedure that treats the graph as being undirected (that is, do not worry
about the direction of citation) and finds all connected components in the graph that have more than four
and at most ten papers, printing out the associated lists of paper titles.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

2. Do you find change a. invigorating? b. stressful? _______

Answered: 1 week ago