Jump to content

Creating mysql View


watsmyname

Recommended Posts

Hello

 

I have two tables tableA and tableB. These table have same structure except that tableB has three more columns than tableA. All i want to do is create one mysql VIEW named "mysqlView",  taking these two tables with extra one column 'from_table'. if the rows are from tableA this field will have value A and when from tableB it has value B.  Can anybody help me on this??

 

thanks

watsmyname

Link to comment
https://forums.phpfreaks.com/topic/234329-creating-mysql-view/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.