2021-01-25

我的umi 项目js库 

npm fund


ant-design-pro@2.1.1
+-- https://opencollective.com/ant-design
| `-- antd@4.11.1
+-- https://github.com/sponsors/ljharb
| `-- enzyme@3.11.0, qs@6.9.6, resolve@1.17.0, deep-equal@1.1.1, is-regex@1.0.5, object-inspect@1.7.0, string.prototype.trim@1.2.3, is-arguments@1.1.0, is-date-object@1.0.2, object-is@1.1.4, regexp.prototype.flags@1.3.1, call-bind@1.0.2, get-intrinsic@1.0.2, has-symbols@1.0.1, is-callable@1.2.2, es-abstract@1.18.0-next.2, is-regex@1.1.1, object-inspect@1.9.0, es-to-primitive@1.2.1, is-negative-zero@2.0.1, object.assign@4.1.2, string.prototype.trimend@1.0.3, string.prototype.trimstart@1.0.3, is-symbol@1.0.3, array.prototype.flat@1.2.4, enzyme-shallow-equal@1.0.4, function.prototype.name@1.1.3, html-element-map@1.3.0, is-boolean-object@1.1.0, is-number-object@1.0.4, is-string@1.0.5, object.values@1.1.2, functions-have-names@1.2.2, array-includes@3.1.2, array.prototype.flatmap@1.2.4, resolve@1.19.0, object.fromentries@2.0.3, string.prototype.matchall@4.0.3, is-core-module@2.2.0, side-channel@1.0.4, es-abstract@1.17.7, util.promisify@1.0.1, object.getownpropertydescriptors@2.1.1, enzyme-adapter-react-16@1.15.6, enzyme-adapter-utils@1.14.0, airbnb-prop-types@2.16.0, array.prototype.find@2.1.1
+-- https://opencollective.com/date-fns
| `-- date-fns@2.16.1
+-- https://github.com/sponsors/isaacs
| `-- glob@7.1.6, rimraf@3.0.2
+-- https://opencollective.com/postcss/
| `-- postcss@7.0.35, postcss-load-config@2.1.2
+-- https://github.com/sponsors/fb55
| `-- cheerio-select-tmp@0.1.1, htmlparser2@6.0.0, css-select@3.1.2, css-what@4.0.0, domelementtype@2.1.0, css-what@3.4.2
+-- https://github.com/cheeriojs/dom-serializer?sponsor=1
| `-- dom-serializer@1.2.0
+-- https://github.com/fb55/domhandler?sponsor=1
| `-- domhandler@4.0.0
+-- https://github.com/fb55/entities?sponsor=1
| `-- entities@2.1.0, entities@2.2.0
+-- https://github.com/fb55/htmlparser2?sponsor=1
| `-- htmlparser2@6.0.0
+-- https://github.com/fb55/domutils?sponsor=1
| `-- domutils@2.4.4
+-- https://github.com/fb55/nth-check?sponsor=1
| `-- nth-check@2.0.0
+-- https://nearley.js.org/#give-to-nearley
| `-- nearley@2.20.1
+-- https://github.com/sponsors/epoberezkin
| `-- ajv@6.12.6
+-- https://github.com/sponsors/sindresorhus
| `-- import-fresh@3.3.0, p-limit@2.3.0, ansi-escapes@4.3.1, figures@3.2.0, type-fest@0.11.0, query-string@6.13.8, get-stream@5.2.0, cli-spinners@2.5.0, pretty-bytes@5.5.0, make-dir@3.1.0, onetime@5.1.2, parse-json@5.2.0, cli-boxes@2.2.1
+-- https://opencollective.com/browserslist
| `-- browserslist@4.16.1
+-- https://opencollective.com/core-js
| `-- core-js-pure@3.8.3, core-js-compat@3.8.3, core-js@3.8.3
+-- https://github.com/sponsors/wooorm
| `-- collapse-white-space@1.0.6, is-alphabetical@1.0.4, is-decimal@1.0.4, is-whitespace-character@1.0.4, is-word-character@1.0.4, markdown-escapes@1.0.4, state-toggle@1.0.3, trim-trailing-lines@1.1.4, unherit@1.1.3, character-entities@1.2.4, character-entities-legacy@1.1.4, character-reference-invalid@1.1.4, is-alphanumerical@1.0.4, is-hexadecimal@1.0.4, bail@1.0.5, trough@1.0.5, mathml-tag-names@2.1.3, ccount@1.1.0, longest-streak@2.0.4, character-entities-html4@1.1.4, vendors@1.0.4
+-- https://opencollective.com/unified
| `-- unist-util-remove-position@1.1.4, vfile-location@2.0.6, unist-util-find-all-after@1.0.5, mdast-util-compact@1.0.4
+-- https://github.com/chalk/chalk?sponsor=1
| `-- chalk@4.1.0
+-- https://github.com/chalk/ansi-styles?sponsor=1
| `-- ansi-styles@4.3.0
+-- https://opencollective.com/babel
| `-- @babel/core@7.12.10
+-- https://github.com/sponsors/feross
| `-- safe-buffer@5.2.1, is-buffer@2.0.5, base64-js@1.5.1, ieee754@1.2.1, arch@2.2.0
+-- https://www.patreon.com/feross
| `-- safe-buffer@5.2.1, is-buffer@2.0.5, base64-js@1.5.1, ieee754@1.2.1, arch@2.2.0
+-- https://feross.org/support
| `-- safe-buffer@5.2.1, is-buffer@2.0.5, base64-js@1.5.1, ieee754@1.2.1, arch@2.2.0
+-- https://tidelift.com/funding/github/npm/autoprefixer
| `-- autoprefixer@9.8.6
+-- https://github.com/sponsors/jonschlinkert
| `-- picomatch@2.2.2
+-- https://tidelift.com/funding/github/npm/loglevel
| `-- loglevel@1.7.1
+-- https://github.com/sponsors/RubenVerborgh
| `-- follow-redirects@1.13.1
+-- https://opencollective.com/typescript-eslint
| `-- @typescript-eslint/parser@2.34.0, @typescript-eslint/experimental-utils@2.34.0, @typescript-eslint/typescript-estree@2.34.0
+-- https://github.com/sponsors/mysticatea
| `-- eslint-plugin-eslint-comments@3.2.0, eslint-utils@2.1.0
+-- https://ko-fi.com/tunnckoCore/commissions
| `-- formidable@1.2.2
+-- https://opencollective.com/immer
| `-- immer@5.3.6
+-- https://bevry.me/fund
| `-- istextorbinary@2.6.0, binaryextensions@2.3.0, editions@2.3.1, textextensions@2.6.0, errlop@2.2.0
+-- https://github.com/sponsors/gjtorikian/
| `-- isbinaryfile@4.0.6
+-- https://github.com/sindresorhus/execa?sponsor=1
| `-- execa@4.1.0
`-- https://github.com/sindresorhus/invert-kv?sponsor=1
  `-- invert-kv@3.0.1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
