RHNUSERCHANNELFAMILYPERMS
DDL scriptColumns
Name | Type | Nullable | Insertable | Updatable | Deletable | Comment |
---|
CHANNEL_FAMILY_ID | NUMBER(38) | Y | NO | NO | NO | |
ORG_ID | NUMBER(38) | Y | NO | NO | NO | |
USER_ID | NUMBER(38) | Y | NO | NO | NO | |
CREATED | TIMESTAMP(6) WITH LOCAL TIME ZONE | Y | NO | NO | NO | |
MODIFIED | TIMESTAMP(6) WITH LOCAL TIME ZONE | Y | NO | NO | NO | |
Query:
Legend: string keyword reserved word operator
select pcf.channel_family_id,
u.org_id as org_id,
u.id as user_id,
pcf.created,
pcf.modified
from rhnPublicChannelFamily pcf,
web_contact u
union
select pcf.channel_family_id,
u.org_id,
u.id as user_id,
pcf.created,
pcf.modified
from rhnPrivateChannelFamily pcf,
web_contact u
where u.org_id = pcf.org_id