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
iphone sees wifi network but password incorrect
VMware Workstation 7.1 Won't Install
urgent: how to change the nic speed from 100 half to 1000full in Solaris10
Why won't Exchange Transport service start in Exchange 2007 on our SBS 2008 server ?
monitor/check all SQL Server backup jobs on all servers
aix vs shell
Windows7 my Documents folder
net share system error 5 acces denied
drive mapping not working?
setup Xsan with couple of Apple macs final cut pro