20 solutions available
Question 2Write a query to display details of employees who are not getting commission from table Empl.
Question 3Write a query to display employee name and salary of those employee who don't have their salary in the range of 2500 to 4000.
Question 5Write a query to display the name of employee whose name contains 'A' as third alphabet.
Question 6Write a query to display the name of employee whose name contains 'T' as the last alphabet.
Question 7Write a query to display the name of employee whose name contains 'M' as first alphabet 'L' as third alphabet.
Question 8Write a query on the customers table whose output will exclude all customers with a rating <= 100, unless they are located in Shimla.
Question 9Write a query that selects all orders (Order table) except those with zeros or NULLs in the amt field.
Question 10Write SQL commands for the following on the basis of given table STUDENT :Table :...
Question 11Write SQL commands for the following on the basis of given table SPORTS :Table :...
Question 12Write SQL commands for the following on the basis of given table CLUB :Table :...
Question 13Write SQL commands for the following on the basis of given table STUDENT1 :Table :...
Question 14Consider the table Student1 of Q. 13. Give the output of following SQL statement :SELECT TRUNCATE(AvgMark) FROM Student1 WHERE AvgMark...
Question 15Given the following table :Table :...
Question 16Write SQL commands for the following on the basis of given table MOV :Table : MOVNoTitleTypeRatingStarsQtyPrice1Gone with the...
Question 17Write SQL commands for the following on the basis of given table Teacher :Table :...
Question 4Compare Char and Varchar datatypes.
Question 18The pattern '_ _ _' matches any string of ............... three characters. '_ _ _%' matches any string of ............... three...
Question 19By default, ORDER BY clause lists the results in ............... order.DescendingAnySameAscending
Question 20Consider the following querySELECT * FROM employee ORDER BY salary ..............., name ...............;To display the salary from...
Question 1The condition in a WHERE clause in a SELECT query can refer to only one value.