Skip to content
Advertisement

sql query: select people with same name ascending by age

Have 2 table

need selected full information (name(city),name,sname,age) people with same name ascending by age?

Have tried:

input variable is name

Advertisement

Answer

I’m guessing that you want all rows to be returned, and you want people with some name first, sorted by age. Afterwards you want all other rows. This query will do that:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement