X
X
xonar2019-02-06 01:18:50
SQL
xonar, 2019-02-06 01:18:50

How to multiply a field in SQL?

Hello.
I'm trying to make the multiplication of the money field in the SQL query, but it doesn't work. UPDATE didn't help either. But, the request is not executed, it just displays the result like this. The result worked fine, but the database was not updated.
SELECT `money` * 10 FROM `users` WHERE `id`=36454
5c5a0b9486281378436092.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitsliputsli, 2019-02-06
@Vitsliputsli

The UPDATE statement is used to update data in the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question