The React Framework for the Web
(c) sql.org
🐊Putout plugin adds ability improve SQL. Not Bundled.
npm i putout @putout/plugin-sql -D
Add .putout.json with:
{
"plugins": ["sql"]
}Here is list of rules:
{
"rules": {
"sql/apply-count": "on"
}
}The COUNT() function returns the number of rows that matches a specified criterion.
(c) w3cshools.com
Check out in 🐊Putout Editor.
SELECT COUNT(1) FROM ordersSELECT COUNT(*) FROM ordersMIT