0% found this document useful (0 votes)
6 views1 page

Chapter3 CustomersTable Worksheet 3

The document is a worksheet for Grade XII students at The Emirates National School, focusing on database concepts and MySQL. It includes a table of customers with their details and provides a series of SQL commands to manipulate and query the data. The tasks involve sorting, filtering, and updating customer records based on specific criteria.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Chapter3 CustomersTable Worksheet 3

The document is a worksheet for Grade XII students at The Emirates National School, focusing on database concepts and MySQL. It includes a table of customers with their details and provides a series of SQL commands to manipulate and query the data. The tasks involve sorting, filtering, and updating customer records based on specific criteria.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

THE EMIRATES NATIONAL SCHOOL – SHARJAH

INFORMATICS PRACTICES Worksheet


Grade XII (2025 – ’26)
CHAPTER 3 – Review of Database Concepts & MySQL
Worksheet 3
Consider the following table CUSTOMERS

ID NAME AGE ADDRESS SALARY

1 Ramesh 32 Ahmedabad 2000.00


2 Khilan 25 Delhi 1500.00
3 Kaushik 23 Kota NULL
4 Chaitali 25 Mumbai 6500.00
5 Hardik 27 Bhopal 8500.00
6 Komal 22 MP NULL
7 Muffy 24 Indore 10000.00

Write SQL commands and output for the following:

1. To display all the records in the ascending order of name.


2. To display the list of customers along with their age in descending order.
3. To list the customers whose salary is known.
4. To display the name and age of customers who resides in MP or Bhopal.
5. To display the name of those customers whose age is in the range 25 to 30.
6. To display the Name and address of those customers who are not residing in Delhi and
Mumbai.
7. To display the details of customers who has the letter ‘i’ in the second last position of
their name.
8. Display the name and salary of those customers whose age is less than 25 or whose salary
is above 5000.
9. Display the name, age and salary of customers whose name starts and ends with the
letter ‘K’.
10. To change the salary to 4500 whose salary is not known.

You might also like