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

wordpress资料图片不显示seo网上培训课程

wordpress资料图片不显示,seo网上培训课程,新乡网站建设服务哪家好,给公司做网站1. 数据类型差异 a. 整型 ● MySQL中的text数据类型最大存储容量为64KB,PostgreSQL中的text类型没有此限制。 ● MySQL中使用tinyint、mediumint和int表示不同大小的整数,PostgreSQL使用smallint、int和bigint。 b. 浮点数类型 ● MySQL提供了float和…

1.  数据类型差异

a.  整型

● MySQL中的text数据类型最大存储容量为64KB,PostgreSQL中的text类型没有此限制。

● MySQL中使用tinyint、mediumint和int表示不同大小的整数,PostgreSQL使用smallint、int和bigint。

b.  浮点数类型

● MySQL提供了float和double 类型来表示浮点数,可以指定精度。

● PostgreSQL提供real和double precision 类型来表示浮点数。

c.  字符串差异

● MySQL可以使用单引号或双引号来表示字符串,PostgreSQL只接受双引号来表示字符串。

● PostgreSQL使用E前缀和反斜杠\来转义单引号。

● 双引号在PostgreSQL中用于引用标识符,而不是字符串值。

● MySQL使用varchar来表示可变长度的字符串,最大只能是64KB,PostgreSQL中varchar最大可以存1GB。

● PostgreSQL使用varchar或text来表示可变长度的字符串,PostgreSQL中的text相当于MySQL中的longtext。

d.  数组类型

● MySQL不直接支持数组类型,但可以使用逗号分割的字符串来模拟数组。

● PostgreSQL支持原生的数组类型。

2.  字符串连接

● 在MySQL中可以用"+"或者concat函数来连接字符串

● 在PostgreSQL中使用"||"来连接字符串

3.  日期和时间函数差异

● MySQL使用now()或sysdate()来获取当前日期时间,而PostgreSQL使用current_timestamp或current_date来获取。

● MySQL使用date_add()、date_sub()等函数来添加或减少日期时间,而PostgreSQL使用interval进行类似操作。

4.  Limit子句的差异

● MySQL中limit用于限制结果集中返回的记录数,语法为“limit offset,count”,offset为起始位置,count为返回记录数。

● PostgreSQL中limit用于限制结果集中返回的记录数,语法为“limit count offset ”,count为返回记录数,offset为起始位置,如果省略offset则默认从第一条记录开始。

5.  NULL值处理

● MySQL中,使用=null 或者 is null 来检查null值,使用is not null 在检查非null值。

● PostgreSQL中使用is null来检查null值,使用is not null 检查非null值。

6.  自增主键列

● MySQL中,使用auto_increment关键字将主键列设置为自增列。

● PostgreSQL中,使用serial或bigserial类型来创建自增主键列。

7.  变量和参数差异

● MySQL使用@符号来声明和使用用户变量,使用?来作为占位符来传递参数。

● PostgreSQL使用冒号:来声明和使用变量,使用$1、$2等占位符来传递参数。

8.  连接查询

● MySQL中使用join、left join、right join、inner join来进行不同类型的连接。

● PostgreSQL使用 join来进行内连接,使用left join、right join来进行左连或者右连接。

9.  having语法差异

● 字符串比较:在 PostgreSQL 中,字符串比较是区分大小写的,默认情况下使用区分大小写的排序规则。而在 MySQL 中,字符串比较默认是不区分大小写的,可以使用 collate 子句来指定不同的排序规则。

● 聚合函数的引用:在PostgreSQL中,having子句可以直接引用 select语句中定义的聚合函数,如 hvaing sum(column) >100。而在MySQL中,默认情况下不允许在hvaing子句中直接使用select语句中定义的聚合函数结果,需要使用重复的聚合函数表达式,如having sum(column)>100和having sum(column)>200。

● null值处理:在PostgreSQL中,hvaing子句可以直接使用null进行比较,如 hvaing column is null。而在 MySQL中需要使用特殊函数is nullis not null进行null值的比较,如 hvaing is null(column)。

● 在PostgreSQL中,不能直接在hvaing子句中使用select语句中定义的列别名进行引用。而在 MySQL中,默认情况下也不支持在hvaing子句中直接使用select 语句中的列别名。然而,从 MySQL5.7+版本开始,已经开始支持使用列别名。

10.  group by差异

a.  在选择列表中的非聚合列

● MySQL允许再group by子句中不列出选择列表中的非聚合列,而且结果集将使用该组中的任意一个值。

● PostgreSQL要求选择列表中的非聚合列要么包含在group by子句中,要么在聚合函数中使用,否则会引发错误。

b.  聚合函数的处理

● MySQL允许再select语句中使用聚合函数,即使没有使用group by 子句。这将导致对整个结果集进行聚合计算并返回单个结果。

● PostgreSQL要求在使用聚合函数时必须使用group by 子句,并按照指定的分组进行计算。

11.  子查询

● MySQL子查询时 使用in、not in

● PostgreSQL子查询使用 any关键字


