1.

The ________ SQL command generates statistics on a particular relation(a) Statistic(b) Analyze(c) Modify(d) RunstatsI had been asked this question in semester exam.Question is from Estimating Statistics of Expression Results in section Query Processing and Optimization of RDBMS

Answer»

Correct CHOICE is (b) Analyze

For EXPLANATION I would say: The analyze command is USED to generate STATISTICS on a PARTICULAR set of relations. The runstats command is also valid but not in SQL. It is used in IBM DB2.



Discussion

No Comment Found

Related InterviewSolutions