Please select a subject first
Advertisements
Advertisements
______ keyword is used to find out the number of values in a column?
Concept: undefined >> undefined
Which method is used to get the row-id of the last modified row?
Concept: undefined >> undefined
Advertisements
Which of the following belongs to an "aggregate function"?
Concept: undefined >> undefined
The MAX () function finds the
Concept: undefined >> undefined
Which of the following digital footprints can be created without the user's consent?
Concept: undefined >> undefined
Assertion (A): To create a series from array, we have to import the NumPy module and then use array () method.
Reason (R): NumPy is an open-source numerical Python library. NumPy contains a multi-dimensional array and matrix data structures.
Concept: undefined >> undefined
Consider the table STUDENT given below:
| RollNo | Name | Class | DOB | Gender | City | Marks |
| 1 | Anand | XI | 6/6/97 | M | Agra | 430 |
| 2 | Chetan | XII | 7/5/94 | M | Mumbai | 460 |
| 3 | Geet | XI | 6/5/97 | F | Agra | 470 |
| 4 | Preeti | XII | 8/8/95 | F | Mumbai | 492 |
| 5 | Saniyal | XII | 8/10/95 | M | Delhi | 360 |
| 6 | Maakhiy | XI | 12/12/94 | F | Dubai | 256 |
| 7 | Neha | X | 8/12/95 | F | Moscow | 324 |
| 8 | Nishant | X | 12/6/95 | M | Moscow | 429 |
State the command that will give the output as:
| Name |
| Anand |
| Chetan |
| Geet |
| Preeti |
(i) select Name from student where Class ='XI' and Class='XII';
(ii) select name from student where not Class='XI' and Class='XII';
(iii) select name from student where City="Agra" or City="Mumbai";
(iv) select name from student where City in("Agra", "Mumbai");
Choose the correct option:
Concept: undefined >> undefined
Consider the table STUDENT given below:
| RollNo | Name | Class | DOB | Gender | City | Marks |
| 1 | Anand | XI | 6/6/97 | M | Agra | 430 |
| 2 | Chetan | XII | 7/5/94 | M | Mumbai | 460 |
| 3 | Geet | XI | 6/5/97 | F | Agra | 470 |
| 4 | Preeti | XII | 8/8/95 | F | Mumbai | 492 |
| 5 | Saniyal | XII | 8/10/95 | M | Delhi | 360 |
| 6 | Maakhiy | XI | 12/12/94 | F | Dubai | 256 |
| 7 | Neha | X | 8/12/95 | F | Moscow | 324 |
| 8 | Nishant | X | 12/6/95 | M | Moscow | 429 |
State the command to display the average marks scored by students of each gender who are in class XI?
(i) Select Gender, avg(Marks) from STUDENT where Class= "XI" group by Gender;
(ii) Select Gender, avg(Marks) from STUDENT group by Gender where Class="XI";
(iii) Select Gender, avg(Marks) group by Gender from STUDENT having Class="XI";
(iv) Select Gender, avg(Marks) from STUDENT group by Gender having Class = "XI";
Choose the correct option:
Concept: undefined >> undefined
What will be the output of the following SQL statement?
SELECT DAY NAME (2022-04-08)
Concept: undefined >> undefined
Assertion (A): COUNf function ignores DISTINCT
Reason (R): DISTINCT ignores the duplicate values.
Concept: undefined >> undefined
What types of errors are also known as parsing errors?
Concept: undefined >> undefined
What will be the output for the following code?
x = ""hello""
if not type(x) is int:
raise TypeError(""Only integers are allowed"")
Concept: undefined >> undefined
The only exception that is raised when the program is syntactically incorrect:
Concept: undefined >> undefined
What exception will be thrown in the following case?
>>> import math
>>> math .sqrt(– 4)
Concept: undefined >> undefined
Which of the following is not an aggregate function?
Concept: undefined >> undefined
An error object does not have information of:
Concept: undefined >> undefined
What error is returned by the following statement if the file does not exist?
f = open("A.txt")
Concept: undefined >> undefined
Which of the following is not a valid plotting function of 'pyplot'?
Concept: undefined >> undefined
The data taken from a digital footprint can be used for:
Concept: undefined >> undefined
The char() function in MySql is an example of ______.
Concept: undefined >> undefined
