Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

sql script how to get bigger value from list.

$
0
0

I've a table name User_detail, 1 user_id can have many level assign.

how can I set the level sequence in SQL witout setup table, and everytime when i want to display user level; it will always check from the sequence and display the higher value. my sequest is {1, 2, 3A, 3B, 5, AA, AB, 1A, 1B}

Example: UserA has level 1, 3A, AA, 1A So, when I display, I want to display 1A only for UserA


Viewing all articles
Browse latest Browse all 1350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>