Databases are involved with everything we do online. From social networking to the 成人快手 website, databases are crucial tools used to store large amounts of data in an organised way.
Databases can hold huge amounts of dataValues, typically letters or numbers.. Queries find specific data based on set criteriaA set of rules or conditions that must be met. Often used in searches..
Query scenario
A burglary has happened in a local village. The police create a query to search their database for suspects. The fields queried are:
first name
last name
known for
The table queried is 鈥楥riminals鈥. The results return a list of first names and last names and the crimes each individual is known for. One man is known for burglary.
Narrowing down the results
The police add the field 鈥業n prison鈥 to the query and add search criteria so that it only returns people currently in prison. The man comes up as a result, so he cannot have committed the crime because the police know he was in prison.