Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to change the table format Using SQL in MS access

Status
Not open for further replies.

blyssz

Technical User
Joined
Nov 18, 2008
Messages
49
Location
US
I have few various colored (Red, Green , Blue and other) and some of them are in a box.
I want create a table like :
Total Red Green Blue Others
In 88 5 3 25 55
Out 140 10 6 4 120
Total 228 15 9 29 175

After running select queries, I have table like :

Colors Status Count
Red In 5
Red Out 10
Other In 55
Other Out 120
Green In 3
Green Out 6
Blue In 25
Blue Out 4

Does anybody have any idea how to format the table and get the total in above mentioned form.

Thanks in advance,
Blyssz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top