In SQL, the aggregate function which will display the cardinality of the table is \(\_\_\_\_\_\).
Use count(*) when you need to determine the total number of rows in a table, regardless of whether they contain NULL values or not.
sum()
count(*)
avg()
sum(*)
In SQL, the count(*) function is used to count the number of rows in a table, which effectively gives the cardinality of the table. Other functions like sum() and avg() are used for numerical aggregations, not for counting rows.
The SELECT statement when combined with \(\_\_\_\_\_\_\) clause, returns records without repetition.
myStr = "MISSISSIPPI" print(myStr[:4] + "#" + myStr[-5:])
Assertion (A): CSV file is a human-readable text file where each line has a number of fields, separated by a comma or some other delimiter.
Reason (R): writerow() method is used to write a single row in a CSV file.
Mark the correct choice:
Read the following characteristics of retail trading carefully and choose the correct option:
I. This is concerned with the sale of goods directly to the consumers.
II. Most of the retail trading takes place in fixed establishments or stores.
III. It is formed by many middlemen, traders, and suppliers.
IV. Hawkers, street peddling, automatic vending machines, etc., are its examples.
Read the programmes related to the proposed Bharatmala umbrella scheme carefully and choose the correct option:
I. Backward areas, religious and tourist places connectivity programme
2. To interconnect the four metropolitan cities of the country
3. To develop State roads in adjoining coastal areas
4. To connect non-major ports in coastal states