游戏攻略网
当前位置: 首页 游戏攻略

mysqljoin好用吗(读得懂唐僧师徒取经)

时间:2023-07-17 作者: 小编 阅读量: 1 栏目名: 游戏攻略

我们一起去了解并探讨一下这个问题吧!mysqljoin好用吗原文:https://www.enmotech.com/web/detail/1/852/1.html导读:本文是读者『小豹子加油』的投稿,通过举出唐僧师徒取经的例子,详述一则使用JOIN来优化SQL的案例。

mysqljoin好用吗?原文:https://www.enmotech.com/web/detail/1/852/1.html (复制链接至浏览器,即可查看),下面我们就来说一说关于mysqljoin好用吗?我们一起去了解并探讨一下这个问题吧!

mysqljoin好用吗

原文:https://www.enmotech.com/web/detail/1/852/1.html (复制链接至浏览器,即可查看)

导读:本文是读者『小豹子加油』的投稿,通过举出唐僧师徒取经的例子,详述一则使用JOIN来优化SQL的案例。

准备相关表


相关建表语句请看:https://github.com/YangBaohust/my_sql

user1表,取经组

---- ----------- ----------------- --------------------------------- | id | user_name | comment | mobile | ---- ----------- ----------------- --------------------------------- | 1 | 唐僧 | 旃檀功德佛 | 138245623,021-382349 || 2 | 孙悟空 | 斗战胜佛 | 159384292,022-483432, 86-392432 || 3 | 猪八戒 | 净坛使者 | 183208243,055-8234234 || 4 | 沙僧 | 金身罗汉 | 293842295,098-2383429 || 5 | NULL | 白龙马 | 993267899 | ---- ----------- ----------------- ---------------------------------

user2表,悟空的朋友圈

---- -------------- ----------- | id | user_name | comment | ---- -------------- ----------- | 1 | 孙悟空 | 美猴王 || 2 | 牛魔王 | 牛哥 || 3 | 铁扇公主 | 牛夫人 || 4 | 菩提老祖 | 葡萄 || 5 | NULL | 晶晶 | ---- -------------- -----------

user1_kills表,取经路上杀的妖怪数量

---- ----------- --------------------- ------- | id | user_name | timestr | kills | ---- ----------- --------------------- ------- | 1 | 孙悟空 | 2013-01-10 00:00:00 | 10 || 2 | 孙悟空 | 2013-02-01 00:00:00 | 2 || 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 || 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 || 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 || 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 || 8 | 沙僧 | 2013-01-10 00:00:00 | 3 || 9 | 沙僧 | 2013-01-22 00:00:00 | 9 || 10 | 沙僧 | 2013-02-11 00:00:00 | 5 | ---- ----------- --------------------- -------

user1_equipment表,取经组装备

---- ----------- -------------- ----------------- ----------------- | id | user_name | arms | clothing | shoe | ---- ----------- -------------- ----------------- ----------------- | 1 | 唐僧 | 九环锡杖 | 锦斓袈裟 | 僧鞋 || 2 | 孙悟空 | 金箍棒 | 梭子黄金甲 | 藕丝步云履 || 3 | 猪八戒 | 九齿钉耙 | 僧衣 | 僧鞋 || 4 | 沙僧 | 降妖宝杖 | 僧衣 | 僧鞋 | ---- ----------- -------------- ----------------- -----------------

使用left join优化not in子句


例子:找出取经组中不属于悟空朋友圈的人

---- ----------- ----------------- ----------------------- | id | user_name | comment | mobile | ---- ----------- ----------------- ----------------------- | 1 | 唐僧 | 旃檀功德佛 | 138245623,021-382349 || 3 | 猪八戒 | 净坛使者 | 183208243,055-8234234 || 4 | 沙僧 | 金身罗汉 | 293842295,098-2383429 | ---- ----------- ----------------- -----------------------

not in写法:

select * from user1 a where a.user_name not in (select user_name from user2 where user_name is not null);

left join写法:首先看通过user_name进行连接的外连接数据集

