Aggrea Flashcards

1
Q

An organized collection of data stored in a computer system

A

Database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What controls a database

A

Database management system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Commonly used for data querying and writing

A

Structured Query Language (SQL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Raw and unprocessed information

A

Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A piece of information that can be translated into a form for efficient movement and processing

A

Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Interchangeable information

A

Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Database is also called

A

Structured data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A piece of information that can be translated into a form for effecient movement and processing is called

A

Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Refers to related data in a structured form

A

Database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Functions where the values of multiple rows are grouped as input on certain criteria to form a single result of more significant meaning

A

SQL Aggregate functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

used to summarize data by combining multiple values to form a single result

A

SQL Aggregate Functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

SQL aggregate functions are mostly used with the GROUP BY clase of the

A

SELECT statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Various aggregate functions

A

COUNT, SUM, AVG, MIN, MAX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Returns the total number of records

A

Count (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Create a table in SQL

A

CREATE TABLE Employee(
Id INT PRIMARY KEY,
Name char (100),
Salary int (100)
);

INSERT INTO Employee (Id, Name, Salary)
VALUES (1, ‘A’, 802), (2, ‘B’, 124);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Count no. of employees

A

SELECT COUNT (*) AS TotalEmployees FROM Employee;

17
Q

Calculate the total salary

A

SELECT SUM(Salary) AS TotalSalary FROM Employee;

18
Q

Find the average salary

A

SELECT AVG(Salary) AS AverageSalary FROM Employee;

19
Q

Get the highest salary

A

SELECT MAX(Salary) AS HighestSalary FROM Employee;

20
Q

Determine the lowest salary

A

SELECT MIN (Salary) AS LowestSalary FROM Employee;