12-17-2007, 04:44 PM
i could google, but i thought i'd try xrum first. maybe someone can give me a quick query code for this.
what i need is:
let's say i have 2 tables.
First table contains first nme and last name
Scond table contains address and phone number
they are linked by ID number.
i want to do a search. right now i can only do this:
how can i search for that something in both tables with the same request? can i have multiple "selects" in the same request? is that even possible?
Thanks!
what i need is:
let's say i have 2 tables.
First table contains first nme and last name
Scond table contains address and phone number
they are linked by ID number.
i want to do a search. right now i can only do this:
Code:
Select * from firsttable where first_name like ("something") or last_name like ("something");how can i search for that something in both tables with the same request? can i have multiple "selects" in the same request? is that even possible?
Thanks!
