Is there any priority for order …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Is there any priority for order by and where clause. Like if q. Says display details of all customers having age>30 in asc order of age. Then which is correct or both correct÷
SELECT * FROM CUSTOMERS WHERE AGE <30 ORDER BY AGE ASC;
SELECT * FROM CUSTOMERS ORDER BY AGE ASC WHERE AGE <30;
Posted by Devansh Raghav 5 years, 4 months ago
- 1 answers
Related Questions
Posted by Hanni Pham 1 year, 1 month ago
- 1 answers
Posted by Hanni Pham 1 year, 1 month ago
- 0 answers
Posted by Priya Shukla 1 year, 3 months ago
- 1 answers
Posted by Prawar Narang 1 year, 4 months ago
- 1 answers
Posted by Syedali Fathima 1 year, 3 months ago
- 1 answers
Posted by Kandeepan Jothivel 1 year, 4 months ago
- 2 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Prachi Jain 5 years, 4 months ago
0Thank You