[MECHDB] Added cross-refs from select statement source to create table statements

This is experimental seems to work but there is a bigger issue with the grammar not able to support names correctly for sqlite