Submit Search
Upload
Handling tree structures — recursive SPs, nested sets, recursive CTEs
•
3 likes
•
3,425 views
Mind The Firebird
Follow
How to work with tree structures in Firebird SQL
Read less
Read more
Technology
Business
Report
Share
Report
Share
1 of 50
Download Now
Download to read offline
Recommended
Sql for dbaspresentation
Sql for dbaspresentation
oracle documents
Introduction to database
Introduction to database
Pongsakorn U-chupala
Sql commands
Sql commands
Pooja Dixit
Database adapter
Database adapter
prathap kumar
MySQL Essential Training
MySQL Essential Training
HudaRaghibKadhim
Introduction to mysql part 1
Introduction to mysql part 1
baabtra.com - No. 1 supplier of quality freshers
PostgreSQL Tutorial For Beginners | Edureka
PostgreSQL Tutorial For Beginners | Edureka
Edureka!
SQL for interview
SQL for interview
Aditya Kumar Tripathy
More Related Content
What's hot
Sql
Sql
YUCHENG HU
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
Our Friends the Utils: A highway traveled by wheels we didn't re-invent.
Our Friends the Utils: A highway traveled by wheels we didn't re-invent.
Workhorse Computing
Ms sql-server
Ms sql-server
Md.Mojibul Hoque
Database presentation
Database presentation
webhostingguy
MySql slides (ppt)
MySql slides (ppt)
webhostingguy
Oracle table lock modes
Oracle table lock modes
Franck Pachot
Trees in data structrures
Trees in data structrures
Gaurav Sharma
What's hot
(8)
Sql
Sql
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server
Our Friends the Utils: A highway traveled by wheels we didn't re-invent.
Our Friends the Utils: A highway traveled by wheels we didn't re-invent.
Ms sql-server
Ms sql-server
Database presentation
Database presentation
MySql slides (ppt)
MySql slides (ppt)
Oracle table lock modes
Oracle table lock modes
Trees in data structrures
Trees in data structrures
Similar to Handling tree structures — recursive SPs, nested sets, recursive CTEs
Data_base.pptx
Data_base.pptx
Mohit89650
Myth busters - performance tuning 102 2008
Myth busters - performance tuning 102 2008
paulguerin
Data integrity
Data integrity
Rahul Gupta
Writing maintainable Oracle PL/SQL code
Writing maintainable Oracle PL/SQL code
Donald Bales
Writing Maintainable Code
Writing Maintainable Code
Donald Bales
PDI data vault framework #pcmams 2012
PDI data vault framework #pcmams 2012
Jos van Dongen
Presentation pdi data_vault_framework_meetup2012
Presentation pdi data_vault_framework_meetup2012
Pentaho Community
Dbms relational model
Dbms relational model
Chirag vasava
Implementing the Database Server session 01
Implementing the Database Server session 01
Guillermo Julca
graph2tab, a library to convert experimental workflow graphs into tabular for...
graph2tab, a library to convert experimental workflow graphs into tabular for...
Rothamsted Research, UK
Myth busters - performance tuning 103 2008
Myth busters - performance tuning 103 2008
paulguerin
PostgreSQL Terminology
PostgreSQL Terminology
Showmax Engineering
DB2 on Mainframe
DB2 on Mainframe
Skillwise Group
Normalization
Normalization
wax4u
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
Muthu Natarajan
Bioinformatics t4-alignments v2014
Bioinformatics t4-alignments v2014
Prof. Wim Van Criekinge
Scaling Apache Storm - Strata + Hadoop World 2014
Scaling Apache Storm - Strata + Hadoop World 2014
P. Taylor Goetz
Oracle Objects And Transactions
Oracle Objects And Transactions
tepsum
DBD::SQLite
DBD::SQLite
charsbar
Inside SQL Server In-Memory OLTP
Inside SQL Server In-Memory OLTP
Bob Ward
Similar to Handling tree structures — recursive SPs, nested sets, recursive CTEs
(20)
Data_base.pptx
Data_base.pptx
Myth busters - performance tuning 102 2008
Myth busters - performance tuning 102 2008
Data integrity
Data integrity
Writing maintainable Oracle PL/SQL code
Writing maintainable Oracle PL/SQL code
Writing Maintainable Code
Writing Maintainable Code
PDI data vault framework #pcmams 2012
PDI data vault framework #pcmams 2012
Presentation pdi data_vault_framework_meetup2012
Presentation pdi data_vault_framework_meetup2012
Dbms relational model
Dbms relational model
Implementing the Database Server session 01
Implementing the Database Server session 01
graph2tab, a library to convert experimental workflow graphs into tabular for...
graph2tab, a library to convert experimental workflow graphs into tabular for...
Myth busters - performance tuning 103 2008
Myth busters - performance tuning 103 2008
PostgreSQL Terminology
PostgreSQL Terminology
DB2 on Mainframe
DB2 on Mainframe
Normalization
Normalization
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
Bioinformatics t4-alignments v2014
Bioinformatics t4-alignments v2014
Scaling Apache Storm - Strata + Hadoop World 2014
Scaling Apache Storm - Strata + Hadoop World 2014
Oracle Objects And Transactions
Oracle Objects And Transactions
DBD::SQLite
DBD::SQLite
Inside SQL Server In-Memory OLTP
Inside SQL Server In-Memory OLTP
More from Mind The Firebird
Tips for using Firebird system tables
Tips for using Firebird system tables
Mind The Firebird
Using Azure cloud and Firebird to develop applications easily
Using Azure cloud and Firebird to develop applications easily
Mind The Firebird
A year in the life of Firebird .Net provider
A year in the life of Firebird .Net provider
Mind The Firebird
How Firebird transactions work
How Firebird transactions work
Mind The Firebird
SuperServer in Firebird 3
SuperServer in Firebird 3
Mind The Firebird
Copycat presentation
Copycat presentation
Mind The Firebird
Using ТРСС to study Firebird performance
Using ТРСС to study Firebird performance
Mind The Firebird
Overview of RedDatabase 2.5
Overview of RedDatabase 2.5
Mind The Firebird
Creating logs for data auditing in FirebirdSQL
Creating logs for data auditing in FirebirdSQL
Mind The Firebird
Firebird Performance counters in details
Firebird Performance counters in details
Mind The Firebird
Understanding Numbers in Firebird SQL
Understanding Numbers in Firebird SQL
Mind The Firebird
Threading through InterBase, Firebird, and beyond
Threading through InterBase, Firebird, and beyond
Mind The Firebird
New SQL Features in Firebird 3, by Vlad Khorsun
New SQL Features in Firebird 3, by Vlad Khorsun
Mind The Firebird
Orphans, Corruption, Careful Write, and Logging
Orphans, Corruption, Careful Write, and Logging
Mind The Firebird
Firebird release strategy and roadmap for 2015/2016
Firebird release strategy and roadmap for 2015/2016
Mind The Firebird
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Mind The Firebird
Working with Large Firebird databases
Working with Large Firebird databases
Mind The Firebird
Stored procedures in Firebird
Stored procedures in Firebird
Mind The Firebird
Firebird on Linux
Firebird on Linux
Mind The Firebird
Superchaging big production systems on Firebird: transactions, garbage, maint...
Superchaging big production systems on Firebird: transactions, garbage, maint...
Mind The Firebird
More from Mind The Firebird
(20)
Tips for using Firebird system tables
Tips for using Firebird system tables
Using Azure cloud and Firebird to develop applications easily
Using Azure cloud and Firebird to develop applications easily
A year in the life of Firebird .Net provider
A year in the life of Firebird .Net provider
How Firebird transactions work
How Firebird transactions work
SuperServer in Firebird 3
SuperServer in Firebird 3
Copycat presentation
Copycat presentation
Using ТРСС to study Firebird performance
Using ТРСС to study Firebird performance
Overview of RedDatabase 2.5
Overview of RedDatabase 2.5
Creating logs for data auditing in FirebirdSQL
Creating logs for data auditing in FirebirdSQL
Firebird Performance counters in details
Firebird Performance counters in details
Understanding Numbers in Firebird SQL
Understanding Numbers in Firebird SQL
Threading through InterBase, Firebird, and beyond
Threading through InterBase, Firebird, and beyond
New SQL Features in Firebird 3, by Vlad Khorsun
New SQL Features in Firebird 3, by Vlad Khorsun
Orphans, Corruption, Careful Write, and Logging
Orphans, Corruption, Careful Write, and Logging
Firebird release strategy and roadmap for 2015/2016
Firebird release strategy and roadmap for 2015/2016
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Working with Large Firebird databases
Working with Large Firebird databases
Stored procedures in Firebird
Stored procedures in Firebird
Firebird on Linux
Firebird on Linux
Superchaging big production systems on Firebird: transactions, garbage, maint...
Superchaging big production systems on Firebird: transactions, garbage, maint...
Recently uploaded
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAI
Vijayananda Mohire
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4
DianaGray10
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
DianaGray10
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Neo4j
2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf
The Good Food Institute
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox
LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0
DanBrown980551
The Importance of Indoor Air Quality (English)
The Importance of Indoor Air Quality (English)
IES VE
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
Eric D. Schabell
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
Safe Software
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024
Brian Pichman
EMEA What is ThousandEyes? Webinar
EMEA What is ThousandEyes? Webinar
ThousandEyes
March Patch Tuesday
March Patch Tuesday
Ivanti
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
Satishbabu Gunukula
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)
Muhammad Tiham Siddiqui
Scenario Library et REX Discover industry- and role- based scenarios
Scenario Library et REX Discover industry- and role- based scenarios
Erol GIRAUDY
IT Service Management (ITSM) Best Practices for Advanced Computing
IT Service Management (ITSM) Best Practices for Advanced Computing
MAGNIntelligence
Patch notes explaining DISARM Version 1.4 update
Patch notes explaining DISARM Version 1.4 update
adam112203
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave Library
shyamraj55
Recently uploaded
(20)
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAI
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0
The Importance of Indoor Air Quality (English)
The Importance of Indoor Air Quality (English)
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024
EMEA What is ThousandEyes? Webinar
EMEA What is ThousandEyes? Webinar
March Patch Tuesday
March Patch Tuesday
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)
Scenario Library et REX Discover industry- and role- based scenarios
Scenario Library et REX Discover industry- and role- based scenarios
IT Service Management (ITSM) Best Practices for Advanced Computing
IT Service Management (ITSM) Best Practices for Advanced Computing
Patch notes explaining DISARM Version 1.4 update
Patch notes explaining DISARM Version 1.4 update
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave Library
Handling tree structures — recursive SPs, nested sets, recursive CTEs
1.
Managing recursive, tree-like
data structures with Firebird Frank Ingermann
2.
Welcome to this
session ! … say Sparkies I and III
3.
This session is...
a piece of cake! about
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
Nested Sets: Intro
same data as Nested Sets : „ classical“ tree: Nested Sets are all about Containment ! … and NO, this slide is NOT about fried eggs!
23.
Nested Sets: different
views
24.
Nested Sets:
L and R values L R L R L R L R L R
25.
26.
Nested Sets: Storage
in DB
27.
INSERT s in
Nested Sets
28.
DELETE s in
Nested Sets
29.
Moving nodes
in Nested Sets
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
Recursive results ->
„flat“ result set this slide © Vladyslav Khorsun - thanks, Vlad ! A Ch
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
Download Now