I want to retrieve records from a table which having fields like image_type and priority.
like
property id image_type priority
1 1 1
1 0 1
1 1 2
1 0 2
1 0 3
I want to show records like all image type records come together & arranged according to priority order either ASC or DESC.
1 Answer