Quantcast
Channel: BitsAndPix » Sql
Browsing latest articles
Browse All 3 View Live

Sql: Select rows with duplicate values (select, count, group by, having)

select count(lastName), lastName from employee group by lastName having count(lastName) > 1;

View Article



Tech: Derby vs Oracle Berkely DB JE

Great Discussion on Derby vs Oracle BDB JE

View Article

SQL: Select Count with Group By

SELECT department, COUNT(*) as "Number of employees" FROM employees WHERE salary > 25000 GROUP BY department Source

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images