Quantcast
Channel: Database Star
Viewing all articles
Browse latest Browse all 85

How to Count Distinct Values in SQL

$
0
0
In this article, you’ll learn how to count the number of unique values in a column. Sample Data Let’s say we’ve got a table called “product” that looks like this: id product_name price category 1 Chair 80 Dining 2 Desk 250 Office 3 Couch 600 Living 4 Office Chair 120 Office 5 Coffee Table 180 […]

Viewing all articles
Browse latest Browse all 85

Trending Articles