关于“in”的用法,要详细的。

杨辉竹 装修达人 13

今天装修百科网给各位分享in在哪里用的知识,其中也会对关于“in”的用法,要详细的。(in的用法和例句)进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在我们开始吧!

关于“in”的用法,要详细的。

1.(表示位置)在…里面; 在, 于; 在…部位上
I could feel the tension in the room.
我可以感觉到房间里的紧张气氛。
They live in France.
他们住在法国。
2.(表示时间)在…时期, 在…之后, 在过程中
In her twenties and thirties she had had no difficulty getting jobs.
她在二三十岁时找工作一点也不困难。
I cannot see you now, come back in half an hour.
我现在不能见你, 半小时后回来。
3.(表示方向)往…内, 朝…方向
I saw him go in the shop.
我看到他走进了商店。
4.(表示状态)处于…之中, 在…情况下
Martin was in his pyjamas.
马丁穿着睡衣。
They were living in terrible poverty.
他们生活在极度贫困之中。
5.(表示方式)用, 以, 按, 乘, 以…形式
They were speaking in Italian.
他们在讲意大利语。
They went up in the lift.
他们乘电梯上楼了。
6.(表示原因)由于, 为了
He went in fear of his life.
他为自己的性命担忧, 所以走了。
7.(表示领域, 范围)在…以内
It is not in my power to do that.
做那事非我力所能及。
8.(表示结果)当做, 作为
What did you give him in return?
你给他什么作为报答呢?
9.(表示目的)为了
They set off in search of the lost child.
他们出发去寻找走失的孩子。
10.[表示职业、活动等]从事于,参加
11.[表示数量、程度、比例]按,以;从…中
12.[表示品质、能力等]在…之中;在…身上
I don't think he had it in him.
我认为他没这个本事。

mysql 中 in的用法有哪些?

1.in 后面是记录集,如:

关于“in”的用法,要详细的。

select * from table where uname in(select uname from user);2.in 后面是字符串,如:

select * from table where uname in('aaa',bbb','ccc','ddd','eee',ffff'');注意:这里一定要将字符串用单引号'' 标注起来;

3.in 后面是数组,用如下方法,请参考:

//$pieces是含数据的数组for($i=0;$i<count($pieces);$i++){$uname=$uname."'".$pieces[$i]."',";}$the_uname ="uname in(".$uname."'')";select * from table where ".$the_uname." ;备注:这种方法的原理其实很简单,二就是把数组编程上面“第2种情况”的形式。

在什么情况下用in,什么情况下用on

介词in,on与at都可用于表示时间的名词前,但用法各不相同。

其区别在于:

一、用in的场合

(1)表示“在某年/月/季节”这个含义时,须用介词in.例如:

She came to this city in 1980.他于1980年来到这个城市。

It often rains here in summer.夏天这里常常下雨。

(2)表示“从现在起一段时间以后”时,须用介词in。

例如:

They will go to see you in a week.他们将在一周后去看望你。

I will be back in a month.我将在一个月后回来。

(3)表示“在某世纪”时,须用介词in。

例如:

This machine was invented in the eighteenth century.这台机器是在18世纪发明的.

Great changes took place in the twentieth century.20世纪发生了巨大变化.

in, on, at表示地点时的辨析

1、in表示在….里,用于内部,on表示在…上,用于表面接触

There is some tea in the cup。

There are some apples on the table。

2、在表示某地时,in后接大地点,at后接小地点

He arrived in China yesterday。

3、区别用法

on the tree 树上生长的,如果实等。

in the tree 外来物落在树上,如小鸟等。

on the wall 在墙的表面,如图片等。

in the wall 嵌在墙里,如窗户,洞等。

at,in,on,分别用在什么前面

1. at表示地点:

(1)用于指较小的地方。如: I shall wait for you at the station.

(2)用于门牌号码前。如: He lives at 115 Zhongshan Road.

2. in表示地点:

(1)用于指较大的地方。如: He lives in Shanghai.

(2)虽然是很小的地方,如果说话人住在那里,也可用in。商店、学校、机关等,若看作一个地点(point)用at,若看作一个场所(place)用in。

如:

I met him at the post-office.

I’m now working in the post-office.

3. on表示地点,一般指与面或线接触,意为“在……上;在……旁”。

如:

The picture was hanging on the wall.

New York is on the Hudson River.

on和in的用法?

In 表示地点的用法:

1、指较大的地方。 

如:He lives in Shanghai。 他住在上海。

2、说话人身在其中,也可以用in 表示较小的地方。

如:  I'm  now working in the post-office. 我现在在邮局工作。

On表示地点:

1、在„„上,一般指与面或线接触。

如:The picture was hanging on the wall. 画挂在墙上。

He put the book on the table and sat on the chair.他把书放在桌子上,人坐在椅子上。  

2、在„„旁边。

如:He lives in a house on the river.他住在河边的房子里。

3、在„„(里)。如:  

He lives on Fifth Avenue。 他住在第五大街。

I am a football member on the school team.我是学校**队的一名成员。

扩展资料: 介词in, on表示地方、地点、位置的用法辨析: 

1、in把地方、地点、位置当作一个范围或一个封闭的空间:   

如:I live in London. 我住在伦敦。(大城市用in)  

2、on 把地方、地点、位置当作一个平面:

表示地点时,指“在„„之上(与表面接触)”,“靠近、接壤”及“在左右边”都用on. 表示位置时表示区域的边界附近,可以是属于这个区域的一部分或相互接壤。

例:The author's name is on the cover of the book. 在书的封面上有作者的名字。 

There are no prices on this menu. 在这菜单上没有价钱。