문제

I have this relational algebra query:

%x(code)({('PX5'),('PX6')})

Can you explain to me what this query means?

I know that % is rename operation, x is new name of table, but I dont know, what is in () brackets behind '(code)'. Thank you

도움이 되었습니까?

해결책

{('PX5'),('PX6')} looks like a relation. But I also don't understand your term. A rename is defined as ρa/b(R).

So the best what I could think of your term would be something like ρx/code({('PX5'),('PX6')}), which means:

Rename the attribute 'code' into 'x' of the relation {('PX5'),('PX6')}.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top