I have a table called table1
It has 100 columns: {col1
, col2
, ...,col100
}
I understand how to SELECT
rows not containing null values in a specific column for instance col1
:
SELECT *
FROM table1
WHERE col1 IS NOT NULL
How do I
SELECT
all rows that do not contain null values in any column
Attempt
SELECT *
FROM table1
WHERE * IS NOT NULL
but this returns an error in MySQL
(which I am using)