Brand Logo

Class 9

Class 9 - English
Moments (9 Chapters)|
Beehive (18 Chapters)|
Words and Expressions - I (9 Chapters)
Class 9 - Health and Physical Education
Health and Physical Education (14 Chapters)
Class 9 - Hindi
Sanchayan (4 Chapters)|
Sparsh (10 Chapters)|
Kshitij (13 Chapters)|
Kritika (4 Chapters)
Class 9 - ICT
Information and Communication Technology (8 Chapters)
Class 9 - Mathematics
Mathematics (12 Chapters)
Class 9 - Sanskrit
Shemushi Prathmo Bhag (10 Chapters)|
Vyakaranavithi (20 Chapters)|
Abhyaswaan Bhav (15 Chapters)
Class 9 - Science
Science (12 Chapters)
Class 9 - Social Science
Contemporary India (6 Chapters)|
Democratic Politics (5 Chapters)|
Economics (4 Chapters)|
India and the Contemporary World - I (5 Chapters)

Class 10

Class 10 - English
First Flight (22 Chapters)|
Foot Prints Without feet (9 Chapters)|
Words and Expressions - II (9 Chapters)
Class 10 - Health and Physical Education
Health and Physical Education (13 Chapters)
Class 10 - Hindi
Kshitij - II (13 Chapters)|
Sparsh (14 Chapters)|
Sanchayan - II (3 Chapters)|
Kritika (3 Chapters)
Class 10 - Mathematics
Mathematics (14 Chapters)
Class 10 - Sanskrit
Vyakaranavithi (14 Chapters)|
Shemushi - II (12 Chapters)|
Abhyaswaan Bhav - II (14 Chapters)
Class 10 - Science
Science (13 Chapters)
Class 10 - Social Science
Contemporary India (7 Chapters)|
Democratic Politics (5 Chapters)|
India and the Contemporary World - II (5 Chapters)|
Understanding Economic Development (5 Chapters)
Class 10 - Urdu
Nawa-e-urdu (15 Chapters)

Class 11

Class 11 - Accountancy
Accountancy - II (2 Chapters)|
Financial Accounting - I (7 Chapters)
Class 11 - Biology
Biology (19 Chapters)
Class 11 - Biotechnology
Biotechnology (12 Chapters)
Class 11 - Business Studies
Business Studies (11 Chapters)
Class 11 - Chemistry
Chemistry Part - I (6 Chapters)|
Chemistry Part - II (3 Chapters)
Class 11 - Computer Science
Computer Science (11 Chapters)
Class 11 - Creative Writing and Translation
Srijan (4 Chapters)
Class 11 - Economics
Statistics for Economics (8 Chapters)|
Indian Economic Development (8 Chapters)
Class 11 - English
Hornbill (11 Chapters)|
Snapshots (5 Chapters)|
Woven Words (27 Chapters)
Class 11 - Fine Art
An Introduction to Indian Art Part - I (8 Chapters)
Class 11 - Geography
Fundamentals of Physical Geography (14 Chapters)|
India Physical Environment (6 Chapters)|
Practical Work in Geography (6 Chapters)
Class 11 - Health and Physical Education
Health and Physical Education (11 Chapters)
Class 11 - History
Themes in World History (13 Chapters)
Class 11 - Home Science
Human Ecology and Family Sciences - I (7 Chapters)|
Human Ecology and Family Sciences - II (4 Chapters)
Class 11 - Informatics Practices
Informatics Practices (8 Chapters)
Class 11 - Knowledge Traditions Practices of India
Knowledge Traditions Practices of India (9 Chapters)
Class 11 - Mathematics
Mathematics (14 Chapters)
Class 11 - Physics
Physics Part - I (7 Chapters)|
Physics Part - II (7 Chapters)
Class 11 - Political Science
Indian Constitution at Work (10 Chapters)|
Political Theory (8 Chapters)
Class 11 - Psychology
Introduction to Psychology (8 Chapters)
Class 11 - Sangeet
Tabla evam Pakhawaj (8 Chapters)|
Hindustani Sangeet Gayan Evam Vadan (10 Chapters)
Class 11 - Sociology
Understanding Society (5 Chapters)|
Introducing Sociology (5 Chapters)

Class 12

