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
Most commonly used and useful ESX Service Console commands?
php mysql storing date time
VPN disconnects over 2 way satellite
Plug n Play/USB/Registry Nigtmare - I Need to regularly delete keys in order to "detect" my MP3 Player!
Older Flash document potential issues
How to change Hotsname and ipaddress of Oracle Databse server
Restricted Groups Best Practice
Progress Bar Bound to Timer
CX600 FLARE 2.05.600.5.007 - upgrade procedure to 2.19?
Windows Server 2008 NLB Issue