select a.*, b.* from user1 a left join user2 b on (a.user_name = b.user_name); ---- ----------- ----------------- --------------------------------- ------ ----------- ----------- | id | user_name | comment | mobile | id | user_name | comment | ---- ----------- ----------------- --------------------------------- ------ ----------- ----------- | 2 | 孙悟空 | 斗战胜佛 | 159384292,022-483432, 86-392432 | 1 | 孙悟空 | 美猴王 || 1 | 唐僧 | 旃檀功德佛 | 138245623,021-382349 | NULL | NULL | NULL || 3 | 猪八戒 | 净坛使者 | 183208243,055-8234234 | NULL | NULL | NULL || 4 | 沙僧 | 金身罗汉 | 293842295,098-2383429 | NULL | NULL | NULL || 5 | NULL | 白龙马 | 993267899 | NULL | NULL | NULL | ---- ----------- ----------------- --------------------------------- ------ ----------- -----------

可以看到a表中的所有数据都有显示,b表中的数据只有b.user_name与a.user_name相等才显示,其余都以null值填充,要想找出取经组中不属于悟空朋友圈的人,只需要在b.user_name中加一个过滤条件b.user_name is null即可。

select a.* from user1 a left join user2 b on (a.user_name = b.user_name) where b.user_name is null; ---- ----------- ----------------- ----------------------- | id | user_name | comment | mobile | ---- ----------- ----------------- ----------------------- | 1 | 唐僧 | 旃檀功德佛 | 138245623,021-382349 || 3 | 猪八戒 | 净坛使者 | 183208243,055-8234234 || 4 | 沙僧 | 金身罗汉 | 293842295,098-2383429 || 5 | NULL | 白龙马 | 993267899 | ---- ----------- ----------------- -----------------------

看到这里发现结果集中还多了一个白龙马,继续添加过滤条件a.user_name is not null即可。

select a.* from user1 a left join user2 b on (a.user_name = b.user_name) where b.user_name is null and a.user_name is not null;

使用left join优化标量子查询


例子:查看取经组中的人在悟空朋友圈的昵称

----------- ----------------- ----------- | user_name | comment | comment2 | ----------- ----------------- ----------- | 唐僧 | 旃檀功德佛 | NULL || 孙悟空 | 斗战胜佛 | 美猴王 || 猪八戒 | 净坛使者 | NULL || 沙僧 | 金身罗汉 | NULL || NULL | 白龙马 | NULL | ----------- ----------------- -----------

子查询写法:

select a.user_name, a.comment, (select comment from user2 b where b.user_name = a.user_name) comment2 from user1 a;

left join写法:

select a.user_name, a.comment, b.comment comment2 from user1 a left join user2 b on (a.user_name = b.user_name);

3. 使用join优化聚合子查询

例子:查询出取经组中每人打怪最多的日期

---- ----------- --------------------- ------- | id | user_name | timestr | kills | ---- ----------- --------------------- ------- | 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 || 9 | 沙僧 | 2013-01-22 00:00:00 | 9 | ---- ----------- --------------------- -------

聚合子查询写法:

select * from user1_kills a where a.kills = (select max(b.kills) from user1_kills b where b.user_name = a.user_name);

join写法:

首先看两表自关联的结果集,为节省篇幅,只取猪八戒的打怪数据来看

select a.*, b.* from user1_kills a join user1_kills b on (a.user_name = b.user_name) order by 1; ---- ----------- --------------------- ------- ---- ----------- --------------------- ------- | id | user_name | timestr | kills | id | user_name | timestr | kills | ---- ----------- --------------------- ------- ---- ----------- --------------------- ------- | 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 | 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 || 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 | 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 || 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 | 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 || 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 | 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 || 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 | 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 || 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 | 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 || 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 | 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 || 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 | 6 | 猪八戒 | 2013-02-07 00:00:00 | 17 || 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 | 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 | ---- ----------- --------------------- ------- ---- ----------- --------------------- -------

