A database query analyzer.