V
V
Viktoria Smirnova2018-06-04 09:42:14
MySQL
Viktoria Smirnova, 2018-06-04 09:42:14

SQL computed column?

Guys, according to the results of the sql query, a calculated column appears, that is, a virtual column that is not physically stored in the table, with an Int value, for example 7. Is it possible to use this value on the client, namely in the form of a table of 7 rows? Anyone who has experienced this, please respond.
Implementation: MVC with JSP, JDBC, JSTL.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-06-04
@sergey-gornostaev

If there is a column in the query result, then it can be obtained from the ResultSet and used as you like.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question