Isaac
Lifelong Learner
- Local time
- Today, 09:01
- Joined
- Mar 14, 2017
- Messages
- 11,569
The code posted by @Kamayo Ako won't work unless there is only ONE row at each level
Not sure that's technically correct. As long as the parent table has ogrenci_id as it's PK, and as long as the child tables have ogrenci_id as the related foreign key, it could work. Not saying it's the best way of course