Skip to content
Advertisement

Use a value in MySQL query in multiple lines without a variable

I have this mysql query that uses the same value I’m passing, 3 times over.

JavaScript

Is there any way to make this query without me having to type the below

JavaScript

And just use this

JavaScript

Advertisement

Answer

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