Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Query, SQL?

Ook bekend als: query · SQL

Definition 30.6 High School Computer Science · Hoofdstuk 30 — Relational Databases and SQL

A query is a request for data, answered with a relation. SQL (Structured Query Language) is the language in which relational databases are queried and changed. A query names the columns wanted, the relations they come from and a condition on the rows: SELECT columns FROM relation WHERE condition.

loans JOIN books ON loans.book_id = books.book_id: each loan is matched with the row of books whose key equals its book_id, and the two rows are written side by side as one row of the answer. Without the ON condition, every loan would be paired with every book.
loans JOIN books ON loans.book_id = books.book_id: each loan is matched with the row of books whose key equals its book_id, and the two rows are written side by side as one row of the answer. Without the ON condition, every loan would be paired with every book.
Lees in het hoofdstuk →