iif在mysql能用不,IIf函数用于2个参数

Hi

I would really appreciate some help. I''m not very good at Access and right now I have to make an Database for part of an Internship project. So this Q might seem silly to you but I really don''t know hoz to proceed!

I''ve got a table with products and their prices, however the prices changed recently and from one exact date to another they should show this on my table.

The product numbers haven''t changed however. If there some function like the IIf function which supports 2 parameters?

Thanks in advance!!!

解决方案

Hi

I would really appreciate some help. I''m not very good at Access and right now I have to make an Database for part of an Internship project. So this Q might seem silly to you but I really don''t know hoz to proceed!

I''ve got a table with products and their prices, however the prices changed recently and from one exact date to another they should show this on my table.

The product numbers haven''t changed however. If there some function like the IIf function which supports 2 parameters?

Thanks in advance!!!

So is this a MySQL question or an Access question since you said you are not good at access.

If it is MySql you can use

Expand|Select|Wrap|Line Numbers

So is this a MySQL question or an Access question since you said you are not good at access.

If it is MySql you can use

Expand|Select|Wrap|Line Numbers

Hi

Yes but I can only unsthe IIF Function for one parameter. The thing is, i need something which says: iif delivery date>31.06.07 and productnumber is 789456-123, then 400

我真的很感激一些帮助。我不是很擅长Access,现在我必须为实习项目的一部分建立一个数据库。所以这个Q对你来说可能看起来很傻但是我真的不知道要继续下去!

我有一张产品及其价格的表格,但最近价格有变化从一个确切的日期到另一个,他们应该在我的桌子上显示。

然而,产品编号没有改变。如果有一些函数像IIf函数支持2个参数?

提前致谢!!!

解决方案

我真的很感激一些帮助。我不是很擅长Access,现在我必须为实习项目的一部分建立一个数据库。所以这个Q对你来说可能看起来很傻但是我真的不知道要继续下去!

我有一张产品及其价格的表格,但最近价格有变化从一个确切的日期到另一个,他们应该在我的桌子上显示。

然而,产品编号没有改变。如果有一些函数像IIf函数支持2个参数?

提前致谢!!!

这是一个MySQL问题或Access问题,因为你说你不擅长访问。

如果它是MySql你可以使用

展开 | 选择 | Wrap | 行号

这是一个MySQL问题还是Access问题因为你说你不擅长访问。

如果是MySql你可以使用

展开 | 选择 | Wrap | 行号

是的但我只能取消IIF函数一个参数。问题是,我需要一些说法:iif交货日期> 31.06.07和productnumber是789456-123,然后是400

扫一扫关注IT屋

微信公众号搜索 “ IT屋 ” ,选择关注

与百万开发者在一起

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值