Class 12 - Accountancy
Accountancy Part - I (4 Chapters)|
Accountancy Part - II (6 Chapters)
Class 12 - Biology
Biology (13 Chapters)
Class 12 - Biotechnology
Biotechnology (13 Chapters)
Class 12 - Business Studies
Business Studies - II (3 Chapters)|
Business Studies - I (8 Chapters)
Class 12 - Chemistry
Chemistry - II (5 Chapters)|
Chemistry - I (5 Chapters)
Class 12 - Computer Science
Computer Science (13 Chapters)
Class 12 - Economics
Introductory Microeconomics (5 Chapters)|
Introductory Macroeconomics (6 Chapters)
Class 12 - English
Flamingo (14 Chapters)|
Vistas (7 Chapters)|
Kaliedoscope (21 Chapters)
Class 12 - Fine Art
An Introduction to Indian Art Part - II (8 Chapters)
Class 12 - Geography
Practical Work in Geography - Part II (4 Chapters)|
Fundamentals of Human Geography (8 Chapters)|
India - People and Economy (9 Chapters)
Class 12 - Hindi
Aroh (15 Chapters)|
Antra (23 Chapters)|
Antral Bhag - II (3 Chapters)|
Vitan (3 Chapters)
Class 12 - History
Themes in Indian History - III (4 Chapters)|
Themes in Indian History - I (4 Chapters)|
Themes in Indian History - II (4 Chapters)
Class 12 - Home Science
Human Ecology and Family Sciences Part I (7 Chapters)|
Human Ecology and Family Sciences Part II (7 Chapters)
Class 12 - Informatics Practices
Informatics Practices (7 Chapters)
Class 12 - Mathematics
Mathematics Part - I (6 Chapters)|
Mathematics Part - II (7 Chapters)
Class 12 - Physics
Physics Part - I (8 Chapters)|
Physics Part - II (6 Chapters)
Class 12 - Political Science
Politics in India Since Independence (8 Chapters)|
Contemporary World Politics (7 Chapters)
Class 12 - Psychology
Psychology (7 Chapters)
Class 12 - Sangeet
Hindustani Sangeet Gayan Evam Vadan (9 Chapters)|
Tabla evam Pakhawaj (7 Chapters)
Class 12 - Sociology
Social Change and Development in India (8 Chapters)|
Indian Society (7 Chapters)

About Edzy - Gamified Learning Platform

Edzy is India's premier gamified AI tutor platform for CBSE and State Board students in classes 6-12. Our platform transforms traditional studying with AI-powered study plans, interactive practice sessions, and personalized learning pathways. Students using Edzy experience unmatched learning efficiency through our immersive educational environment that combines advanced technology with curriculum-aligned content.

Why Choose Edzy for CBSE and State Board Preparation

Edzy offers an adaptive AI educational experience tailored to each student's learning style and pace. We integrate gamification with proven educational strategies to create an engaging environment that students love. Our micro-content approach breaks down complex CBSE and State Board topics into manageable lessons, building confidence through mastery-based progression and real-time feedback.

CBSE and State Board Focus Areas

Edzy specializes in transforming online education for classes 6-12 with AI-powered tutoring. We provide comprehensive NCERT-aligned content and engaging lessons across Mathematics, Science, English, Social Studies, and IT. Our system helps students master fundamental concepts and excel in board exams through AI-generated study plans, personalized learning timelines, and dynamic practice sessions.

Edzy's Unique Approach to Online Learning

Unlike traditional online coaching platforms, Edzy converts CBSE and State Board syllabus content into interactive learning adventures. Our AI tutor provides timely assistance while adapting to student progress. The platform features instant feedback, gamified practice sessions, and achievement badges to motivate continuous learning and concept mastery.

Brand Logo

Edzy | Largest Online Learning Platform for Classes 6–12

Study smarter with Edzy – India’s leading gamified AI tutor for CBSE and State Boards. Designed for Classes 6–12, Edzy offers interactive lessons, AI-powered study plans, and rewarding practice tools for every subject.

Find us on Social Media

Links

About EdzyFAQsContact UsCBSE CoursesDuelsRumblesEdzy App

Parents & Teachers

Search EdzyParent DashboardCreator PlatformEducation BlogCBSE & NCERT News

