python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Get all results from the customer table. Replace null values in the state and fax columns with an empty string. How to solve this query?
I am very confused about this question .The thing is know that I can use COALESCE function for this but how ?Because there are 2 columns here ,State and Fax
Germanjeet Singh
Votes: 0
Answers: 1
Print from jq using a wild card (or coalesce to first non null)
I have the following command:
kubectl get pod -A -o=json | jq -r '.items[]|select(any( .status.containerStatuses[]; .state.waiting or .state.terminated))|[.metadata.namespace, .metadata.name]|@csv'
...
Vaccano
Votes: 0
Answers: 2