mysql - I need to retrieve individual column from 3 different tables -


my sql server database has 3 tables (amount, wthdrwl, spent), each table has got id, , amount column. want retrieve amount column these 3 different tables.

for both mysql, sql-server, use union (implicit distinct) or union all:

select amount amount union select amount wthdrwl union select amount spent 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -