Discuss the relative advantages and disadvantages of inverted files and list or ring structures (pointer- field structures) in answering inquiries of the following types.
a. Are there any records that have both attribute 1 and attribute 2 (sales greater than $ 5,000 and location equal to the state of New York)?
b. How many records have attribute 1, attribute 2, attribute n?