/build/static/layout/Breadcrumb_cap_w.png

K1000: I have three asset types cell phones, Mifi's, and tablets I would like to create a report with all of these combined.

 All contain the same fields and I am trying to create a report that displays all of them combined.  I am not familiar with SQL enough to do this on my own. Any help on how to do this would be appreciated.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: grayematter 10 years ago
5th Degree Black Belt
0

Probably the easiest way to do this is to union the queries.  Get each query pulling the data from its asset type.  Make sure the separate queries have the same number and types of columns.  Then connect the queries with a union (http://dev.mysql.com/doc/refman/5.6/en/union.html).

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