Introduction to SQL ๐Ÿ’—

 Introduction to SQL๐Ÿ’—



A. ENGAGE

A. DATA DEFINITION LANGUAGE

 - A data definition or data description language in the context of SQL is a syntax for creating and changing database objects such as tables, indices, and users.

B. INTERACTIVE DATA MANIPULATION LANGUAGE

- Interactive Data Manipulation Language or DML  is a set of computer languages that are expressly used to change the database, such as CRUD operations to create, read, update, and remove data. INSERT, SELECT, UPDATE, and DELETE commands are used.

C. EMBEDDED DATA MANIPULATION LANGUAGE
- Embedded SQL is a means of merging a programming language's computing capability with SQL's database manipulation capabilities. Embedded SQL statements are SQL statements that are written inline with the host language's program source code.

B. EXPLORE & EXPLAIN 

1. What are the basic sql expression?
 - SQL expression can be classified into following categories.

  1.  SQL Boolean Expression - fetches data based on the condition that is mentioned as part of the  SQL query.
  2.  SQL Date Expression - SQL Date Expression results in datetime value.
  3.  SQL Numeric Expression - SQL Numeric Expression is used for performing mathematical operation in SQL query .

2. What is the difference between simple equijoin and natural join?
  - An equijoin would find rows with the same 'A' value in both tables. A natural join, on the other hand, matches data based on column names that are shared by two tables.


3. What are the different types of join?



 
 
 


 



4. What are the different components of sql structure?












5. What is the different between write and fetch transaction?
- The write statement is the start while the fetch statements return the value for the column specified in declare cursor as a single-row result set.

C. ELABORATE & EVALUATION

1. The where clause

2. PROC SQL

3. Database Management System

4.Data Definition Language

5.The select clause



Comments

Popular posts from this blog

DATABASE MANAGEMENT SYSTEM

Functions Of DBMS and Its Advantage and Disadvantage