社区
ASP
帖子详情
在select * from * where
mailwbzhang
2004-08-10 11:03:27
在select * from * where*
中的where 中的a=1 or a=2 or a=3 .... or a=n 这样的表达式应该怎样来表达更加好?
...全文
50
回复
打赏
收藏
在select * from * where
在select * from * where* 中的where 中的a=1 or a=2 or a=3 .... or a=n 这样的表达式应该怎样来表达更加好?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
select
* from a,b where a.c=b.c实为内连接
仅作为记录用来翻阅提醒,因为老忘: ...
select
* from a,b where a.c=b.c 等价于
select
* from a inner join b on a.c=b.c;
select
* from a left join b on a.c=b.c,将a表查询的结果去b中做匹配,匹配不...
select
* from a,b 记录
select
* from a,b where a.c=b.c 等价于
select
* from a inner join b on a.c=b.c; 3、
select
* from a left join b on a.c=b.c 将a表查询的结果去b中做匹配,匹配不到的就显示为null,所以返回的总数为...
【MySQL】
Select
* From查询语句集合
查询student表中的所有记录的sname,ssex,class列
select
SNAME,SSEX,CLASS from student; 查询教师所有的单位即不重复的Depart列 ...
select
* from score where degree between 60 and 80; 查询Score.
select
* from a,b是否为内连接?
今天代码中写脚本用了
select
* from a,b where a.id = b.id.然后同事说让我写内连接,我说这就是内连接啊。结果同事说这怎么会是内连接,这是笛卡尔乘积。我当时有点惊呆了,在原来公司都是这样写啊,难道这不是内...
select
* from 表名 where 1=1
select
* from table where 1=1因为table中根本就没有名称为1的字段,所以该SQL等效于
select
* from table,这个SQL语句很明显是全表扫描,需要大量的IO操作,数据量越大越慢,建议查询时增加必输项,即whe
ASP
28,391
社区成员
357,059
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章