24 solutions available
Question 17What will be returned by the given query ?SELECT Sign(26);1-10none of these
Question 22Predict the output of the following query :SELECT MOD(9, 0);0NULLNaN9
Question 23The avg() function in MySQL is an example of ............... .Math functionText functionDate FunctionAggregate Function
Question 24An aggregate function performs a calculation on ............... and returns a single value.single valuemultiple valuesno valuenone of these
Question 2(iv)Explain the DAYNAME() SQL function using suitable examples.
Question 2(v)Explain the POWER() SQL function using suitable examples.
Question 3(i)What will be the output of following code ?mysql> SELECT CONCAT(CONCAT('Inform', 'atics'), 'Practices');
Question 3(iii)What will be the output of following code ?mysql> SELECT UCASE('Computer studies');
Question 3(iv)What will be the output of following code ?mysql> SELECT CONCAT(LOWER('Class'), UPPER('xii'));
Question 4If Str = "INFORMATICS PRACTICES ...." and Str1 = "... FOR CLASS XI"Write commands to print the output as 'informatics practices for class...
Question 5Write commands to display the system date.
Question 6Write a command to display the name of current month.
Question 7Write SQL statement to displayToday, the date is <current date>
Question 8Write command to print the day of the week of your Birthday in the year 1999.
Question 9Write a command to display the current time.
Question 11(i)Find the output of the following SQL Query :SELECT ROUND(7658.345, 2);
Question 11(ii)Find the output of the following SQL Query :SELECT MOD(ROUND (13.9, 0), 3);
Question 12Write the SQL functions which will perform the following operations :(i) To display the name of the month of the current date.(ii) To...
Question 13Write suitable SQL query for the following :(i) Display 7 characters extracted from 7th left character onwards from the string 'INDIA...
Question 1Based on the SQL table CAR_SALES, write suitable queries for the following :NUMBERSEGMENTFUELQT1QT21Compact...
Question 2Predict the output of the following queries based on the table CAR_SALES given below :NUMBERSEGMENTFUELQT1QT21Compact...
Question 3Given the following table :Table :...
Question 4Given the table LIBRARY :NoTitleAuthorTypePubQtyPrice1Data StructureLipschutzDSMcGraw42172Computer StudiesFrenchFNDGalgotia2753Advanced...
Question 8Write the SQL queries which will perform the following operations :(i) To display the year from your Date of Admission which is...