GATE IT 2007 · SQL Queries

MCQ · 1 mark · Problem DBMS-SQL-0122

Consider a selection of the form \(\sigma_{A\leq 100} (r)\), where r is a relation with 1000 tuples. Assume that the attribute values for A among the tuples are uniformly distributed in the interval [0, 500]. Which one of the following options is the best estimate of the number of tuples returned by the given selection query ?
  1. A
    50
  2. B
    100
  3. C
    150
  4. D
    200

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3510/gate2007-it-65

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com