Jump to content

Recommended Posts

Hello!

 

I am having an issue creating a view.

 

To cut it short, I need to create a view from multiple tables in the same database.

 

Some of these tables are formatted as dynamic tables i.e:

Item_Name

Item_Value

Test1

1

Test2

2

Test3

3

 

And some are formatted as fixed tables i.e:

Test1

Test2

Test3

1

2

3

 

Unfortunately I am not in control of how the database has been built and cannot (For the foreseeable future) change the construction of it.

 

But in the mean time I am looking for a work around, that will allow me to create a fixed format view, that contains information from both types of table using multiple SELECT statements.

I have read the documentation on the creation of a view and cannot seem to find any information specific to this topic!

 

Any help on this would be greatly appreciated as I am currently stuck on this part of my project!

 

Thanks very much for your time,

 

Dan

Link to comment
https://forums.phpfreaks.com/topic/237993-create-view-multiple-select-query/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.