Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
can we able to use multiple condition in a where clause?
for ex: we are having several countries. ( ind, aus, eng,pak)
i need to filter and show only ind and aus.
so, how we can write script using where condition.
can anyone please share your ideas for my learning.
Hello, you can use something like this
Load *
from Field
where match(countries,'ind','aus')
If the Where clause concerns different fields, you can add an “and” then the following condition
Hello, you can use something like this
Load *
from Field
where match(countries,'ind','aus')
If the Where clause concerns different fields, you can add an “and” then the following condition
Thank you so much for the solution.
where match(countries,'ind','aus')
in this same condition, if i wanted to check for IND and different fiels like salary 200000.
how can we use the condition using AND in the where clause.
Like this ?
Load *
from Field
where countries ='ind'
and salary = 200000
if i try to add the AND in the where condition, i cant able to see the data for both. for country as well as for salary.
this is my condition, for this i cant able to see the data.
where match(City,'Chicago' and Latitude = 40.730599);
You cannot use the and in the match
So, what is the way to check 2 rows in the single where condition.
row1- city
row2- latitude
The match is useful if you have several categories selected for your field, otherwise the = is enough.
Does this formula work?
where City='Chicago'
and Latitude = '40.730599'
Running successfully, but cant able to see the data in data manager.