I'm sorry if this is a bit of a silly question - I'm not too familiar with using SQL or database queries in general.
I have a field "D:Morphology" which is populated by codes beginning with a letter and followed by a 5 digit number (e.g M80000). I also have a "D:Topography" field which functions in more or less the same way.
I need a query to return:
All values for D:Morphology beginning with M8 or M9 AND ending in 1-9
or
All values for D:Morphology ending in 0 IF D:Topography begins with T91
or
All values for D:Morphology ending in 0 IF D:Topography begins with T92
or
All values for D:Morphology ending in 0 IF D:Topography begins with TX (EXCEPTTX05-TX07)
or
D:Morphology is equal to M49000 AND D:Topography begins with T06
or
D:Morphology is equal to M:74008 OR M74009 OR M72860
if anyone could help me form this query or point me in the direction to best learn how to do this myself, I would really appreciate it.
David
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.