Lesson 11 - Understanding Structured Query Language in Databases

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/85

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

86 Terms

1
New cards

Structured Query Language (SQL)

A programming language used for managing and manipulating databases.

2
New cards

Data Definition Language (DDL)

SQL commands used to create database objects such as tables, indexes, and views.

3
New cards

Data Manipulation Language (DML)

SQL commands used to insert, update, delete, and retrieve data within database tables.

4
New cards

Data Control Language

The SQL dialect used to secure the database.

5
New cards

Transaction Control Language

Dialect used to manage and control transactions to maintain data integrity.

6
New cards

Schema

A group of database objects—such as tables and indexes—that are related to each other.

7
New cards

Data Type

Defines the characteristics of the data that can be stored in a database column.

8
New cards

INT

Integer data type that stores whole numbers.

9
New cards

VARCHAR

Variable character field

A set of character data of indeterminate length. Variable-length character data type used for storing text.

10
New cards

NVARCHAR

National varying character (NVARCHAR)

Variable-length Unicode character data type used for storing text, may hold up to 4,000 Unicode characters of data

11
New cards

DATETIME

Data type used for storing date and time values.

12
New cards

DECIMAL

Data type used for storing exact numeric values with a fixed number of decimal places.

13
New cards

FLOAT

Data type used for storing approximate numeric values with floating decimal points.

14
New cards

BIT

Data type used for storing binary values, typically 0 or 1.

15
New cards

Data Integrity

The assurance of accuracy and consistency of data within a database.

16
New cards

SQL Server Data Types

Defined types in SQL that determine the kind of data that can be stored in a column.

17
New cards

Sample Table

An example of how data is structured in a database, showing different values for a column.

18
New cards

Consistent Format

A uniform way of storing data that allows for easier reading, sorting, and calculations.

19
New cards

Storage Space

The amount of memory required to store data in a database.

20
New cards

Performance

The efficiency of data retrieval and manipulation operations in a database.

21
New cards

Whole Numbers

Numbers that do not include decimal places, such as -23, 0, 5, and 10045.

22
New cards

Attributes

Characteristics or properties of an entity, such as name, birthdate, weight, and number of children.

23
New cards

Database Management System (DBMS)

Software that interacts with end users, applications, and the database itself to capture and analyze data.

24
New cards

SQL Commands

Instructions used in SQL to perform tasks such as creating, modifying, and querying data.

25
New cards

Data Types Importance

Data types are crucial for ensuring data is stored consistently, affects calculations, and impacts performance.

26
New cards

Big Data

Large and complex data sets that traditional data processing software cannot manage efficiently.

27
New cards

Inconsistent Format

Data that is not stored uniformly, making it difficult to read and analyze.

28
New cards

Database Objects

Elements that make up a database, including tables, views, indexes, and stored procedures.

29
New cards

INT Data Type

Stores integers from -2,147,483,648 to 2,147,483,647.

30
New cards

BIGINT Data Type

Stores larger integers, up to trillions.

31
New cards

CHAR Data Type

Fixed length character data type.

32
New cards

DATETIME Range

Valid from January 1, 1753 to December 31, 9999.

33
New cards

YEAR Function

Extracts year from DATETIME values.

34
New cards

DECIMAL Data Type

Precise values defined by precision and scale.

35
New cards

DECIMAL Precision

Total digits stored in DECIMAL.

36
New cards

DECIMAL Scale

Digits to the right of the decimal point.

37
New cards

FLOAT Data Type

Stores approximate numeric values from -1.79E+308 to 1.79E+308.

38
New cards

BIT Data Type

Stores Boolean values: 1 (TRUE), 0 (FALSE).

39
New cards

IDENTITY

Auto-incrementing unique value for new rows.

40
New cards

PRIMARY KEY

Unique identifier for table rows.

41
New cards

NULL

Column can accept no value.

42
New cards

NOT NULL

Column must have a value.

43
New cards

SQL Server

Microsoft's software for managing databases.

44
New cards

RDBMS - Relational Database Management System

Relational Database Management System.

A program used to create, update, and manage relational databases. Some of the most well-known RDBMSs include MySQL, PostgreSQL, MariaDB, Microsoft SQL Server, and Oracle Database.

45
New cards

SQL Server Analysis Services (SSAS)

SQL Server Analysis Services

for data analysis. Is a tool primarily used by organizations to analyze and make sense of information otherwise spread out, whether over multiple databases or in different tables or files.

46
New cards

SQL Server Reporting Services (SSRS)

SQL Server Reporting Services

for report generation. Is a SQL Server subsystem that enables the creation of graphical, mobile and printed reports using SQL Server and other data sources.

47
New cards

SQL

Structured Query Language

for database management.

48
New cards

Database Creation

Use SQL Server to create databases.

49
New cards

Database Maintenance

Use SQL Server to maintain databases.

50
New cards

SQL Server Integration Services (SSIS)

can be used for extraction, loading, and transformation (ETL) of data by extracting data from multiple sources, such as SQL Server database, Oracle database, and Excel files.

51
New cards

SQL Server Versions

Includes versions 13 (2016), 14 (2017), 15 (2019).

52
New cards

Client-Server Architecture

Structure supporting workstation and server components.

53
New cards

Workstation Components

Installed on user devices for server interaction.

54
New cards

Server Components

Centralized services installed on the server.

55
New cards

SQL Server Instance

An installation of SQL Server software.

56
New cards

Default Instance

Single instance using the server name.

57
New cards

Named Instance

Multiple instances with unique names on one server.

58
New cards

Instance Limitations

16 instances in 2000, 50 in 2005 and later.

59
New cards

Enterprise Edition

Full feature set for large-scale applications.

60
New cards

Standard Edition

Fewer features than Enterprise for basic needs.

61
New cards

Web Edition

Optimized for web application hosting.

62
New cards

Developer Edition

Enterprise-like features for development and testing.

63
New cards

Express Edition

Free version limited to 1 CPU, 1 GB RAM.

64
New cards

Compact Edition

Free embedded database for mobile applications.

65
New cards

Datacenter Edition

No memory limits, supports over 25 instances.

66
New cards

Business Intelligence Edition

Includes advanced BI features, lacks some availability.

67
New cards

Enterprise Evaluation Edition

Fully functional for 6 months, free for learning.

68
New cards

Standalone Installation

Single server setup without clustering.

69
New cards

Cluster-Based Installation

Multiple servers working together for redundancy.

70
New cards

System Requirements

Requires 64-bit Windows 8 or later for Express.

71
New cards

Installation Process

Straightforward, involves pressing [Next] through screens.

72
New cards

License Terms

Agreement required before installation begins.

73
New cards

Global Rules Screen

Displays errors before proceeding with installation.

74
New cards

Feature Selection Screen

Choose components to install during setup.

75
New cards

Database Engine Configuration

Set server authentication and password.

76
New cards

T-SQL

Transact-SQL, Microsoft's extension for SQL.

77
New cards

SQL Server Management Studio

Graphical tool for managing SQL Server.

78
New cards

Create Login

Command to establish a new user account.

79
New cards

System Database

Databases created automatically by SQL Server.

80
New cards

Master Database

System database that tracks all SQL Server components.

81
New cards

Model Database

Template for creating new databases.

82
New cards

MSDB Database

System database for SQL Server Agent jobs, a system database that is used by several SQL Server components such as the SQL Server Agent service.

83
New cards

Tempdb

Temporary storage for SQL Server operations.

84
New cards

Backup

Copy of database data for recovery purposes.

85
New cards

Full Backup

Complete copy of the database at a point in time.

86
New cards

Differential Backup

Backup of changes since the last full backup.