Microsoft
Software
Hardware
Network
Question : MySQL Select From multiple Tables With Common Fields
Greetings I have 5 tables (cars, boats, music, books, electronics) that all have 5 common fields
$userID
$anumber
$title
$price
$comments
I'm trying to select only the common fields from all 5 tables WHERE the $userID = A Given $userID, for example of someone who is logged in? How would this query be setup?
Answer : MySQL Select From multiple Tables With Common Fields
select userID, anumber, title, price, comments from cars where userID=$userID
union all
select userID, anumber, title, price, comments from boats where userID=$userID
...
etc
Random Solutions
Sharing camcorder footage
How do I delete the default recipient policy in exchange 2010?
SBS2008 Folder redirections feature stability ?
The fool says in his heart ...
PDFs and iPads
Is there any way to limit what the users see in shared calendars in Exchange 2003 / Exchange 2007?
Using VLookup for Data Validation
WebService Client problem
web design vs dev
How to write script for the requirment?