Reputation: 109
How to use less than "<" and greater than ">" symbols in metamug XML in the resource file and SQL console
select *
from tbl_reservation
where fare > 100
and fare < 50000
Upvotes: 4
Views: 3296
Reputation: 1216
Firstly <
and >
works in SQL console
But to use them in resource
file you'll have to escape them as per the below table
For more as per these guideline
So your query will be
select * from tbl_reservation where fare lt 100 and fare gt 50000
Upvotes: 5
Reputation: 408
you should use XML Escape Characters:
So,
select * from tbl_reservation where fare gt 100 and fare lt 50000
Upvotes: 4