Added limit support to Select statements and fix issues about Primary Key in CreateTable