Some of The Most Important SQL Commands: Select Count Distinct From
Some of The Most Important SQL Commands: Select Count Distinct From
The AND and OR operators are used to filter records based on more than one
condition:
The AND operator displays a record if all the conditions separated by AND
is TRUE.
The OR operator displays a record if any of the conditions separated by
OR is TRUE.
OR Syntax
SELECT column1, column2, ...
FROM table_name
WHERE condition1 OR condition2 OR condition3 ...;
NOT Syntax
SELECT column1, column2, ...
FROM table_name
WHERE NOT condition;
Example
We will have to use the IS NULL and IS NOT NULL operators instead.
Note: Be careful when updating records in a table! Notice the WHERE clause in
the UPDATE statement. The WHERE clause specifies which record(s) that should
be updated. If you omit the WHERE clause, all records in the table will be
updated!
UPDATE Customers
SET ContactName = 'Alfred Schmidt', City= 'Frankfurt'
WHERE CustomerID = 1;
UPDATE Customers
SET ContactName='Juan'
WHERE Country='Mexico';
LIKE Operator
There are two wildcards used in conjunction with the LIKE operator:
The BETWEEN operator is inclusive: begin and end values are included.
Proudest moment
Growing as a student you always have a desire of being praised by your
mentors. During my 9th and 10th class CBSE introduced a new pattern for
assessment of marks which was totally based on the projects given to the
student.
It was a good platform for me to exhibit my creative skills and ideas. I was
very much praised by my teachers for thinking out of the box which motivates
me a lot. My four projects were sent to the CBSE as they were best projects
of the school and it was a proud moment for me.
WHY COMMUTATUS
Being as a IT student, Digital products fascinates me a lot i always try to
think something new which will improve the existing product and make the life
easier through innovation and technology. I believe that my logical,
technical and creative skill are best match with the company profile
commutatus can provide me a platform to showcase my ideas and knowledge which
will be immensely useful at the firm and help me and company grow.
PROBLEM I SOLVED
Recently during my internship at BSES Delhi, I handled a case where there was
an extremely old couple (both 95+ of age). They had submitted an application
for electricity meter load reduction but due to shaky handwriting in elderly
application was not readable so i contacted him by phone and asked for
problem and necessary details. Due to health issues of his wife they were
temporarily shifted near to the hospital and there want BSES to reduce the
sectioned load from 14 kW to 1 kW as there was no one in the house from last
3 months. They were paying rent of meter for 14 kW which was of no use. So i
concerned the department about the issue and solved the problem immediately.
Customer was very much satisfied with my work and expressed his gratitude for
the service i provided him.