UrbanPro
true
default_background

Take BTech Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

DBMS - SQL - Any/All

R
Radhe Shyam
02/04/2021 0 0

All - Operator

SELECT empno, sal

FROM   emp

WHERE  sal > ALL (1999, 2999, 3999);

Output of Above query is same as below query

SELECT empno, sal

FROM   emp

WHERE  sal > 1999 AND sal > 2999 AND sal > 3999;

 

ANY Operator: 

SELECT empno, sal

FROM   emp

WHERE  sal > ANY (1999, 2999, 3999);

Output of Above query is same as below query

SELECT empno, sal

FROM   emp

WHERE  sal > 1999 OR sal > 2999 OR sal > 3999;

 

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You


A program to determine the molecular weight of a hydrocarbon based on the number of Hydrogen,Carbon and Oxygen atoms.
import osimport math# A program to calculate Molecular Weight of a Hydrocarbon # These are the atomic weights(grams/mole) of Hydrogen,Carbon and OxygenatomicwtH = 1.0079atomicwtC = 12.011atomicwtO = 15.994Hatoms...

What is buttress dam?
Buttress Dam consists of a watertight upstream side, usually reinforced concrete, supported by triangular-shaped walls, called buttresses on the downstream side. This kind of dam uses less concrete compared...

Vectors
What is Vector? Scalar quantities are quantities that have only magnitudes such as time, area and distance. Vector quantities are quantities that have both magnitudes and directions such velocity...

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...
X

Looking for BTech Tuition Classes?

The best tutors for BTech Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BTech Tuition with the Best Tutors

The best Tutors for BTech Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more