Advertisements
Advertisements
प्रश्न
Consider the following table:
Table: SALESMAN
Scode | Sname | Area | Qtysold | Dateofjoin |
S001 | Ravi | North | 120 | 2015-10-01 |
S002 | Sandeep | South | 105 | 2012-08-01 |
S003 | Sunil | NULL | 68 | 2018-02-01 |
S004 | Subh | West | 280 | 2010-04-01 |
S005 | Ankit | East | 90 | 2018-10-01 |
S006 | Raman | North | NULL | 2019-12-01 |
Predict the output for the following SQL queries:
SELECT MAX
(Qtysold),MIN
(Qtysold)FROM
SALESMAN;SELECT COUNT
(Area)FROM
SALESMAN;SELECT LENGTH
(Sname)FROM
SALESMANWHERE
MONTH
(Dateofjoin)=10;SELECT
SnameFROM
SALESMANWHERE RIGHT
(Scode,1)=5;
लघु उत्तरीय
उत्तर
- 280 68
- 5
- 4
5 - Ankit
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?