hi i want help on levels

From: "Penchalaiah P(dot)" <penchalaiahp(at)infics(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: hi i want help on levels
Date: 2006-10-16 14:47:01
Message-ID: A70AE049E81A6A40879D5DC0AC8C38C90756DF62@venus.infics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


CREATE TABLE admin_activity

(

activity_id int4 NOT NULL,

Activity_name varchar NOT NULL,

URL varchar,

parent_activity_id int4);

1 Administration 0

2 Activities 1

3 Manage Activity 2

4 Map Activity Role 2

5 Allowance 1

6 Bank 1

7 Code Head 1

8 Corps 1

9 DSOP 1

10 Entitlements 1

These r the values to that table...

I want like this... tell me the query for this...

Administration -> Manage Actvities -> Create Activity

==> Update Activity

==> Delete Activity

Admin 1

Activity_id activity_name parent_id

_____________________________________________

1 Admin null

2 ` Manage activities 1

3 Create Activity 2

4 Update Activity 2

5 Admin1 null

6 Delete Activity 2

Thanks & Regards

Penchal reddy | Software Engineer

Infinite Computer Solutions | Exciting Times...Infinite Possibilities...

SEI-CMMI level 5 | ISO 9001:2000

IT SERVICES | BPO

Telecom | Finance | Healthcare | Manufacturing | Energy & Utilities |
Retail & Distribution | Government

Tel +91-80-5193-0000(Ext:503)| Fax +91-80-51930009 | Cell No
+91-9980012376|www.infics.com

Information transmitted by this e-mail is proprietary to Infinite
Computer Solutions and/ or its Customers and is intended for use only by
the individual or entity to which it is addressed, and may contain
information that is privileged, confidential or exempt from disclosure
under applicable law. If you are not the intended recipient or it
appears that this mail has been forwarded to you without proper
authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at info(dot)in(at)infics(dot)com and delete this mail from
your records.

Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info(dot)in(at)infics(dot)com and delete this email from your records.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Marc G. Fournier 2006-10-16 17:25:31 Re: get_next_billing_date() ...
Previous Message Markus Schaber 2006-10-16 09:20:40 Re: Recursive pl/pgsql function ...