Feeds:
Posts
Comments

Archive for the ‘:.SQL&DB’ Category

..:SQL(Sequel)

Penggunaan syntax HAVING clause pada SQL Statement: SELECT column1, column2, … column_n, aggregate_function (expression) FROM tables WHERE predicates GROUP BY column1, column2, … column_n HAVING condition1 … condition_n; Example using the SUM function SELECT department, SUM(sales) as “Total sales” FROM order_details GROUP BY department HAVING SUM(sales) > 1000; Example using the COUNT function SELECT department, [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.