可以看到当两表通过user_name进行自关联,只需要对a表的所有字段进行一个group by,取b表中的max(kills),只要a.kills=max(b.kills)就满足要求了。sql如下

select a.* from user1_kills a join user1_kills b on (a.user_name = b.user_name) group by a.id, a.user_name, a.timestr, a.kills having a.kills = max(b.kills);

使用join进行分组选择


例子:对第3个例子进行升级,查询出取经组中每人打怪最多的前两个日期

---- ----------- --------------------- ------- | id | user_name | timestr | kills | ---- ----------- --------------------- ------- | 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 || 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 5 | 猪八戒 | 2013-01-11 00:00:00 | 20 || 7 | 猪八戒 | 2013-02-08 00:00:00 | 35 || 9 | 沙僧 | 2013-01-22 00:00:00 | 9 || 10 | 沙僧 | 2013-02-11 00:00:00 | 5 | ---- ----------- --------------------- -------

在oracle中,可以通过分析函数来实现

select b.* from (select a.*, row_number() over(partition by user_name order by kills desc) cnt from user1_kills a) b where b.cnt <= 2;

很遗憾,上面sql在mysql中报错ERROR 1064 (42000): You have an error in your SQL syntax; 因为mysql并不支持分析函数。不过可以通过下面的方式去实现。

首先对两表进行自关联,为了节约篇幅,只取出孙悟空的数据

select a.*, b.* from user1_kills a join user1_kills b on (a.user_name=b.user_name and a.kills<=b.kills) order by a.user_name, a.kills desc; ---- ----------- --------------------- ------- ---- ----------- --------------------- ------- | id | user_name | timestr | kills | id | user_name | timestr | kills | ---- ----------- --------------------- ------- ---- ----------- --------------------- ------- | 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 | 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 | 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 || 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 | 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 1 | 孙悟空 | 2013-01-10 00:00:00 | 10 | 1 | 孙悟空 | 2013-01-10 00:00:00 | 10 || 1 | 孙悟空 | 2013-01-10 00:00:00 | 10 | 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 || 1 | 孙悟空 | 2013-01-10 00:00:00 | 10 | 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 2 | 孙悟空 | 2013-02-01 00:00:00 | 2 | 1 | 孙悟空 | 2013-01-10 00:00:00 | 10 || 2 | 孙悟空 | 2013-02-01 00:00:00 | 2 | 3 | 孙悟空 | 2013-02-05 00:00:00 | 12 || 2 | 孙悟空 | 2013-02-01 00:00:00 | 2 | 4 | 孙悟空 | 2013-02-12 00:00:00 | 22 || 2 | 孙悟空 | 2013-02-01 00:00:00 | 2 | 2 | 孙悟空 | 2013-02-01 00:00:00 | 2 | ---- ----------- --------------------- ------- ---- ----------- --------------------- -------

从上面的表中我们知道孙悟空打怪前两名的数量是22和12,那么只需要对a表的所有字段进行一个group by,对b表的id做个count,count值小于等于2就满足要求,sql改写如下:

select a.* from user1_kills a join user1_kills b on (a.user_name=b.user_name and a.kills<=b.kills) group by a.id, a.user_name, a.timestr, a.kills having count(b.id) <= 2;

使用笛卡尔积关联实现一列转多行


例子:将取经组中每个电话号码变成一行

原始数据:

----------- --------------------------------- | user_name | mobile | ----------- --------------------------------- | 唐僧 | 138245623,021-382349 || 孙悟空 | 159384292,022-483432, 86-392432 || 猪八戒 | 183208243,055-8234234 || 沙僧 | 293842295,098-2383429 || NULL | 993267899 | ----------- ---------------------------------

想要得到的数据:

----------- ------------- | user_name | mobile | ----------- ------------- | 唐僧 | 138245623 || 唐僧 | 021-382349 || 孙悟空 | 159384292 || 孙悟空 | 022-483432 || 孙悟空 |86-392432 || 猪八戒 | 183208243 || 猪八戒 | 055-8234234 || 沙僧 | 293842295 || 沙僧 | 098-2383429 || NULL | 993267899 | ----------- -------------

