Querying data with SQL
Querying data means asking questions of a database by writing queries in the structured query language.
1What it is
Querying data means asking questions of a database by writing queries in the structured query language. The skill covers selecting and filtering rows, joining tables, summing and counting by group, the ordering and shaping of results, the checking of a result against a known total, and the saving of queries so that a report can be repeated. It is not database design and it is not statistics. Done well, it produces a result that answers the question asked, agrees with a known total and can be rerun the next period.
2Who needs it
Dots: how well the role needs each skill · ●○○ understand · ●●○ do · ●●● design
+ 7 more
+ 53 more
+ 132 more
3Three levels of this skill
Every role needs this skill at one of three levels. The dots next to a role, here and on the role’s page, say which.
4Concepts behind it
In the topics Selecting and filtering data · Joining and aggregating tables · Checking query results · Reusable queries for reporting
5Common mistakes
Updated 5 Nov 2026