UrbanPro
true

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

Capacitor Construction
• A capacitor is constructed using a pair of parallel conducting plates separated by an insulating material (dielectric). • When the two plates of a capacitor are connected to a voltage source...

How To Prepare For Maths For IIT?
Once upon a time, a lady wanted to hire a cook for her restaurant. She interviewed many candidates and finally, she selected the one who impressed her in the interview. Lady was very impressed with his...

Oscillator
An oscillator is a circuit that creates a waveform output from a direct current input. The two main types of oscillator are harmonic and relaxation. The harmonic oscillators have smooth curved waveforms,...

Lets Talk About Software Design-patterns
What are Design Patterns? Design Pattern is a used and tested solution for a known problem. In simple words, you can say a general reusable solution to a commonly occurring problem within a given context...

what is elementary profile of gravity dam?
A Gravity dam is a structure which is designed in such a way that its own weight resist the external forces acting on it like Water pressure, pressure due to uplift , waves and silt. If you look...
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