可以看到唐僧有两个电话,因此他就需要两行。我们可以先求出每人的电话号码数量,然后与一张序列表进行笛卡儿积关联,为了节约篇幅,只取出唐僧的数据

select a.id, b.* from tb_sequence a cross join (select user_name, mobile, length(mobile)-length(replace(mobile, ',', '')) 1 size from user1) b order by 2,1; ---- ----------- --------------------------------- ------ | id | user_name | mobile | size | ---- ----------- --------------------------------- ------ | 1 | 唐僧 | 138245623,021-382349 | 2 || 2 | 唐僧 | 138245623,021-382349 | 2 || 3 | 唐僧 | 138245623,021-382349 | 2 || 4 | 唐僧 | 138245623,021-382349 | 2 || 5 | 唐僧 | 138245623,021-382349 | 2 || 6 | 唐僧 | 138245623,021-382349 | 2 || 7 | 唐僧 | 138245623,021-382349 | 2 || 8 | 唐僧 | 138245623,021-382349 | 2 || 9 | 唐僧 | 138245623,021-382349 | 2 || 10 | 唐僧 | 138245623,021-382349 | 2 | ---- ----------- --------------------------------- ------

a.id对应的就是第几个电话号码,size就是总的电话号码数量,因此可以加上关联条件(a.id <= b.size),将上面的sql继续调整

select b.user_name, replace(substring(substring_index(b.mobile, ',', a.id), char_length(substring_index(mobile, ',', a.id-1))1), ',', '') as mobile from tb_sequence a cross join (select user_name, concat(mobile, ',') as mobile, length(mobile)-length(replace(mobile, ',', '')) 1 size from user1) b on (a.id <= b.size);

使用笛卡尔积关联实现多列转多行


例子:将取经组中每件装备变成一行

原始数据:

---- ----------- -------------- ----------------- ----------------- | id | user_name | arms | clothing | shoe | ---- ----------- -------------- ----------------- ----------------- | 1 | 唐僧 | 九环锡杖 | 锦斓袈裟 | 僧鞋 || 2 | 孙悟空 | 金箍棒 | 梭子黄金甲 | 藕丝步云履 || 3 | 猪八戒 | 九齿钉耙 | 僧衣 | 僧鞋 || 4 | 沙僧 | 降妖宝杖 | 僧衣 | 僧鞋 | ---- ----------- -------------- ----------------- -----------------

想要得到的数据:

----------- ----------- ----------------- | user_name | equipment | equip_mame | ----------- ----------- ----------------- | 唐僧 | arms | 九环锡杖 || 唐僧 | clothing | 锦斓袈裟 || 唐僧 | shoe | 僧鞋 || 孙悟空 | arms | 金箍棒 || 孙悟空 | clothing | 梭子黄金甲 || 孙悟空 | shoe | 藕丝步云履 || 沙僧 | arms | 降妖宝杖 || 沙僧 | clothing | 僧衣 || 沙僧 | shoe | 僧鞋 || 猪八戒 | arms | 九齿钉耙 || 猪八戒 | clothing | 僧衣 || 猪八戒 | shoe | 僧鞋 | ----------- ----------- -----------------

union的写法:

select user_name, 'arms' as equipment, arms equip_mame from user1_equipmentunion allselect user_name, 'clothing' as equipment, clothing equip_mame from user1_equipmentunion allselect user_name, 'shoe' as equipment, shoe equip_mame from user1_equipmentorder by 1, 2;

join的写法:

首先看笛卡尔数据集的效果,以唐僧为例

select a.*, b.* from user1_equipment a cross join tb_sequence b where b.id <= 3; ---- ----------- -------------- ----------------- ----------------- ---- | id | user_name | arms | clothing | shoe | id | ---- ----------- -------------- ----------------- ----------------- ---- | 1 | 唐僧 | 九环锡杖 | 锦斓袈裟 | 僧鞋 | 1 || 1 | 唐僧 | 九环锡杖 | 锦斓袈裟 | 僧鞋 | 2 || 1 | 唐僧 | 九环锡杖 | 锦斓袈裟 | 僧鞋 | 3 | ---- ----------- -------------- ----------------- ----------------- ----

