How does this query work.....? - Mailing list pgsql-sql

From RbrtBrn3@aol.com
Subject How does this query work.....?
Date
Msg-id 28.1237f87b.27da50bd@aol.com
Whole thread Raw
Responses Re: How does this query work.....?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
<font face="arial,helvetica"><font size="2">Hi, <br /><br />I am using the following query to find the attributes of a
giventable, and <br />their datatypes: <br /><br />select typname,attname                            <br />from
pg_classc, pg_attribute a,pg_type t <br />where relname = 'table_name' and <br />attrelid = c.oid and <br />atttypid =
t.oidand <br />attnum > 0; <br /><br />Can anybody explain how this query actually works - I cannot figure it. <br
/>Thanksin advance. <br /><br />Rob Burne.</font></font> 

pgsql-sql by date:

Previous
From: Andrew Perrin
Date:
Subject: Re: SQL Dummy Needs Help
Next
From: "david morgan"
Date:
Subject: error joining 2 views containing GROUP BYs