I have Name in employee table. I want to extract min length name. if data base contain two name with min. length both should be pick. or second question pick one name only based on alphabetically. When I am doing this like Query:
Select MIN(Name) From Employee;
Result:-Bharti
Why It's Happening?
Name|Length
Meera|5
Sameer|6
Bharti|6
Mahak|5
Bharti|6
Meera|5