Combining booking and demographic details queries into one.