Skip to content
Advertisement

How to dynamically loop columns when `select where like` till result has only one row?

What I want:

Another case:

How to do it in postgresql?

Advertisement

Answer

How to dynamically loop columns when select where like till result has only one row?

You can use order by and limit:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement