Microsoft
Software
Hardware
Network
Question : how to get single line answer for my query
Hi,
I have a query which gives 10 lines
like this
user_ code role
nsk adm
sathish adm
sathis01 adm
sathish buyer
sathish approver
sathis01 buyer
sathis02 buyer
the result are coming like this i want to the result should be
user_ code role
nsk adm
sathish adm
sathis01 adm
sathis02 buyer
like this . No repeating user_code how can i achive this throw query !
Answer : how to get single line answer for my query
select user_code,min(role) from YourTableName group by user_code
Random Solutions
Filter form
Turning of autocorrect in runtime (Acc 97)
Creating new alphanumeric primary key in existing tables.
Running a query inside of open form
How to add totals to a row in a sql 2008 pivot stored procedure
Access denied for backup operator user
Removing Map drives if exist before creating them using scripts.
The type or namespace name 'MySql' could not be found
Print jobs just disappear when printing across network
User can not access control panel