DocumentCode :
2896226
Title :
Solving Recursive Queries Using Depth First Search
Author :
Quevedo-Torrero, Jesus Ubaldo
Author_Institution :
Dept. of Comput. Sci., Univ. of Wisconsin - Parkside, Kenosha, WI, USA
fYear :
2010
fDate :
12-14 April 2010
Firstpage :
253
Lastpage :
258
Abstract :
Most undergraduate database courses consider Relational Algebra a fundamental prerequisite for learning relational query languages. However, relational algebra lacks of operators for solving recursive queries, and consequently, in some courses, recursive queries are treated as an optional topic. On the other hand, instructors that teach them, employ a logic paradigm approach given by Datalog. Nevertheless, some major database vendors do not follow that style. This article reports on a teaching methodology that identifies graphs associated to recursive structures in entities having unary relationships. Then, it uses depth first search to traverse the graph in order to solve recursive queries.
Keywords :
query processing; relational algebra; relational databases; tree searching; Datalog; depth first search; graphs; recursive queries; relational algebra; relational query languages; Algebra; Computer science; Database languages; Education; Identity management systems; Information technology; Logic; Relational databases; Resource management; Termination of employment; Recursion; relational databases; teaching methodology;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Information Technology: New Generations (ITNG), 2010 Seventh International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4244-6270-4
Type :
conf
DOI :
10.1109/ITNG.2010.233
Filename :
5501720
Link To Document :
بازگشت