Policies

Terms and ConditionsRefund PolicyPrivacy PolicyCookie Policy

© 2026 Edzy | Largest Online Learning Platform for Classes 6–12. All rights reserved.

Edzy is an AI tutor for CBSE and State Board students, offering interactive lessons and personalized learning for Classes 6–12.

SitemapNews SitemapBlog SitemapSchool SitemapAccessibility
CBSE
Class 12
Informatics Practices
Informatics Practices
Querying and SQL Functions

Question Bank

Question Bank: Querying and SQL Functions

This chapter explains various SQL functions and querying techniques important for managing databases.

Question Bank - Querying and SQL Functions

View all (68)
Q1.

What command is used to retrieve data from a database?

Single Answer MCQ
Q-00093813
Q2.

Which SQL function can be used to count the number of rows in a query?

Single Answer MCQ
Q-00093814
Q3.

To sort query results in descending order, which keyword should be used?

Single Answer MCQ
Q-00093815
Q4.

What type of SQL function is CONCAT()?

Single Answer MCQ
Q-00093816
Q5.

Which SQL clause is used to group rows that have the same values?

Single Answer MCQ
Q-00093817
Q6.

What is the default sorting order of the ORDER BY clause?

Single Answer MCQ
Q-00093818
Q7.

If you want to filter records after grouping, which clause should you use?

Single Answer MCQ
Q-00093819
Q8.

What is the purpose of the DISTINCT keyword in SQL?

Single Answer MCQ
Q-00093820
Q9.

Which SQL command creates a new table?

Single Answer MCQ
Q-00093821
Q10.

What is a primary key in a table?

Single Answer MCQ
Q-00093822
Q11.

Which function would you use to find the average value of a numeric column?

Single Answer MCQ
Q-00093823
Q12.

In SQL, which operator is used for pattern matching?

Single Answer MCQ
Q-00093824
Q13.

What does an inner join do in SQL?

Single Answer MCQ
Q-00093825
Q14.

Which SQL statement updates existing records in a table?

Single Answer MCQ
Q-00093826
Q15.

Which of the following is an example of a numeric function in SQL?

Single Answer MCQ
Q-00093841
Q16.

What does the AVG() function in SQL return?

Single Answer MCQ
Q-00093842
Q17.

Which single row function would you use to find the length of a string?

Single Answer MCQ
Q-00093843
Q18.

Which of the following functions would correctly round a numeric value to the nearest integer in SQL?

Single Answer MCQ
Q-00093844
Q19.

What does the MIN() function return in SQL?

Single Answer MCQ
Q-00093845
Q20.

In SQL, which function would you use to convert a string to uppercase?

Single Answer MCQ
Q-00093846
Q21.

Which function returns the current date in SQL?

Single Answer MCQ
Q-00093847
Q22.

What is the primary difference between single row functions and aggregate functions?

Single Answer MCQ
Q-00093848
Q23.

Which function would you use to remove leading spaces from a string in SQL?

Single Answer MCQ
Q-00093849
Q24.

Which SQL function is used to calculate the number of rows in a result set?

Single Answer MCQ
Q-00093850
Q25.

When would you use the DATE() function in SQL?

Single Answer MCQ
Q-00093851
Q26.

How would the MOD() function be used in SQL?

Single Answer MCQ
Q-00093852
Q27.

Which SQL function gives the name of the month for any date input?

Single Answer MCQ
Q-00093853
Q28.

What is a characteristic of Aggregate Functions?

Single Answer MCQ
Q-00093854
Q29.

Which SQL function could cause a problem if used on a NULL value when calculating the average?

Single Answer MCQ
Q-00093855
Q30.

What does the UNION operation do in SQL?

Single Answer MCQ
Q-00093856
Q31.

Which condition must be met to perform a UNION operation?

Single Answer MCQ
Q-00093857
Q32.

If two tables A and B have the same column names and data types, which of the following SQL statements correctly performs a UNION?

Single Answer MCQ
Q-00093858
Q33.

What is the primary purpose of the INTERSECT operation in SQL?

Single Answer MCQ
Q-00093859
Q34.

Which SQL function would you use to determine the number of records in a table that match specific criteria?

Single Answer MCQ
Q-00093860
Q35.

