Solved Search last word in a string

SQL:
SELECT
    SecondLastValue([Place]) AS SLV,
    Count(1) AS LCountRecords
FROM Place_tbl
GROUP BY SecondLastValue([Place]);
Thank You Sir
A last doubt
There are total of 33996 records in Place_tbl
How to get the aggregate of other places in the table with a parameter of <> "Jalna"
 
How to get the aggregate of other places in the table with a parameter of <> "Jalna"
SQL:
SELECT 
        SecondLastValue([Place]) AS SLV, 
        Count(1) AS LCountRecords
FROM Place_tbl
GROUP BY SecondLastValue([Place])
HAVING Not SecondLastValue([Place])="Jalna";
 
SQL:
SELECT
        SecondLastValue([Place]) AS SLV,
        Count(1) AS LCountRecords
FROM Place_tbl
GROUP BY SecondLastValue([Place])
HAVING Not SecondLastValue([Place])="Jalna";
Sir actually I require a total count of rest other than Jalna
 

Users who are viewing this thread

Back
Top Bottom