Lab2 DB
Lab2 DB
Lab2
ENG: MARWA ABDULLMANNA
Introduction to SQL
SQL (Structured Query Language) is a standardized language used to manage and manipulate
relational databases. It allows users to create, retrieve, update, and delete data efficiently.
•Data Management: SQL helps store and organize large amounts of data.
•Widely Used: SQL is used in almost every industry that deals with databases.
What is SQL?
•SQL stands for Structured Query Language
To build a web site that shows data from a database, you will need:
•An RDBMS database program (i.e. MS Access, SQL Server, MySQL)
•To use a server-side scripting language, like PHP or ASP
•To use SQL to get the data you want
•To use HTML / CSS to style the page
RDBMS
stands for Relational Database Management System
RDBMS is the basis for SQL, and for all modern database systems such as MS
SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.
SELECT ename AS name , sal salary , job "employee job " FROM
emp ;
Arithmetic Operators
SELECT ename , sal , 12*sal+100 FROM SELECT ename , sal , 12*sal+100 FROM
emp emp
Concatenation ( + )