Hi all
i break my head tring to make a query that will order my results by number of fields that are not none
to demonstrate:
i have a table with 4 fields: phone,fax,email,url
row 1 have all 4 fields with data (phone,fax,email,url)
row 2 have only 2 fields with data (fax,email)
row 3 have 3 fields with data (phone,email,url)
and row 4 have only 1 field with data (phone)
the results order should be:
1
3
2
4
how do i make this query?