How to do..??

G

Guest

I have 2 tables (tServers and tTimezone) with the following structure:

tServers:
servername
city

tTimezone:
city
time1
time2

My query need to check with [tServers].servername is like "*DOWD*" and
return a field "time" populating with [tTimezone].time2. I joined both tables
using city.
 
G

Guest

Not sure if that what you mean, but try

SELECT tServers.servername , tTimezone.time2
FROM tServers INNER JOIN tTimezone ON tServers.city = tTimezone.city
WHERE tServers.servername Like "*DOWD*"

Please post back if I'm not in the right direction
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top