I'm trying to execute mssql query but its showing error.The same query I executed in MySQL its working fine.
The Query is:
SELECT tst_flow_name, tst_flow_desc,COUNT(tst_flow) tot
FROM test_flow_details
LEFT OUTER JOIN tst_flow ON tst_flow_name=tst_flow
AND test_flow_details.project=tst_flow.project
WHERE test_flow_details.project='JupiterQA'
ERROR IS:
Column 'test_flow_details.tst_flow_name' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
How can I execute the MSSQL query without error.