SQL SUM function
SELECT COUNT(column_with_a_date) AS amount_of_entries, COALESCE(SUM(column_with_a_cost), 0) AS total_cost FROM table1 WHERE (column_with_a_date > date1) AND (column_with_a_date < date2)will...
View ArticleSQL SUM function
I am writing vb.net application that accesses a live database. i need to get and display the amount of entries so far on the given day alongside the cost that day. Each entered row is time stamped and...
View Article
More Pages to Explore .....