In SQL, what does the GROUP BY clause accomplish?

Single Answer MCQ
Q-00093861
Q36.

Using the DANCE table provided, how would you find students in Class '7A'?

Single Answer MCQ
Q-00093862
Q37.

Which statement is true regarding the difference operation in SQL?

Single Answer MCQ
Q-00093863
Q38.

What does using 'ORDER BY' in a SQL query do?

Single Answer MCQ
Q-00093864
Q39.

Given tables A and B, which SQL statement correctly executes a UNION while removing duplicates?

Single Answer MCQ
Q-00093865
Q40.

What will be the result of using the INTERSECT operation on two tables with no common records?

Single Answer MCQ
Q-00093866
Q41.

In the provided DANCE and MUSIC tables, how can you find all unique names present in both tables?

Single Answer MCQ
Q-00093867
Q42.

If you want to consolidate a set of results by counting occurrences of different names, which SQL clause would you use?

Single Answer MCQ
Q-00093868
Q43.

When performing a SQL operation between two tables, what must be consistent in their columns?

Single Answer MCQ
Q-00093869
Q44.

What does the GROUP BY clause do in SQL?

Single Answer MCQ
Q-00093870
Q45.

Which SQL function can be used with GROUP BY to find the average value?

Single Answer MCQ
Q-00093871
Q46.

Which of the following queries correctly groups data by CustID and counts orders?

Single Answer MCQ
Q-00093872
Q47.

What does the HAVING clause do in conjunction with GROUP BY?

Single Answer MCQ
Q-00093873
Q48.

If you want to display only those customers who purchased more than one car, which query would you use?

Single Answer MCQ
Q-00093874
Q49.

Which function would you use to find the maximum sale price of cars grouped by the payment mode?

Single Answer MCQ
Q-00093875
Q50.

What result will this query return: SELECT PaymentMode, COUNT(*) FROM SALE GROUP BY PaymentMode HAVING COUNT(*) > 1?

Single Answer MCQ
Q-00093876
Q51.

Why is it necessary to use GROUP BY with aggregate functions?

Single Answer MCQ
Q-00093877
Q52.

Which SQL query counts the total cars sold by each employee?

Single Answer MCQ
Q-00093878
Q53.

In which scenario would the HAVING clause not be necessary?

Single Answer MCQ
Q-00093879
Q54.

What result is expected when executing: SELECT COUNT(*) FROM SALE GROUP BY PaymentMode HAVING COUNT(*) < 2?

Single Answer MCQ
Q-00093880
Q55.

Which of the following SQL statements will yield the number of distinct payment modes?

Single Answer MCQ
Q-00093881
Q56.

How can you find the minimum sale price of cars grouped by Customer ID?

Single Answer MCQ
Q-00093882
Q57.

What does the Cartesian product of two tables return?

Single Answer MCQ
Q-00093883
Q58.

In SQL, how do you specify multiple tables in a query?

Single Answer MCQ
Q-00093884
Q59.

Which SQL query will display all records from DANCE where the Name is also in MUSIC?

Single Answer MCQ
Q-00093885
Q60.

Which of the following statements about table aliases is true?

Single Answer MCQ
Q-00093886
Q61.

What is typically the relationship between the columns used in a JOIN operation?

Single Answer MCQ
Q-00093887
Q62.

Given two tables, PRODUCTS and ORDERS, which SQL statement will correctly display orders along with product details?

Single Answer MCQ
Q-00093888
Q63.

When using a Cartesian product, what can be the potential issue?

Single Answer MCQ
Q-00093889
Q64.

Which command retrieves data from multiple tables without needing repetitive conditions?

Single Answer MCQ
Q-00093890
Q65.

What is the purpose of the USING clause in a JOIN operation?

Single Answer MCQ
Q-00093891
Q66.

Which query effectively filters results from DANCE and MUSIC tables based on both conditions being met?

Single Answer MCQ
Q-00093892
Q67.

Identify a major difference between INNER JOIN and OUTER JOIN.

Single Answer MCQ
Q-00093893
Q68.

Which of the following SQL commands uses both tables to extract data?

Single Answer MCQ
Q-00093894

👤 Your Learning, Your Way

Edzy learns what you need. Get content that fits your speed and goals.

Edzy mobile app