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
SQL syntax question -- exclude NULL record
subform totals
Hide Sharepoint navigation elements from users that do not have permission for them
MSSQL 2000 DATABASE SETTINGS
Access 2007 Database Created on Windows & Does Nothing When Opened on XP
Programmatically Setting Order By Property in a Three Level Report
Problem Creating MDE file
disable Office 2003 splash screens
How to populate unbound controls on a continuous form in Access 2007
Exchange Migration - Exchange 2003 - Exchange 2007 - Old Hardware to New Hardware