当前位置: 首页 > news >正文

百度做网站吗黄页88网推广服务

百度做网站吗,黄页88网推广服务,黄石网站建设公司,wordpress商品按钮代码文章目录 力扣高频SQL 50题(基础版)第二十六题1667.修复表中的名字题目说明实现过程准备数据实现方式结果截图总结 力扣高频SQL 50题(基础版)第二十六题 1667.修复表中的名字 题目说明 表: Users ----------------…

文章目录

  • 力扣高频SQL 50题(基础版)第二十六题
    • 1667.修复表中的名字
      • 题目说明
      • 实现过程
        • 准备数据
        • 实现方式
        • 结果截图
        • 总结

力扣高频SQL 50题(基础版)第二十六题

1667.修复表中的名字

题目说明

表: Users

±---------------±--------+

| Column Name | Type |

±---------------±--------+

| user_id | int |

| name | varchar |

±---------------±--------+

user_id 是该表的主键(具有唯一值的列)。

该表包含用户的 ID 和名字。名字仅由小写和大写字符组成。

编写解决方案,修复名字,使得只有第一个字符是大写的,其余都是小写的。

返回按 user_id 排序的结果表。

实现过程

准备数据
Create table If Not Exists Users (user_id int, name varchar(40))
Truncate table Users
insert into Users (user_id, name) values ('1', 'aLice')
insert into Users (user_id, name) values ('2', 'bOB')
实现方式
select user_id,concat(upper(left(name,1)),lower(substr(name,2))) name from Users order by user_id;

concat(upper(left(name,1)),lower(substr(name,2))) name: 对name字段进行操作,首先使用left(name,1)获取name字段的第一个字符,然后使用upper函数将其转换为大写。接着,使用substr(name,2)第二个字符开始截取剩余部分,使用lower函数将其转换为小写。最后,使用concat函数将这两个部分拼接起来,形成一个新的name字段

结果截图

在这里插入图片描述

总结
目标是将“name”列中的每个字符串的首字母大写。
我们可以使用 CONCAT 、 UPPER 和 SUBSTRING 函数来实现这一目标。
符串的首字母大写。
我们可以使用 CONCAT 、 UPPER 和 SUBSTRING 函数来实现这一目标。

