Implementing create table in the query interface

Change-Id: I763305af860c44867b7119769f93f5a4e3b62732
Merge "Implementing create table in the query interface"