TGViewer
Java | Тесты Java | Тесты @easy_java_tests · 5.47K subscribers
Post #2327 1.23K
🤔 В чём разница между COUNT(*) и COUNT(column)?

- COUNT(*) — считает все строки, включая строки с NULL.
- COUNT(column) — считает только строки, где column IS NOT NULL.
Пример: если 3 строки, одна из них с NULL в email, то:
- COUNT(*) = 3
- COUNT(email) = 2


Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
  • 🔥 14
  • 👍 7
More from @easy_java_tests
  1. Oct 17, 2026Post #3246
  2. Oct 17, 2026🤔 Что такое AutoCloseable и конструкция try-with-resources? AutoCloseable — это интерфейс…
  3. Oct 17, 2026Post #3244
  4. Oct 16, 2026Post #3243
  5. Oct 15, 2026Post #3242
  6. Oct 14, 2026Post #3241
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →