Unit 2 PDF
Unit 2 PDF
BCA II SEM
Floating- It is a number that contains a floating decimal point. It means there are
Point no fixed digits before and after the decimal point. It contains two kinds
of data types named float and double that produce an approximate
value. For example, 2.36E0, 0.005, and -2,328.679 are all floating-
point numbers.
INSERT
UPDATE
DELETE
Or
For example:
UPDATE students
SET User_Name = 'Sonoo'
WHERE Student_Id = '3'
For example:
DELETE FROM javatpoint
WHERE Author="Sonoo";
Grant
Revoke
= It checks if two operands values are equal or not, if the values (a=b) is not
are queal then condition becomes true. true
!= It checks if two operands values are equal or not, if values are (a!=b) is true
not equal, then condition becomes true.
<> It checks if two operands values are equal or not, if values are (a<>b) is
not equal then condition becomes true. true
> It checks if the left operand value is greater than right operand (a>b) is not
value, if yes then condition becomes true. true
< It checks if the left operand value is less than right operand (a<b) is true
value, if yes then condition becomes true.
>= It checks if the left operand value is greater than or equal to the (a>=b) is not
right operand value, if yes then condition becomes true. true
<= It checks if the left operand value is less than or equal to the (a<=b) is
right operand value, if yes then condition becomes true. true
Prepared By: Ms. Sushma Malik
SQL LOGICAL OPERATORS
Operator Description
For example,
For example,
For example,
For example,
For example,
The SQL right join returns all the values from the rows
of right table. It also includes the matched values from
left table but if there is no matching in both tables, it
returns NULL.