Skip to content

Commit fe71cc7

Browse files
author
Shati Patel
committed
Add intro to third tutorial
1 parent fdfa2e1 commit fe71cc7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/language/learn-ql/beginner/crown-the-rightful-heir.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Crown the rightful heir
22
=======================
33

4+
This is QL detective puzzle that shows you how to use recursion in QL to write more complex queries.
5+
6+
King Basil's heir
7+
-----------------
8+
49
Phew! No more crimes in the village—you can finally leave the village and go home.
510

611
But then... During your last night in the village, the old king—the great King Basil—dies in his sleep and there is chaos everywhere!
@@ -9,9 +14,6 @@ The king never married and he had no children, so nobody knows who should inheri
914

1015
Eventually you decide to stay in the village to resolve the argument and find the true heir to the throne.
1116

12-
King Basil's heir
13-
-----------------
14-
1517
You want to find out if anyone in the village is actually related to the king. This seems like a difficult task at first, but you start work confidently. You know the villagers quite well by now, and you have a list of all the parents in the village and their children.
1618

1719
To find out more about the king and his family, you get access to the castle and find some old family trees. You also include these relations in your database to see if anyone in the king's family is still alive.

0 commit comments

Comments
 (0)