Advertisements
Advertisements
प्रश्न
Using the table SALE of CARSHOWROOM database, write SQL queries for the following:
- Display the InvoiceNo and commission value rounded off to zero decimal places.
- Display the details of SALE where payment mode is credit card..
कोड लेखन
Advertisements
उत्तर
a)
SELECT InvoiceNo, ROUND(Commission, 0) AS RoundedCommission
FROM SALE;
b)
SELECT *
FROM SALE
WHERE PaymentMode = 'Credit Card';
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
