emit table create query at the start of results