• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Class notes

SQL Introduction

Document preview thumbnail
Preview 2 out of 6 pages

here it gives an idea of sql language

Content preview

‭1.2 SQL Introduction | Define Tuple, field, relation | what is‬
‭query, clause | Popular RDBMS‬
‭Welcome to SQL Command Notes!‬

‭SQL Terminologies‬
‭Tables‬

I‭n SQL, data is organized into tables which consist of columns and‬
‭rows. Each column represents a field, and each row represents a‬
‭record.‬

‭Relations‬

‭ QL is a relational database management system. A relation is a table‬
S
‭in which every row has a unique identity, and the rows (tuples) within a‬
‭table are unordered.‬

‭Tuples‬

‭ tuple is a row in a table. It is composed of a set of fields/columns‬
A
‭that represent a single record.‬

‭Fields‬

I‭n a table, each column represents a field. A field contains the same‬
‭type of data for every tuple in the table.‬

‭SQL Commands‬
‭Types‬

‭●‬ D ‭ DL (Data Definition Language) - used to create, delete, and‬
‭modify database objects‬
‭●‬ ‭DML (Data Manipulation Language) - used to retrieve, insert,‬
‭delete, and modify data in the tables‬

, ‭●‬ D ‭ CL (Data Control Language) - used to manage user access‬
‭permissions to the database and its objects‬
‭●‬ ‭TCL (Transaction Control Language) - used to manage‬
‭transactions, such as committing or rolling back changes‬
‭Query‬

‭ QL queries are used to retrieve data from tables. The SELECT‬
S
‭statement is used to identify the data to be retrieved, and WHERE‬
‭clause is used to filter the data.‬

‭Classes‬

‭ here are several SQL commands that fall into specific classes. Some‬
T
‭of these classes include:‬

‭‬
● ‭ DL commands: CREATE, ALTER, DROP‬
D
‭●‬ ‭DML commands: INSERT, UPDATE, DELETE‬
‭●‬ ‭DCL commands: GRANT, REVOKE‬
‭●‬ ‭TCL commands: COMMIT, ROLLBACK‬

‭Understanding Relational Databases and Vendors‬
‭ elational databases are an efficient way to store and manage data.‬
R
‭They offer features such as data integrity, scalability, and security.‬
‭Some popular relational database vendors include Oracle, Microsoft‬
‭SQL Server, MySQL, and PostgreSQL.‬

Document information

Uploaded on
August 8, 2024
Number of pages
6
Written in
2024/2025
Type
Class notes
Professor(s)
Muthu krishnan
Contains
All classes
$3.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
10
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions