sql - How to get a specific column when queried with certain data. (There are 'n' similar columns) -


i have n similar columns (x1, x2, x3,... xn) in record. want columns have value '5'. how done? in advance!

from vague description, think need simple clause.

select column_name(s) table_name column_name(s) =5; 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -