+--------+------+ | Profit | Loss | +--------+------+ | 1000 | 100 | | 2000 | NULL | | 3000 | 1000 | | NULL | 500 | | NULL | NULL | +--------+------+
SELECT COUNT(Profit-Loss) FROM Income;
SELECT COUNT(column_name) FROM table_name;
SELECT COUNT(*) FROM table_name;
SELECT COUNT(DISTINCT column_name) FROM table_name;
Login in to like
Login in to comment
3
2023 Jun 18, 8:44:00 PM
or Read more about SQL Quizzes
Login in to like
Login in to comment