Members per surname initial
left(text, n) returns the first n characters. Grouping on an expression works like grouping on a column.
task
For each first letter of the surname, give the letter (initial) and how many members have it. Order by initial.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
left(text, n) returns the first n characters. Grouping on an expression works like grouping on a column.
For each first letter of the surname, give the letter (initial) and how many members have it. Order by initial.