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
Access user control function from master page
Question about patch definitions in vCenter update manager
Remotely Install Application to VPN users with certain IP
Laptop fan high RPM
Problem with FindString IN SSIS
help with differential equation (but algebra reall)
SharePoint 3.0 Central Administration not loading
Load IOS Cisco 1841
Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field
Do not ask me again!