You are on page 1of 3

ADVANCE DATABASE SYSTEM

 A ________ refers to the activities that focus on the design of the database
structure that will be used to store and manage end-user data.
Database Designing
 Another term when it is not a raw data which is also known as ________.
Information
 The term ________ is normally used to limit the type of data that can be
saved into a table.
Constraints
 A ________ derived from a detailed description of an organization’s
operations help to create and enforce actions within that organization’s
environment.
Business rules
 A ________ are a set of one another information that describes a person,
place, or thing.
Record
 A ________ in database is a group of characters that has specific meaning.
Field
 We call it ________ when we encountered a wrong or bad database design.
Anomalies
 It is also known as the ________ that references the primary key to another
table.
Foreign Key
 A ________ is a primary key composed of multiple columns used to identify
a record.
Composite key
 The term ________ are the following data that may or may not stored in the
database but rather they are computed.
Derived attribute
 What does SQL stand for?
Structured Query Language
 This is a type of operator which returns the information within a given
range of values, where the minimum and maximum of the range is
specified.
Between Operator
 Which SQL command is used to retrieve all the columns from a table
named "employees"?
SELECT *
 Which SQL function is used to find the total number of rows in a table?
COUNT(*)
 Which SQL statement is used to update data in a table?
UPDATE
 Which SQL statement is used to delete all records from a table without
removing the table itself?
DELETE
 In SQL, which aggregate function is used to calculate the average value of
a numeric column?
AVG()
 What is the purpose of the SQL WHERE clause?
Filters rows based on a specified condition
 Which of the following statements is used to create a new database in
SQL?
CREATE DATABASE
 What is the purpose of the SQL LIKE operator in a WHERE clause?
It is used for pattern matching in strings

 The term “Non-key” in database is used when there are columns that are
being not used to identify a record in a table.

 In a database, there is a term used especially when normalization works


through a series of stages called “Normal forms”.

 A dependency only exist and depends on another none primary key


column.

 Primary Key is a column (or combination of columns) that uniquely


identifies each record in a database table. Also speeds up data access and
is used to establish a relationship between tables.

It contains only a unique value.


It can not be null.
One table can have only one Primary Key.
A primary key length cannot be more than 900 bytes.

 Foreign Key is used to reduce the redundancy (or duplicates) in the table.

It helps to normalize (or organize the data in a database) the data in


multiple tables.

 ALTER TABLE command is a part of Data Definition Language (DDL) and


modifies the structure of a table. The ALTER TABLE command can add or
delete columns, create or destroy indexes, change the type of existing
columns, or rename columns or the table itself.
 The ALL operator compares a value with all the values returned by
the subquery and is true only if the given condition is satisfied for
all the values.
 The ANY operator compares a value with all the values returned by
the subquery and is true only if the given condition is satisfied for
any value in the set of values.
 The BETWEEN operator returns the information within a given
range of values, where the minimum and maximum of the range is
specified.
 The EXISTS operator only returns true if the subquery returns at
least one record i.e if some data exists for the given subquery.
 The IN operator is true if the query results in values that are
contained in the list of constant values for the IN operator.
 The LIKE operator is used to select the values that match the
patterns specified in the query. Two wildcard operators are used
for this.
 The ORDER BY clause in SQL is used to sort the result-set of a
query in ascending or descending order.
 We can also restrict the records by specifying percentage value
instead of number, using the PERCENT clause along with the TOP
clause.
 Is an aggregate function use to find the count of the rows that
satisfy the fixed conditions. The count() function with the
GROUP BY clause is used to count the data which were
grouped on a particular attribute of the table.
 The MAX() function compares the values in a column and
returns the largest value among them.
 The MIN() function compares the values in a column and
returns the smallest value among them.
 MYSQL is an open-source relational database management
system (RDBMS).

You might also like