MIDTERM - LECTURE ACTIVITY TASK MODULE 3
I. LEARNING TASKS
A. ENGAGE
A. Data Definition Language
B. Data Manipulation Language
- A Data Manipulation Language (DML) is a computer programming language used to add (insert), delete, and alter (update) data in a database. A DML is frequently a sublanguage of a larger database language such as SQL.
C. Embedded Data Manipulation Language
- A technique known as Embedded SQL is used to incorporate inline SQL statements or queries into the source code of a programming language, sometimes referred to as a host language. This is a reliable and practical way of fusing a programming language's computing capability with SQL's particular data management and manipulation abilities.
B. EXPLORE & EXPLAIN
Answer the following questions:
1. What are the basic sql expression?
A combination of one or more values, operators and SQL functions that results in to a value.
2. What is the difference between simple equijoin and natural join?
Equi join has the column name of both the tables in the resulting table whereas natural join only has one of the column names in the resulting table.
3. What are the different types of join?
Inner Join
Outer Join (Left Join, Right Join)
Self Join
Cross Join
4. What are the different components of sql structure?
Data Definition Language (DDL)
Data Manipulation Language (DML)
Data Control Language (DCL)
Transaction Control Language (TCL)
Data Query Language (DQL)
5. What is the different between write and fetch transaction?
Fetch is setup to grab information doing a transmit while Transaction is setup for changing data objects and can send the changes to the backend.
C. ELABORATE & EVALUATION
Answer the following questions: Identification
SQL 1. Consists of a predicate that involves the attributes of the relations described in the From clause.
Permutation 2. Combinations of all the relations.
Database Management System (DBMS) 3. Is defined as a distinct activity within a computer system that reads or modifies the content of a database.
Structured Query Language (SQL) 4. A comprehensive language that has its own DDL and DML components.
"Select" 5. Is used to list the attributes needed to be included in the output of the query.ate statements in query language.


Comments
Post a Comment