The functions in this SQL statement are mysql functions or php functions. the Function means, how can this problem be solved?
Source: Internet
Author: User
In this SQL statement, the function is a mysql function or a php function. the Function means mysql_query (& quot; UPDATE 'users' SET 'jifen' = round ('jifen' + ('percent '/100), 1) WHEREuser =' $ inuser' & quot ;); the SQL function in this SQ is a mysql function or a php function. the Function means
Mysql_query ("UPDATE 'users' SET 'jifen' = round ('jifen' + ('percent '/100), 1) WHERE user =' $ inuser '"); in this SQL statement, the function is a mysql function or a php function. what does the function mean?
------ Solution --------------------
Mysql's entire function. when one parameter is set, round (x) returns the nearest integer of x. When two parameters are set, round (x, y) returns the value of y after The x decimal point.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.