Jump to content

select a fictional column


rupam_jaiswal

Recommended Posts

Hi,

In mysql, I have a table A with fields f1,f1,f3,f4.

I want to select some selected column values like f1,f2 and a new fictional column f5 whose value will always be 'luck'.

say it should return

 

f1    f2    f5

------------------

a1    a2    luck

b1    b2    luck

c1    c2    luck

 

Is there any way out??

Thanks in advance!!!!!!

Regards

Link to comment
https://forums.phpfreaks.com/topic/204470-select-a-fictional-column/
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.