Home > Backend Development > PHP Tutorial > 请教 怎么从数据库随机取出一些数,并相加后大于等于100

请教 怎么从数据库随机取出一些数,并相加后大于等于100

WBOY
Release: 2016-06-13 12:22:58
Original
1079 people have browsed it

请问 如何从数据库随机取出一些数,并相加后大于等于100?
请问 如何从数据库随机取出一些数字数据,并相加后大于等于100?
------解决思路----------------------
现有所谓低效的代码,但能解决问题
然后才可能优化成高效的代码

你都不能准确的说出你要做什么,要经过什么途径去实现,怎么可能会有什么高效的代码

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template