0% found this document useful (0 votes)
4 views4 pages

What Is SQL

¿Qué es SQL?

Uploaded by

fabian peña
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
4 views4 pages

What Is SQL

¿Qué es SQL?

Uploaded by

fabian peña
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 4

What is SQL?

SQL stands for Structured Query Language. SQL is a starndard language for
relational database management systems.
SQL is specially useful in handing organized data comprised of entities anda
realtions between diferente entities of data.

What is DBMS?
DBMS database management system is a software taht i sudes to mange the
database.
 A DBMS servers as a interface between end – user and database,
allowing users to and a databse, allowing user créate, read, delete data
in the database.
 Most widely used types of DBMS software are relation, distributed,
hierarchical, object.oriented and network.

What is Database?
 A database is an organized collection of data, and it can be easily
accessed & managed.
 We can organize data into tables, rows, columns and index to find
relevant info.
 Trie main purpose of the database is nop operate large amount
information by storing, retrieving and managing data.
 There are many database available like MySQL, Oracle, MongoDB, SQL
Server.

What is RDBMS?
 RDBMS stands for Relational Database Management System.
 Relational Database Management system is collection od programs &
compatibilities that enables IT teams.
 RDBMS store data in the form of tables.
 RDBMS provides a depéndale method o storing and retrieving large
amount of data.
 RDBMS uses SQL queries to Access the data in database.

What is a Database Table?


 A table is a collection of related data entries anda cosist of colum &
rows.
 A row is each individual entry that exist in a table.
 A colum holds specific information about evey record in a table.
 Columns can be arranged in verticle and rows as horizontal.
 Trie columna in table also called fieds and rows called records.

What is Primary key?


 A primary key is a minimal set of at attributes in a table that uniquely
identify rows in that table i. e. tuples.
 When multiple columns are used as a primary key, it is know as
composite primary key.
 While using composite primary key you should use few columna as
possible.
 When more columns you use for primary key the more storage space
you required.
 Primary key has unique data.
 Primary key cannot have null value.
 We cannot use duplicate value for primary key.
 Maximum length of primary key 900 bytes.

What is foreign key?


 A foreign key is a key used to link two tables together. It is also called
referencing key.
 A foreign key is a cmbination of columna whose value match primary key
in different table.
 Use of foreign key is tol ik attributes of two tables with te help of primary
key attributes.
 Hence, it used for creating & maintaining the relationship between two
relations.

What is a Join?
The SQL join clause is used to combine rows from two or more tables in a SQL
database base don related columna between the two.
There are four different types of joins:
1. JOIN
2. LEFT JOIN
3. RIGHT JOIN
4. FULL JOIN

What is the SELECT statement?


Select statement in SQL is used to recover data from a database.
The data returned is stored in result table called result – set.
The SELECT to determine what to include in final result set.

What is cursor in SQL?


Cursor is a temporany work station.
It created in system memory when SQL statement is executed.
A SQL cursor is a set of rows togetger with types of cursor.
Types of cursor:
1. Implicit cursor.
2. Explicit cursor.
Cursor are used to store Database table.

What is relationships in SQL?


Relationships es a link between entities that have something to do with each
other.
It includes one to one, many to many, many to one relations.
Relation in database allow for clear table & help cut redundant database is
important.

What are entities?


 An entity can be real world object.
 An entity can be single thing, person, place or object.
 Data can be stored about such entities.

What is an index is SQL?


 SQL inde xis a table used tos peed up the searching of the data.
 It also recover large amount of data from tables.
 INDEX requires it’s own space in storage device.
 INDEX is a pointer to data in a tables.
 An INDEX is same to an index in the back of book.
 INDEX is also unique constraint.

What is a selft-join?
 It is a join in which table is joined with it self.
 The self join can be viewed as a join of two copies of same table.
 Self-join statement is important when two sets of data in same table are
compared.

What is a cross-join?
 Cross-join is a cartesian product of rows from tables in join.
 Cross join is combination of each row of first table with each row of
second table.
 It is also called cartesian join.

What is

You might also like