Ah, found some fence pics that show what I mean.
Thats an easy technique to make it strong. I used mortise and tenon and used construction adhesive to fill in the gaps in the joints. The table was one of my first projects and I was just playing around to see if I could do it. That was 20years ago and it hasn't moved. you could use construction adhesive in the method in your picture as well. That joint would not come loose - ever.