Add proper CREATE TABLE .. SELECT support