Defining new data structures using Quick SQL