मराठी

What will be the output of the query? SELECT MACHINE ID, MACHINE NAME FROM INVENTORY WHERE QUANTITY <= 100; - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

What will be the output of the query?

SELECT MACHINE ID, MACHINE NAME FROM INVENTORY WHERE QUANTITY <= 100;

पर्याय

  • All columns of INVENTORY table with quantity greater than 100.

  • ID and name of machines with quantity less than 100 from INVENTORY table.

  • All columns of INVENTORY table with quantity greater than or equal to 100.

  • ID and name of machines with quantity less than or equal to 100 from INVENTORY table.

MCQ
Advertisements

उत्तर

ID and name of machines with quantity less than or equal to 100 from INVENTORY table.

Explanation:

The SELECT clause specifically chooses only the MACHINE_ID and MACHINE_NAME columns, not the entire table. The WHERE clause uses the <= operator, which filters the records to include only those where the quantity is either less than or exactly equal to 100.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×