Create Table qquery build wuith correct types, eror checking fixed
First working prototype