I have a table
in MySQL as following:
I was trying the following queries:
select * from test.score_card where playerId in(2,3);
select * from test.score_card where playerId not in(0);
I need a single line query so that it should show the output as if I pass
playerId
within WHERE IN clause then it should show the selected rows OR if I
don't pass any value then it should select all rows.