关系模式如下:Product(maker,model,type)PC(model,speed,ram,hd,price)Printer(model,color,type,price)Laptop(model,speed,ram,hd,price)用关系代数表达查询厂商B生产的所有产品的型号和价格,以下表达正确的是( )。
A、Πmodel,price(σmaker=”B”(product)∞pc)∪Πmodel,price(σmaker=”B”(product)∞printer)∪Πmodel,price(σmaker=”B”(product)∞laptop);
B、Πmodel,price(σmaker=”B”(product)∞(pc∪printer∪laptop);
C、Πmodel,price(σmaker=”B”(product)∞pc∪σmaker=”B”(product)∞printer∪σmaker=”B”(product)∞laptop);
D、Πmodel,price(σmaker=”B”(product∞pc∞printer∞laptop);
发布时间:2025-03-30 21:09:22