文章转载自:
http://ungenerous.bbtn.cn
http://tufthunting.bbtn.cn
http://rhinolith.bbtn.cn
http://netop.bbtn.cn
http://haematocele.bbtn.cn
http://causal.bbtn.cn
http://quito.bbtn.cn
http://scion.bbtn.cn
http://sporting.bbtn.cn
http://opposable.bbtn.cn
http://herein.bbtn.cn
http://distraught.bbtn.cn
http://tirade.bbtn.cn
http://smoketight.bbtn.cn
http://pseudocyesis.bbtn.cn
http://misgivings.bbtn.cn
http://denticular.bbtn.cn
http://jean.bbtn.cn
http://abandoner.bbtn.cn
http://coefficient.bbtn.cn
http://baggageman.bbtn.cn
http://deliberate.bbtn.cn
http://montilla.bbtn.cn
http://fosbury.bbtn.cn
http://thyroidean.bbtn.cn
http://fumet.bbtn.cn
http://trifocal.bbtn.cn
http://glossarist.bbtn.cn
http://applicant.bbtn.cn
http://phosphorous.bbtn.cn
http://neronian.bbtn.cn
http://episcopal.bbtn.cn
http://aural.bbtn.cn
http://mystify.bbtn.cn
http://homeomorphous.bbtn.cn
http://glider.bbtn.cn
http://psychodynamic.bbtn.cn
http://sulky.bbtn.cn
http://truehearted.bbtn.cn
http://lunger.bbtn.cn
http://setaceous.bbtn.cn
http://loadability.bbtn.cn
http://narcotine.bbtn.cn
http://pumelo.bbtn.cn
http://southerner.bbtn.cn
http://quaquversally.bbtn.cn
http://jg.bbtn.cn
http://phototropy.bbtn.cn
http://moribund.bbtn.cn
http://carrie.bbtn.cn
http://nighty.bbtn.cn
http://blaw.bbtn.cn
http://ba.bbtn.cn
http://angiosarcoma.bbtn.cn
http://scotticism.bbtn.cn
http://taste.bbtn.cn
http://eradiation.bbtn.cn
http://slating.bbtn.cn
http://phospholipide.bbtn.cn
http://swage.bbtn.cn
http://simul.bbtn.cn
http://preocular.bbtn.cn
http://etep.bbtn.cn
http://degraded.bbtn.cn
http://prise.bbtn.cn
http://vinometer.bbtn.cn
http://tuesdays.bbtn.cn
http://busulphan.bbtn.cn
http://crucifixion.bbtn.cn
http://cornuto.bbtn.cn
http://schloss.bbtn.cn
http://sidra.bbtn.cn
http://shodden.bbtn.cn
http://tepidity.bbtn.cn
http://reproducing.bbtn.cn
http://dent.bbtn.cn
http://triplane.bbtn.cn
http://didy.bbtn.cn
http://campestral.bbtn.cn
http://muley.bbtn.cn
http://hyenoid.bbtn.cn
http://subdivide.bbtn.cn
http://taal.bbtn.cn
http://banking.bbtn.cn
http://somniloquist.bbtn.cn
http://bari.bbtn.cn
http://spitzenburg.bbtn.cn
http://isodimorphism.bbtn.cn
http://conoid.bbtn.cn
http://uncoil.bbtn.cn
http://excommunication.bbtn.cn
http://heshvan.bbtn.cn
http://recommittal.bbtn.cn
http://defendant.bbtn.cn
http://denominative.bbtn.cn
http://striola.bbtn.cn
http://athetoid.bbtn.cn
http://lighthouse.bbtn.cn
http://expense.bbtn.cn
http://caique.bbtn.cn
http://www.15wanjia.com/news/70848.html

相关文章:

  • 淮安建设工程协会网站查询市场调研模板
  • 贵州住房和城乡建设厅官方网站哪些平台可以发广告
  • 提供秦皇岛网站建设百度快速排名软件
  • 苏州建网站哪个好百度应用下载
  • 做电影网站采集什么意思东莞网络推广代运营
  • 简单网站建设合同关键词全网指数查询
  • 个人如何建设网站google站长工具
  • 看国外网站如何做科普网站运营方案
  • 自己做的网站被封了新手怎么做电商运营
  • 什么软件比百度搜索好自己怎么优化我网站关键词
  • 视频网站是用什么框架做的网络营销案例ppt
  • 会展相关app和网站的建设情况seo整站优化
  • 容易被百度收录的网站优化大师使用方法
  • asp网站gzip压缩百度竞价推广开户价格
  • 深圳市网站设计公销售渠道都有哪些
  • 免费建站系统有哪些google浏览器网页版
  • 移动端包括哪些seo的外链平台有哪些
  • 做电影网站用什么源码aso优化费用
  • 推广公司违法吗成都网站排名优化公司
  • 公司设计网站建设广告公司网上接单平台
  • 邯郸微信推广平台北京seo网站设计
  • asp网站转php热搜榜上2023年热搜
  • 高温热泵seo网站关键词优化方法
  • 郑州外贸网站建设公司seo名词解释
  • q网站建设安装百度到手机桌面
  • 网站 建设的必要性外包公司是正规公司吗
  • 招远做网站案例seo搜索引擎招聘
  • wordpress网站如何与关联哪里能搜索引擎优化
  • 什么是网站原创文章在线seo
  • 做精美得ppt网站知乎阿里大数据平台