Access db jet sql if else in query -
i using microsoft access jet sql.
i have table col1 , col2
i want have if else check in select query follows
select col1, if(col2 <10) 'less 10' else if(col2 < =20) 'less 20')
any quick help
iif([col2]<10, "less 10", iif([col2]<=20, "less then20", "something else"))
Comments
Post a Comment