I need a scenario where results need to be sorted out depending on the number of periods in it.
Field values are:
aa.bb.ee.tt
aa.tt.ee
aa.tt
If I want to search only values which consist on a single period, what will be the query?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
if column name is str, and you put substr = “.” in the following SQL, you will get what you want. Sorted by number of periods in the column str