SQL
A language for defining, querying and changing data.
What is SQL?
SQL stands for Structured Query Language. It is used to define data structures, query data and apply changes. A SELECT, for example, selects data. SQL is not a single database product; systems implement it with different extensions and details. A query cannot therefore be assumed transferable to every system without checking.
In a fictional service portal, a list of approved requests should be sorted by their unique identifier. An example read query is: SELECT request_id FROM service_request WHERE status = 'approved' ORDER BY request_id;. It explicitly names the output column, a condition and the sorting. This is not an executed query. The solution must separately enforce which records a person may see; a business filter condition alone does not demonstrate access control.
Sources
Related terms
- DatabaseAn organised collection of data that software can access selectively and apply changes to.
- Relational data modelModelling data in tables with rows, columns and explicitly described relationships.
- NoSQLAn umbrella term for database systems with different, not primarily relational data models.
- Data validationData validation checks data against defined requirements such as format, required fields or permitted value ranges.
- Object-relational mappingConnecting program objects to data in a relational database.
- Database queryA database query requests data under defined conditions. Selection, result scope and ordering should fit the work being done.
Your project with ASES
Describe your project to us. We will get back to you with an initial assessment.