开发者

i want to get the record where column name equals to row record

开发者 https://www.devze.com 2023-03-15 19:41 出处:网络
above is the table and record i am using, in the below table i want to retrieve value 3 that is 11-20 column and row 11-20.

i want to get the record where column name equals to row record

above is the table and record i am using, in the below table i want to retrieve value 3 that is 11-20 column and row 11-20.

could any one he开发者_开发知识库lp me please.

Thanks,

Pradeep


SELECT [11-20] FROM ProductLines Where ProductLine='11-20'


SELECT 11-20 FROM tablename WHERE ProductLine = '11-20'
0

精彩评论

暂无评论...
验证码 换一张
取 消