I'm having a bit of trouble understanding this method of querying a data base
Cursor query(String table, String columns, String selection, String selectionArgs, String groupBy, String having, String orderBy)
As opposed to the old SQL method. How do you do joins, or use SUM ect in this. And what is the benefits of query over normal sql queries?
Most tutorials on this subject are out of date.
Also this uri method confuses me.