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
SBS 2008 move data feature crashes
Identifying a cell in a declaration as having any value that falls within a specified range
mysql syntax Kill id in process list
google site comparison tool
Hacking the Error with Custom error message
Check colum A for names in the name matches a sheet name in any workbook then copy to the sheet where we are quering from.
Secondary namespace in WSDL
How to allow/disallow with robots.txt a specific directory
Unable to Search Empty Folders
Apple Mail - Find local Exchange email after changing accounts?