Advertisements
Online Mock Tests
Chapters
1: Review of Phython
2: Concept of Object Oriented Programming
3: Classes in Python
4: Inheritance
Unit -2 : Advanced Programming with Python
1: Liner List Manipulation
2: Stacks & Queues in list
3: Data File Handling
4: Exception Handling & Generate Functions
Unit -3 : Databases Management Systems and SQL
1: Databases Concepts and SQL
▶ 2: Structure Query Language
Unit -4 : Introduction to Boolean Algebra
1: Boolean Algebra
2: Boolean Functions and Reduce Forms
Chapter 3: Application of Boolean Logic
Unit -5 : Communication Technologies
Chapter 1: Networking Concepts Part I
Chapter 2: Networking Concepts Part II
Chapter 3: Networking Protocols
Chapter 4: Mobile Telecommunication Technologies, Network Security and Internet Services
![CBSE solutions for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ chapter 2 - Structure Query Language CBSE solutions for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ chapter 2 - Structure Query Language - Shaalaa.com](/images/computer-science-with-python-english-class-12_6:c0c1e36c6bb846c19fd1bb8caad8e289.jpg)
Advertisements
Solutions for Chapter 2: Structure Query Language
Below listed, you can find solutions for Chapter 2 of CBSE CBSE for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२.
CBSE solutions for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ 2 Structure Query Language EXERCISE [Pages 196 - 202]
Mr. Rohan has created a table 'student' with rollno., name, class and section. Now he is confused to set the primary key. So identify the primary key column.
Ms. Ravina is using a table 'customer' with custno, name, address and phonenumber. She needs to display name of the customers, whose name start with letter 'S'. She wrote the following command, which did not give the result.
Select * from customer where name="S%";
Help Ms. Ravina to run the query by removing the errors and write the correct query.
Write SQL query to add a column totalprice with data type numeric and size 10, 2 in a table product.
The name column of a table 'student' is given below.
| Name |
| Anu Sharma |
| Rohan Saini |
| Deepak Sing |
| Kannika Goal |
| Kunal Sharma |
Based on the information, find the output of the following queries:
→ Select name from student where name like "%a";
→ Select name from student where name like "%h%";
A customer table is created with cno,cname, and address columns. Evaluate the following statement whether it is correct or not?
Delete cname from customer;
Shopkeeper needs to change the first name of one of his customers in table 'customer'. Which command should he use for the same?
Sonal needs to display name of teachers, who have "o" as the third character in their name. She wrote the following query.
Select name
From teacher
Where name ="$$o?";
But the query is not producing the result. Identify the problems.
Pooja created a table 'bank' in SQL. Later on, she found that there should have been another column in the table. Which command is used to add column to the table?
Surpreeth wants to add two more records of customer in customer table. Which command is used to implement this?
Deepak wants to remove all rows from the tableBank. But he needs to maintain the structure of the table. Which command is used to implement the same?
While creating table 'customer', Rahul forgot to add column 'price'. Which command is used to add new column in the table. Write the command to implement the same.
Write the syntax of creating table command.
Write the syntax of dropping table command.
What all are the clause possible in select statement.
What is the default value of order by command.
Differentiate between delete and drop table command.
Differentiate between update and alter table command.
Differentiate between order by and group by command.
Define the following:
Union
Define the following:
Cartesian product
Define the following.
Equi Join
Define the following.
Non equi join.
What is the use of wildcard?
Create the following table items.
| Column name | Data type | Size | Constrain |
|---|---|---|---|
| Itemno | Number | 3 | Primary key |
| Iname | Varchar | 15 | |
| Price | Number | 10,2 | |
| Quantity | Number | 3 |
Insert the following information:
Table: Item
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display all items information.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display item name and price value.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display soap information.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display the item information whose name starts with letter 's'.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display a report with item number, item name and total price. (total price = price * quantity).
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display item table information in ascending order based upon item name.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display item name and price in descending order based upon price.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Display item name, whose price is in between 50 to 100.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Add new column totalprice with number (10, 2).
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Increase price value by 100.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Fill up totalprice = price*quantity
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Remove powder information.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Remove totalprice column.
Write query based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
Remove whole item structure.
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select sum(price) from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select avg(price) from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select min(price) from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select max(price) from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select count(price) from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select distinct price from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select count(distinct price) from item;
Write output based upon item table given.
| Itemno | Iname | Price | Quantity |
|---|---|---|---|
| 101 | Soap | 50 | 100 |
| 102 | Powder | 100 | 50 |
| 103 | Face cream | 150 | 25 |
| 104 | Pen | 50 | 200 |
| 105 | Soap box | 20 | 100 |
select iname,price*quantity from item;
In a database there are two tables - 'Brand' and 'Item' as shown below:
BRAND:
| ICODE | BNAME |
|---|---|
| 100 | SONY |
| 200 | HP |
| 300 | LG |
| 400 | SAMSUNG |
ITEM:
| ICODE | INAME | PRICE |
|---|---|---|
| 100 | TELEVISION | 25000 |
| 200 | COMPUTER | 30000 |
| 300 | REFRIGERATOR | 23000 |
| 400 | CELL PHONE | 40000 |
Write MYSQL queries for the following:
- To display Iname, price and corresponding Brand name (Bname) of those items, whose price is between 25000 and 30000 both values inclusive).
- To display ICode, Price and BName of the item, which has IName as "Television".
- To increase the Prices of all items by Rs. 10%.
Create the following table.
Students
| Column name | Data type | Size | Constraints |
| Adno | Integer | 3 | Primary key |
| Name | Varchar | 20 | |
| Average | Integer | 3 | |
| Sex | Char | 1 | |
| Scode | Integer | 4 |
Insert the following information:
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display all students' information.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display Rohan Saini's information.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display number of students in the table.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display number of students in each sex.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' information in ascending order using name.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' information in descending order using average marks.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' name starting with letter "K".
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' information, whose name ends with "l".
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display a report with adno,name,average*5 as total marks from student table.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' information, whose average marks are in between 80 to 90.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' info., who are getting average marks of more than 80 and scode 333.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display students' name and average marks, whose scode is 222 and 333.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display sum of average marks.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display maximum average marks.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display minimum average marks.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display average value of average marks.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display maximum, minimum and sum of average marks in each scode.
Write query based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Display number of students in each scode.
Create the following table.
| Column name | Data type | Size | Constraints |
| Scode | Integer | 3 | Primary key |
| Sname | Varchar | 20 | |
| Place | Varchar | 10 |
Insert the following information.
Streams
| Scode | Sname | Place |
| 111 | Science | SBlock |
| 222 | Commerce | CBlock |
| 333 | Humanity | HBlock |
| 444 | Art | ABlock |
Write queries based upon item table given.
Students
| Adno | Name | Average | Sex | Scode |
| 501 | R.Jain | 98 | M | 111 |
| 545 | Kavita | 73 | F | 333 |
| 705 | K.Rashika | 85 | F | 111 |
| 754 | Rahul Goel | 60 | M | 444 |
| 892 | Sahil Jain | 78 | M | 333 |
| 935 | Rohan Saini | 85 | M | 222 |
| 955 | Anjali | 64 | F | 444 |
| 983 | Sneha Aggarwal | 80 | F | 222 |
Streams
| Scode | Sname | Place |
| 111 | Science | SBlock |
| 222 | Commerce | CBlock |
| 333 | Humanity | HBlock |
| 444 | Art | ABlock |
- To display Adno, Name, Sex and Average from Student's table and Stream name (Sname) and place from Stream table with respect to Scode.
- Add the following information into the student table.
999 Deepak Sharma 83 M 2222 - Display science stream students' information.
Give the output of the following SQL query.
Select sum(Average)
From students
Where sex='M';Give the output of the following SQL query.
Select distinct (Scode)
From students;Remove 111 scode information.
Add new column state with varchar(10).
Increment 2 marks for 444 scode info.
Remove column state.
Remove the whole table stream.
Solutions for 2: Structure Query Language
![CBSE solutions for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ chapter 2 - Structure Query Language CBSE solutions for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ chapter 2 - Structure Query Language - Shaalaa.com](/images/computer-science-with-python-english-class-12_6:c0c1e36c6bb846c19fd1bb8caad8e289.jpg)
CBSE solutions for कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ chapter 2 - Structure Query Language
Shaalaa.com has the CBSE Mathematics कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ CBSE solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. CBSE solutions for Mathematics कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ CBSE 2 (Structure Query Language) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.
Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. CBSE textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.
Concepts covered in कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ chapter 2 Structure Query Language are .
Using CBSE कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ solutions Structure Query Language exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in CBSE Solutions are essential questions that can be asked in the final exam. Maximum CBSE कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ students prefer CBSE Textbook Solutions to score more in exams.
Get the free view of Chapter 2, Structure Query Language कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ additional questions for Mathematics कॉम्प्युटर सायन्स विद पाइथान [इंग्रजी] इयत्ता १२ CBSE, and you can use Shaalaa.com to keep it handy for your exam preparation.
