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(*)
The SQL COUNT(*) function determines the number of rows within a table, thereby indicating its cardinality. Functions such as SUM() and AVG() are reserved for numerical aggregations, not row counting.
The SELECT statement when combined with \(\_\_\_\_\_\_\) clause, returns records without repetition.
myStr = "MISSISSIPPI"
print(myStr[:4] + "#" + myStr[-5:])