使用case对上面的结果进行处理

select user_name, case when b.id = 1 then 'arms'when b.id = 2 then 'clothing' when b.id = 3 then 'shoe' end as equipment,case when b.id = 1 then arms end arms,case when b.id = 2 then clothing end clothing,case when b.id = 3 then shoe end shoefrom user1_equipment a cross join tb_sequence b where b.id <=3;----------- ----------- -------------- ----------------- ----------------- | user_name | equipment | arms | clothing | shoe | ----------- ----------- -------------- ----------------- ----------------- | 唐僧 | arms | 九环锡杖 | NULL | NULL || 唐僧 | clothing | NULL | 锦斓袈裟 | NULL || 唐僧 | shoe | NULL | NULL | 僧鞋 | ----------- ----------- -------------- ----------------- -----------------

使用coalesce函数将多列数据进行合并

select user_name, case when b.id = 1 then 'arms'when b.id = 2 then 'clothing' when b.id = 3 then 'shoe' end as equipment,coalesce(case when b.id = 1 then arms end,case when b.id = 2 then clothing end,case when b.id = 3 then shoe end) equip_mamefrom user1_equipment a cross join tb_sequence b where b.id <=3 order by 1, 2;

使用join更新过滤条件中包含自身的表


例子:把同时存在于取经组和悟空朋友圈中的人,在取经组中把comment字段更新为"此人在悟空的朋友圈"

我们很自然地想到先查出user1和user2中user_name都存在的人,然后更新user1表,sql如下

update user1 set comment = '此人在悟空的朋友圈' where user_name in (select a.user_name from user1 a join user2 b on (a.user_name = b.user_name));

很遗憾,上面sql在mysql中报错:ERROR 1093 (HY000): You can't specify target table 'user1' for update in FROM clause,提示不能更新目标表在from子句的表。

那有没有其它办法呢?我们可以将in的写法转换成join的方式

select c.*, d.* from user1 c join (select a.user_name from user1 a join user2 b on (a.user_name = b.user_name)) d on (c.user_name = d.user_name); ---- ----------- -------------- --------------------------------- ----------- | id | user_name | comment | mobile | user_name | ---- ----------- -------------- --------------------------------- ----------- | 2 | 孙悟空 | 斗战胜佛 | 159384292,022-483432, 86-392432 | 孙悟空 | ---- ----------- -------------- --------------------------------- -----------

然后对join之后的视图进行更新即可

update user1 c join (select a.user_name from user1 a join user2 b on (a.user_name = b.user_name)) d on (c.user_name = d.user_name) set c.comment = '此人在悟空的朋友圈';

再查看user1,可以看到user1已修改成功

select * from user1; ---- ----------- ----------------------------- --------------------------------- | id | user_name | comment | mobile | ---- ----------- ----------------------------- --------------------------------- | 1 | 唐僧 | 旃檀功德佛 | 138245623,021-382349 || 2 | 孙悟空 | 此人在悟空的朋友圈 | 159384292,022-483432, 86-392432 || 3 | 猪八戒 | 净坛使者 | 183208243,055-8234234 || 4 | 沙僧 | 金身罗汉 | 293842295,098-2383429 || 5 | NULL | 白龙马 | 993267899 | ---- ----------- ----------------------------- ---------------------------------

使用join删除重复数据


首先向user2表中插入两条数据

insert into user2(user_name, comment) values ('孙悟空', '美猴王');insert into user2(user_name, comment) values ('牛魔王', '牛哥');

例子:将user2表中的重复数据删除,只保留id号大的

