Added table generate queries
Merge remote-tracking branch 'upstream/master'