
mysql
张张的技术贴
这个作者很懒,什么都没留下…
展开
-
按照,产品的,总点击量,由高到低,进行排序
$list = $this->table->field("id, add_date, count(ip) ip_count, product_id, count(product_id) product_id_count, category_id") ->where($condition) ->group('product_id') ->order('product_id_count desc') ->order('ip_count des.原创 2022-05-21 18:35:27 · 481 阅读 · 0 评论 -
mysql,int数据类型的存储范围
一个正常大小整数。有符号的范围是-2^31 (-2,147,483,648) 到 2^31 - 1 (2,147,483,647) 的整型数据(所有数字),无符号的范围是0到4294967295。一位大小为 4 个字节。int的 SQL-92 同义词为integer。转载 2020-07-20 15:07:35 · 1267 阅读 · 1 评论 -
Out of range value for column 字段 at row 1
当前字段类型,超过,该类型可存储的最大长度了,需要修改字段类型转载 2020-06-22 16:30:18 · 1952 阅读 · 0 评论