I am trying to get the number of sold subscriptions from one table and the store name from another. The tables have a common column containing a store id, however the columns do not have the same name.
Talbe1 | Table2
Amount store_code | store_name store_no
1 nf1ii | Jims kiosk nf1ii
1 nfoi1 | Henrys kiosk nfoi1
... ... | ... ...
I am trying to count the number of subscriptions sold for each store name. How is this doen in Oracle? I am fairly new to SQL in general so please forgive me if the question is phrased strangely.