V
V
Vladimir Golub2021-07-01 17:20:15
MySQL
Vladimir Golub, 2021-07-01 17:20:15

How to set a parameter in Select that is not in the table?

I want to set a parameter in select, but there is no such column in the database itself?

SELECT paramTest = 1 FROM ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fedor Vlasenko, 2021-07-01
@RazerVG

SELECT 1 AS 'paramTest' FROM ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question