There is no API Call for creating Relational Table Query. It would be great if you could do this.
You won't be notified about changes to this idea.