使用python中的pymsql完成如下:表结构与数据创建 1. 建立 `users` 表和 `orders` 表。 `users` 表有用户ID、用户名、年龄字段,(id,name,age) `orders` 表有订单ID、订单日期、订单金额,用户id字段。(id,order_date,amount,user_id) 2 两表的id作为主键,`orders` 表用户id为users的外键 3 插入数据 `users` (1, '张三', 18), (2, '李四', 20), (3, '王五', 22), (4, '赵六', 25), (5, '钱七', 28); `orders` (1, '2021-09-01', 500, 1), (2, '2021-09-02', 1000, 2), (3, '2021-09-03', 600, 3), (4, '2021-09-04', 800, 4), (5, '2021-09-05', 1500, 5), (6, '2021-09-06', 1200, 3), (7, '2021-09-07', 2000, 1), (8, '2021-09-08', 300, 2), (9, '2021-09-09', 700, 5), (10, '2021-09-10', 900, 4); 查询语句 1. 查询订单总金额 2. 查询所有用户的平均年龄,并将结果四舍五入保留两位小数。 3. 查询订单总数最多的用户的姓名和订单总数。 4. 查询所有不重复的年龄。 5. 查询订单日期在2021年9月1日至9月4日之间的订单总金额。 6. 查询年龄不大于25岁的用户的订单数量,并按照降序排序。 7. 查询订单总金额排名前3的用户的姓名和订单总金额。 8. 查询订单总金额最大的用户的姓名和订单总金额。 9. 查询订单总金额最小的用户的姓名和订单总金额。 10. 查询所有名字中含有“李”的用户,按照名字升序排序。 11. 查询所有年龄大于20岁的用户,按照年龄降序排序,并只显示前5条记录。 12. 查询每个用户的订单数量和订单总金额,并按照总金额降序排序。
06-03

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值