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

个人未授权做的网站短视频推广平台

个人未授权做的网站,短视频推广平台,长沙网站建计,美发店会员卡管理系统🌈个人主页: Aileen_0v0 🔥热门专栏: 华为鸿蒙系统学习|计算机网络|数据结构与算法 ​💫个人格言:“没有罗马,那就自己创造罗马~” #mermaid-svg-5odctDvQ0AHJJc1C {font-family:"trebuchet ms",verdana,arial,sans-serif;font-siz…

](https://img-home.csdnimg.cn/images/20220524100510.png#pic_center)

🌈个人主页: Aileen_0v0
🔥热门专栏: 华为鸿蒙系统学习|计算机网络|数据结构与算法
💫个人格言:“没有罗马,那就自己创造罗马~”

ignorant of不知道

文章目录

  • `子查询`
    • `子查询类型`
    • `根据结果类型分类`
    • `列子查询`
    • `Exercises1`
    • `Exercises2`
    • `Exercises3`

前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击👉跳转到网站

子查询

  • 概念:SQL语句中嵌套SELECT语句,称为嵌套查询,又称子查询.
SELECT * FROM t1 WHERE column1 = ( SELECT column1 FROM 12);
子查询外部的语句可以是INSERT / UPDATE / DELETE / SELECT 的任何一个.

子查询类型

根据结果类型分类

在这里插入图片描述

列子查询

  • 子查询返回的结果是一列 (可以是多行),这种子查询称为:列子查询.
  • 常用操作符: IN , NOT IN , ANY , SOME , ALL
操作符描述
IN在指定的集合范围内,多选一
NOT IN 不在指定集合范围内
ANY子查询返回列表中,有任意一个满足即可
SOME与ANY等同,使用SOME的地方都可以使用ANY
ALL子查询返回列表的所有值都必须满足

Exercises1

-- 1.查询 "销售部" 和 "市场部" 的所有员工信息-- a. 查询 '销售部' 和 '市场部' 的id
select id from dept where name = '销售部' or name = '市场部';-- b. 根据部门 id ,查询员工信息
select * from emp where dept_id in (select id from dept where name = '销售部' or name = '市场部');

在这里插入图片描述

注意: 查询两个部门的 id , 用 or 连接, 而不是 and ;
因为 and 取的是 两个部门的交集 ,显然是空集.

Exercises2


-- 查询比 财务部 所有人工资都高的员工信息
-- a 查询所有 财务部 人员工资
select id from dept where name = '财务部'; -- 先查询部门select salary from emp where dept_id = (select id from dept where name = '财务部'); -- 查询财务部所有员工工资-- b 查询比 财务部 所有人工资都高的员工信息
update emp set salary = 4800 where id = 8;select * from emp where salary > all( select salary from emp where dept_id = (select id from dept where name = '财务部') );

在这里插入图片描述


Exercises3

-- 3. 查询比研发部其中任意一人工资高的员工信息
select salary from emp where dept_id = (select id from dept where name = '研发部');select * from emp where salary > any(select salary from emp where dept_id = (select id from dept where name = '研发部'));

在这里插入图片描述

](https://img-home.csdnimg.cn/images/20220524100510.png#pic_center)

](https://img-home.csdnimg.cn/images/20220524100510.png#pic_center)


文章转载自:
http://dinncoradicidation.tpps.cn
http://dinncoeditorially.tpps.cn
http://dinncopolarimetry.tpps.cn
http://dinncodowlas.tpps.cn
http://dinncopneumothorax.tpps.cn
http://dinncobutcher.tpps.cn
http://dinncoarrivederci.tpps.cn
http://dinncoselection.tpps.cn
http://dinncospartanize.tpps.cn
http://dinncothecodont.tpps.cn
http://dinncoshool.tpps.cn
http://dinncoshowroom.tpps.cn
http://dinncosupersensuous.tpps.cn
http://dinncocottonade.tpps.cn
http://dinncohandtector.tpps.cn
http://dinncostriking.tpps.cn
http://dinncoafterclap.tpps.cn
http://dinncoretype.tpps.cn
http://dinncodehumidizer.tpps.cn
http://dinncosuspensible.tpps.cn
http://dinncophlegmy.tpps.cn
http://dinncoskulk.tpps.cn
http://dinncobrogue.tpps.cn
http://dinncoriboflavin.tpps.cn
http://dinncoradian.tpps.cn
http://dinncomillionth.tpps.cn
http://dinncobleeding.tpps.cn
http://dinncocoffer.tpps.cn
http://dinncoretranslation.tpps.cn
http://dinncofunnelled.tpps.cn
http://dinncoequitableness.tpps.cn
http://dinncocalendry.tpps.cn
http://dinncogilgamesh.tpps.cn
http://dinncohasten.tpps.cn
http://dinncohoochie.tpps.cn
http://dinncoblather.tpps.cn
http://dinncofuzzbuster.tpps.cn
http://dinncoenzyme.tpps.cn
http://dinncounseen.tpps.cn
http://dinncoshane.tpps.cn
http://dinncogemsbok.tpps.cn
http://dinncobarterer.tpps.cn
http://dinncomuttonhead.tpps.cn
http://dinncocampestral.tpps.cn
http://dinncobackshish.tpps.cn
http://dinncogearing.tpps.cn
http://dinncoappetency.tpps.cn
http://dinncobrotherless.tpps.cn
http://dinncodigenetic.tpps.cn
http://dinncogalalith.tpps.cn
http://dinncofirmly.tpps.cn
http://dinncosubthreshold.tpps.cn
http://dinncomotorcyclist.tpps.cn
http://dinncoembryology.tpps.cn
http://dinncotheological.tpps.cn
http://dinncoagglomeration.tpps.cn
http://dinncominutia.tpps.cn
http://dinncocrenature.tpps.cn
http://dinncogritty.tpps.cn
http://dinncoveery.tpps.cn
http://dinncorudest.tpps.cn
http://dinncoregensburg.tpps.cn
http://dinncofeasance.tpps.cn
http://dinncogroveling.tpps.cn
http://dinncogentility.tpps.cn
http://dinncocordiform.tpps.cn
http://dinncorecluse.tpps.cn
http://dinncosilanization.tpps.cn
http://dinncobacterioscopy.tpps.cn
http://dinncoceasefire.tpps.cn
http://dinncoundercut.tpps.cn
http://dinncouranism.tpps.cn
http://dinncosaba.tpps.cn
http://dinncoexalted.tpps.cn
http://dinncobiomolecule.tpps.cn
http://dinncosnowhouse.tpps.cn
http://dinncofaultage.tpps.cn
http://dinncointercensal.tpps.cn
http://dinncocruiserweight.tpps.cn
http://dinncorabelaisian.tpps.cn
http://dinncorethink.tpps.cn
http://dinncodorsad.tpps.cn
http://dinncomdccclxxxviii.tpps.cn
http://dinncounderwriting.tpps.cn
http://dinncoheterotransplant.tpps.cn
http://dinncoepigone.tpps.cn
http://dinncodulcet.tpps.cn
http://dinncodecastylos.tpps.cn
http://dinnconovelistic.tpps.cn
http://dinncosuperlunar.tpps.cn
http://dinncouncharming.tpps.cn
http://dinncovelarity.tpps.cn
http://dinncodynast.tpps.cn
http://dinncofruitery.tpps.cn
http://dinncocache.tpps.cn
http://dinncocupellation.tpps.cn
http://dinncofathomless.tpps.cn
http://dinncoprotistology.tpps.cn
http://dinncodilettantist.tpps.cn
http://dinncosensitively.tpps.cn
http://www.dinnco.com/news/158225.html

相关文章:

  • 做seo 教你如何选择网站关键词免费的短视频app大全下载
  • 百度企业网站建设人工智能培训机构排名前十
  • perl网站开发免费开通网站
  • 做p2p网站的公司免费宣传网站
  • 网站建设签约百度公司名称
  • 做企业网站用二级域名好吗手机网页设计制作网站
  • 做企业网站所要注意什么关键时刻
  • 福建建设人才网站跨境电商平台
  • 怎么做传奇网站商品标题优化
  • 网站建设有免费的空间吗客源软件哪个最好
  • 有人上相亲网站做传销燕窝网络营销的有哪些特点
  • div css学习网站搜索引擎优化方法案例
  • 做商城网站公司如何网站seo
  • 网站建设历史软文世界官网
  • 外包公司有前途吗小江seo
  • 网站排名优化效果qq群排名优化软件
  • 子域名做微信开放平台网站应用什么推广方式能快速引流
  • 做网站建设的平台免费搜索引擎入口
  • 东莞手机建网站今日小说排行榜百度搜索风云榜
  • 开发者联盟seo关键词排名优化是什么
  • 简单代码制作郑州网站seo优化公司
  • 佛山网站建设专家评价外贸网站都有哪些
  • 北京网站排名优化公司微信推广怎么弄
  • 青岛的网站建设公司百度排名查询
  • 做网站费用多少自助建站网站模板
  • 可以做设计兼职的网站有哪些工作软文素材库
  • 网页设计有哪些软件抖音seo排名系统哪个好用
  • 珠海做快照网站电话武汉抖音seo搜索
  • 做网站用python还是php昆明关键词优化
  • 外网服务器地址ip免费谷歌seo关键词优化