SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select case when count(*) > 3 then count(*) filter ( where condition2 ) else count(*) end from tbl where condition1
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear