Manage data with Transact-SQL Flashcards
The main language used to manage and manipulate data in Microsoft SQL Server and Azure SQL Database
Transact-SQL
T-SQL has strong foundations in _.
mathematics
T-SQL is a dialect of _.
standard SQL
SQL is a standard of both the _ and the _.
International Organization for Standards (ISO),
American National Standards Institute (ANSI)
Writing SQL in a _ way is considered a best practice.
standard, standardized
T/F: T-SQL enforces semicolons for all statements?
False, but is it considered a deprecated feature
Standard SQL is based on _, a mathematical model for data management and manipulation.
relational model
A mathematical model for data management and manipulation.
relational model
T/F: The name “relational” has to do with relationships between tables.
False, it has to do with mathematical concept RELATION.
A relation in the relational model is what SQL tries to represent with a _.
table
In mathematical terms, a relation has a _ and a _.
heading,
body
_ and _ are the relational model’s core foundations for which T-SQL uses for some of it’s most important aspects.
set theory,
predicate logic
In the relational model, a _ is a set of attributes, which SQL attempts to represent with _.
heading,
columns
In the relational model, a _ is a set of tuples, what SQL attempts to to represent with _.
body,
rows
A set should be considered as a _, instead of interacting with the individual elements of the set.
whole
T/F: There is no relevance to the order of a set.
True
T/F: There is no relevance to the order of a sequence.
False, a sequence is ordered
T/F: A set has no duplicates.
True
A _ is an expression that when attributed to some object, make a proposition either _ or _.
predicate,
true,
false
T-SQL is based more on _ than on set theory.
multiset theory