Thursday, May 23, 2024
XML, JSON, AND AJAX
Thursday, May 16, 2024
LEC: WHAT IS SQL
Structured Query Language is a language that manages data and handles structuring data especially in a relational database management system (RDBMS). It is used to communicate with and manipulate databases. It provides a versatile and powerful way to interact with data stored in tables which grants the users the ability to retrieve, insert, update, and delete data, as well as define and manage the structure of databases.
Where do we see SQL?
Fundamental Components and Operations of SQL
Thursday, May 9, 2024
LEC: EMBEDDED DATA MANIPULATION LANGUAGE
Embedded SQL in database management systems (DBMS) serves as a powerful tool for seamlessly integrating high-level programming languages with databases. It acts as a connector between applications and databases, facilitating data manipulation and communication. Embedded SQL is supported by various DBMS, allowing developers to choose the one that best fits their needs.
The demand for embedded SQL arises from the desire to simplify database interactions for both application developers and end users. When users interact with an application, they often input values or submit requests that require accessing and modifying data in a database. By incorporating SQL queries directly into the application code, developers can perform these database tasks without burdening users with SQL complexities.
The structure of embedded SQL begins with establishing a connection to the database. This is achieved using the CONNECT keyword, preceded by EXEC SQL to indicate that it is a SQL statement.
LEC: INTERACTIVE DATA MANIPULATION LANGUAGE
Interactive Data Manipulation Language (DML) in SQL refers to the subset of SQL commands that are used to interactively retrieve, manipulate, and manage the data stored within a database. Unlike Data Definition Language (DDL), which focuses on defining and modifying the structure of the database, DML is concerned with querying and modifying the data itself.
SELECT: It allows users to specify which columns to retrieve, filter rows based on specified criteria using the WHERE clause, and order the results using the ORDER BY clause.
INSERT: is used to add new rows of data into a table. Users specify the table name and provide values for each column being inserted.
UPDATE: is used to modify existing data within a table. Users specify the table name, set new values for specific columns, and optionally specify a WHERE clause to filter which rows are updated. This command is useful for making changes to existing data in the database.
DELETE: is used to remove rows of data from a table. Users specify the table name and optionally include a WHERE clause to specify which rows should be deleted. This command permanently removes data from the database, so caution is advised when using it.
MERGE: combines the capabilities of INSERT, UPDATE, and DELETE into a single statement. It allows users to perform conditional insertions, updates, or deletions based on specified conditions, which can simplify complex data manipulation tasks.
LEC: DATA DEFINITION LANGUAGE
XML, JSON, AND AJAX
XML is a language called eXtensible Markup Language. It's a way to format documents so that both humans and computers can read them easi...
-
Structured Query Language is a language that manages data and handles structuring data especially in a relational database management syste...
-
Excel is primarily a spreadsheet program that allows users to organize, analyze, and manipulate numerical data. It excels (pun intended) at ...
-
Advantages of using a Database Management System (DBMS) include centralized data management and improved data security, ensuring data cons...