Finals Lecture 2: SQL Flashcards
SQL stands for ___.
Structured Query Language
It is used for storing and managing data in Relational Database Management System (RDBMS).
SQL
What is SQL used for?
It is used for storing and managing data in Relational Database Management System (RDBMS).
RDBMS
Relational Database Management System
It is a standard language for Relational Database System.
SQL
SQL enables user to…
create, read, update and delete relational databases and tables.
All the RDBMS like MySQL, Informix, Oracle, MS Access and SQL Server use ___ as their standard database language.
SQL
SQL allows users to ___ the database in a number of ways, using English-like statements.
query
Structure query language is ___. Generally, keywords of SQL are written in uppercase.
not case sensitive
Statements of SQL are ___. We can use a ___ on one or ___.
dependent on text lines; single SQL statement; multiple text line
Using the ___, you can perform most of the actions in a database.
SQL statements
SQL depends on ___ and ___.
tuple relational calculus; relational algebra
SQL follows the following rules:
- is not case sensitive but is usually written in uppercase
- dependent on text lines
- uses sql statements to perform actions in a db
- depends on tuple relational calculus and relational algebra
When an ___ is executing for any RDBMS, then the system figure out the best way to ___ and the ___ determines that how to interpret the task.
SQL command; carry out the request; SQL engine
In the process, various components are included. These components can be…
optimization Engine, Query engine, Query dispatcher, classic, etc.
All the non-SQL queries are handled by the ___, but SQL query engine won’t ___.
classic query engine; handle logical files
What is the SQL Process
When an SQL command is submitted:
system»_space; figures out the best way to carry out the request
SQL engine» determines how to interpret the task
classic query engine»_space; handles non-SQL queries
SQL query engine»_space; handles SQL queries but not logical files
Graphical framework of SQL Process
SQL Query»_space; Query Language Processor -> [Parser + Optimizer]»_space; DBMS Engine -> [File Manager + Transaction Manager]»_space; Physical Database
What is Advantages of SQL?
- High speed
- No coding needed
- Well defined standards
- Portability
- Interactive language
- Multiple data view
What is SQL Datatype?
SQL Datatype is used to define the values that a column can contain. Every column is required to have a name and data type in the database table
Enlist the SQL datatypes
Binary
Numeric
Extract Numeric
String
Date
SQL commands are ___. It is used to communicate with the database. It is also used to perform specific tasks, functions, and queries of data.
instructions;
It is used to communicate with the database.
SQL commands
It is also used to perform specific tasks, functions, and queries of data.
SQL commands