Skip to main content

Command Palette

Search for a command to run...

Count Clause

Updated
1 min readView as Markdown

The COUNT() function returns the number of rows that matches a specified criterion.

select count(*) from orders

image.png

From orders table, how many orders are paid with Kakaopay?

select count(*) from orders
where payment_method = 'kakaopay'

image.png

More from this blog

Ollie Seongyong Kim

85 posts