Microsoft
Software
Hardware
Network
Question : MySQL Group By?
Hey Guys,
I'm trying to run a query in MySQL that simply displays all individual users with the associated totals.
user1 --> total1
user2 --> total2
user3 --> total3
Here is my query:
SELECT USER_FNAME, USER_LNAME, USERNAME, COUNT(SSA_FORM_ID) + COUNT(INQUIRY_FORM_ID) AS 'TOTAL' FROM tbl_USERS, tbl_SSA_FORM_STATUS, tbl_INQUIRY_FORM_STATUS WHERE (tbl_SSA_FORM_STATUS.USER_
ID = tbl_USERS.USER_ID AND tbl_SSA_FORM_STATUS.FORM_S
TATUS = ?CLAUSETYPE) AND (tbl_INQUIRY_FORM_STATUS.U
SER_ID = tbl_USERS.USER_ID AND tbl_INQUIRY_FORM_STATUS.FO
RM_STATUS = ?CLAUSETYPE) GROUP BY USERNAME ORDER BY USER_LNAME ASC;
Here is the output of the above query:
user1 --> overall total
user2 --> overall total
user3 --> overall total
So, basically the query above is taking the overall total instead of the individual totals.
Help Please???
Thanks in advance
Answer : MySQL Group By?
I never installed any clients on my XP machines and can access volume shadow copies on W2003 and W2008 machines.
So I guess the client is included in SP3 for XP.
I don't have XP machines anymore prior to SP3
Random Solutions
SSH console: go to specified folder after login
Access VBA to stop all macros
EtherChannel on Cisco 2960 switch intermittent dropped packet
subquery returned more than 1 value: database vendor code 512
New install of SBS 2008 continuously downloads 2.5GB per day (WSUS disabled)
VB.NET executable error on Excel SaveAs method when run or submitted by SSIS.
Itunes could not connect to the Itunes Store. The network connection timed out.
asp forms handling
Zebra LP 2844 label printer prints the first print job successfully, subsequent print jobs after skip labels and/or print partial data on labels until computer is rebooted.
breadcrumb trail in a dropdown box