MySQL Forums
Forum List  »  MySQL Workbench

How to create view list only fields of a table?
Posted by: weilies chok
Date: July 10, 2014 04:30AM

i refer http://dev.mysql.com/doc/refman/5.0/en/show-columns.html and realized syntax
"SHOW COLUMNS FROM mydb.mytable;" shows many fields

how can i create a view which smart enough to list

Table | Fields
Employee | Employee_ID
Employee | name
Employee | DOB
Vendor | vendor_ID
Vendor | name

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
How to create view list only fields of a table?
1170
July 10, 2014 04:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.