---- -------------- ----------- | id | user_name | comment | ---- -------------- ----------- | 1 | 孙悟空 | 美猴王 || 2 | 牛魔王 | 牛哥 || 3 | 铁扇公主 | 牛夫人 || 4 | 菩提老祖 | 葡萄 || 5 | NULL | 晶晶 || 6 | 孙悟空 | 美猴王 || 7 | 牛魔王 | 牛哥 | ---- -------------- -----------

首先查看重复记录

select a.*, b.* from user2 a join (select user_name, comment, max(id) id from user2 group by user_name, comment having count(*) > 1) b on (a.user_name=b.user_name and a.comment=b.comment) order by 2; ---- ----------- ----------- ----------- ----------- ------ | id | user_name | comment | user_name | comment | id | ---- ----------- ----------- ----------- ----------- ------ | 1 | 孙悟空 | 美猴王 | 孙悟空 | 美猴王 | 6 || 6 | 孙悟空 | 美猴王 | 孙悟空 | 美猴王 | 6 || 2 | 牛魔王 | 牛哥 | 牛魔王 | 牛哥 | 7 || 7 | 牛魔王 | 牛哥 | 牛魔王 | 牛哥 | 7 | ---- ----------- ----------- ----------- ----------- ------

接着只需要删除(a.id < b.id)的数据即可

delete a from user2 a join (select user_name, comment, max(id) id from user2 group by user_name, comment having count(*) > 1) b on (a.user_name=b.user_name and a.comment=b.comment) where a.id < b.id;

查看user2,可以看到重复数据已经被删掉了

select * from user2; ---- -------------- ----------- | id | user_name | comment | ---- -------------- ----------- | 3 | 铁扇公主 | 牛夫人 || 4 | 菩提老祖 | 葡萄 || 5 | NULL | 晶晶 || 6 | 孙悟空 | 美猴王 || 7 | 牛魔王 | 牛哥 | ---- -------------- -----------

总结:给大家就介绍到这里,大家有兴趣可以多造点数据,然后比较不同的sql写法在执行时间上的区别。

出处:https://www.cnblogs.com/ddzj01/p/11346954.html

