explain for queries