sql - mysql dynamic var -
How to create a query and set a dynamic var in the query for output.
Let's say I have a basic table with which
id | Name | Type | Location
Now I want to do a query and choose all the data very simple stuff
Select from
< / Pre>Who will give me
1 | Batman | Sisifei | Line one 2 Matrix | Sisifei | Line B
Bit I want to add a dynamic row so that I can see a video of it. I.e.
id Name | Type | Location | Category 1 | Batman | Sisifei | Line one | Video 2 Matrix | Sisifei | Line b | Video
How can I add it to a query?
Hope that someone can give advice !!
Thanks in advance
SELECT *, from the 'video' ASS category Table
Comments
Post a Comment