Jump to content

select query in other way


zohab

Recommended Posts

hi all

 

i am using following query

 

"select * from tmp_table"

 

i have id,col1,col2,col3 columns in my table.

 

i want to select columns except id column.

 

i can do it by

 

"select col1,col2,col3 from tmp_table"

 

but i want to do it without selecting individual column.

 

something like

 

"select * from tmp_table where ---------"

 

any ideas?

 

 

Link to comment
https://forums.phpfreaks.com/topic/84848-select-query-in-other-way/
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.