作者:小豹子加油

    推荐阅读
  • steam棋牌游戏推荐(幸运之夜新版本亮相TGC)

    steam棋牌游戏推荐12月1日,2017腾讯游戏嘉年华正式在成都开幕,腾讯的VR社交游戏《幸运之夜》在现场发布了最新版本。VR《幸运之夜》在TGC2017上惊艳亮相《幸运之夜》新版本发布邀请好友一起游戏今年7月底,《幸运之夜》正式在Steam发布,并推出了首款游戏作品“德州扑克”。今年的TGC2017现场,《幸运之夜》全新版本便带来了对互动性方面的提升。

  • 儿童睡前故事卖火柴的小女孩大全(卖火柴的小女孩)

    在长发公主的故事里,兔子小姐变成了手持宝剑的骑士,穿过了山川和河流,战胜了地狱恶犬,最终救出了长着一头金黄色长发的熊猫先生。随着一阵空间的波动,熊猫先生和兔子小姐来到了冰天雪地的圣诞节。小女孩被这突如其来的变化惊呆了。熊猫先生没有回答,轻轻摸了摸小女孩的头。小女孩点燃了第二根火柴。熊猫先生和兔子小姐则来到壁炉前,商量起小女孩最后一个愿望。熊猫先生蹲下来,握起小女孩的手。

  • 怎样做ppr管快一点(PPR管安装方法及技巧)

    怎样做ppr管快一点PPR管安装方法及技巧首先准备好需要的材料:热熔机,小剪刀,ppr管,管件,手巾。一定要根据自己热熔ppr管的口径,准备相应的热熔头。清洁:清洁管材与管件的焊接段部位,建议用95%浓度酒精擦净。在熔接时间内迅速的将管材无旋转的垂直插入管件中,并维持5秒以上,然后按相应冷却时间冷却。热熔后做到横平竖直,美观大方。

  • 大托特包搭配技巧(大托特包搭配技巧简述)

    西装外套+托特包复古时尚的格子,由黑白交错的条纹形成,文艺而又端庄搭配撞色托特包,优雅而不失俏皮,让气场变得灵动起来内搭白色连帽卫衣,减龄又可爱,接下来我们就来聊聊关于大托特包搭配技巧?大托特包搭配技巧西装外套+托特包复古时尚的格子,由黑白交错的条纹形成,文艺而又端庄。衬衫+托特包白色的衬衫休闲慵懒,给人一种空灵的感觉以及干净纯粹的气质。

  • 刘涛电视剧口碑(电视剧景气指数第一)

    还记得3月份刘涛在和周渝民主演的《大宋宫词》中扮嫩出演少妇被很多观众吐槽。万万没想到时隔数月,刘涛带着她的新剧《星辰大海》杀回来了。目前主要的剧情线在刘涛饰演的女主简爱身上。因为小时候意外发现母亲出轨的事,得知真相的父亲激愤之下杀死母亲并自杀,简爱因此成为了一个孤女。逃出傻子家的简爱在与姑姑的争执中误伤姑姑,从此开启逃命生涯。简爱从面馆辞职走投无路,误打误撞进入大公司之后面临着同事的故意刁难。

  • 外墙装修材料有哪些 外墙装修材料有哪些类型

    外墙涂料具有装饰性良好、耐污染耐老化以及施工维修容易和价格合理的特点。一般来说釉面外墙砖有亚光面与无光面两大类。它的装饰的效果也不错,有柚木色、深灰色等等可供选择。由于它的表面的肌理很清晰,所以色泽漂亮且装饰性极强。本站,中国知名大型装修平台,装修领导品牌。

  • 世界上有哪些花(世界上有哪些花 名字)

    瓜叶菊、香豌豆、夏兰、石竹、石蒜、荷花、翠菊、睡莲、福禄考、晚香玉、万寿菊、千日红、建兰、铃兰、报岁兰、香堇、大岩桐、水仙、小草兰、瓜叶菊、蒲包花、免子花、入腊红、三色堇、百日草、鸡冠花、一串红。孔雀草、大波斯菊、金盏菊、非洲凤仙花、菊花、非洲菊、观赏凤梨类、射干、非洲紫罗兰、天堂鸟、炮竹红、菊花、康乃馨、红掌、满天星、星辰花、三角梅、虞美人。

  • 长歌行李长歌母亲是谁杀的(长歌行李长歌的简介)

    下面更多详细答案一起来看看吧!长歌行李长歌母亲是谁杀的《长歌行》李长歌母亲是自杀的。李长歌,太子李建成之女,生母则是回纥王族。父母手足均死于玄武门之变,满怀愤恨的长歌凭高超武艺逃出皇宫,并在追捕过程中制造“坠崖假死”而逃生,其后女扮男装隐瞒身份流落民间,一心只想为父母复仇,在家和国的利害冲突中,最后放弃复仇,和阿诗勒隼一起成为了民族和解的使者。

  • 什么时候喝蛋白粉增肌效果最好(什么时候喝蛋白粉增肌效果最好)

    从长远来看,这种方法被证明可以促使肌肉明显增长。如果摄入量超过一定的阈值,蛋白质的合成就会受限。如果是以乳清饮料的形式摄入乳清蛋白,运动者可以在运动结束后立即饮用。按每公斤体重1克的标准,在健身前后立即摄入以及在运动后1小时内摄入可快速吸收的碳水化合物,可以明显抑制肌肉分解,并大大促进肌肉快速和明显的增长。在这种情况下,大量分泌的胰岛素促进了氨基酸向工作中的肌肉运输,为蛋白质合成奠定基础。

  • 窦骁周冬雨山楂树之恋结局(周冬雨18岁第一次出演)

    周冬雨18岁第一次出演要说最近最火的电影,非《少年的你》莫属,上映14天,已经收获了12.45亿的票房成绩,成为现阶段最强的票房黑马而作为该片主演的周冬雨和易烊千玺,也凭借在该片中的精彩演出,演技得到大众的进一步认可作为“。