Answer the question
In order to leave comments, you need to log in
How to output non-null columns in SQL query?
Good afternoon
There is a table:
id | Post |A1 |B1_1|B1_14|B1_23
----------------------------
1 |Master |null|1 |Null |Null
2 | Head |1 |Null|1 |Null
How can I make sure that when "Master" is selected, only the B1_1 column (that is, the non-null column) is returned?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question