Advertisements
Advertisements
प्रश्न
Consider the following table: PRODUCT
Table: PRODUCT
PID | PNAME | PRICE | QUANTITY |
P1001 | Eraser | 10.50 | 5 |
P1002 | Ball Pen | 15.00 | 2 |
P1003 | Gel Pen | 25.10 | 3 |
P1004 | Ruler | 5.00 | 1 |
Find the output of the following SQL queries:
SELECT
10+MOD
(QUANTITY,3)FROM
PRODUCTWHERE PNAME
= "Eraser";SELECT ROUND
(PRICE,2)*QUANTITYFROM
PRODUCTWHERE
QUANTITY>2;SELECT UCASE(RIGHT
(PNAME,2))FROM
PRODUCT;
लघु उत्तरीय
उत्तर
- 12
- 52.50
75.30 - ER
EN
EN
ER
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?