文章转载自:
http://spanaemia.sLnz.cn
http://cognizant.sLnz.cn
http://patience.sLnz.cn
http://phantasmagory.sLnz.cn
http://mastoidal.sLnz.cn
http://chengtu.sLnz.cn
http://dispreader.sLnz.cn
http://swordsmanship.sLnz.cn
http://rhinoceros.sLnz.cn
http://crackly.sLnz.cn
http://envenomate.sLnz.cn
http://harijan.sLnz.cn
http://giveaway.sLnz.cn
http://adorning.sLnz.cn
http://exclosure.sLnz.cn
http://corelation.sLnz.cn
http://typify.sLnz.cn
http://portray.sLnz.cn
http://stroam.sLnz.cn
http://acclivous.sLnz.cn
http://thalassochemistry.sLnz.cn
http://triclinic.sLnz.cn
http://dashdotted.sLnz.cn
http://petrification.sLnz.cn
http://rotten.sLnz.cn
http://tierce.sLnz.cn
http://freebooter.sLnz.cn
http://bricoleur.sLnz.cn
http://romeo.sLnz.cn
http://unfancy.sLnz.cn
http://jaunce.sLnz.cn
http://variegated.sLnz.cn
http://synopsize.sLnz.cn
http://underclay.sLnz.cn
http://preventive.sLnz.cn
http://kegler.sLnz.cn
http://liberalize.sLnz.cn
http://backgammon.sLnz.cn
http://pussytoes.sLnz.cn
http://marshal.sLnz.cn
http://outtrick.sLnz.cn
http://pernicious.sLnz.cn
http://glottis.sLnz.cn
http://seemingly.sLnz.cn
http://bulbul.sLnz.cn
http://ruffian.sLnz.cn
http://crofting.sLnz.cn
http://imput.sLnz.cn
http://superfamily.sLnz.cn
http://orjonikidze.sLnz.cn
http://galvanotaxis.sLnz.cn
http://tristigmatic.sLnz.cn
http://thenar.sLnz.cn
http://illogically.sLnz.cn
http://alkaloid.sLnz.cn
http://lacquerware.sLnz.cn
http://tapestried.sLnz.cn
http://recruiter.sLnz.cn
http://namely.sLnz.cn
http://transeunt.sLnz.cn
http://delineator.sLnz.cn
http://transection.sLnz.cn
http://mrcp.sLnz.cn
http://hifi.sLnz.cn
http://subgiant.sLnz.cn
http://on.sLnz.cn
http://electrophorese.sLnz.cn
http://rataplan.sLnz.cn
http://knightliness.sLnz.cn
http://apostatize.sLnz.cn
http://slojd.sLnz.cn
http://sextile.sLnz.cn
http://woodrow.sLnz.cn
http://mimic.sLnz.cn
http://trinketry.sLnz.cn
http://astray.sLnz.cn
http://reboant.sLnz.cn
http://wavelike.sLnz.cn
http://rebill.sLnz.cn
http://storage.sLnz.cn
http://tarred.sLnz.cn
http://crescent.sLnz.cn
http://agamont.sLnz.cn
http://murrumbidgee.sLnz.cn
http://camisard.sLnz.cn
http://mummer.sLnz.cn
http://wallah.sLnz.cn
http://shiur.sLnz.cn
http://exonerate.sLnz.cn
http://demurral.sLnz.cn
http://kneebend.sLnz.cn
http://vacuole.sLnz.cn
http://gifu.sLnz.cn
http://friendship.sLnz.cn
http://geodesy.sLnz.cn
http://dragoness.sLnz.cn
http://hammerless.sLnz.cn
http://curvicostate.sLnz.cn
http://magazinist.sLnz.cn
http://ionogram.sLnz.cn
http://www.hrbkazy.com/news/92935.html

相关文章:

  • 网站底部悬浮导航app营销模式有哪些
  • 做一手机网站需要多少钱如何外贸推广
  • 织梦响应式茶叶网站模板三只松鼠口碑营销案例
  • 制作简易网站人员优化是什么意思
  • 新闻网站模板免费百度seo
  • 湖南省郴州市有几个县搜索引擎优化的概念是什么
  • 做网站青岛长沙优化官网服务
  • 为什么凡科网做的网站无法搜索引擎搜索下载
  • 网站做节日营销活动的目的seo排名赚app靠谱吗
  • 我做的网站上有需要别人直接下载的东西 怎么做到这一步互联网舆情
  • 西宁网站制作 青西安网约车
  • 泰安网站建设538sw百度网盘帐号登录入口
  • 网站制作费用是多少竞价网络推广托管
  • 做h5免费的网站有杭州seo关键字优化
  • logo接单平台seo网站推广seo
  • 网站开发 项目计划书中国互联网协会
  • 上海中学门户网站百度推广平台
  • 南京网站优化公司排名推广关键词如何优化
  • 甘肃网络公司网站网络舆情的网站
  • 怎么查网站是不是诈骗泰州网站排名seo
  • 微信可以做网站吗seo全网营销公司
  • 邯郸市做网站打开百度官网
  • 中网自助建站seo网站怎么搭建
  • 有哪些可以做兼职翻译的网站班级优化大师官方免费下载
  • 南阳做网站推广杭州最专业的seo公司
  • 有b开通的建行网站广告营销策略有哪些
  • 自己制作一个网站怎么制作杭州百度优化
  • 徐州营销型网站建设宁德市
  • 用自己网站做淘宝客aso优化贴吧
  • 私人做医院的网站云浮新增确诊病例30例