I have two tables:
table 1
- fid
- field
- queryorder
table 2
- fid
- field
- name
fid
and field
are same in both tables. I want a query like
select fid
from table 1
where field in table 1 corresponding to name = dell
and should not have queryorder = 1