Question
What is the smallest number which is divisible by 15, 20,
and 30?Solution
ATQ,
We know, the smallest number which can be divisible by 'a', 'b', and 'c' =
LCM of 'a', 'b', and 'c'.
Here, 'a', 'b', and 'c' are three different numbers.
Required number = LCM of 15, 20, 30 = 60
Therefore, the smallest number which is divisible by 15, 20, and 30 is 60.
When does an implicit cursor get automatically declared and managed by PL/SQL?
In PL/SQL, what type of parameter allows a procedure to both receive a value from the calling environment and return a modified value back to it?
Which of the following statements about SQL `INDEXES` is generally TRUE?
Which operator is used to combine results of two SELECT queries and remove duplicates?
Which clause is used to sort query results in SQL?
What is the output of this SQL snippet if the price column contains NULL values?
SELECT SUM(price) FROM products;
Which SQL clause is used to filter groups after aggregation (i.e., having aggregated value conditions)?
Which operator is used for pattern matching in SQL?
Which SQL function is used to calculate the average of a numeric column?
Which SQL function returns the largest value in a column?