Hi,
The preferred way is to use the the information schema views
because system tables may change
ex:
select * from information_schema.columns
here, information_schema is the owner and columns is the name of the view. The are other interesting views to interogate and they are all contained in the database model so when you create a new database you'll have them.